Versions in this module Expand all Collapse all v1 v1.0.8 May 12, 2022 Changes in this version + type Client struct + func (a *Client) CreateRobotV1(params *CreateRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRobotV1Created, error) + func (a *Client) DeleteRobotV1(params *DeleteRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRobotV1OK, error) + func (a *Client) GetRobotByIDV1(params *GetRobotByIDV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRobotByIDV1OK, error) + func (a *Client) ListRobotV1(params *ListRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRobotV1OK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + func (a *Client) UpdateRobotV1(params *UpdateRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRobotV1OK, error) + type ClientOption func(*runtime.ClientOperation) + type ClientService interface + CreateRobotV1 func(params *CreateRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateRobotV1Created, error) + DeleteRobotV1 func(params *DeleteRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRobotV1OK, error) + GetRobotByIDV1 func(params *GetRobotByIDV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRobotByIDV1OK, error) + ListRobotV1 func(params *ListRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRobotV1OK, error) + SetTransport func(transport runtime.ClientTransport) + UpdateRobotV1 func(params *UpdateRobotV1Params, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRobotV1OK, error) + func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService + type CreateRobotV1BadRequest struct + Payload *model.Errors + XRequestID string + func NewCreateRobotV1BadRequest() *CreateRobotV1BadRequest + func (o *CreateRobotV1BadRequest) Error() string + func (o *CreateRobotV1BadRequest) GetPayload() *model.Errors + type CreateRobotV1Created struct + Location string + Payload *model.RobotCreated + XRequestID string + func NewCreateRobotV1Created() *CreateRobotV1Created + func (o *CreateRobotV1Created) Error() string + func (o *CreateRobotV1Created) GetPayload() *model.RobotCreated + type CreateRobotV1Forbidden struct + Payload *model.Errors + XRequestID string + func NewCreateRobotV1Forbidden() *CreateRobotV1Forbidden + func (o *CreateRobotV1Forbidden) Error() string + func (o *CreateRobotV1Forbidden) GetPayload() *model.Errors + type CreateRobotV1InternalServerError struct + Payload *model.Errors + XRequestID string + func NewCreateRobotV1InternalServerError() *CreateRobotV1InternalServerError + func (o *CreateRobotV1InternalServerError) Error() string + func (o *CreateRobotV1InternalServerError) GetPayload() *model.Errors + type CreateRobotV1NotFound struct + Payload *model.Errors + XRequestID string + func NewCreateRobotV1NotFound() *CreateRobotV1NotFound + func (o *CreateRobotV1NotFound) Error() string + func (o *CreateRobotV1NotFound) GetPayload() *model.Errors + type CreateRobotV1Params struct + Context context.Context + HTTPClient *http.Client + ProjectNameOrID string + Robot *model.RobotCreateV1 + XIsResourceName *bool + XRequestID *string + func NewCreateRobotV1Params() *CreateRobotV1Params + func NewCreateRobotV1ParamsWithContext(ctx context.Context) *CreateRobotV1Params + func NewCreateRobotV1ParamsWithHTTPClient(client *http.Client) *CreateRobotV1Params + func NewCreateRobotV1ParamsWithTimeout(timeout time.Duration) *CreateRobotV1Params + func (o *CreateRobotV1Params) SetContext(ctx context.Context) + func (o *CreateRobotV1Params) SetDefaults() + func (o *CreateRobotV1Params) SetHTTPClient(client *http.Client) + func (o *CreateRobotV1Params) SetProjectNameOrID(projectNameOrID string) + func (o *CreateRobotV1Params) SetRobot(robot *model.RobotCreateV1) + func (o *CreateRobotV1Params) SetTimeout(timeout time.Duration) + func (o *CreateRobotV1Params) SetXIsResourceName(xIsResourceName *bool) + func (o *CreateRobotV1Params) SetXRequestID(xRequestID *string) + func (o *CreateRobotV1Params) WithContext(ctx context.Context) *CreateRobotV1Params + func (o *CreateRobotV1Params) WithDefaults() *CreateRobotV1Params + func (o *CreateRobotV1Params) WithHTTPClient(client *http.Client) *CreateRobotV1Params + func (o *CreateRobotV1Params) WithProjectNameOrID(projectNameOrID string) *CreateRobotV1Params + func (o *CreateRobotV1Params) WithRobot(robot *model.RobotCreateV1) *CreateRobotV1Params + func (o *CreateRobotV1Params) WithTimeout(timeout time.Duration) *CreateRobotV1Params + func (o *CreateRobotV1Params) WithXIsResourceName(xIsResourceName *bool) *CreateRobotV1Params + func (o *CreateRobotV1Params) WithXRequestID(xRequestID *string) *CreateRobotV1Params + func (o *CreateRobotV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateRobotV1Reader struct + func (o *CreateRobotV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CreateRobotV1Unauthorized struct + Payload *model.Errors + XRequestID string + func NewCreateRobotV1Unauthorized() *CreateRobotV1Unauthorized + func (o *CreateRobotV1Unauthorized) Error() string + func (o *CreateRobotV1Unauthorized) GetPayload() *model.Errors + type DeleteRobotV1BadRequest struct + Payload *model.Errors + XRequestID string + func NewDeleteRobotV1BadRequest() *DeleteRobotV1BadRequest + func (o *DeleteRobotV1BadRequest) Error() string + func (o *DeleteRobotV1BadRequest) GetPayload() *model.Errors + type DeleteRobotV1Forbidden struct + Payload *model.Errors + XRequestID string + func NewDeleteRobotV1Forbidden() *DeleteRobotV1Forbidden + func (o *DeleteRobotV1Forbidden) Error() string + func (o *DeleteRobotV1Forbidden) GetPayload() *model.Errors + type DeleteRobotV1InternalServerError struct + Payload *model.Errors + XRequestID string + func NewDeleteRobotV1InternalServerError() *DeleteRobotV1InternalServerError + func (o *DeleteRobotV1InternalServerError) Error() string + func (o *DeleteRobotV1InternalServerError) GetPayload() *model.Errors + type DeleteRobotV1NotFound struct + Payload *model.Errors + XRequestID string + func NewDeleteRobotV1NotFound() *DeleteRobotV1NotFound + func (o *DeleteRobotV1NotFound) Error() string + func (o *DeleteRobotV1NotFound) GetPayload() *model.Errors + type DeleteRobotV1OK struct + XRequestID string + func NewDeleteRobotV1OK() *DeleteRobotV1OK + func (o *DeleteRobotV1OK) Error() string + type DeleteRobotV1Params struct + Context context.Context + HTTPClient *http.Client + ProjectNameOrID string + RobotID int64 + XIsResourceName *bool + XRequestID *string + func NewDeleteRobotV1Params() *DeleteRobotV1Params + func NewDeleteRobotV1ParamsWithContext(ctx context.Context) *DeleteRobotV1Params + func NewDeleteRobotV1ParamsWithHTTPClient(client *http.Client) *DeleteRobotV1Params + func NewDeleteRobotV1ParamsWithTimeout(timeout time.Duration) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) SetContext(ctx context.Context) + func (o *DeleteRobotV1Params) SetDefaults() + func (o *DeleteRobotV1Params) SetHTTPClient(client *http.Client) + func (o *DeleteRobotV1Params) SetProjectNameOrID(projectNameOrID string) + func (o *DeleteRobotV1Params) SetRobotID(robotID int64) + func (o *DeleteRobotV1Params) SetTimeout(timeout time.Duration) + func (o *DeleteRobotV1Params) SetXIsResourceName(xIsResourceName *bool) + func (o *DeleteRobotV1Params) SetXRequestID(xRequestID *string) + func (o *DeleteRobotV1Params) WithContext(ctx context.Context) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WithDefaults() *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WithHTTPClient(client *http.Client) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WithProjectNameOrID(projectNameOrID string) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WithRobotID(robotID int64) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WithTimeout(timeout time.Duration) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WithXIsResourceName(xIsResourceName *bool) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WithXRequestID(xRequestID *string) *DeleteRobotV1Params + func (o *DeleteRobotV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteRobotV1Reader struct + func (o *DeleteRobotV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteRobotV1Unauthorized struct + Payload *model.Errors + XRequestID string + func NewDeleteRobotV1Unauthorized() *DeleteRobotV1Unauthorized + func (o *DeleteRobotV1Unauthorized) Error() string + func (o *DeleteRobotV1Unauthorized) GetPayload() *model.Errors + type GetRobotByIDV1Forbidden struct + Payload *model.Errors + XRequestID string + func NewGetRobotByIDV1Forbidden() *GetRobotByIDV1Forbidden + func (o *GetRobotByIDV1Forbidden) Error() string + func (o *GetRobotByIDV1Forbidden) GetPayload() *model.Errors + type GetRobotByIDV1InternalServerError struct + Payload *model.Errors + XRequestID string + func NewGetRobotByIDV1InternalServerError() *GetRobotByIDV1InternalServerError + func (o *GetRobotByIDV1InternalServerError) Error() string + func (o *GetRobotByIDV1InternalServerError) GetPayload() *model.Errors + type GetRobotByIDV1NotFound struct + Payload *model.Errors + XRequestID string + func NewGetRobotByIDV1NotFound() *GetRobotByIDV1NotFound + func (o *GetRobotByIDV1NotFound) Error() string + func (o *GetRobotByIDV1NotFound) GetPayload() *model.Errors + type GetRobotByIDV1OK struct + Payload *model.Robot + func NewGetRobotByIDV1OK() *GetRobotByIDV1OK + func (o *GetRobotByIDV1OK) Error() string + func (o *GetRobotByIDV1OK) GetPayload() *model.Robot + type GetRobotByIDV1Params struct + Context context.Context + HTTPClient *http.Client + ProjectNameOrID string + RobotID int64 + XIsResourceName *bool + XRequestID *string + func NewGetRobotByIDV1Params() *GetRobotByIDV1Params + func NewGetRobotByIDV1ParamsWithContext(ctx context.Context) *GetRobotByIDV1Params + func NewGetRobotByIDV1ParamsWithHTTPClient(client *http.Client) *GetRobotByIDV1Params + func NewGetRobotByIDV1ParamsWithTimeout(timeout time.Duration) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) SetContext(ctx context.Context) + func (o *GetRobotByIDV1Params) SetDefaults() + func (o *GetRobotByIDV1Params) SetHTTPClient(client *http.Client) + func (o *GetRobotByIDV1Params) SetProjectNameOrID(projectNameOrID string) + func (o *GetRobotByIDV1Params) SetRobotID(robotID int64) + func (o *GetRobotByIDV1Params) SetTimeout(timeout time.Duration) + func (o *GetRobotByIDV1Params) SetXIsResourceName(xIsResourceName *bool) + func (o *GetRobotByIDV1Params) SetXRequestID(xRequestID *string) + func (o *GetRobotByIDV1Params) WithContext(ctx context.Context) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WithDefaults() *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WithHTTPClient(client *http.Client) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WithProjectNameOrID(projectNameOrID string) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WithRobotID(robotID int64) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WithTimeout(timeout time.Duration) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WithXIsResourceName(xIsResourceName *bool) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WithXRequestID(xRequestID *string) *GetRobotByIDV1Params + func (o *GetRobotByIDV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetRobotByIDV1Reader struct + func (o *GetRobotByIDV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetRobotByIDV1Unauthorized struct + Payload *model.Errors + XRequestID string + func NewGetRobotByIDV1Unauthorized() *GetRobotByIDV1Unauthorized + func (o *GetRobotByIDV1Unauthorized) Error() string + func (o *GetRobotByIDV1Unauthorized) GetPayload() *model.Errors + type ListRobotV1BadRequest struct + Payload *model.Errors + XRequestID string + func NewListRobotV1BadRequest() *ListRobotV1BadRequest + func (o *ListRobotV1BadRequest) Error() string + func (o *ListRobotV1BadRequest) GetPayload() *model.Errors + type ListRobotV1InternalServerError struct + Payload *model.Errors + XRequestID string + func NewListRobotV1InternalServerError() *ListRobotV1InternalServerError + func (o *ListRobotV1InternalServerError) Error() string + func (o *ListRobotV1InternalServerError) GetPayload() *model.Errors + type ListRobotV1NotFound struct + Payload *model.Errors + XRequestID string + func NewListRobotV1NotFound() *ListRobotV1NotFound + func (o *ListRobotV1NotFound) Error() string + func (o *ListRobotV1NotFound) GetPayload() *model.Errors + type ListRobotV1OK struct + Link string + Payload []*model.Robot + XTotalCount int64 + func NewListRobotV1OK() *ListRobotV1OK + func (o *ListRobotV1OK) Error() string + func (o *ListRobotV1OK) GetPayload() []*model.Robot + type ListRobotV1Params struct + Context context.Context + HTTPClient *http.Client + Page *int64 + PageSize *int64 + ProjectNameOrID string + Q *string + XIsResourceName *bool + XRequestID *string + func NewListRobotV1Params() *ListRobotV1Params + func NewListRobotV1ParamsWithContext(ctx context.Context) *ListRobotV1Params + func NewListRobotV1ParamsWithHTTPClient(client *http.Client) *ListRobotV1Params + func NewListRobotV1ParamsWithTimeout(timeout time.Duration) *ListRobotV1Params + func (o *ListRobotV1Params) SetContext(ctx context.Context) + func (o *ListRobotV1Params) SetDefaults() + func (o *ListRobotV1Params) SetHTTPClient(client *http.Client) + func (o *ListRobotV1Params) SetPage(page *int64) + func (o *ListRobotV1Params) SetPageSize(pageSize *int64) + func (o *ListRobotV1Params) SetProjectNameOrID(projectNameOrID string) + func (o *ListRobotV1Params) SetQ(q *string) + func (o *ListRobotV1Params) SetTimeout(timeout time.Duration) + func (o *ListRobotV1Params) SetXIsResourceName(xIsResourceName *bool) + func (o *ListRobotV1Params) SetXRequestID(xRequestID *string) + func (o *ListRobotV1Params) WithContext(ctx context.Context) *ListRobotV1Params + func (o *ListRobotV1Params) WithDefaults() *ListRobotV1Params + func (o *ListRobotV1Params) WithHTTPClient(client *http.Client) *ListRobotV1Params + func (o *ListRobotV1Params) WithPage(page *int64) *ListRobotV1Params + func (o *ListRobotV1Params) WithPageSize(pageSize *int64) *ListRobotV1Params + func (o *ListRobotV1Params) WithProjectNameOrID(projectNameOrID string) *ListRobotV1Params + func (o *ListRobotV1Params) WithQ(q *string) *ListRobotV1Params + func (o *ListRobotV1Params) WithTimeout(timeout time.Duration) *ListRobotV1Params + func (o *ListRobotV1Params) WithXIsResourceName(xIsResourceName *bool) *ListRobotV1Params + func (o *ListRobotV1Params) WithXRequestID(xRequestID *string) *ListRobotV1Params + func (o *ListRobotV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ListRobotV1Reader struct + func (o *ListRobotV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UpdateRobotV1BadRequest struct + Payload *model.Errors + XRequestID string + func NewUpdateRobotV1BadRequest() *UpdateRobotV1BadRequest + func (o *UpdateRobotV1BadRequest) Error() string + func (o *UpdateRobotV1BadRequest) GetPayload() *model.Errors + type UpdateRobotV1Conflict struct + Payload *model.Errors + XRequestID string + func NewUpdateRobotV1Conflict() *UpdateRobotV1Conflict + func (o *UpdateRobotV1Conflict) Error() string + func (o *UpdateRobotV1Conflict) GetPayload() *model.Errors + type UpdateRobotV1Forbidden struct + Payload *model.Errors + XRequestID string + func NewUpdateRobotV1Forbidden() *UpdateRobotV1Forbidden + func (o *UpdateRobotV1Forbidden) Error() string + func (o *UpdateRobotV1Forbidden) GetPayload() *model.Errors + type UpdateRobotV1InternalServerError struct + Payload *model.Errors + XRequestID string + func NewUpdateRobotV1InternalServerError() *UpdateRobotV1InternalServerError + func (o *UpdateRobotV1InternalServerError) Error() string + func (o *UpdateRobotV1InternalServerError) GetPayload() *model.Errors + type UpdateRobotV1NotFound struct + Payload *model.Errors + XRequestID string + func NewUpdateRobotV1NotFound() *UpdateRobotV1NotFound + func (o *UpdateRobotV1NotFound) Error() string + func (o *UpdateRobotV1NotFound) GetPayload() *model.Errors + type UpdateRobotV1OK struct + XRequestID string + func NewUpdateRobotV1OK() *UpdateRobotV1OK + func (o *UpdateRobotV1OK) Error() string + type UpdateRobotV1Params struct + Context context.Context + HTTPClient *http.Client + ProjectNameOrID string + Robot *model.Robot + RobotID int64 + XIsResourceName *bool + XRequestID *string + func NewUpdateRobotV1Params() *UpdateRobotV1Params + func NewUpdateRobotV1ParamsWithContext(ctx context.Context) *UpdateRobotV1Params + func NewUpdateRobotV1ParamsWithHTTPClient(client *http.Client) *UpdateRobotV1Params + func NewUpdateRobotV1ParamsWithTimeout(timeout time.Duration) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) SetContext(ctx context.Context) + func (o *UpdateRobotV1Params) SetDefaults() + func (o *UpdateRobotV1Params) SetHTTPClient(client *http.Client) + func (o *UpdateRobotV1Params) SetProjectNameOrID(projectNameOrID string) + func (o *UpdateRobotV1Params) SetRobot(robot *model.Robot) + func (o *UpdateRobotV1Params) SetRobotID(robotID int64) + func (o *UpdateRobotV1Params) SetTimeout(timeout time.Duration) + func (o *UpdateRobotV1Params) SetXIsResourceName(xIsResourceName *bool) + func (o *UpdateRobotV1Params) SetXRequestID(xRequestID *string) + func (o *UpdateRobotV1Params) WithContext(ctx context.Context) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithDefaults() *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithHTTPClient(client *http.Client) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithProjectNameOrID(projectNameOrID string) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithRobot(robot *model.Robot) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithRobotID(robotID int64) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithTimeout(timeout time.Duration) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithXIsResourceName(xIsResourceName *bool) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WithXRequestID(xRequestID *string) *UpdateRobotV1Params + func (o *UpdateRobotV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UpdateRobotV1Reader struct + func (o *UpdateRobotV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UpdateRobotV1Unauthorized struct + Payload *model.Errors + XRequestID string + func NewUpdateRobotV1Unauthorized() *UpdateRobotV1Unauthorized + func (o *UpdateRobotV1Unauthorized) Error() string + func (o *UpdateRobotV1Unauthorized) GetPayload() *model.Errors