administrative

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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

Code gets the status code for the delete quotas project ID default response

func (*DeleteQuotasProjectIDDefault) Error

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

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

Code gets the status code for the delete quotas project Id no content response

func (*DeleteQuotasProjectIDNoContent) Error

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

type DeleteQuotasProjectIDNotFound

type DeleteQuotasProjectIDNotFound struct {
	Payload *models.Error
}

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

Code gets the status code for the delete quotas project Id not found response

func (*DeleteQuotasProjectIDNotFound) Error

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

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

WithContext adds the context to the delete quotas project ID params

func (*DeleteQuotasProjectIDParams) WithDefaults

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

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

WithTimeout adds the timeout to the delete quotas project ID params

func (*DeleteQuotasProjectIDParams) WriteToRequest

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

type GetQuotasDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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 (*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

type GetQuotasDefaultsOKBody struct {

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

GetQuotasDefaultsOKBody get quotas defaults o k body swagger:model GetQuotasDefaultsOKBody

func (*GetQuotasDefaultsOKBody) ContextValidate

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

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

func (*GetQuotasDefaultsOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetQuotasDefaultsOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetQuotasDefaultsOKBody) Validate

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

Validate validates this get quotas defaults o k body

type GetQuotasDefaultsParams

type GetQuotasDefaultsParams struct {
	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

WithContext adds the context to the get quotas defaults params

func (*GetQuotasDefaultsParams) WithDefaults

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

WithTimeout adds the timeout to the get quotas defaults params

func (*GetQuotasDefaultsParams) WriteToRequest

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

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

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

func (*GetQuotasOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetQuotasOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetQuotasOKBody) Validate

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

Validate validates this get quotas o k body

type GetQuotasOKBodyQuotasItems0

type GetQuotasOKBodyQuotasItems0 struct {
	models.Quota

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

GetQuotasOKBodyQuotasItems0 get quotas o k body quotas items0 swagger:model GetQuotasOKBodyQuotasItems0

func (*GetQuotasOKBodyQuotasItems0) ContextValidate

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

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

func (*GetQuotasOKBodyQuotasItems0) MarshalBinary

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

MarshalBinary interface implementation

func (GetQuotasOKBodyQuotasItems0) MarshalJSON

func (o GetQuotasOKBodyQuotasItems0) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GetQuotasOKBodyQuotasItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetQuotasOKBodyQuotasItems0) UnmarshalJSON

func (o *GetQuotasOKBodyQuotasItems0) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GetQuotasOKBodyQuotasItems0) Validate

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

Validate validates this get quotas o k body quotas items0

type GetQuotasParams

type GetQuotasParams struct {

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

type GetQuotasProjectIDNotFound struct {
	Payload *models.Error
}

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 (*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 (*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

func (*GetQuotasProjectIDOKBody) Validate

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

Validate validates this get quotas project ID o k body

type GetQuotasProjectIDParams

type GetQuotasProjectIDParams struct {

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

WithContext adds the context to the get quotas project ID params

func (*GetQuotasProjectIDParams) WithDefaults

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

WithTimeout adds the timeout to the get quotas project ID params

func (*GetQuotasProjectIDParams) WriteToRequest

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

type GetServicesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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

type GetServicesOKBody struct {

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

GetServicesOKBody get services o k body swagger:model GetServicesOKBody

func (*GetServicesOKBody) ContextValidate

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

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

func (*GetServicesOKBody) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServicesOKBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServicesOKBody) Validate

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

Validate validates this get services o k body

type GetServicesParams

type GetServicesParams struct {
	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

type PostSyncBody struct {

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

PostSyncBody post sync body swagger:model PostSyncBody

func (*PostSyncBody) ContextValidate

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

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

func (*PostSyncBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PostSyncBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostSyncBody) Validate

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

Validate validates this post sync body

type PostSyncDefault

type PostSyncDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

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 (*PutQuotasProjectIDAccepted) GetPayload

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

func (*PutQuotasProjectIDAcceptedBody) Validate

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

Validate validates this put quotas project ID accepted body

type PutQuotasProjectIDBody

type PutQuotasProjectIDBody struct {

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

PutQuotasProjectIDBody put quotas project ID body swagger:model PutQuotasProjectIDBody

func (*PutQuotasProjectIDBody) ContextValidate

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

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

func (*PutQuotasProjectIDBody) MarshalBinary

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

MarshalBinary interface implementation

func (*PutQuotasProjectIDBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PutQuotasProjectIDBody) Validate

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

Validate validates this put quotas project ID body

type PutQuotasProjectIDDefault

type PutQuotasProjectIDDefault struct {
	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

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

WithContext adds the context to the put quotas project ID params

func (*PutQuotasProjectIDParams) WithDefaults

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

WithQuota adds the quota to the put quotas project ID params

func (*PutQuotasProjectIDParams) WithTimeout

WithTimeout adds the timeout to the put quotas project ID params

func (*PutQuotasProjectIDParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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