Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteQuotasProjectID(params *DeleteQuotasProjectIDParams, opts ...ClientOption) (*DeleteQuotasProjectIDNoContent, error)
- func (a *Client) GetQuotas(params *GetQuotasParams, opts ...ClientOption) (*GetQuotasOK, error)
- func (a *Client) GetQuotasDefaults(params *GetQuotasDefaultsParams, opts ...ClientOption) (*GetQuotasDefaultsOK, error)
- func (a *Client) GetQuotasProjectID(params *GetQuotasProjectIDParams, opts ...ClientOption) (*GetQuotasProjectIDOK, error)
- func (a *Client) GetServices(params *GetServicesParams, opts ...ClientOption) (*GetServicesOK, error)
- func (a *Client) PostSync(params *PostSyncParams, opts ...ClientOption) (*PostSyncAccepted, error)
- func (a *Client) PutQuotasProjectID(params *PutQuotasProjectIDParams, opts ...ClientOption) (*PutQuotasProjectIDAccepted, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteQuotasProjectIDDefault
- func (o *DeleteQuotasProjectIDDefault) Code() int
- func (o *DeleteQuotasProjectIDDefault) Error() string
- func (o *DeleteQuotasProjectIDDefault) GetPayload() *models.Error
- func (o *DeleteQuotasProjectIDDefault) IsClientError() bool
- func (o *DeleteQuotasProjectIDDefault) IsCode(code int) bool
- func (o *DeleteQuotasProjectIDDefault) IsRedirect() bool
- func (o *DeleteQuotasProjectIDDefault) IsServerError() bool
- func (o *DeleteQuotasProjectIDDefault) IsSuccess() bool
- func (o *DeleteQuotasProjectIDDefault) 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 GetQuotasDefault
- func (o *GetQuotasDefault) Code() int
- func (o *GetQuotasDefault) Error() string
- func (o *GetQuotasDefault) GetPayload() *models.Error
- func (o *GetQuotasDefault) IsClientError() bool
- func (o *GetQuotasDefault) IsCode(code int) bool
- func (o *GetQuotasDefault) IsRedirect() bool
- func (o *GetQuotasDefault) IsServerError() bool
- func (o *GetQuotasDefault) IsSuccess() bool
- func (o *GetQuotasDefault) String() string
- type GetQuotasDefaultsDefault
- func (o *GetQuotasDefaultsDefault) Code() int
- func (o *GetQuotasDefaultsDefault) Error() string
- func (o *GetQuotasDefaultsDefault) GetPayload() *models.Error
- func (o *GetQuotasDefaultsDefault) IsClientError() bool
- func (o *GetQuotasDefaultsDefault) IsCode(code int) bool
- func (o *GetQuotasDefaultsDefault) IsRedirect() bool
- func (o *GetQuotasDefaultsDefault) IsServerError() bool
- func (o *GetQuotasDefaultsDefault) IsSuccess() bool
- func (o *GetQuotasDefaultsDefault) 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 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 GetQuotasProjectIDDefault
- func (o *GetQuotasProjectIDDefault) Code() int
- func (o *GetQuotasProjectIDDefault) Error() string
- func (o *GetQuotasProjectIDDefault) GetPayload() *models.Error
- func (o *GetQuotasProjectIDDefault) IsClientError() bool
- func (o *GetQuotasProjectIDDefault) IsCode(code int) bool
- func (o *GetQuotasProjectIDDefault) IsRedirect() bool
- func (o *GetQuotasProjectIDDefault) IsServerError() bool
- func (o *GetQuotasProjectIDDefault) IsSuccess() bool
- func (o *GetQuotasProjectIDDefault) String() string
- type GetQuotasProjectIDNotFound
- func (o *GetQuotasProjectIDNotFound) Code() int
- func (o *GetQuotasProjectIDNotFound) Error() string
- func (o *GetQuotasProjectIDNotFound) GetPayload() *models.Error
- func (o *GetQuotasProjectIDNotFound) IsClientError() bool
- func (o *GetQuotasProjectIDNotFound) IsCode(code int) bool
- func (o *GetQuotasProjectIDNotFound) IsRedirect() bool
- func (o *GetQuotasProjectIDNotFound) IsServerError() bool
- func (o *GetQuotasProjectIDNotFound) IsSuccess() bool
- func (o *GetQuotasProjectIDNotFound) 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) UnmarshalBinary(b []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 GetQuotasReader
- type GetServicesDefault
- func (o *GetServicesDefault) Code() int
- func (o *GetServicesDefault) Error() string
- func (o *GetServicesDefault) GetPayload() *models.Error
- func (o *GetServicesDefault) IsClientError() bool
- func (o *GetServicesDefault) IsCode(code int) bool
- func (o *GetServicesDefault) IsRedirect() bool
- func (o *GetServicesDefault) IsServerError() bool
- func (o *GetServicesDefault) IsSuccess() bool
- func (o *GetServicesDefault) String() string
- type GetServicesOK
- func (o *GetServicesOK) Code() int
- func (o *GetServicesOK) Error() string
- func (o *GetServicesOK) GetPayload() *GetServicesOKBody
- func (o *GetServicesOK) IsClientError() bool
- func (o *GetServicesOK) IsCode(code int) bool
- func (o *GetServicesOK) IsRedirect() bool
- func (o *GetServicesOK) IsServerError() bool
- func (o *GetServicesOK) IsSuccess() bool
- func (o *GetServicesOK) String() string
- type GetServicesOKBody
- type GetServicesParams
- func (o *GetServicesParams) SetContext(ctx context.Context)
- func (o *GetServicesParams) SetDefaults()
- func (o *GetServicesParams) SetHTTPClient(client *http.Client)
- func (o *GetServicesParams) SetTimeout(timeout time.Duration)
- func (o *GetServicesParams) WithContext(ctx context.Context) *GetServicesParams
- func (o *GetServicesParams) WithDefaults() *GetServicesParams
- func (o *GetServicesParams) WithHTTPClient(client *http.Client) *GetServicesParams
- func (o *GetServicesParams) WithTimeout(timeout time.Duration) *GetServicesParams
- func (o *GetServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetServicesReader
- type PostSyncAccepted
- func (o *PostSyncAccepted) Code() int
- func (o *PostSyncAccepted) Error() string
- func (o *PostSyncAccepted) IsClientError() bool
- func (o *PostSyncAccepted) IsCode(code int) bool
- func (o *PostSyncAccepted) IsRedirect() bool
- func (o *PostSyncAccepted) IsServerError() bool
- func (o *PostSyncAccepted) IsSuccess() bool
- func (o *PostSyncAccepted) String() string
- type PostSyncBody
- type PostSyncDefault
- func (o *PostSyncDefault) Code() int
- func (o *PostSyncDefault) Error() string
- func (o *PostSyncDefault) GetPayload() *models.Error
- func (o *PostSyncDefault) IsClientError() bool
- func (o *PostSyncDefault) IsCode(code int) bool
- func (o *PostSyncDefault) IsRedirect() bool
- func (o *PostSyncDefault) IsServerError() bool
- func (o *PostSyncDefault) IsSuccess() bool
- func (o *PostSyncDefault) String() string
- type PostSyncParams
- func (o *PostSyncParams) SetContext(ctx context.Context)
- func (o *PostSyncParams) SetDefaults()
- func (o *PostSyncParams) SetDomains(domains PostSyncBody)
- func (o *PostSyncParams) SetHTTPClient(client *http.Client)
- func (o *PostSyncParams) SetTimeout(timeout time.Duration)
- func (o *PostSyncParams) WithContext(ctx context.Context) *PostSyncParams
- func (o *PostSyncParams) WithDefaults() *PostSyncParams
- func (o *PostSyncParams) WithDomains(domains PostSyncBody) *PostSyncParams
- func (o *PostSyncParams) WithHTTPClient(client *http.Client) *PostSyncParams
- func (o *PostSyncParams) WithTimeout(timeout time.Duration) *PostSyncParams
- func (o *PostSyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostSyncReader
- type PutQuotasProjectIDAccepted
- func (o *PutQuotasProjectIDAccepted) Code() int
- func (o *PutQuotasProjectIDAccepted) Error() string
- func (o *PutQuotasProjectIDAccepted) GetPayload() *PutQuotasProjectIDAcceptedBody
- func (o *PutQuotasProjectIDAccepted) IsClientError() bool
- func (o *PutQuotasProjectIDAccepted) IsCode(code int) bool
- func (o *PutQuotasProjectIDAccepted) IsRedirect() bool
- func (o *PutQuotasProjectIDAccepted) IsServerError() bool
- func (o *PutQuotasProjectIDAccepted) IsSuccess() bool
- func (o *PutQuotasProjectIDAccepted) String() string
- type PutQuotasProjectIDAcceptedBody
- func (o *PutQuotasProjectIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutQuotasProjectIDAcceptedBody) MarshalBinary() ([]byte, error)
- func (o *PutQuotasProjectIDAcceptedBody) UnmarshalBinary(b []byte) error
- func (o *PutQuotasProjectIDAcceptedBody) Validate(formats strfmt.Registry) error
- type PutQuotasProjectIDBody
- func (o *PutQuotasProjectIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PutQuotasProjectIDBody) MarshalBinary() ([]byte, error)
- func (o *PutQuotasProjectIDBody) UnmarshalBinary(b []byte) error
- func (o *PutQuotasProjectIDBody) Validate(formats strfmt.Registry) error
- type PutQuotasProjectIDDefault
- func (o *PutQuotasProjectIDDefault) Code() int
- func (o *PutQuotasProjectIDDefault) Error() string
- func (o *PutQuotasProjectIDDefault) GetPayload() *models.Error
- func (o *PutQuotasProjectIDDefault) IsClientError() bool
- func (o *PutQuotasProjectIDDefault) IsCode(code int) bool
- func (o *PutQuotasProjectIDDefault) IsRedirect() bool
- func (o *PutQuotasProjectIDDefault) IsServerError() bool
- func (o *PutQuotasProjectIDDefault) IsSuccess() bool
- func (o *PutQuotasProjectIDDefault) 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) SetContext(ctx context.Context)
- func (o *PutQuotasProjectIDParams) SetDefaults()
- func (o *PutQuotasProjectIDParams) SetHTTPClient(client *http.Client)
- func (o *PutQuotasProjectIDParams) SetProjectID(projectID string)
- func (o *PutQuotasProjectIDParams) SetQuota(quota PutQuotasProjectIDBody)
- func (o *PutQuotasProjectIDParams) SetTimeout(timeout time.Duration)
- 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) WithQuota(quota PutQuotasProjectIDBody) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WithTimeout(timeout time.Duration) *PutQuotasProjectIDParams
- func (o *PutQuotasProjectIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PutQuotasProjectIDReader
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 administrative API
func (*Client) DeleteQuotasProjectID ¶
func (a *Client) DeleteQuotasProjectID(params *DeleteQuotasProjectIDParams, opts ...ClientOption) (*DeleteQuotasProjectIDNoContent, error)
DeleteQuotasProjectID resets all quota of a project
func (*Client) GetQuotas ¶
func (a *Client) GetQuotas(params *GetQuotasParams, opts ...ClientOption) (*GetQuotasOK, error)
GetQuotas lists quotas
func (*Client) GetQuotasDefaults ¶
func (a *Client) GetQuotasDefaults(params *GetQuotasDefaultsParams, opts ...ClientOption) (*GetQuotasDefaultsOK, error)
GetQuotasDefaults shows quota defaults
func (*Client) GetQuotasProjectID ¶
func (a *Client) GetQuotasProjectID(params *GetQuotasProjectIDParams, opts ...ClientOption) (*GetQuotasProjectIDOK, error)
GetQuotasProjectID shows quota detail
func (*Client) GetServices ¶
func (a *Client) GetServices(params *GetServicesParams, opts ...ClientOption) (*GetServicesOK, error)
GetServices lists services
func (*Client) PostSync ¶
func (a *Client) PostSync(params *PostSyncParams, opts ...ClientOption) (*PostSyncAccepted, error)
PostSync enqueues a full sync
func (*Client) PutQuotasProjectID ¶
func (a *Client) PutQuotasProjectID(params *PutQuotasProjectIDParams, opts ...ClientOption) (*PutQuotasProjectIDAccepted, 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, opts ...ClientOption) (*DeleteQuotasProjectIDNoContent, error) GetQuotas(params *GetQuotasParams, opts ...ClientOption) (*GetQuotasOK, error) GetQuotasDefaults(params *GetQuotasDefaultsParams, opts ...ClientOption) (*GetQuotasDefaultsOK, error) GetQuotasProjectID(params *GetQuotasProjectIDParams, opts ...ClientOption) (*GetQuotasProjectIDOK, error) GetServices(params *GetServicesParams, opts ...ClientOption) (*GetServicesOK, error) PostSync(params *PostSyncParams, opts ...ClientOption) (*PostSyncAccepted, error) PutQuotasProjectID(params *PutQuotasProjectIDParams, opts ...ClientOption) (*PutQuotasProjectIDAccepted, 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 administrative API client.
type DeleteQuotasProjectIDDefault ¶
type DeleteQuotasProjectIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
DeleteQuotasProjectIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewDeleteQuotasProjectIDDefault ¶
func NewDeleteQuotasProjectIDDefault(code int) *DeleteQuotasProjectIDDefault
NewDeleteQuotasProjectIDDefault creates a DeleteQuotasProjectIDDefault with default headers values
func (*DeleteQuotasProjectIDDefault) Code ¶
func (o *DeleteQuotasProjectIDDefault) Code() int
Code gets the status code for the delete quotas project ID default response
func (*DeleteQuotasProjectIDDefault) Error ¶
func (o *DeleteQuotasProjectIDDefault) Error() string
func (*DeleteQuotasProjectIDDefault) GetPayload ¶
func (o *DeleteQuotasProjectIDDefault) GetPayload() *models.Error
func (*DeleteQuotasProjectIDDefault) IsClientError ¶
func (o *DeleteQuotasProjectIDDefault) IsClientError() bool
IsClientError returns true when this delete quotas project ID default response has a 4xx status code
func (*DeleteQuotasProjectIDDefault) IsCode ¶
func (o *DeleteQuotasProjectIDDefault) IsCode(code int) bool
IsCode returns true when this delete quotas project ID default response a status code equal to that given
func (*DeleteQuotasProjectIDDefault) IsRedirect ¶
func (o *DeleteQuotasProjectIDDefault) IsRedirect() bool
IsRedirect returns true when this delete quotas project ID default response has a 3xx status code
func (*DeleteQuotasProjectIDDefault) IsServerError ¶
func (o *DeleteQuotasProjectIDDefault) IsServerError() bool
IsServerError returns true when this delete quotas project ID default response has a 5xx status code
func (*DeleteQuotasProjectIDDefault) IsSuccess ¶
func (o *DeleteQuotasProjectIDDefault) IsSuccess() bool
IsSuccess returns true when this delete quotas project ID default response has a 2xx status code
func (*DeleteQuotasProjectIDDefault) String ¶
func (o *DeleteQuotasProjectIDDefault) String() string
type DeleteQuotasProjectIDNoContent ¶
type DeleteQuotasProjectIDNoContent struct { }
DeleteQuotasProjectIDNoContent describes a response with status code 204, with default header values.
Resource successfully reseted.
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 GetQuotasDefault ¶
GetQuotasDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetQuotasDefault ¶
func NewGetQuotasDefault(code int) *GetQuotasDefault
NewGetQuotasDefault creates a GetQuotasDefault with default headers values
func (*GetQuotasDefault) Code ¶
func (o *GetQuotasDefault) Code() int
Code gets the status code for the get quotas default response
func (*GetQuotasDefault) Error ¶
func (o *GetQuotasDefault) Error() string
func (*GetQuotasDefault) GetPayload ¶
func (o *GetQuotasDefault) GetPayload() *models.Error
func (*GetQuotasDefault) IsClientError ¶
func (o *GetQuotasDefault) IsClientError() bool
IsClientError returns true when this get quotas default response has a 4xx status code
func (*GetQuotasDefault) IsCode ¶
func (o *GetQuotasDefault) IsCode(code int) bool
IsCode returns true when this get quotas default response a status code equal to that given
func (*GetQuotasDefault) IsRedirect ¶
func (o *GetQuotasDefault) IsRedirect() bool
IsRedirect returns true when this get quotas default response has a 3xx status code
func (*GetQuotasDefault) IsServerError ¶
func (o *GetQuotasDefault) IsServerError() bool
IsServerError returns true when this get quotas default response has a 5xx status code
func (*GetQuotasDefault) IsSuccess ¶
func (o *GetQuotasDefault) IsSuccess() bool
IsSuccess returns true when this get quotas default response has a 2xx status code
func (*GetQuotasDefault) String ¶
func (o *GetQuotasDefault) String() string
type GetQuotasDefaultsDefault ¶
type GetQuotasDefaultsDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetQuotasDefaultsDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetQuotasDefaultsDefault ¶
func NewGetQuotasDefaultsDefault(code int) *GetQuotasDefaultsDefault
NewGetQuotasDefaultsDefault creates a GetQuotasDefaultsDefault with default headers values
func (*GetQuotasDefaultsDefault) Code ¶
func (o *GetQuotasDefaultsDefault) Code() int
Code gets the status code for the get quotas defaults default response
func (*GetQuotasDefaultsDefault) Error ¶
func (o *GetQuotasDefaultsDefault) Error() string
func (*GetQuotasDefaultsDefault) GetPayload ¶
func (o *GetQuotasDefaultsDefault) GetPayload() *models.Error
func (*GetQuotasDefaultsDefault) IsClientError ¶
func (o *GetQuotasDefaultsDefault) IsClientError() bool
IsClientError returns true when this get quotas defaults default response has a 4xx status code
func (*GetQuotasDefaultsDefault) IsCode ¶
func (o *GetQuotasDefaultsDefault) IsCode(code int) bool
IsCode returns true when this get quotas defaults default response a status code equal to that given
func (*GetQuotasDefaultsDefault) IsRedirect ¶
func (o *GetQuotasDefaultsDefault) IsRedirect() bool
IsRedirect returns true when this get quotas defaults default response has a 3xx status code
func (*GetQuotasDefaultsDefault) IsServerError ¶
func (o *GetQuotasDefaultsDefault) IsServerError() bool
IsServerError returns true when this get quotas defaults default response has a 5xx status code
func (*GetQuotasDefaultsDefault) IsSuccess ¶
func (o *GetQuotasDefaultsDefault) IsSuccess() bool
IsSuccess returns true when this get quotas defaults default response has a 2xx status code
func (*GetQuotasDefaultsDefault) String ¶
func (o *GetQuotasDefaultsDefault) 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 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 { // 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 // 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
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 GetQuotasProjectIDDefault ¶
type GetQuotasProjectIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
GetQuotasProjectIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetQuotasProjectIDDefault ¶
func NewGetQuotasProjectIDDefault(code int) *GetQuotasProjectIDDefault
NewGetQuotasProjectIDDefault creates a GetQuotasProjectIDDefault with default headers values
func (*GetQuotasProjectIDDefault) Code ¶
func (o *GetQuotasProjectIDDefault) Code() int
Code gets the status code for the get quotas project ID default response
func (*GetQuotasProjectIDDefault) Error ¶
func (o *GetQuotasProjectIDDefault) Error() string
func (*GetQuotasProjectIDDefault) GetPayload ¶
func (o *GetQuotasProjectIDDefault) GetPayload() *models.Error
func (*GetQuotasProjectIDDefault) IsClientError ¶
func (o *GetQuotasProjectIDDefault) IsClientError() bool
IsClientError returns true when this get quotas project ID default response has a 4xx status code
func (*GetQuotasProjectIDDefault) IsCode ¶
func (o *GetQuotasProjectIDDefault) IsCode(code int) bool
IsCode returns true when this get quotas project ID default response a status code equal to that given
func (*GetQuotasProjectIDDefault) IsRedirect ¶
func (o *GetQuotasProjectIDDefault) IsRedirect() bool
IsRedirect returns true when this get quotas project ID default response has a 3xx status code
func (*GetQuotasProjectIDDefault) IsServerError ¶
func (o *GetQuotasProjectIDDefault) IsServerError() bool
IsServerError returns true when this get quotas project ID default response has a 5xx status code
func (*GetQuotasProjectIDDefault) IsSuccess ¶
func (o *GetQuotasProjectIDDefault) IsSuccess() bool
IsSuccess returns true when this get quotas project ID default response has a 2xx status code
func (*GetQuotasProjectIDDefault) String ¶
func (o *GetQuotasProjectIDDefault) String() string
type GetQuotasProjectIDNotFound ¶
GetQuotasProjectIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetQuotasProjectIDNotFound ¶
func NewGetQuotasProjectIDNotFound() *GetQuotasProjectIDNotFound
NewGetQuotasProjectIDNotFound creates a GetQuotasProjectIDNotFound with default headers values
func (*GetQuotasProjectIDNotFound) Code ¶
func (o *GetQuotasProjectIDNotFound) Code() int
Code gets the status code for the get quotas project Id not found response
func (*GetQuotasProjectIDNotFound) Error ¶
func (o *GetQuotasProjectIDNotFound) Error() string
func (*GetQuotasProjectIDNotFound) GetPayload ¶
func (o *GetQuotasProjectIDNotFound) GetPayload() *models.Error
func (*GetQuotasProjectIDNotFound) IsClientError ¶
func (o *GetQuotasProjectIDNotFound) IsClientError() bool
IsClientError returns true when this get quotas project Id not found response has a 4xx status code
func (*GetQuotasProjectIDNotFound) IsCode ¶
func (o *GetQuotasProjectIDNotFound) IsCode(code int) bool
IsCode returns true when this get quotas project Id not found response a status code equal to that given
func (*GetQuotasProjectIDNotFound) IsRedirect ¶
func (o *GetQuotasProjectIDNotFound) IsRedirect() bool
IsRedirect returns true when this get quotas project Id not found response has a 3xx status code
func (*GetQuotasProjectIDNotFound) IsServerError ¶
func (o *GetQuotasProjectIDNotFound) IsServerError() bool
IsServerError returns true when this get quotas project Id not found response has a 5xx status code
func (*GetQuotasProjectIDNotFound) IsSuccess ¶
func (o *GetQuotasProjectIDNotFound) IsSuccess() bool
IsSuccess returns true when this get quotas project Id not found response has a 2xx status code
func (*GetQuotasProjectIDNotFound) String ¶
func (o *GetQuotasProjectIDNotFound) 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 { // 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
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 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 GetServicesDefault ¶
GetServicesDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewGetServicesDefault ¶
func NewGetServicesDefault(code int) *GetServicesDefault
NewGetServicesDefault creates a GetServicesDefault with default headers values
func (*GetServicesDefault) Code ¶
func (o *GetServicesDefault) Code() int
Code gets the status code for the get services default response
func (*GetServicesDefault) Error ¶
func (o *GetServicesDefault) Error() string
func (*GetServicesDefault) GetPayload ¶
func (o *GetServicesDefault) GetPayload() *models.Error
func (*GetServicesDefault) IsClientError ¶
func (o *GetServicesDefault) IsClientError() bool
IsClientError returns true when this get services default response has a 4xx status code
func (*GetServicesDefault) IsCode ¶
func (o *GetServicesDefault) IsCode(code int) bool
IsCode returns true when this get services default response a status code equal to that given
func (*GetServicesDefault) IsRedirect ¶
func (o *GetServicesDefault) IsRedirect() bool
IsRedirect returns true when this get services default response has a 3xx status code
func (*GetServicesDefault) IsServerError ¶
func (o *GetServicesDefault) IsServerError() bool
IsServerError returns true when this get services default response has a 5xx status code
func (*GetServicesDefault) IsSuccess ¶
func (o *GetServicesDefault) IsSuccess() bool
IsSuccess returns true when this get services default response has a 2xx status code
func (*GetServicesDefault) String ¶
func (o *GetServicesDefault) String() string
type GetServicesOK ¶
type GetServicesOK struct {
Payload *GetServicesOKBody
}
GetServicesOK describes a response with status code 200, with default header values.
A JSON array of services
func NewGetServicesOK ¶
func NewGetServicesOK() *GetServicesOK
NewGetServicesOK creates a GetServicesOK with default headers values
func (*GetServicesOK) Code ¶
func (o *GetServicesOK) Code() int
Code gets the status code for the get services o k response
func (*GetServicesOK) Error ¶
func (o *GetServicesOK) Error() string
func (*GetServicesOK) GetPayload ¶
func (o *GetServicesOK) GetPayload() *GetServicesOKBody
func (*GetServicesOK) IsClientError ¶
func (o *GetServicesOK) IsClientError() bool
IsClientError returns true when this get services o k response has a 4xx status code
func (*GetServicesOK) IsCode ¶
func (o *GetServicesOK) IsCode(code int) bool
IsCode returns true when this get services o k response a status code equal to that given
func (*GetServicesOK) IsRedirect ¶
func (o *GetServicesOK) IsRedirect() bool
IsRedirect returns true when this get services o k response has a 3xx status code
func (*GetServicesOK) IsServerError ¶
func (o *GetServicesOK) IsServerError() bool
IsServerError returns true when this get services o k response has a 5xx status code
func (*GetServicesOK) IsSuccess ¶
func (o *GetServicesOK) IsSuccess() bool
IsSuccess returns true when this get services o k response has a 2xx status code
func (*GetServicesOK) String ¶
func (o *GetServicesOK) String() string
type GetServicesOKBody ¶
GetServicesOKBody get services o k body swagger:model GetServicesOKBody
func (*GetServicesOKBody) ContextValidate ¶
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
type GetServicesParams ¶
type GetServicesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetServicesParams contains all the parameters to send to the API endpoint
for the get services operation. Typically these are written to a http.Request.
func NewGetServicesParams ¶
func NewGetServicesParams() *GetServicesParams
NewGetServicesParams creates a new GetServicesParams 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 NewGetServicesParamsWithContext ¶
func NewGetServicesParamsWithContext(ctx context.Context) *GetServicesParams
NewGetServicesParamsWithContext creates a new GetServicesParams object with the ability to set a context for a request.
func NewGetServicesParamsWithHTTPClient ¶
func NewGetServicesParamsWithHTTPClient(client *http.Client) *GetServicesParams
NewGetServicesParamsWithHTTPClient creates a new GetServicesParams object with the ability to set a custom HTTPClient for a request.
func NewGetServicesParamsWithTimeout ¶
func NewGetServicesParamsWithTimeout(timeout time.Duration) *GetServicesParams
NewGetServicesParamsWithTimeout creates a new GetServicesParams object with the ability to set a timeout on a request.
func (*GetServicesParams) SetContext ¶
func (o *GetServicesParams) SetContext(ctx context.Context)
SetContext adds the context to the get services params
func (*GetServicesParams) SetDefaults ¶
func (o *GetServicesParams) SetDefaults()
SetDefaults hydrates default values in the get services params (not the query body).
All values with no default are reset to their zero value.
func (*GetServicesParams) SetHTTPClient ¶
func (o *GetServicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get services params
func (*GetServicesParams) SetTimeout ¶
func (o *GetServicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get services params
func (*GetServicesParams) WithContext ¶
func (o *GetServicesParams) WithContext(ctx context.Context) *GetServicesParams
WithContext adds the context to the get services params
func (*GetServicesParams) WithDefaults ¶
func (o *GetServicesParams) WithDefaults() *GetServicesParams
WithDefaults hydrates default values in the get services params (not the query body).
All values with no default are reset to their zero value.
func (*GetServicesParams) WithHTTPClient ¶
func (o *GetServicesParams) WithHTTPClient(client *http.Client) *GetServicesParams
WithHTTPClient adds the HTTPClient to the get services params
func (*GetServicesParams) WithTimeout ¶
func (o *GetServicesParams) WithTimeout(timeout time.Duration) *GetServicesParams
WithTimeout adds the timeout to the get services params
func (*GetServicesParams) WriteToRequest ¶
func (o *GetServicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetServicesReader ¶
type GetServicesReader struct {
// contains filtered or unexported fields
}
GetServicesReader is a Reader for the GetServices structure.
func (*GetServicesReader) ReadResponse ¶
func (o *GetServicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostSyncAccepted ¶
type PostSyncAccepted struct { }
PostSyncAccepted describes a response with status code 202, with default header values.
Full sync has been enqueued.
func NewPostSyncAccepted ¶
func NewPostSyncAccepted() *PostSyncAccepted
NewPostSyncAccepted creates a PostSyncAccepted with default headers values
func (*PostSyncAccepted) Code ¶
func (o *PostSyncAccepted) Code() int
Code gets the status code for the post sync accepted response
func (*PostSyncAccepted) Error ¶
func (o *PostSyncAccepted) Error() string
func (*PostSyncAccepted) IsClientError ¶
func (o *PostSyncAccepted) IsClientError() bool
IsClientError returns true when this post sync accepted response has a 4xx status code
func (*PostSyncAccepted) IsCode ¶
func (o *PostSyncAccepted) IsCode(code int) bool
IsCode returns true when this post sync accepted response a status code equal to that given
func (*PostSyncAccepted) IsRedirect ¶
func (o *PostSyncAccepted) IsRedirect() bool
IsRedirect returns true when this post sync accepted response has a 3xx status code
func (*PostSyncAccepted) IsServerError ¶
func (o *PostSyncAccepted) IsServerError() bool
IsServerError returns true when this post sync accepted response has a 5xx status code
func (*PostSyncAccepted) IsSuccess ¶
func (o *PostSyncAccepted) IsSuccess() bool
IsSuccess returns true when this post sync accepted response has a 2xx status code
func (*PostSyncAccepted) String ¶
func (o *PostSyncAccepted) String() string
type PostSyncBody ¶
PostSyncBody post sync body swagger:model PostSyncBody
func (*PostSyncBody) ContextValidate ¶
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
type PostSyncDefault ¶
PostSyncDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPostSyncDefault ¶
func NewPostSyncDefault(code int) *PostSyncDefault
NewPostSyncDefault creates a PostSyncDefault with default headers values
func (*PostSyncDefault) Code ¶
func (o *PostSyncDefault) Code() int
Code gets the status code for the post sync default response
func (*PostSyncDefault) Error ¶
func (o *PostSyncDefault) Error() string
func (*PostSyncDefault) GetPayload ¶
func (o *PostSyncDefault) GetPayload() *models.Error
func (*PostSyncDefault) IsClientError ¶
func (o *PostSyncDefault) IsClientError() bool
IsClientError returns true when this post sync default response has a 4xx status code
func (*PostSyncDefault) IsCode ¶
func (o *PostSyncDefault) IsCode(code int) bool
IsCode returns true when this post sync default response a status code equal to that given
func (*PostSyncDefault) IsRedirect ¶
func (o *PostSyncDefault) IsRedirect() bool
IsRedirect returns true when this post sync default response has a 3xx status code
func (*PostSyncDefault) IsServerError ¶
func (o *PostSyncDefault) IsServerError() bool
IsServerError returns true when this post sync default response has a 5xx status code
func (*PostSyncDefault) IsSuccess ¶
func (o *PostSyncDefault) IsSuccess() bool
IsSuccess returns true when this post sync default response has a 2xx status code
func (*PostSyncDefault) String ¶
func (o *PostSyncDefault) String() string
type PostSyncParams ¶
type PostSyncParams struct { // Domains. Domains PostSyncBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostSyncParams contains all the parameters to send to the API endpoint
for the post sync operation. Typically these are written to a http.Request.
func NewPostSyncParams ¶
func NewPostSyncParams() *PostSyncParams
NewPostSyncParams creates a new PostSyncParams 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 NewPostSyncParamsWithContext ¶
func NewPostSyncParamsWithContext(ctx context.Context) *PostSyncParams
NewPostSyncParamsWithContext creates a new PostSyncParams object with the ability to set a context for a request.
func NewPostSyncParamsWithHTTPClient ¶
func NewPostSyncParamsWithHTTPClient(client *http.Client) *PostSyncParams
NewPostSyncParamsWithHTTPClient creates a new PostSyncParams object with the ability to set a custom HTTPClient for a request.
func NewPostSyncParamsWithTimeout ¶
func NewPostSyncParamsWithTimeout(timeout time.Duration) *PostSyncParams
NewPostSyncParamsWithTimeout creates a new PostSyncParams object with the ability to set a timeout on a request.
func (*PostSyncParams) SetContext ¶
func (o *PostSyncParams) SetContext(ctx context.Context)
SetContext adds the context to the post sync params
func (*PostSyncParams) SetDefaults ¶
func (o *PostSyncParams) SetDefaults()
SetDefaults hydrates default values in the post sync params (not the query body).
All values with no default are reset to their zero value.
func (*PostSyncParams) SetDomains ¶
func (o *PostSyncParams) SetDomains(domains PostSyncBody)
SetDomains adds the domains to the post sync params
func (*PostSyncParams) SetHTTPClient ¶
func (o *PostSyncParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post sync params
func (*PostSyncParams) SetTimeout ¶
func (o *PostSyncParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post sync params
func (*PostSyncParams) WithContext ¶
func (o *PostSyncParams) WithContext(ctx context.Context) *PostSyncParams
WithContext adds the context to the post sync params
func (*PostSyncParams) WithDefaults ¶
func (o *PostSyncParams) WithDefaults() *PostSyncParams
WithDefaults hydrates default values in the post sync params (not the query body).
All values with no default are reset to their zero value.
func (*PostSyncParams) WithDomains ¶
func (o *PostSyncParams) WithDomains(domains PostSyncBody) *PostSyncParams
WithDomains adds the domains to the post sync params
func (*PostSyncParams) WithHTTPClient ¶
func (o *PostSyncParams) WithHTTPClient(client *http.Client) *PostSyncParams
WithHTTPClient adds the HTTPClient to the post sync params
func (*PostSyncParams) WithTimeout ¶
func (o *PostSyncParams) WithTimeout(timeout time.Duration) *PostSyncParams
WithTimeout adds the timeout to the post sync params
func (*PostSyncParams) WriteToRequest ¶
func (o *PostSyncParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostSyncReader ¶
type PostSyncReader struct {
// contains filtered or unexported fields
}
PostSyncReader is a Reader for the PostSync structure.
func (*PostSyncReader) ReadResponse ¶
func (o *PostSyncReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PutQuotasProjectIDAccepted ¶
type PutQuotasProjectIDAccepted struct {
Payload *PutQuotasProjectIDAcceptedBody
}
PutQuotasProjectIDAccepted describes a response with status code 202, with default header values.
Updated quota for a project.
func NewPutQuotasProjectIDAccepted ¶
func NewPutQuotasProjectIDAccepted() *PutQuotasProjectIDAccepted
NewPutQuotasProjectIDAccepted creates a PutQuotasProjectIDAccepted with default headers values
func (*PutQuotasProjectIDAccepted) Code ¶
func (o *PutQuotasProjectIDAccepted) Code() int
Code gets the status code for the put quotas project Id accepted response
func (*PutQuotasProjectIDAccepted) Error ¶
func (o *PutQuotasProjectIDAccepted) Error() string
func (*PutQuotasProjectIDAccepted) GetPayload ¶
func (o *PutQuotasProjectIDAccepted) GetPayload() *PutQuotasProjectIDAcceptedBody
func (*PutQuotasProjectIDAccepted) IsClientError ¶
func (o *PutQuotasProjectIDAccepted) IsClientError() bool
IsClientError returns true when this put quotas project Id accepted response has a 4xx status code
func (*PutQuotasProjectIDAccepted) IsCode ¶
func (o *PutQuotasProjectIDAccepted) IsCode(code int) bool
IsCode returns true when this put quotas project Id accepted response a status code equal to that given
func (*PutQuotasProjectIDAccepted) IsRedirect ¶
func (o *PutQuotasProjectIDAccepted) IsRedirect() bool
IsRedirect returns true when this put quotas project Id accepted response has a 3xx status code
func (*PutQuotasProjectIDAccepted) IsServerError ¶
func (o *PutQuotasProjectIDAccepted) IsServerError() bool
IsServerError returns true when this put quotas project Id accepted response has a 5xx status code
func (*PutQuotasProjectIDAccepted) IsSuccess ¶
func (o *PutQuotasProjectIDAccepted) IsSuccess() bool
IsSuccess returns true when this put quotas project Id accepted response has a 2xx status code
func (*PutQuotasProjectIDAccepted) String ¶
func (o *PutQuotasProjectIDAccepted) String() string
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
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
type PutQuotasProjectIDDefault ¶
type PutQuotasProjectIDDefault struct { Payload *models.Error // contains filtered or unexported fields }
PutQuotasProjectIDDefault describes a response with status code -1, with default header values.
Unexpected Error
func NewPutQuotasProjectIDDefault ¶
func NewPutQuotasProjectIDDefault(code int) *PutQuotasProjectIDDefault
NewPutQuotasProjectIDDefault creates a PutQuotasProjectIDDefault with default headers values
func (*PutQuotasProjectIDDefault) Code ¶
func (o *PutQuotasProjectIDDefault) Code() int
Code gets the status code for the put quotas project ID default response
func (*PutQuotasProjectIDDefault) Error ¶
func (o *PutQuotasProjectIDDefault) Error() string
func (*PutQuotasProjectIDDefault) GetPayload ¶
func (o *PutQuotasProjectIDDefault) GetPayload() *models.Error
func (*PutQuotasProjectIDDefault) IsClientError ¶
func (o *PutQuotasProjectIDDefault) IsClientError() bool
IsClientError returns true when this put quotas project ID default response has a 4xx status code
func (*PutQuotasProjectIDDefault) IsCode ¶
func (o *PutQuotasProjectIDDefault) IsCode(code int) bool
IsCode returns true when this put quotas project ID default response a status code equal to that given
func (*PutQuotasProjectIDDefault) IsRedirect ¶
func (o *PutQuotasProjectIDDefault) IsRedirect() bool
IsRedirect returns true when this put quotas project ID default response has a 3xx status code
func (*PutQuotasProjectIDDefault) IsServerError ¶
func (o *PutQuotasProjectIDDefault) IsServerError() bool
IsServerError returns true when this put quotas project ID default response has a 5xx status code
func (*PutQuotasProjectIDDefault) IsSuccess ¶
func (o *PutQuotasProjectIDDefault) IsSuccess() bool
IsSuccess returns true when this put quotas project ID default response has a 2xx status code
func (*PutQuotasProjectIDDefault) String ¶
func (o *PutQuotasProjectIDDefault) String() string
type PutQuotasProjectIDParams ¶
type PutQuotasProjectIDParams struct { /* ProjectID. The ID of the project to query. */ ProjectID string // Quota. Quota PutQuotasProjectIDBody 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) 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) SetQuota ¶
func (o *PutQuotasProjectIDParams) SetQuota(quota PutQuotasProjectIDBody)
SetQuota adds the quota 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) 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) WithQuota ¶
func (o *PutQuotasProjectIDParams) WithQuota(quota PutQuotasProjectIDBody) *PutQuotasProjectIDParams
WithQuota adds the quota 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.
Source Files ¶
- administrative_client.go
- 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
- get_services_parameters.go
- get_services_responses.go
- post_sync_parameters.go
- post_sync_responses.go
- put_quotas_project_id_parameters.go
- put_quotas_project_id_responses.go