Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteQuotasProjectID(params *DeleteQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteQuotasProjectIDNoContent, error)
- func (a *Client) GetQuotas(params *GetQuotasParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetQuotasOK, error)
- func (a *Client) GetQuotasDefaults(params *GetQuotasDefaultsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetQuotasDefaultsOK, error)
- func (a *Client) GetQuotasProjectID(params *GetQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetQuotasProjectIDOK, error)
- func (a *Client) PutQuotasProjectID(params *PutQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PutQuotasProjectIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteQuotasProjectIDForbidden
- func (o *DeleteQuotasProjectIDForbidden) Code() int
- func (o *DeleteQuotasProjectIDForbidden) Error() string
- func (o *DeleteQuotasProjectIDForbidden) IsClientError() bool
- func (o *DeleteQuotasProjectIDForbidden) IsCode(code int) bool
- func (o *DeleteQuotasProjectIDForbidden) IsRedirect() bool
- func (o *DeleteQuotasProjectIDForbidden) IsServerError() bool
- func (o *DeleteQuotasProjectIDForbidden) IsSuccess() bool
- func (o *DeleteQuotasProjectIDForbidden) String() string
- type DeleteQuotasProjectIDNoContent
- func (o *DeleteQuotasProjectIDNoContent) Code() int
- func (o *DeleteQuotasProjectIDNoContent) Error() string
- func (o *DeleteQuotasProjectIDNoContent) IsClientError() bool
- func (o *DeleteQuotasProjectIDNoContent) IsCode(code int) bool
- func (o *DeleteQuotasProjectIDNoContent) IsRedirect() bool
- func (o *DeleteQuotasProjectIDNoContent) IsServerError() bool
- func (o *DeleteQuotasProjectIDNoContent) IsSuccess() bool
- func (o *DeleteQuotasProjectIDNoContent) String() string
- type DeleteQuotasProjectIDNotFound
- func (o *DeleteQuotasProjectIDNotFound) Code() int
- func (o *DeleteQuotasProjectIDNotFound) Error() string
- func (o *DeleteQuotasProjectIDNotFound) GetPayload() *models.Error
- func (o *DeleteQuotasProjectIDNotFound) IsClientError() bool
- func (o *DeleteQuotasProjectIDNotFound) IsCode(code int) bool
- func (o *DeleteQuotasProjectIDNotFound) IsRedirect() bool
- func (o *DeleteQuotasProjectIDNotFound) IsServerError() bool
- func (o *DeleteQuotasProjectIDNotFound) IsSuccess() bool
- func (o *DeleteQuotasProjectIDNotFound) String() string
- type DeleteQuotasProjectIDParams
- func NewDeleteQuotasProjectIDParams() *DeleteQuotasProjectIDParams
- func NewDeleteQuotasProjectIDParamsWithContext(ctx context.Context) *DeleteQuotasProjectIDParams
- func NewDeleteQuotasProjectIDParamsWithHTTPClient(client *http.Client) *DeleteQuotasProjectIDParams
- func NewDeleteQuotasProjectIDParamsWithTimeout(timeout time.Duration) *DeleteQuotasProjectIDParams
- func (o *DeleteQuotasProjectIDParams) SetContext(ctx context.Context)
- func (o *DeleteQuotasProjectIDParams) SetDefaults()
- func (o *DeleteQuotasProjectIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteQuotasProjectIDParams) SetProjectID(projectID string)
- func (o *DeleteQuotasProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteQuotasProjectIDParams) WithContext(ctx context.Context) *DeleteQuotasProjectIDParams
- func (o *DeleteQuotasProjectIDParams) WithDefaults() *DeleteQuotasProjectIDParams
- func (o *DeleteQuotasProjectIDParams) WithHTTPClient(client *http.Client) *DeleteQuotasProjectIDParams
- func (o *DeleteQuotasProjectIDParams) WithProjectID(projectID string) *DeleteQuotasProjectIDParams
- func (o *DeleteQuotasProjectIDParams) WithTimeout(timeout time.Duration) *DeleteQuotasProjectIDParams
- func (o *DeleteQuotasProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteQuotasProjectIDReader
- type DeleteQuotasProjectIDUnauthorized
- func (o *DeleteQuotasProjectIDUnauthorized) Code() int
- func (o *DeleteQuotasProjectIDUnauthorized) Error() string
- func (o *DeleteQuotasProjectIDUnauthorized) GetPayload() *models.Error
- func (o *DeleteQuotasProjectIDUnauthorized) IsClientError() bool
- func (o *DeleteQuotasProjectIDUnauthorized) IsCode(code int) bool
- func (o *DeleteQuotasProjectIDUnauthorized) IsRedirect() bool
- func (o *DeleteQuotasProjectIDUnauthorized) IsServerError() bool
- func (o *DeleteQuotasProjectIDUnauthorized) IsSuccess() bool
- func (o *DeleteQuotasProjectIDUnauthorized) String() string
- type DeleteQuotasProjectIDUnprocessableEntity
- func (o *DeleteQuotasProjectIDUnprocessableEntity) Code() int
- func (o *DeleteQuotasProjectIDUnprocessableEntity) Error() string
- func (o *DeleteQuotasProjectIDUnprocessableEntity) GetPayload() *models.Error
- func (o *DeleteQuotasProjectIDUnprocessableEntity) IsClientError() bool
- func (o *DeleteQuotasProjectIDUnprocessableEntity) IsCode(code int) bool
- func (o *DeleteQuotasProjectIDUnprocessableEntity) IsRedirect() bool
- func (o *DeleteQuotasProjectIDUnprocessableEntity) IsServerError() bool
- func (o *DeleteQuotasProjectIDUnprocessableEntity) IsSuccess() bool
- func (o *DeleteQuotasProjectIDUnprocessableEntity) String() string
- type GetQuotasDefaultsForbidden
- func (o *GetQuotasDefaultsForbidden) Code() int
- func (o *GetQuotasDefaultsForbidden) Error() string
- func (o *GetQuotasDefaultsForbidden) IsClientError() bool
- func (o *GetQuotasDefaultsForbidden) IsCode(code int) bool
- func (o *GetQuotasDefaultsForbidden) IsRedirect() bool
- func (o *GetQuotasDefaultsForbidden) IsServerError() bool
- func (o *GetQuotasDefaultsForbidden) IsSuccess() bool
- func (o *GetQuotasDefaultsForbidden) String() string
- type GetQuotasDefaultsOK
- func (o *GetQuotasDefaultsOK) Code() int
- func (o *GetQuotasDefaultsOK) Error() string
- func (o *GetQuotasDefaultsOK) GetPayload() *GetQuotasDefaultsOKBody
- func (o *GetQuotasDefaultsOK) IsClientError() bool
- func (o *GetQuotasDefaultsOK) IsCode(code int) bool
- func (o *GetQuotasDefaultsOK) IsRedirect() bool
- func (o *GetQuotasDefaultsOK) IsServerError() bool
- func (o *GetQuotasDefaultsOK) IsSuccess() bool
- func (o *GetQuotasDefaultsOK) String() string
- type GetQuotasDefaultsOKBody
- func (o *GetQuotasDefaultsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetQuotasDefaultsOKBody) MarshalBinary() ([]byte, error)
- func (o *GetQuotasDefaultsOKBody) UnmarshalBinary(b []byte) error
- func (o *GetQuotasDefaultsOKBody) Validate(formats strfmt.Registry) error
- type GetQuotasDefaultsParams
- func NewGetQuotasDefaultsParams() *GetQuotasDefaultsParams
- func NewGetQuotasDefaultsParamsWithContext(ctx context.Context) *GetQuotasDefaultsParams
- func NewGetQuotasDefaultsParamsWithHTTPClient(client *http.Client) *GetQuotasDefaultsParams
- func NewGetQuotasDefaultsParamsWithTimeout(timeout time.Duration) *GetQuotasDefaultsParams
- func (o *GetQuotasDefaultsParams) SetContext(ctx context.Context)
- func (o *GetQuotasDefaultsParams) SetDefaults()
- func (o *GetQuotasDefaultsParams) SetHTTPClient(client *http.Client)
- func (o *GetQuotasDefaultsParams) SetTimeout(timeout time.Duration)
- func (o *GetQuotasDefaultsParams) WithContext(ctx context.Context) *GetQuotasDefaultsParams
- func (o *GetQuotasDefaultsParams) WithDefaults() *GetQuotasDefaultsParams
- func (o *GetQuotasDefaultsParams) WithHTTPClient(client *http.Client) *GetQuotasDefaultsParams
- func (o *GetQuotasDefaultsParams) WithTimeout(timeout time.Duration) *GetQuotasDefaultsParams
- func (o *GetQuotasDefaultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetQuotasDefaultsReader
- type GetQuotasDefaultsUnauthorized
- func (o *GetQuotasDefaultsUnauthorized) Code() int
- func (o *GetQuotasDefaultsUnauthorized) Error() string
- func (o *GetQuotasDefaultsUnauthorized) GetPayload() *models.Error
- func (o *GetQuotasDefaultsUnauthorized) IsClientError() bool
- func (o *GetQuotasDefaultsUnauthorized) IsCode(code int) bool
- func (o *GetQuotasDefaultsUnauthorized) IsRedirect() bool
- func (o *GetQuotasDefaultsUnauthorized) IsServerError() bool
- func (o *GetQuotasDefaultsUnauthorized) IsSuccess() bool
- func (o *GetQuotasDefaultsUnauthorized) String() string
- type GetQuotasDefaultsUnprocessableEntity
- func (o *GetQuotasDefaultsUnprocessableEntity) Code() int
- func (o *GetQuotasDefaultsUnprocessableEntity) Error() string
- func (o *GetQuotasDefaultsUnprocessableEntity) GetPayload() *models.Error
- func (o *GetQuotasDefaultsUnprocessableEntity) IsClientError() bool
- func (o *GetQuotasDefaultsUnprocessableEntity) IsCode(code int) bool
- func (o *GetQuotasDefaultsUnprocessableEntity) IsRedirect() bool
- func (o *GetQuotasDefaultsUnprocessableEntity) IsServerError() bool
- func (o *GetQuotasDefaultsUnprocessableEntity) IsSuccess() bool
- func (o *GetQuotasDefaultsUnprocessableEntity) String() string
- type GetQuotasForbidden
- func (o *GetQuotasForbidden) Code() int
- func (o *GetQuotasForbidden) Error() string
- func (o *GetQuotasForbidden) IsClientError() bool
- func (o *GetQuotasForbidden) IsCode(code int) bool
- func (o *GetQuotasForbidden) IsRedirect() bool
- func (o *GetQuotasForbidden) IsServerError() bool
- func (o *GetQuotasForbidden) IsSuccess() bool
- func (o *GetQuotasForbidden) String() string
- type GetQuotasNotFound
- func (o *GetQuotasNotFound) Code() int
- func (o *GetQuotasNotFound) Error() string
- func (o *GetQuotasNotFound) GetPayload() *models.Error
- func (o *GetQuotasNotFound) IsClientError() bool
- func (o *GetQuotasNotFound) IsCode(code int) bool
- func (o *GetQuotasNotFound) IsRedirect() bool
- func (o *GetQuotasNotFound) IsServerError() bool
- func (o *GetQuotasNotFound) IsSuccess() bool
- func (o *GetQuotasNotFound) String() string
- type GetQuotasOK
- func (o *GetQuotasOK) Code() int
- func (o *GetQuotasOK) Error() string
- func (o *GetQuotasOK) GetPayload() *GetQuotasOKBody
- func (o *GetQuotasOK) IsClientError() bool
- func (o *GetQuotasOK) IsCode(code int) bool
- func (o *GetQuotasOK) IsRedirect() bool
- func (o *GetQuotasOK) IsServerError() bool
- func (o *GetQuotasOK) IsSuccess() bool
- func (o *GetQuotasOK) String() string
- type GetQuotasOKBody
- type GetQuotasOKBodyQuotasItems0
- func (o *GetQuotasOKBodyQuotasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetQuotasOKBodyQuotasItems0) MarshalBinary() ([]byte, error)
- func (o GetQuotasOKBodyQuotasItems0) MarshalJSON() ([]byte, error)
- func (o *GetQuotasOKBodyQuotasItems0) UnmarshalBinary(b []byte) error
- func (o *GetQuotasOKBodyQuotasItems0) UnmarshalJSON(raw []byte) error
- func (o *GetQuotasOKBodyQuotasItems0) Validate(formats strfmt.Registry) error
- type GetQuotasParams
- func (o *GetQuotasParams) SetContext(ctx context.Context)
- func (o *GetQuotasParams) SetDefaults()
- func (o *GetQuotasParams) SetHTTPClient(client *http.Client)
- func (o *GetQuotasParams) SetProjectID(projectID *string)
- func (o *GetQuotasParams) SetTimeout(timeout time.Duration)
- func (o *GetQuotasParams) WithContext(ctx context.Context) *GetQuotasParams
- func (o *GetQuotasParams) WithDefaults() *GetQuotasParams
- func (o *GetQuotasParams) WithHTTPClient(client *http.Client) *GetQuotasParams
- func (o *GetQuotasParams) WithProjectID(projectID *string) *GetQuotasParams
- func (o *GetQuotasParams) WithTimeout(timeout time.Duration) *GetQuotasParams
- func (o *GetQuotasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetQuotasProjectIDForbidden
- func (o *GetQuotasProjectIDForbidden) Code() int
- func (o *GetQuotasProjectIDForbidden) Error() string
- func (o *GetQuotasProjectIDForbidden) IsClientError() bool
- func (o *GetQuotasProjectIDForbidden) IsCode(code int) bool
- func (o *GetQuotasProjectIDForbidden) IsRedirect() bool
- func (o *GetQuotasProjectIDForbidden) IsServerError() bool
- func (o *GetQuotasProjectIDForbidden) IsSuccess() bool
- func (o *GetQuotasProjectIDForbidden) String() string
- type GetQuotasProjectIDOK
- func (o *GetQuotasProjectIDOK) Code() int
- func (o *GetQuotasProjectIDOK) Error() string
- func (o *GetQuotasProjectIDOK) GetPayload() *GetQuotasProjectIDOKBody
- func (o *GetQuotasProjectIDOK) IsClientError() bool
- func (o *GetQuotasProjectIDOK) IsCode(code int) bool
- func (o *GetQuotasProjectIDOK) IsRedirect() bool
- func (o *GetQuotasProjectIDOK) IsServerError() bool
- func (o *GetQuotasProjectIDOK) IsSuccess() bool
- func (o *GetQuotasProjectIDOK) String() string
- type GetQuotasProjectIDOKBody
- func (o *GetQuotasProjectIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetQuotasProjectIDOKBody) MarshalBinary() ([]byte, error)
- func (o GetQuotasProjectIDOKBody) MarshalJSON() ([]byte, error)
- func (o *GetQuotasProjectIDOKBody) UnmarshalBinary(b []byte) error
- func (o *GetQuotasProjectIDOKBody) UnmarshalJSON(raw []byte) error
- func (o *GetQuotasProjectIDOKBody) Validate(formats strfmt.Registry) error
- type GetQuotasProjectIDParams
- func NewGetQuotasProjectIDParams() *GetQuotasProjectIDParams
- func NewGetQuotasProjectIDParamsWithContext(ctx context.Context) *GetQuotasProjectIDParams
- func NewGetQuotasProjectIDParamsWithHTTPClient(client *http.Client) *GetQuotasProjectIDParams
- func NewGetQuotasProjectIDParamsWithTimeout(timeout time.Duration) *GetQuotasProjectIDParams
- func (o *GetQuotasProjectIDParams) SetContext(ctx context.Context)
- func (o *GetQuotasProjectIDParams) SetDefaults()
- func (o *GetQuotasProjectIDParams) SetHTTPClient(client *http.Client)
- func (o *GetQuotasProjectIDParams) SetProjectID(projectID string)
- func (o *GetQuotasProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *GetQuotasProjectIDParams) WithContext(ctx context.Context) *GetQuotasProjectIDParams
- func (o *GetQuotasProjectIDParams) WithDefaults() *GetQuotasProjectIDParams
- func (o *GetQuotasProjectIDParams) WithHTTPClient(client *http.Client) *GetQuotasProjectIDParams
- func (o *GetQuotasProjectIDParams) WithProjectID(projectID string) *GetQuotasProjectIDParams
- func (o *GetQuotasProjectIDParams) WithTimeout(timeout time.Duration) *GetQuotasProjectIDParams
- func (o *GetQuotasProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetQuotasProjectIDReader
- type GetQuotasProjectIDUnauthorized
- func (o *GetQuotasProjectIDUnauthorized) Code() int
- func (o *GetQuotasProjectIDUnauthorized) Error() string
- func (o *GetQuotasProjectIDUnauthorized) GetPayload() *models.Error
- func (o *GetQuotasProjectIDUnauthorized) IsClientError() bool
- func (o *GetQuotasProjectIDUnauthorized) IsCode(code int) bool
- func (o *GetQuotasProjectIDUnauthorized) IsRedirect() bool
- func (o *GetQuotasProjectIDUnauthorized) IsServerError() bool
- func (o *GetQuotasProjectIDUnauthorized) IsSuccess() bool
- func (o *GetQuotasProjectIDUnauthorized) String() string
- type GetQuotasProjectIDUnprocessableEntity
- func (o *GetQuotasProjectIDUnprocessableEntity) Code() int
- func (o *GetQuotasProjectIDUnprocessableEntity) Error() string
- func (o *GetQuotasProjectIDUnprocessableEntity) GetPayload() *models.Error
- func (o *GetQuotasProjectIDUnprocessableEntity) IsClientError() bool
- func (o *GetQuotasProjectIDUnprocessableEntity) IsCode(code int) bool
- func (o *GetQuotasProjectIDUnprocessableEntity) IsRedirect() bool
- func (o *GetQuotasProjectIDUnprocessableEntity) IsServerError() bool
- func (o *GetQuotasProjectIDUnprocessableEntity) IsSuccess() bool
- func (o *GetQuotasProjectIDUnprocessableEntity) String() string
- type GetQuotasReader
- type GetQuotasUnauthorized
- func (o *GetQuotasUnauthorized) Code() int
- func (o *GetQuotasUnauthorized) Error() string
- func (o *GetQuotasUnauthorized) GetPayload() *models.Error
- func (o *GetQuotasUnauthorized) IsClientError() bool
- func (o *GetQuotasUnauthorized) IsCode(code int) bool
- func (o *GetQuotasUnauthorized) IsRedirect() bool
- func (o *GetQuotasUnauthorized) IsServerError() bool
- func (o *GetQuotasUnauthorized) IsSuccess() bool
- func (o *GetQuotasUnauthorized) String() string
- type GetQuotasUnprocessableEntity
- func (o *GetQuotasUnprocessableEntity) Code() int
- func (o *GetQuotasUnprocessableEntity) Error() string
- func (o *GetQuotasUnprocessableEntity) GetPayload() *models.Error
- func (o *GetQuotasUnprocessableEntity) IsClientError() bool
- func (o *GetQuotasUnprocessableEntity) IsCode(code int) bool
- func (o *GetQuotasUnprocessableEntity) IsRedirect() bool
- func (o *GetQuotasUnprocessableEntity) IsServerError() bool
- func (o *GetQuotasUnprocessableEntity) IsSuccess() bool
- func (o *GetQuotasUnprocessableEntity) String() string
- type PutQuotasProjectIDForbidden
- func (o *PutQuotasProjectIDForbidden) Code() int
- func (o *PutQuotasProjectIDForbidden) Error() string
- func (o *PutQuotasProjectIDForbidden) IsClientError() bool
- func (o *PutQuotasProjectIDForbidden) IsCode(code int) bool
- func (o *PutQuotasProjectIDForbidden) IsRedirect() bool
- func (o *PutQuotasProjectIDForbidden) IsServerError() bool
- func (o *PutQuotasProjectIDForbidden) IsSuccess() bool
- func (o *PutQuotasProjectIDForbidden) String() string
- type PutQuotasProjectIDNotFound
- func (o *PutQuotasProjectIDNotFound) Code() int
- func (o *PutQuotasProjectIDNotFound) Error() string
- func (o *PutQuotasProjectIDNotFound) GetPayload() *models.Error
- func (o *PutQuotasProjectIDNotFound) IsClientError() bool
- func (o *PutQuotasProjectIDNotFound) IsCode(code int) bool
- func (o *PutQuotasProjectIDNotFound) IsRedirect() bool
- func (o *PutQuotasProjectIDNotFound) IsServerError() bool
- func (o *PutQuotasProjectIDNotFound) IsSuccess() bool
- func (o *PutQuotasProjectIDNotFound) String() string
- type PutQuotasProjectIDOK
- func (o *PutQuotasProjectIDOK) Code() int
- func (o *PutQuotasProjectIDOK) Error() string
- func (o *PutQuotasProjectIDOK) GetPayload() *models.Quota
- func (o *PutQuotasProjectIDOK) IsClientError() bool
- func (o *PutQuotasProjectIDOK) IsCode(code int) bool
- func (o *PutQuotasProjectIDOK) IsRedirect() bool
- func (o *PutQuotasProjectIDOK) IsServerError() bool
- func (o *PutQuotasProjectIDOK) IsSuccess() bool
- func (o *PutQuotasProjectIDOK) String() string
- type PutQuotasProjectIDParams
- func NewPutQuotasProjectIDParams() *PutQuotasProjectIDParams
- func NewPutQuotasProjectIDParamsWithContext(ctx context.Context) *PutQuotasProjectIDParams
- func NewPutQuotasProjectIDParamsWithHTTPClient(client *http.Client) *PutQuotasProjectIDParams
- func NewPutQuotasProjectIDParamsWithTimeout(timeout time.Duration) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) SetBody(body *models.Quota)
- func (o *PutQuotasProjectIDParams) SetContext(ctx context.Context)
- func (o *PutQuotasProjectIDParams) SetDefaults()
- func (o *PutQuotasProjectIDParams) SetHTTPClient(client *http.Client)
- func (o *PutQuotasProjectIDParams) SetProjectID(projectID string)
- func (o *PutQuotasProjectIDParams) SetTimeout(timeout time.Duration)
- func (o *PutQuotasProjectIDParams) WithBody(body *models.Quota) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WithContext(ctx context.Context) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WithDefaults() *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WithHTTPClient(client *http.Client) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WithProjectID(projectID string) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WithTimeout(timeout time.Duration) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutQuotasProjectIDReader
- type PutQuotasProjectIDUnauthorized
- func (o *PutQuotasProjectIDUnauthorized) Code() int
- func (o *PutQuotasProjectIDUnauthorized) Error() string
- func (o *PutQuotasProjectIDUnauthorized) GetPayload() *models.Error
- func (o *PutQuotasProjectIDUnauthorized) IsClientError() bool
- func (o *PutQuotasProjectIDUnauthorized) IsCode(code int) bool
- func (o *PutQuotasProjectIDUnauthorized) IsRedirect() bool
- func (o *PutQuotasProjectIDUnauthorized) IsServerError() bool
- func (o *PutQuotasProjectIDUnauthorized) IsSuccess() bool
- func (o *PutQuotasProjectIDUnauthorized) String() string
- type PutQuotasProjectIDUnprocessableEntity
- func (o *PutQuotasProjectIDUnprocessableEntity) Code() int
- func (o *PutQuotasProjectIDUnprocessableEntity) Error() string
- func (o *PutQuotasProjectIDUnprocessableEntity) GetPayload() *models.Error
- func (o *PutQuotasProjectIDUnprocessableEntity) IsClientError() bool
- func (o *PutQuotasProjectIDUnprocessableEntity) IsCode(code int) bool
- func (o *PutQuotasProjectIDUnprocessableEntity) IsRedirect() bool
- func (o *PutQuotasProjectIDUnprocessableEntity) IsServerError() bool
- func (o *PutQuotasProjectIDUnprocessableEntity) IsSuccess() bool
- func (o *PutQuotasProjectIDUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for quota API
func (*Client) DeleteQuotasProjectID ¶
func (a *Client) DeleteQuotasProjectID(params *DeleteQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteQuotasProjectIDNoContent, error)
DeleteQuotasProjectID resets all quota of a project
func (*Client) GetQuotas ¶
func (a *Client) GetQuotas(params *GetQuotasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasOK, error)
GetQuotas lists quotas
func (*Client) GetQuotasDefaults ¶
func (a *Client) GetQuotasDefaults(params *GetQuotasDefaultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasDefaultsOK, error)
GetQuotasDefaults shows quota defaults
func (*Client) GetQuotasProjectID ¶
func (a *Client) GetQuotasProjectID(params *GetQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasProjectIDOK, error)
GetQuotasProjectID shows quota detail
func (*Client) PutQuotasProjectID ¶
func (a *Client) PutQuotasProjectID(params *PutQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutQuotasProjectIDOK, error)
PutQuotasProjectID updates quota
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteQuotasProjectID(params *DeleteQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteQuotasProjectIDNoContent, error) GetQuotas(params *GetQuotasParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasOK, error) GetQuotasDefaults(params *GetQuotasDefaultsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasDefaultsOK, error) GetQuotasProjectID(params *GetQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetQuotasProjectIDOK, error) PutQuotasProjectID(params *PutQuotasProjectIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutQuotasProjectIDOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new quota API client.
type DeleteQuotasProjectIDForbidden ¶
type DeleteQuotasProjectIDForbidden struct { }
DeleteQuotasProjectIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteQuotasProjectIDForbidden ¶
func NewDeleteQuotasProjectIDForbidden() *DeleteQuotasProjectIDForbidden
NewDeleteQuotasProjectIDForbidden creates a DeleteQuotasProjectIDForbidden with default headers values
func (*DeleteQuotasProjectIDForbidden) Code ¶
func (o *DeleteQuotasProjectIDForbidden) Code() int
Code gets the status code for the delete quotas project Id forbidden response
func (*DeleteQuotasProjectIDForbidden) Error ¶
func (o *DeleteQuotasProjectIDForbidden) Error() string
func (*DeleteQuotasProjectIDForbidden) IsClientError ¶
func (o *DeleteQuotasProjectIDForbidden) IsClientError() bool
IsClientError returns true when this delete quotas project Id forbidden response has a 4xx status code
func (*DeleteQuotasProjectIDForbidden) IsCode ¶
func (o *DeleteQuotasProjectIDForbidden) IsCode(code int) bool
IsCode returns true when this delete quotas project Id forbidden response a status code equal to that given
func (*DeleteQuotasProjectIDForbidden) IsRedirect ¶
func (o *DeleteQuotasProjectIDForbidden) IsRedirect() bool
IsRedirect returns true when this delete quotas project Id forbidden response has a 3xx status code
func (*DeleteQuotasProjectIDForbidden) IsServerError ¶
func (o *DeleteQuotasProjectIDForbidden) IsServerError() bool
IsServerError returns true when this delete quotas project Id forbidden response has a 5xx status code
func (*DeleteQuotasProjectIDForbidden) IsSuccess ¶
func (o *DeleteQuotasProjectIDForbidden) IsSuccess() bool
IsSuccess returns true when this delete quotas project Id forbidden response has a 2xx status code
func (*DeleteQuotasProjectIDForbidden) String ¶
func (o *DeleteQuotasProjectIDForbidden) String() string
type DeleteQuotasProjectIDNoContent ¶
type DeleteQuotasProjectIDNoContent struct { }
DeleteQuotasProjectIDNoContent describes a response with status code 204, with default header values.
Resource successfully reset
func NewDeleteQuotasProjectIDNoContent ¶
func NewDeleteQuotasProjectIDNoContent() *DeleteQuotasProjectIDNoContent
NewDeleteQuotasProjectIDNoContent creates a DeleteQuotasProjectIDNoContent with default headers values
func (*DeleteQuotasProjectIDNoContent) Code ¶
func (o *DeleteQuotasProjectIDNoContent) Code() int
Code gets the status code for the delete quotas project Id no content response
func (*DeleteQuotasProjectIDNoContent) Error ¶
func (o *DeleteQuotasProjectIDNoContent) Error() string
func (*DeleteQuotasProjectIDNoContent) IsClientError ¶
func (o *DeleteQuotasProjectIDNoContent) IsClientError() bool
IsClientError returns true when this delete quotas project Id no content response has a 4xx status code
func (*DeleteQuotasProjectIDNoContent) IsCode ¶
func (o *DeleteQuotasProjectIDNoContent) IsCode(code int) bool
IsCode returns true when this delete quotas project Id no content response a status code equal to that given
func (*DeleteQuotasProjectIDNoContent) IsRedirect ¶
func (o *DeleteQuotasProjectIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete quotas project Id no content response has a 3xx status code
func (*DeleteQuotasProjectIDNoContent) IsServerError ¶
func (o *DeleteQuotasProjectIDNoContent) IsServerError() bool
IsServerError returns true when this delete quotas project Id no content response has a 5xx status code
func (*DeleteQuotasProjectIDNoContent) IsSuccess ¶
func (o *DeleteQuotasProjectIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete quotas project Id no content response has a 2xx status code
func (*DeleteQuotasProjectIDNoContent) String ¶
func (o *DeleteQuotasProjectIDNoContent) String() string
type DeleteQuotasProjectIDNotFound ¶
DeleteQuotasProjectIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteQuotasProjectIDNotFound ¶
func NewDeleteQuotasProjectIDNotFound() *DeleteQuotasProjectIDNotFound
NewDeleteQuotasProjectIDNotFound creates a DeleteQuotasProjectIDNotFound with default headers values
func (*DeleteQuotasProjectIDNotFound) Code ¶
func (o *DeleteQuotasProjectIDNotFound) Code() int
Code gets the status code for the delete quotas project Id not found response
func (*DeleteQuotasProjectIDNotFound) Error ¶
func (o *DeleteQuotasProjectIDNotFound) Error() string
func (*DeleteQuotasProjectIDNotFound) GetPayload ¶
func (o *DeleteQuotasProjectIDNotFound) GetPayload() *models.Error
func (*DeleteQuotasProjectIDNotFound) IsClientError ¶
func (o *DeleteQuotasProjectIDNotFound) IsClientError() bool
IsClientError returns true when this delete quotas project Id not found response has a 4xx status code
func (*DeleteQuotasProjectIDNotFound) IsCode ¶
func (o *DeleteQuotasProjectIDNotFound) IsCode(code int) bool
IsCode returns true when this delete quotas project Id not found response a status code equal to that given
func (*DeleteQuotasProjectIDNotFound) IsRedirect ¶
func (o *DeleteQuotasProjectIDNotFound) IsRedirect() bool
IsRedirect returns true when this delete quotas project Id not found response has a 3xx status code
func (*DeleteQuotasProjectIDNotFound) IsServerError ¶
func (o *DeleteQuotasProjectIDNotFound) IsServerError() bool
IsServerError returns true when this delete quotas project Id not found response has a 5xx status code
func (*DeleteQuotasProjectIDNotFound) IsSuccess ¶
func (o *DeleteQuotasProjectIDNotFound) IsSuccess() bool
IsSuccess returns true when this delete quotas project Id not found response has a 2xx status code
func (*DeleteQuotasProjectIDNotFound) String ¶
func (o *DeleteQuotasProjectIDNotFound) String() string
type DeleteQuotasProjectIDParams ¶
type DeleteQuotasProjectIDParams struct { /* ProjectID. The ID of the project to query. */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteQuotasProjectIDParams contains all the parameters to send to the API endpoint
for the delete quotas project ID operation. Typically these are written to a http.Request.
func NewDeleteQuotasProjectIDParams ¶
func NewDeleteQuotasProjectIDParams() *DeleteQuotasProjectIDParams
NewDeleteQuotasProjectIDParams creates a new DeleteQuotasProjectIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteQuotasProjectIDParamsWithContext ¶
func NewDeleteQuotasProjectIDParamsWithContext(ctx context.Context) *DeleteQuotasProjectIDParams
NewDeleteQuotasProjectIDParamsWithContext creates a new DeleteQuotasProjectIDParams object with the ability to set a context for a request.
func NewDeleteQuotasProjectIDParamsWithHTTPClient ¶
func NewDeleteQuotasProjectIDParamsWithHTTPClient(client *http.Client) *DeleteQuotasProjectIDParams
NewDeleteQuotasProjectIDParamsWithHTTPClient creates a new DeleteQuotasProjectIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteQuotasProjectIDParamsWithTimeout ¶
func NewDeleteQuotasProjectIDParamsWithTimeout(timeout time.Duration) *DeleteQuotasProjectIDParams
NewDeleteQuotasProjectIDParamsWithTimeout creates a new DeleteQuotasProjectIDParams object with the ability to set a timeout on a request.
func (*DeleteQuotasProjectIDParams) SetContext ¶
func (o *DeleteQuotasProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) SetDefaults ¶
func (o *DeleteQuotasProjectIDParams) SetDefaults()
SetDefaults hydrates default values in the delete quotas project ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteQuotasProjectIDParams) SetHTTPClient ¶
func (o *DeleteQuotasProjectIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) SetProjectID ¶
func (o *DeleteQuotasProjectIDParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) SetTimeout ¶
func (o *DeleteQuotasProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) WithContext ¶
func (o *DeleteQuotasProjectIDParams) WithContext(ctx context.Context) *DeleteQuotasProjectIDParams
WithContext adds the context to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) WithDefaults ¶
func (o *DeleteQuotasProjectIDParams) WithDefaults() *DeleteQuotasProjectIDParams
WithDefaults hydrates default values in the delete quotas project ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteQuotasProjectIDParams) WithHTTPClient ¶
func (o *DeleteQuotasProjectIDParams) WithHTTPClient(client *http.Client) *DeleteQuotasProjectIDParams
WithHTTPClient adds the HTTPClient to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) WithProjectID ¶
func (o *DeleteQuotasProjectIDParams) WithProjectID(projectID string) *DeleteQuotasProjectIDParams
WithProjectID adds the projectID to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) WithTimeout ¶
func (o *DeleteQuotasProjectIDParams) WithTimeout(timeout time.Duration) *DeleteQuotasProjectIDParams
WithTimeout adds the timeout to the delete quotas project ID params
func (*DeleteQuotasProjectIDParams) WriteToRequest ¶
func (o *DeleteQuotasProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteQuotasProjectIDReader ¶
type DeleteQuotasProjectIDReader struct {
// contains filtered or unexported fields
}
DeleteQuotasProjectIDReader is a Reader for the DeleteQuotasProjectID structure.
func (*DeleteQuotasProjectIDReader) ReadResponse ¶
func (o *DeleteQuotasProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteQuotasProjectIDUnauthorized ¶
type DeleteQuotasProjectIDUnauthorized struct {
}DeleteQuotasProjectIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteQuotasProjectIDUnauthorized ¶
func NewDeleteQuotasProjectIDUnauthorized() *DeleteQuotasProjectIDUnauthorized
NewDeleteQuotasProjectIDUnauthorized creates a DeleteQuotasProjectIDUnauthorized with default headers values
func (*DeleteQuotasProjectIDUnauthorized) Code ¶
func (o *DeleteQuotasProjectIDUnauthorized) Code() int
Code gets the status code for the delete quotas project Id unauthorized response
func (*DeleteQuotasProjectIDUnauthorized) Error ¶
func (o *DeleteQuotasProjectIDUnauthorized) Error() string
func (*DeleteQuotasProjectIDUnauthorized) GetPayload ¶
func (o *DeleteQuotasProjectIDUnauthorized) GetPayload() *models.Error
func (*DeleteQuotasProjectIDUnauthorized) IsClientError ¶
func (o *DeleteQuotasProjectIDUnauthorized) IsClientError() bool
IsClientError returns true when this delete quotas project Id unauthorized response has a 4xx status code
func (*DeleteQuotasProjectIDUnauthorized) IsCode ¶
func (o *DeleteQuotasProjectIDUnauthorized) IsCode(code int) bool
IsCode returns true when this delete quotas project Id unauthorized response a status code equal to that given
func (*DeleteQuotasProjectIDUnauthorized) IsRedirect ¶
func (o *DeleteQuotasProjectIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete quotas project Id unauthorized response has a 3xx status code
func (*DeleteQuotasProjectIDUnauthorized) IsServerError ¶
func (o *DeleteQuotasProjectIDUnauthorized) IsServerError() bool
IsServerError returns true when this delete quotas project Id unauthorized response has a 5xx status code
func (*DeleteQuotasProjectIDUnauthorized) IsSuccess ¶
func (o *DeleteQuotasProjectIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete quotas project Id unauthorized response has a 2xx status code
func (*DeleteQuotasProjectIDUnauthorized) String ¶
func (o *DeleteQuotasProjectIDUnauthorized) String() string
type DeleteQuotasProjectIDUnprocessableEntity ¶
DeleteQuotasProjectIDUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewDeleteQuotasProjectIDUnprocessableEntity ¶
func NewDeleteQuotasProjectIDUnprocessableEntity() *DeleteQuotasProjectIDUnprocessableEntity
NewDeleteQuotasProjectIDUnprocessableEntity creates a DeleteQuotasProjectIDUnprocessableEntity with default headers values
func (*DeleteQuotasProjectIDUnprocessableEntity) Code ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) Code() int
Code gets the status code for the delete quotas project Id unprocessable entity response
func (*DeleteQuotasProjectIDUnprocessableEntity) Error ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) Error() string
func (*DeleteQuotasProjectIDUnprocessableEntity) GetPayload ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) GetPayload() *models.Error
func (*DeleteQuotasProjectIDUnprocessableEntity) IsClientError ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) IsClientError() bool
IsClientError returns true when this delete quotas project Id unprocessable entity response has a 4xx status code
func (*DeleteQuotasProjectIDUnprocessableEntity) IsCode ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this delete quotas project Id unprocessable entity response a status code equal to that given
func (*DeleteQuotasProjectIDUnprocessableEntity) IsRedirect ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this delete quotas project Id unprocessable entity response has a 3xx status code
func (*DeleteQuotasProjectIDUnprocessableEntity) IsServerError ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) IsServerError() bool
IsServerError returns true when this delete quotas project Id unprocessable entity response has a 5xx status code
func (*DeleteQuotasProjectIDUnprocessableEntity) IsSuccess ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this delete quotas project Id unprocessable entity response has a 2xx status code
func (*DeleteQuotasProjectIDUnprocessableEntity) String ¶
func (o *DeleteQuotasProjectIDUnprocessableEntity) String() string
type GetQuotasDefaultsForbidden ¶
type GetQuotasDefaultsForbidden struct { }
GetQuotasDefaultsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetQuotasDefaultsForbidden ¶
func NewGetQuotasDefaultsForbidden() *GetQuotasDefaultsForbidden
NewGetQuotasDefaultsForbidden creates a GetQuotasDefaultsForbidden with default headers values
func (*GetQuotasDefaultsForbidden) Code ¶
func (o *GetQuotasDefaultsForbidden) Code() int
Code gets the status code for the get quotas defaults forbidden response
func (*GetQuotasDefaultsForbidden) Error ¶
func (o *GetQuotasDefaultsForbidden) Error() string
func (*GetQuotasDefaultsForbidden) IsClientError ¶
func (o *GetQuotasDefaultsForbidden) IsClientError() bool
IsClientError returns true when this get quotas defaults forbidden response has a 4xx status code
func (*GetQuotasDefaultsForbidden) IsCode ¶
func (o *GetQuotasDefaultsForbidden) IsCode(code int) bool
IsCode returns true when this get quotas defaults forbidden response a status code equal to that given
func (*GetQuotasDefaultsForbidden) IsRedirect ¶
func (o *GetQuotasDefaultsForbidden) IsRedirect() bool
IsRedirect returns true when this get quotas defaults forbidden response has a 3xx status code
func (*GetQuotasDefaultsForbidden) IsServerError ¶
func (o *GetQuotasDefaultsForbidden) IsServerError() bool
IsServerError returns true when this get quotas defaults forbidden response has a 5xx status code
func (*GetQuotasDefaultsForbidden) IsSuccess ¶
func (o *GetQuotasDefaultsForbidden) IsSuccess() bool
IsSuccess returns true when this get quotas defaults forbidden response has a 2xx status code
func (*GetQuotasDefaultsForbidden) String ¶
func (o *GetQuotasDefaultsForbidden) String() string
type GetQuotasDefaultsOK ¶
type GetQuotasDefaultsOK struct {
Payload *GetQuotasDefaultsOKBody
}
GetQuotasDefaultsOK describes a response with status code 200, with default header values.
Show the quota defaults configured for new projects.
func NewGetQuotasDefaultsOK ¶
func NewGetQuotasDefaultsOK() *GetQuotasDefaultsOK
NewGetQuotasDefaultsOK creates a GetQuotasDefaultsOK with default headers values
func (*GetQuotasDefaultsOK) Code ¶
func (o *GetQuotasDefaultsOK) Code() int
Code gets the status code for the get quotas defaults o k response
func (*GetQuotasDefaultsOK) Error ¶
func (o *GetQuotasDefaultsOK) Error() string
func (*GetQuotasDefaultsOK) GetPayload ¶
func (o *GetQuotasDefaultsOK) GetPayload() *GetQuotasDefaultsOKBody
func (*GetQuotasDefaultsOK) IsClientError ¶
func (o *GetQuotasDefaultsOK) IsClientError() bool
IsClientError returns true when this get quotas defaults o k response has a 4xx status code
func (*GetQuotasDefaultsOK) IsCode ¶
func (o *GetQuotasDefaultsOK) IsCode(code int) bool
IsCode returns true when this get quotas defaults o k response a status code equal to that given
func (*GetQuotasDefaultsOK) IsRedirect ¶
func (o *GetQuotasDefaultsOK) IsRedirect() bool
IsRedirect returns true when this get quotas defaults o k response has a 3xx status code
func (*GetQuotasDefaultsOK) IsServerError ¶
func (o *GetQuotasDefaultsOK) IsServerError() bool
IsServerError returns true when this get quotas defaults o k response has a 5xx status code
func (*GetQuotasDefaultsOK) IsSuccess ¶
func (o *GetQuotasDefaultsOK) IsSuccess() bool
IsSuccess returns true when this get quotas defaults o k response has a 2xx status code
func (*GetQuotasDefaultsOK) String ¶
func (o *GetQuotasDefaultsOK) String() string
type GetQuotasDefaultsOKBody ¶
GetQuotasDefaultsOKBody get quotas defaults o k body swagger:model GetQuotasDefaultsOKBody
func (*GetQuotasDefaultsOKBody) ContextValidate ¶
func (o *GetQuotasDefaultsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get quotas defaults o k body based on the context it is used
func (*GetQuotasDefaultsOKBody) MarshalBinary ¶
func (o *GetQuotasDefaultsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetQuotasDefaultsOKBody) UnmarshalBinary ¶
func (o *GetQuotasDefaultsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetQuotasDefaultsParams ¶
type GetQuotasDefaultsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetQuotasDefaultsParams contains all the parameters to send to the API endpoint
for the get quotas defaults operation. Typically these are written to a http.Request.
func NewGetQuotasDefaultsParams ¶
func NewGetQuotasDefaultsParams() *GetQuotasDefaultsParams
NewGetQuotasDefaultsParams creates a new GetQuotasDefaultsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetQuotasDefaultsParamsWithContext ¶
func NewGetQuotasDefaultsParamsWithContext(ctx context.Context) *GetQuotasDefaultsParams
NewGetQuotasDefaultsParamsWithContext creates a new GetQuotasDefaultsParams object with the ability to set a context for a request.
func NewGetQuotasDefaultsParamsWithHTTPClient ¶
func NewGetQuotasDefaultsParamsWithHTTPClient(client *http.Client) *GetQuotasDefaultsParams
NewGetQuotasDefaultsParamsWithHTTPClient creates a new GetQuotasDefaultsParams object with the ability to set a custom HTTPClient for a request.
func NewGetQuotasDefaultsParamsWithTimeout ¶
func NewGetQuotasDefaultsParamsWithTimeout(timeout time.Duration) *GetQuotasDefaultsParams
NewGetQuotasDefaultsParamsWithTimeout creates a new GetQuotasDefaultsParams object with the ability to set a timeout on a request.
func (*GetQuotasDefaultsParams) SetContext ¶
func (o *GetQuotasDefaultsParams) SetContext(ctx context.Context)
SetContext adds the context to the get quotas defaults params
func (*GetQuotasDefaultsParams) SetDefaults ¶
func (o *GetQuotasDefaultsParams) SetDefaults()
SetDefaults hydrates default values in the get quotas defaults params (not the query body).
All values with no default are reset to their zero value.
func (*GetQuotasDefaultsParams) SetHTTPClient ¶
func (o *GetQuotasDefaultsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get quotas defaults params
func (*GetQuotasDefaultsParams) SetTimeout ¶
func (o *GetQuotasDefaultsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get quotas defaults params
func (*GetQuotasDefaultsParams) WithContext ¶
func (o *GetQuotasDefaultsParams) WithContext(ctx context.Context) *GetQuotasDefaultsParams
WithContext adds the context to the get quotas defaults params
func (*GetQuotasDefaultsParams) WithDefaults ¶
func (o *GetQuotasDefaultsParams) WithDefaults() *GetQuotasDefaultsParams
WithDefaults hydrates default values in the get quotas defaults params (not the query body).
All values with no default are reset to their zero value.
func (*GetQuotasDefaultsParams) WithHTTPClient ¶
func (o *GetQuotasDefaultsParams) WithHTTPClient(client *http.Client) *GetQuotasDefaultsParams
WithHTTPClient adds the HTTPClient to the get quotas defaults params
func (*GetQuotasDefaultsParams) WithTimeout ¶
func (o *GetQuotasDefaultsParams) WithTimeout(timeout time.Duration) *GetQuotasDefaultsParams
WithTimeout adds the timeout to the get quotas defaults params
func (*GetQuotasDefaultsParams) WriteToRequest ¶
func (o *GetQuotasDefaultsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetQuotasDefaultsReader ¶
type GetQuotasDefaultsReader struct {
// contains filtered or unexported fields
}
GetQuotasDefaultsReader is a Reader for the GetQuotasDefaults structure.
func (*GetQuotasDefaultsReader) ReadResponse ¶
func (o *GetQuotasDefaultsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetQuotasDefaultsUnauthorized ¶
type GetQuotasDefaultsUnauthorized struct {
}GetQuotasDefaultsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetQuotasDefaultsUnauthorized ¶
func NewGetQuotasDefaultsUnauthorized() *GetQuotasDefaultsUnauthorized
NewGetQuotasDefaultsUnauthorized creates a GetQuotasDefaultsUnauthorized with default headers values
func (*GetQuotasDefaultsUnauthorized) Code ¶
func (o *GetQuotasDefaultsUnauthorized) Code() int
Code gets the status code for the get quotas defaults unauthorized response
func (*GetQuotasDefaultsUnauthorized) Error ¶
func (o *GetQuotasDefaultsUnauthorized) Error() string
func (*GetQuotasDefaultsUnauthorized) GetPayload ¶
func (o *GetQuotasDefaultsUnauthorized) GetPayload() *models.Error
func (*GetQuotasDefaultsUnauthorized) IsClientError ¶
func (o *GetQuotasDefaultsUnauthorized) IsClientError() bool
IsClientError returns true when this get quotas defaults unauthorized response has a 4xx status code
func (*GetQuotasDefaultsUnauthorized) IsCode ¶
func (o *GetQuotasDefaultsUnauthorized) IsCode(code int) bool
IsCode returns true when this get quotas defaults unauthorized response a status code equal to that given
func (*GetQuotasDefaultsUnauthorized) IsRedirect ¶
func (o *GetQuotasDefaultsUnauthorized) IsRedirect() bool
IsRedirect returns true when this get quotas defaults unauthorized response has a 3xx status code
func (*GetQuotasDefaultsUnauthorized) IsServerError ¶
func (o *GetQuotasDefaultsUnauthorized) IsServerError() bool
IsServerError returns true when this get quotas defaults unauthorized response has a 5xx status code
func (*GetQuotasDefaultsUnauthorized) IsSuccess ¶
func (o *GetQuotasDefaultsUnauthorized) IsSuccess() bool
IsSuccess returns true when this get quotas defaults unauthorized response has a 2xx status code
func (*GetQuotasDefaultsUnauthorized) String ¶
func (o *GetQuotasDefaultsUnauthorized) String() string
type GetQuotasDefaultsUnprocessableEntity ¶
GetQuotasDefaultsUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewGetQuotasDefaultsUnprocessableEntity ¶
func NewGetQuotasDefaultsUnprocessableEntity() *GetQuotasDefaultsUnprocessableEntity
NewGetQuotasDefaultsUnprocessableEntity creates a GetQuotasDefaultsUnprocessableEntity with default headers values
func (*GetQuotasDefaultsUnprocessableEntity) Code ¶
func (o *GetQuotasDefaultsUnprocessableEntity) Code() int
Code gets the status code for the get quotas defaults unprocessable entity response
func (*GetQuotasDefaultsUnprocessableEntity) Error ¶
func (o *GetQuotasDefaultsUnprocessableEntity) Error() string
func (*GetQuotasDefaultsUnprocessableEntity) GetPayload ¶
func (o *GetQuotasDefaultsUnprocessableEntity) GetPayload() *models.Error
func (*GetQuotasDefaultsUnprocessableEntity) IsClientError ¶
func (o *GetQuotasDefaultsUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get quotas defaults unprocessable entity response has a 4xx status code
func (*GetQuotasDefaultsUnprocessableEntity) IsCode ¶
func (o *GetQuotasDefaultsUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get quotas defaults unprocessable entity response a status code equal to that given
func (*GetQuotasDefaultsUnprocessableEntity) IsRedirect ¶
func (o *GetQuotasDefaultsUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get quotas defaults unprocessable entity response has a 3xx status code
func (*GetQuotasDefaultsUnprocessableEntity) IsServerError ¶
func (o *GetQuotasDefaultsUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get quotas defaults unprocessable entity response has a 5xx status code
func (*GetQuotasDefaultsUnprocessableEntity) IsSuccess ¶
func (o *GetQuotasDefaultsUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get quotas defaults unprocessable entity response has a 2xx status code
func (*GetQuotasDefaultsUnprocessableEntity) String ¶
func (o *GetQuotasDefaultsUnprocessableEntity) String() string
type GetQuotasForbidden ¶
type GetQuotasForbidden struct { }
GetQuotasForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetQuotasForbidden ¶
func NewGetQuotasForbidden() *GetQuotasForbidden
NewGetQuotasForbidden creates a GetQuotasForbidden with default headers values
func (*GetQuotasForbidden) Code ¶
func (o *GetQuotasForbidden) Code() int
Code gets the status code for the get quotas forbidden response
func (*GetQuotasForbidden) Error ¶
func (o *GetQuotasForbidden) Error() string
func (*GetQuotasForbidden) IsClientError ¶
func (o *GetQuotasForbidden) IsClientError() bool
IsClientError returns true when this get quotas forbidden response has a 4xx status code
func (*GetQuotasForbidden) IsCode ¶
func (o *GetQuotasForbidden) IsCode(code int) bool
IsCode returns true when this get quotas forbidden response a status code equal to that given
func (*GetQuotasForbidden) IsRedirect ¶
func (o *GetQuotasForbidden) IsRedirect() bool
IsRedirect returns true when this get quotas forbidden response has a 3xx status code
func (*GetQuotasForbidden) IsServerError ¶
func (o *GetQuotasForbidden) IsServerError() bool
IsServerError returns true when this get quotas forbidden response has a 5xx status code
func (*GetQuotasForbidden) IsSuccess ¶
func (o *GetQuotasForbidden) IsSuccess() bool
IsSuccess returns true when this get quotas forbidden response has a 2xx status code
func (*GetQuotasForbidden) String ¶
func (o *GetQuotasForbidden) String() string
type GetQuotasNotFound ¶
GetQuotasNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetQuotasNotFound ¶
func NewGetQuotasNotFound() *GetQuotasNotFound
NewGetQuotasNotFound creates a GetQuotasNotFound with default headers values
func (*GetQuotasNotFound) Code ¶
func (o *GetQuotasNotFound) Code() int
Code gets the status code for the get quotas not found response
func (*GetQuotasNotFound) Error ¶
func (o *GetQuotasNotFound) Error() string
func (*GetQuotasNotFound) GetPayload ¶
func (o *GetQuotasNotFound) GetPayload() *models.Error
func (*GetQuotasNotFound) IsClientError ¶
func (o *GetQuotasNotFound) IsClientError() bool
IsClientError returns true when this get quotas not found response has a 4xx status code
func (*GetQuotasNotFound) IsCode ¶
func (o *GetQuotasNotFound) IsCode(code int) bool
IsCode returns true when this get quotas not found response a status code equal to that given
func (*GetQuotasNotFound) IsRedirect ¶
func (o *GetQuotasNotFound) IsRedirect() bool
IsRedirect returns true when this get quotas not found response has a 3xx status code
func (*GetQuotasNotFound) IsServerError ¶
func (o *GetQuotasNotFound) IsServerError() bool
IsServerError returns true when this get quotas not found response has a 5xx status code
func (*GetQuotasNotFound) IsSuccess ¶
func (o *GetQuotasNotFound) IsSuccess() bool
IsSuccess returns true when this get quotas not found response has a 2xx status code
func (*GetQuotasNotFound) String ¶
func (o *GetQuotasNotFound) String() string
type GetQuotasOK ¶
type GetQuotasOK struct {
Payload *GetQuotasOKBody
}
GetQuotasOK describes a response with status code 200, with default header values.
A JSON array of quotas
func NewGetQuotasOK ¶
func NewGetQuotasOK() *GetQuotasOK
NewGetQuotasOK creates a GetQuotasOK with default headers values
func (*GetQuotasOK) Code ¶
func (o *GetQuotasOK) Code() int
Code gets the status code for the get quotas o k response
func (*GetQuotasOK) Error ¶
func (o *GetQuotasOK) Error() string
func (*GetQuotasOK) GetPayload ¶
func (o *GetQuotasOK) GetPayload() *GetQuotasOKBody
func (*GetQuotasOK) IsClientError ¶
func (o *GetQuotasOK) IsClientError() bool
IsClientError returns true when this get quotas o k response has a 4xx status code
func (*GetQuotasOK) IsCode ¶
func (o *GetQuotasOK) IsCode(code int) bool
IsCode returns true when this get quotas o k response a status code equal to that given
func (*GetQuotasOK) IsRedirect ¶
func (o *GetQuotasOK) IsRedirect() bool
IsRedirect returns true when this get quotas o k response has a 3xx status code
func (*GetQuotasOK) IsServerError ¶
func (o *GetQuotasOK) IsServerError() bool
IsServerError returns true when this get quotas o k response has a 5xx status code
func (*GetQuotasOK) IsSuccess ¶
func (o *GetQuotasOK) IsSuccess() bool
IsSuccess returns true when this get quotas o k response has a 2xx status code
func (*GetQuotasOK) String ¶
func (o *GetQuotasOK) String() string
type GetQuotasOKBody ¶
type GetQuotasOKBody struct { // links Links []*models.Link `json:"links,omitempty"` // quotas Quotas []*GetQuotasOKBodyQuotasItems0 `json:"quotas"` }
GetQuotasOKBody get quotas o k body swagger:model GetQuotasOKBody
func (*GetQuotasOKBody) ContextValidate ¶
ContextValidate validate this get quotas o k body based on the context it is used
func (*GetQuotasOKBody) MarshalBinary ¶
func (o *GetQuotasOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetQuotasOKBody) UnmarshalBinary ¶
func (o *GetQuotasOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetQuotasOKBodyQuotasItems0 ¶
type GetQuotasOKBodyQuotasItems0 struct { models.Quota models.QuotaUsage // project id ProjectID models.Project `json:"project_id"` }
GetQuotasOKBodyQuotasItems0 get quotas o k body quotas items0 swagger:model GetQuotasOKBodyQuotasItems0
func (*GetQuotasOKBodyQuotasItems0) ContextValidate ¶
func (o *GetQuotasOKBodyQuotasItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get quotas o k body quotas items0 based on the context it is used
func (*GetQuotasOKBodyQuotasItems0) MarshalBinary ¶
func (o *GetQuotasOKBodyQuotasItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetQuotasOKBodyQuotasItems0) MarshalJSON ¶
func (o GetQuotasOKBodyQuotasItems0) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetQuotasOKBodyQuotasItems0) UnmarshalBinary ¶
func (o *GetQuotasOKBodyQuotasItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetQuotasOKBodyQuotasItems0) UnmarshalJSON ¶
func (o *GetQuotasOKBodyQuotasItems0) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetQuotasParams ¶
type GetQuotasParams struct { /* ProjectID. The ID of the project to query. */ ProjectID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetQuotasParams contains all the parameters to send to the API endpoint
for the get quotas operation. Typically these are written to a http.Request.
func NewGetQuotasParams ¶
func NewGetQuotasParams() *GetQuotasParams
NewGetQuotasParams creates a new GetQuotasParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetQuotasParamsWithContext ¶
func NewGetQuotasParamsWithContext(ctx context.Context) *GetQuotasParams
NewGetQuotasParamsWithContext creates a new GetQuotasParams object with the ability to set a context for a request.
func NewGetQuotasParamsWithHTTPClient ¶
func NewGetQuotasParamsWithHTTPClient(client *http.Client) *GetQuotasParams
NewGetQuotasParamsWithHTTPClient creates a new GetQuotasParams object with the ability to set a custom HTTPClient for a request.
func NewGetQuotasParamsWithTimeout ¶
func NewGetQuotasParamsWithTimeout(timeout time.Duration) *GetQuotasParams
NewGetQuotasParamsWithTimeout creates a new GetQuotasParams object with the ability to set a timeout on a request.
func (*GetQuotasParams) SetContext ¶
func (o *GetQuotasParams) SetContext(ctx context.Context)
SetContext adds the context to the get quotas params
func (*GetQuotasParams) SetDefaults ¶
func (o *GetQuotasParams) SetDefaults()
SetDefaults hydrates default values in the get quotas params (not the query body).
All values with no default are reset to their zero value.
func (*GetQuotasParams) SetHTTPClient ¶
func (o *GetQuotasParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get quotas params
func (*GetQuotasParams) SetProjectID ¶
func (o *GetQuotasParams) SetProjectID(projectID *string)
SetProjectID adds the projectId to the get quotas params
func (*GetQuotasParams) SetTimeout ¶
func (o *GetQuotasParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get quotas params
func (*GetQuotasParams) WithContext ¶
func (o *GetQuotasParams) WithContext(ctx context.Context) *GetQuotasParams
WithContext adds the context to the get quotas params
func (*GetQuotasParams) WithDefaults ¶
func (o *GetQuotasParams) WithDefaults() *GetQuotasParams
WithDefaults hydrates default values in the get quotas params (not the query body).
All values with no default are reset to their zero value.
func (*GetQuotasParams) WithHTTPClient ¶
func (o *GetQuotasParams) WithHTTPClient(client *http.Client) *GetQuotasParams
WithHTTPClient adds the HTTPClient to the get quotas params
func (*GetQuotasParams) WithProjectID ¶
func (o *GetQuotasParams) WithProjectID(projectID *string) *GetQuotasParams
WithProjectID adds the projectID to the get quotas params
func (*GetQuotasParams) WithTimeout ¶
func (o *GetQuotasParams) WithTimeout(timeout time.Duration) *GetQuotasParams
WithTimeout adds the timeout to the get quotas params
func (*GetQuotasParams) WriteToRequest ¶
func (o *GetQuotasParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetQuotasProjectIDForbidden ¶
type GetQuotasProjectIDForbidden struct { }
GetQuotasProjectIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetQuotasProjectIDForbidden ¶
func NewGetQuotasProjectIDForbidden() *GetQuotasProjectIDForbidden
NewGetQuotasProjectIDForbidden creates a GetQuotasProjectIDForbidden with default headers values
func (*GetQuotasProjectIDForbidden) Code ¶
func (o *GetQuotasProjectIDForbidden) Code() int
Code gets the status code for the get quotas project Id forbidden response
func (*GetQuotasProjectIDForbidden) Error ¶
func (o *GetQuotasProjectIDForbidden) Error() string
func (*GetQuotasProjectIDForbidden) IsClientError ¶
func (o *GetQuotasProjectIDForbidden) IsClientError() bool
IsClientError returns true when this get quotas project Id forbidden response has a 4xx status code
func (*GetQuotasProjectIDForbidden) IsCode ¶
func (o *GetQuotasProjectIDForbidden) IsCode(code int) bool
IsCode returns true when this get quotas project Id forbidden response a status code equal to that given
func (*GetQuotasProjectIDForbidden) IsRedirect ¶
func (o *GetQuotasProjectIDForbidden) IsRedirect() bool
IsRedirect returns true when this get quotas project Id forbidden response has a 3xx status code
func (*GetQuotasProjectIDForbidden) IsServerError ¶
func (o *GetQuotasProjectIDForbidden) IsServerError() bool
IsServerError returns true when this get quotas project Id forbidden response has a 5xx status code
func (*GetQuotasProjectIDForbidden) IsSuccess ¶
func (o *GetQuotasProjectIDForbidden) IsSuccess() bool
IsSuccess returns true when this get quotas project Id forbidden response has a 2xx status code
func (*GetQuotasProjectIDForbidden) String ¶
func (o *GetQuotasProjectIDForbidden) String() string
type GetQuotasProjectIDOK ¶
type GetQuotasProjectIDOK struct {
Payload *GetQuotasProjectIDOKBody
}
GetQuotasProjectIDOK describes a response with status code 200, with default header values.
Shows the details of a specific monitor.
func NewGetQuotasProjectIDOK ¶
func NewGetQuotasProjectIDOK() *GetQuotasProjectIDOK
NewGetQuotasProjectIDOK creates a GetQuotasProjectIDOK with default headers values
func (*GetQuotasProjectIDOK) Code ¶
func (o *GetQuotasProjectIDOK) Code() int
Code gets the status code for the get quotas project Id o k response
func (*GetQuotasProjectIDOK) Error ¶
func (o *GetQuotasProjectIDOK) Error() string
func (*GetQuotasProjectIDOK) GetPayload ¶
func (o *GetQuotasProjectIDOK) GetPayload() *GetQuotasProjectIDOKBody
func (*GetQuotasProjectIDOK) IsClientError ¶
func (o *GetQuotasProjectIDOK) IsClientError() bool
IsClientError returns true when this get quotas project Id o k response has a 4xx status code
func (*GetQuotasProjectIDOK) IsCode ¶
func (o *GetQuotasProjectIDOK) IsCode(code int) bool
IsCode returns true when this get quotas project Id o k response a status code equal to that given
func (*GetQuotasProjectIDOK) IsRedirect ¶
func (o *GetQuotasProjectIDOK) IsRedirect() bool
IsRedirect returns true when this get quotas project Id o k response has a 3xx status code
func (*GetQuotasProjectIDOK) IsServerError ¶
func (o *GetQuotasProjectIDOK) IsServerError() bool
IsServerError returns true when this get quotas project Id o k response has a 5xx status code
func (*GetQuotasProjectIDOK) IsSuccess ¶
func (o *GetQuotasProjectIDOK) IsSuccess() bool
IsSuccess returns true when this get quotas project Id o k response has a 2xx status code
func (*GetQuotasProjectIDOK) String ¶
func (o *GetQuotasProjectIDOK) String() string
type GetQuotasProjectIDOKBody ¶
type GetQuotasProjectIDOKBody struct { models.Quota models.QuotaUsage }
GetQuotasProjectIDOKBody get quotas project ID o k body swagger:model GetQuotasProjectIDOKBody
func (*GetQuotasProjectIDOKBody) ContextValidate ¶
func (o *GetQuotasProjectIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get quotas project ID o k body based on the context it is used
func (*GetQuotasProjectIDOKBody) MarshalBinary ¶
func (o *GetQuotasProjectIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (GetQuotasProjectIDOKBody) MarshalJSON ¶
func (o GetQuotasProjectIDOKBody) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*GetQuotasProjectIDOKBody) UnmarshalBinary ¶
func (o *GetQuotasProjectIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetQuotasProjectIDOKBody) UnmarshalJSON ¶
func (o *GetQuotasProjectIDOKBody) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type GetQuotasProjectIDParams ¶
type GetQuotasProjectIDParams struct { /* ProjectID. The ID of the project to query. */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetQuotasProjectIDParams contains all the parameters to send to the API endpoint
for the get quotas project ID operation. Typically these are written to a http.Request.
func NewGetQuotasProjectIDParams ¶
func NewGetQuotasProjectIDParams() *GetQuotasProjectIDParams
NewGetQuotasProjectIDParams creates a new GetQuotasProjectIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetQuotasProjectIDParamsWithContext ¶
func NewGetQuotasProjectIDParamsWithContext(ctx context.Context) *GetQuotasProjectIDParams
NewGetQuotasProjectIDParamsWithContext creates a new GetQuotasProjectIDParams object with the ability to set a context for a request.
func NewGetQuotasProjectIDParamsWithHTTPClient ¶
func NewGetQuotasProjectIDParamsWithHTTPClient(client *http.Client) *GetQuotasProjectIDParams
NewGetQuotasProjectIDParamsWithHTTPClient creates a new GetQuotasProjectIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetQuotasProjectIDParamsWithTimeout ¶
func NewGetQuotasProjectIDParamsWithTimeout(timeout time.Duration) *GetQuotasProjectIDParams
NewGetQuotasProjectIDParamsWithTimeout creates a new GetQuotasProjectIDParams object with the ability to set a timeout on a request.
func (*GetQuotasProjectIDParams) SetContext ¶
func (o *GetQuotasProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get quotas project ID params
func (*GetQuotasProjectIDParams) SetDefaults ¶
func (o *GetQuotasProjectIDParams) SetDefaults()
SetDefaults hydrates default values in the get quotas project ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetQuotasProjectIDParams) SetHTTPClient ¶
func (o *GetQuotasProjectIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get quotas project ID params
func (*GetQuotasProjectIDParams) SetProjectID ¶
func (o *GetQuotasProjectIDParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the get quotas project ID params
func (*GetQuotasProjectIDParams) SetTimeout ¶
func (o *GetQuotasProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get quotas project ID params
func (*GetQuotasProjectIDParams) WithContext ¶
func (o *GetQuotasProjectIDParams) WithContext(ctx context.Context) *GetQuotasProjectIDParams
WithContext adds the context to the get quotas project ID params
func (*GetQuotasProjectIDParams) WithDefaults ¶
func (o *GetQuotasProjectIDParams) WithDefaults() *GetQuotasProjectIDParams
WithDefaults hydrates default values in the get quotas project ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetQuotasProjectIDParams) WithHTTPClient ¶
func (o *GetQuotasProjectIDParams) WithHTTPClient(client *http.Client) *GetQuotasProjectIDParams
WithHTTPClient adds the HTTPClient to the get quotas project ID params
func (*GetQuotasProjectIDParams) WithProjectID ¶
func (o *GetQuotasProjectIDParams) WithProjectID(projectID string) *GetQuotasProjectIDParams
WithProjectID adds the projectID to the get quotas project ID params
func (*GetQuotasProjectIDParams) WithTimeout ¶
func (o *GetQuotasProjectIDParams) WithTimeout(timeout time.Duration) *GetQuotasProjectIDParams
WithTimeout adds the timeout to the get quotas project ID params
func (*GetQuotasProjectIDParams) WriteToRequest ¶
func (o *GetQuotasProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetQuotasProjectIDReader ¶
type GetQuotasProjectIDReader struct {
// contains filtered or unexported fields
}
GetQuotasProjectIDReader is a Reader for the GetQuotasProjectID structure.
func (*GetQuotasProjectIDReader) ReadResponse ¶
func (o *GetQuotasProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetQuotasProjectIDUnauthorized ¶
type GetQuotasProjectIDUnauthorized struct {
}GetQuotasProjectIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetQuotasProjectIDUnauthorized ¶
func NewGetQuotasProjectIDUnauthorized() *GetQuotasProjectIDUnauthorized
NewGetQuotasProjectIDUnauthorized creates a GetQuotasProjectIDUnauthorized with default headers values
func (*GetQuotasProjectIDUnauthorized) Code ¶
func (o *GetQuotasProjectIDUnauthorized) Code() int
Code gets the status code for the get quotas project Id unauthorized response
func (*GetQuotasProjectIDUnauthorized) Error ¶
func (o *GetQuotasProjectIDUnauthorized) Error() string
func (*GetQuotasProjectIDUnauthorized) GetPayload ¶
func (o *GetQuotasProjectIDUnauthorized) GetPayload() *models.Error
func (*GetQuotasProjectIDUnauthorized) IsClientError ¶
func (o *GetQuotasProjectIDUnauthorized) IsClientError() bool
IsClientError returns true when this get quotas project Id unauthorized response has a 4xx status code
func (*GetQuotasProjectIDUnauthorized) IsCode ¶
func (o *GetQuotasProjectIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get quotas project Id unauthorized response a status code equal to that given
func (*GetQuotasProjectIDUnauthorized) IsRedirect ¶
func (o *GetQuotasProjectIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get quotas project Id unauthorized response has a 3xx status code
func (*GetQuotasProjectIDUnauthorized) IsServerError ¶
func (o *GetQuotasProjectIDUnauthorized) IsServerError() bool
IsServerError returns true when this get quotas project Id unauthorized response has a 5xx status code
func (*GetQuotasProjectIDUnauthorized) IsSuccess ¶
func (o *GetQuotasProjectIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get quotas project Id unauthorized response has a 2xx status code
func (*GetQuotasProjectIDUnauthorized) String ¶
func (o *GetQuotasProjectIDUnauthorized) String() string
type GetQuotasProjectIDUnprocessableEntity ¶
GetQuotasProjectIDUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewGetQuotasProjectIDUnprocessableEntity ¶
func NewGetQuotasProjectIDUnprocessableEntity() *GetQuotasProjectIDUnprocessableEntity
NewGetQuotasProjectIDUnprocessableEntity creates a GetQuotasProjectIDUnprocessableEntity with default headers values
func (*GetQuotasProjectIDUnprocessableEntity) Code ¶
func (o *GetQuotasProjectIDUnprocessableEntity) Code() int
Code gets the status code for the get quotas project Id unprocessable entity response
func (*GetQuotasProjectIDUnprocessableEntity) Error ¶
func (o *GetQuotasProjectIDUnprocessableEntity) Error() string
func (*GetQuotasProjectIDUnprocessableEntity) GetPayload ¶
func (o *GetQuotasProjectIDUnprocessableEntity) GetPayload() *models.Error
func (*GetQuotasProjectIDUnprocessableEntity) IsClientError ¶
func (o *GetQuotasProjectIDUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get quotas project Id unprocessable entity response has a 4xx status code
func (*GetQuotasProjectIDUnprocessableEntity) IsCode ¶
func (o *GetQuotasProjectIDUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get quotas project Id unprocessable entity response a status code equal to that given
func (*GetQuotasProjectIDUnprocessableEntity) IsRedirect ¶
func (o *GetQuotasProjectIDUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get quotas project Id unprocessable entity response has a 3xx status code
func (*GetQuotasProjectIDUnprocessableEntity) IsServerError ¶
func (o *GetQuotasProjectIDUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get quotas project Id unprocessable entity response has a 5xx status code
func (*GetQuotasProjectIDUnprocessableEntity) IsSuccess ¶
func (o *GetQuotasProjectIDUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get quotas project Id unprocessable entity response has a 2xx status code
func (*GetQuotasProjectIDUnprocessableEntity) String ¶
func (o *GetQuotasProjectIDUnprocessableEntity) String() string
type GetQuotasReader ¶
type GetQuotasReader struct {
// contains filtered or unexported fields
}
GetQuotasReader is a Reader for the GetQuotas structure.
func (*GetQuotasReader) ReadResponse ¶
func (o *GetQuotasReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetQuotasUnauthorized ¶
type GetQuotasUnauthorized struct {
}GetQuotasUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetQuotasUnauthorized ¶
func NewGetQuotasUnauthorized() *GetQuotasUnauthorized
NewGetQuotasUnauthorized creates a GetQuotasUnauthorized with default headers values
func (*GetQuotasUnauthorized) Code ¶
func (o *GetQuotasUnauthorized) Code() int
Code gets the status code for the get quotas unauthorized response
func (*GetQuotasUnauthorized) Error ¶
func (o *GetQuotasUnauthorized) Error() string
func (*GetQuotasUnauthorized) GetPayload ¶
func (o *GetQuotasUnauthorized) GetPayload() *models.Error
func (*GetQuotasUnauthorized) IsClientError ¶
func (o *GetQuotasUnauthorized) IsClientError() bool
IsClientError returns true when this get quotas unauthorized response has a 4xx status code
func (*GetQuotasUnauthorized) IsCode ¶
func (o *GetQuotasUnauthorized) IsCode(code int) bool
IsCode returns true when this get quotas unauthorized response a status code equal to that given
func (*GetQuotasUnauthorized) IsRedirect ¶
func (o *GetQuotasUnauthorized) IsRedirect() bool
IsRedirect returns true when this get quotas unauthorized response has a 3xx status code
func (*GetQuotasUnauthorized) IsServerError ¶
func (o *GetQuotasUnauthorized) IsServerError() bool
IsServerError returns true when this get quotas unauthorized response has a 5xx status code
func (*GetQuotasUnauthorized) IsSuccess ¶
func (o *GetQuotasUnauthorized) IsSuccess() bool
IsSuccess returns true when this get quotas unauthorized response has a 2xx status code
func (*GetQuotasUnauthorized) String ¶
func (o *GetQuotasUnauthorized) String() string
type GetQuotasUnprocessableEntity ¶
GetQuotasUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewGetQuotasUnprocessableEntity ¶
func NewGetQuotasUnprocessableEntity() *GetQuotasUnprocessableEntity
NewGetQuotasUnprocessableEntity creates a GetQuotasUnprocessableEntity with default headers values
func (*GetQuotasUnprocessableEntity) Code ¶
func (o *GetQuotasUnprocessableEntity) Code() int
Code gets the status code for the get quotas unprocessable entity response
func (*GetQuotasUnprocessableEntity) Error ¶
func (o *GetQuotasUnprocessableEntity) Error() string
func (*GetQuotasUnprocessableEntity) GetPayload ¶
func (o *GetQuotasUnprocessableEntity) GetPayload() *models.Error
func (*GetQuotasUnprocessableEntity) IsClientError ¶
func (o *GetQuotasUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get quotas unprocessable entity response has a 4xx status code
func (*GetQuotasUnprocessableEntity) IsCode ¶
func (o *GetQuotasUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get quotas unprocessable entity response a status code equal to that given
func (*GetQuotasUnprocessableEntity) IsRedirect ¶
func (o *GetQuotasUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get quotas unprocessable entity response has a 3xx status code
func (*GetQuotasUnprocessableEntity) IsServerError ¶
func (o *GetQuotasUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get quotas unprocessable entity response has a 5xx status code
func (*GetQuotasUnprocessableEntity) IsSuccess ¶
func (o *GetQuotasUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get quotas unprocessable entity response has a 2xx status code
func (*GetQuotasUnprocessableEntity) String ¶
func (o *GetQuotasUnprocessableEntity) String() string
type PutQuotasProjectIDForbidden ¶
type PutQuotasProjectIDForbidden struct { }
PutQuotasProjectIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPutQuotasProjectIDForbidden ¶
func NewPutQuotasProjectIDForbidden() *PutQuotasProjectIDForbidden
NewPutQuotasProjectIDForbidden creates a PutQuotasProjectIDForbidden with default headers values
func (*PutQuotasProjectIDForbidden) Code ¶
func (o *PutQuotasProjectIDForbidden) Code() int
Code gets the status code for the put quotas project Id forbidden response
func (*PutQuotasProjectIDForbidden) Error ¶
func (o *PutQuotasProjectIDForbidden) Error() string
func (*PutQuotasProjectIDForbidden) IsClientError ¶
func (o *PutQuotasProjectIDForbidden) IsClientError() bool
IsClientError returns true when this put quotas project Id forbidden response has a 4xx status code
func (*PutQuotasProjectIDForbidden) IsCode ¶
func (o *PutQuotasProjectIDForbidden) IsCode(code int) bool
IsCode returns true when this put quotas project Id forbidden response a status code equal to that given
func (*PutQuotasProjectIDForbidden) IsRedirect ¶
func (o *PutQuotasProjectIDForbidden) IsRedirect() bool
IsRedirect returns true when this put quotas project Id forbidden response has a 3xx status code
func (*PutQuotasProjectIDForbidden) IsServerError ¶
func (o *PutQuotasProjectIDForbidden) IsServerError() bool
IsServerError returns true when this put quotas project Id forbidden response has a 5xx status code
func (*PutQuotasProjectIDForbidden) IsSuccess ¶
func (o *PutQuotasProjectIDForbidden) IsSuccess() bool
IsSuccess returns true when this put quotas project Id forbidden response has a 2xx status code
func (*PutQuotasProjectIDForbidden) String ¶
func (o *PutQuotasProjectIDForbidden) String() string
type PutQuotasProjectIDNotFound ¶
PutQuotasProjectIDNotFound describes a response with status code 404, with default header values.
Not found
func NewPutQuotasProjectIDNotFound ¶
func NewPutQuotasProjectIDNotFound() *PutQuotasProjectIDNotFound
NewPutQuotasProjectIDNotFound creates a PutQuotasProjectIDNotFound with default headers values
func (*PutQuotasProjectIDNotFound) Code ¶
func (o *PutQuotasProjectIDNotFound) Code() int
Code gets the status code for the put quotas project Id not found response
func (*PutQuotasProjectIDNotFound) Error ¶
func (o *PutQuotasProjectIDNotFound) Error() string
func (*PutQuotasProjectIDNotFound) GetPayload ¶
func (o *PutQuotasProjectIDNotFound) GetPayload() *models.Error
func (*PutQuotasProjectIDNotFound) IsClientError ¶
func (o *PutQuotasProjectIDNotFound) IsClientError() bool
IsClientError returns true when this put quotas project Id not found response has a 4xx status code
func (*PutQuotasProjectIDNotFound) IsCode ¶
func (o *PutQuotasProjectIDNotFound) IsCode(code int) bool
IsCode returns true when this put quotas project Id not found response a status code equal to that given
func (*PutQuotasProjectIDNotFound) IsRedirect ¶
func (o *PutQuotasProjectIDNotFound) IsRedirect() bool
IsRedirect returns true when this put quotas project Id not found response has a 3xx status code
func (*PutQuotasProjectIDNotFound) IsServerError ¶
func (o *PutQuotasProjectIDNotFound) IsServerError() bool
IsServerError returns true when this put quotas project Id not found response has a 5xx status code
func (*PutQuotasProjectIDNotFound) IsSuccess ¶
func (o *PutQuotasProjectIDNotFound) IsSuccess() bool
IsSuccess returns true when this put quotas project Id not found response has a 2xx status code
func (*PutQuotasProjectIDNotFound) String ¶
func (o *PutQuotasProjectIDNotFound) String() string
type PutQuotasProjectIDOK ¶
PutQuotasProjectIDOK describes a response with status code 200, with default header values.
Updated quota for a project.
func NewPutQuotasProjectIDOK ¶
func NewPutQuotasProjectIDOK() *PutQuotasProjectIDOK
NewPutQuotasProjectIDOK creates a PutQuotasProjectIDOK with default headers values
func (*PutQuotasProjectIDOK) Code ¶
func (o *PutQuotasProjectIDOK) Code() int
Code gets the status code for the put quotas project Id o k response
func (*PutQuotasProjectIDOK) Error ¶
func (o *PutQuotasProjectIDOK) Error() string
func (*PutQuotasProjectIDOK) GetPayload ¶
func (o *PutQuotasProjectIDOK) GetPayload() *models.Quota
func (*PutQuotasProjectIDOK) IsClientError ¶
func (o *PutQuotasProjectIDOK) IsClientError() bool
IsClientError returns true when this put quotas project Id o k response has a 4xx status code
func (*PutQuotasProjectIDOK) IsCode ¶
func (o *PutQuotasProjectIDOK) IsCode(code int) bool
IsCode returns true when this put quotas project Id o k response a status code equal to that given
func (*PutQuotasProjectIDOK) IsRedirect ¶
func (o *PutQuotasProjectIDOK) IsRedirect() bool
IsRedirect returns true when this put quotas project Id o k response has a 3xx status code
func (*PutQuotasProjectIDOK) IsServerError ¶
func (o *PutQuotasProjectIDOK) IsServerError() bool
IsServerError returns true when this put quotas project Id o k response has a 5xx status code
func (*PutQuotasProjectIDOK) IsSuccess ¶
func (o *PutQuotasProjectIDOK) IsSuccess() bool
IsSuccess returns true when this put quotas project Id o k response has a 2xx status code
func (*PutQuotasProjectIDOK) String ¶
func (o *PutQuotasProjectIDOK) String() string
type PutQuotasProjectIDParams ¶
type PutQuotasProjectIDParams struct { // Body. Body *models.Quota /* ProjectID. The ID of the project to query. */ ProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PutQuotasProjectIDParams contains all the parameters to send to the API endpoint
for the put quotas project ID operation. Typically these are written to a http.Request.
func NewPutQuotasProjectIDParams ¶
func NewPutQuotasProjectIDParams() *PutQuotasProjectIDParams
NewPutQuotasProjectIDParams creates a new PutQuotasProjectIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPutQuotasProjectIDParamsWithContext ¶
func NewPutQuotasProjectIDParamsWithContext(ctx context.Context) *PutQuotasProjectIDParams
NewPutQuotasProjectIDParamsWithContext creates a new PutQuotasProjectIDParams object with the ability to set a context for a request.
func NewPutQuotasProjectIDParamsWithHTTPClient ¶
func NewPutQuotasProjectIDParamsWithHTTPClient(client *http.Client) *PutQuotasProjectIDParams
NewPutQuotasProjectIDParamsWithHTTPClient creates a new PutQuotasProjectIDParams object with the ability to set a custom HTTPClient for a request.
func NewPutQuotasProjectIDParamsWithTimeout ¶
func NewPutQuotasProjectIDParamsWithTimeout(timeout time.Duration) *PutQuotasProjectIDParams
NewPutQuotasProjectIDParamsWithTimeout creates a new PutQuotasProjectIDParams object with the ability to set a timeout on a request.
func (*PutQuotasProjectIDParams) SetBody ¶
func (o *PutQuotasProjectIDParams) SetBody(body *models.Quota)
SetBody adds the body to the put quotas project ID params
func (*PutQuotasProjectIDParams) SetContext ¶
func (o *PutQuotasProjectIDParams) SetContext(ctx context.Context)
SetContext adds the context to the put quotas project ID params
func (*PutQuotasProjectIDParams) SetDefaults ¶
func (o *PutQuotasProjectIDParams) SetDefaults()
SetDefaults hydrates default values in the put quotas project ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutQuotasProjectIDParams) SetHTTPClient ¶
func (o *PutQuotasProjectIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the put quotas project ID params
func (*PutQuotasProjectIDParams) SetProjectID ¶
func (o *PutQuotasProjectIDParams) SetProjectID(projectID string)
SetProjectID adds the projectId to the put quotas project ID params
func (*PutQuotasProjectIDParams) SetTimeout ¶
func (o *PutQuotasProjectIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the put quotas project ID params
func (*PutQuotasProjectIDParams) WithBody ¶
func (o *PutQuotasProjectIDParams) WithBody(body *models.Quota) *PutQuotasProjectIDParams
WithBody adds the body to the put quotas project ID params
func (*PutQuotasProjectIDParams) WithContext ¶
func (o *PutQuotasProjectIDParams) WithContext(ctx context.Context) *PutQuotasProjectIDParams
WithContext adds the context to the put quotas project ID params
func (*PutQuotasProjectIDParams) WithDefaults ¶
func (o *PutQuotasProjectIDParams) WithDefaults() *PutQuotasProjectIDParams
WithDefaults hydrates default values in the put quotas project ID params (not the query body).
All values with no default are reset to their zero value.
func (*PutQuotasProjectIDParams) WithHTTPClient ¶
func (o *PutQuotasProjectIDParams) WithHTTPClient(client *http.Client) *PutQuotasProjectIDParams
WithHTTPClient adds the HTTPClient to the put quotas project ID params
func (*PutQuotasProjectIDParams) WithProjectID ¶
func (o *PutQuotasProjectIDParams) WithProjectID(projectID string) *PutQuotasProjectIDParams
WithProjectID adds the projectID to the put quotas project ID params
func (*PutQuotasProjectIDParams) WithTimeout ¶
func (o *PutQuotasProjectIDParams) WithTimeout(timeout time.Duration) *PutQuotasProjectIDParams
WithTimeout adds the timeout to the put quotas project ID params
func (*PutQuotasProjectIDParams) WriteToRequest ¶
func (o *PutQuotasProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PutQuotasProjectIDReader ¶
type PutQuotasProjectIDReader struct {
// contains filtered or unexported fields
}
PutQuotasProjectIDReader is a Reader for the PutQuotasProjectID structure.
func (*PutQuotasProjectIDReader) ReadResponse ¶
func (o *PutQuotasProjectIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutQuotasProjectIDUnauthorized ¶
type PutQuotasProjectIDUnauthorized struct {
}PutQuotasProjectIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPutQuotasProjectIDUnauthorized ¶
func NewPutQuotasProjectIDUnauthorized() *PutQuotasProjectIDUnauthorized
NewPutQuotasProjectIDUnauthorized creates a PutQuotasProjectIDUnauthorized with default headers values
func (*PutQuotasProjectIDUnauthorized) Code ¶
func (o *PutQuotasProjectIDUnauthorized) Code() int
Code gets the status code for the put quotas project Id unauthorized response
func (*PutQuotasProjectIDUnauthorized) Error ¶
func (o *PutQuotasProjectIDUnauthorized) Error() string
func (*PutQuotasProjectIDUnauthorized) GetPayload ¶
func (o *PutQuotasProjectIDUnauthorized) GetPayload() *models.Error
func (*PutQuotasProjectIDUnauthorized) IsClientError ¶
func (o *PutQuotasProjectIDUnauthorized) IsClientError() bool
IsClientError returns true when this put quotas project Id unauthorized response has a 4xx status code
func (*PutQuotasProjectIDUnauthorized) IsCode ¶
func (o *PutQuotasProjectIDUnauthorized) IsCode(code int) bool
IsCode returns true when this put quotas project Id unauthorized response a status code equal to that given
func (*PutQuotasProjectIDUnauthorized) IsRedirect ¶
func (o *PutQuotasProjectIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this put quotas project Id unauthorized response has a 3xx status code
func (*PutQuotasProjectIDUnauthorized) IsServerError ¶
func (o *PutQuotasProjectIDUnauthorized) IsServerError() bool
IsServerError returns true when this put quotas project Id unauthorized response has a 5xx status code
func (*PutQuotasProjectIDUnauthorized) IsSuccess ¶
func (o *PutQuotasProjectIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this put quotas project Id unauthorized response has a 2xx status code
func (*PutQuotasProjectIDUnauthorized) String ¶
func (o *PutQuotasProjectIDUnauthorized) String() string
type PutQuotasProjectIDUnprocessableEntity ¶
PutQuotasProjectIDUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable Content
func NewPutQuotasProjectIDUnprocessableEntity ¶
func NewPutQuotasProjectIDUnprocessableEntity() *PutQuotasProjectIDUnprocessableEntity
NewPutQuotasProjectIDUnprocessableEntity creates a PutQuotasProjectIDUnprocessableEntity with default headers values
func (*PutQuotasProjectIDUnprocessableEntity) Code ¶
func (o *PutQuotasProjectIDUnprocessableEntity) Code() int
Code gets the status code for the put quotas project Id unprocessable entity response
func (*PutQuotasProjectIDUnprocessableEntity) Error ¶
func (o *PutQuotasProjectIDUnprocessableEntity) Error() string
func (*PutQuotasProjectIDUnprocessableEntity) GetPayload ¶
func (o *PutQuotasProjectIDUnprocessableEntity) GetPayload() *models.Error
func (*PutQuotasProjectIDUnprocessableEntity) IsClientError ¶
func (o *PutQuotasProjectIDUnprocessableEntity) IsClientError() bool
IsClientError returns true when this put quotas project Id unprocessable entity response has a 4xx status code
func (*PutQuotasProjectIDUnprocessableEntity) IsCode ¶
func (o *PutQuotasProjectIDUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this put quotas project Id unprocessable entity response a status code equal to that given
func (*PutQuotasProjectIDUnprocessableEntity) IsRedirect ¶
func (o *PutQuotasProjectIDUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this put quotas project Id unprocessable entity response has a 3xx status code
func (*PutQuotasProjectIDUnprocessableEntity) IsServerError ¶
func (o *PutQuotasProjectIDUnprocessableEntity) IsServerError() bool
IsServerError returns true when this put quotas project Id unprocessable entity response has a 5xx status code
func (*PutQuotasProjectIDUnprocessableEntity) IsSuccess ¶
func (o *PutQuotasProjectIDUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this put quotas project Id unprocessable entity response has a 2xx status code
func (*PutQuotasProjectIDUnprocessableEntity) String ¶
func (o *PutQuotasProjectIDUnprocessableEntity) String() string
Source Files
¶
- delete_quotas_project_id_parameters.go
- delete_quotas_project_id_responses.go
- get_quotas_defaults_parameters.go
- get_quotas_defaults_responses.go
- get_quotas_parameters.go
- get_quotas_project_id_parameters.go
- get_quotas_project_id_responses.go
- get_quotas_responses.go
- put_quotas_project_id_parameters.go
- put_quotas_project_id_responses.go
- quota_client.go