Documentation
¶
Index ¶
- type API
- type Client
- func (a *Client) CreateRobot(ctx context.Context, params *CreateRobotParams) (*CreateRobotCreated, error)
- func (a *Client) DeleteRobot(ctx context.Context, params *DeleteRobotParams) (*DeleteRobotOK, error)
- func (a *Client) GetRobotByID(ctx context.Context, params *GetRobotByIDParams) (*GetRobotByIDOK, error)
- func (a *Client) ListRobot(ctx context.Context, params *ListRobotParams) (*ListRobotOK, error)
- func (a *Client) RefreshSec(ctx context.Context, params *RefreshSecParams) (*RefreshSecOK, error)
- func (a *Client) UpdateRobot(ctx context.Context, params *UpdateRobotParams) (*UpdateRobotOK, error)
- type CreateRobotBadRequest
- func (o *CreateRobotBadRequest) Code() int
- func (o *CreateRobotBadRequest) Error() string
- func (o *CreateRobotBadRequest) GetPayload() *models.Errors
- func (o *CreateRobotBadRequest) IsClientError() bool
- func (o *CreateRobotBadRequest) IsCode(code int) bool
- func (o *CreateRobotBadRequest) IsRedirect() bool
- func (o *CreateRobotBadRequest) IsServerError() bool
- func (o *CreateRobotBadRequest) IsSuccess() bool
- func (o *CreateRobotBadRequest) String() string
- type CreateRobotCreated
- func (o *CreateRobotCreated) Code() int
- func (o *CreateRobotCreated) Error() string
- func (o *CreateRobotCreated) GetPayload() *models.RobotCreated
- func (o *CreateRobotCreated) IsClientError() bool
- func (o *CreateRobotCreated) IsCode(code int) bool
- func (o *CreateRobotCreated) IsRedirect() bool
- func (o *CreateRobotCreated) IsServerError() bool
- func (o *CreateRobotCreated) IsSuccess() bool
- func (o *CreateRobotCreated) String() string
- type CreateRobotForbidden
- func (o *CreateRobotForbidden) Code() int
- func (o *CreateRobotForbidden) Error() string
- func (o *CreateRobotForbidden) GetPayload() *models.Errors
- func (o *CreateRobotForbidden) IsClientError() bool
- func (o *CreateRobotForbidden) IsCode(code int) bool
- func (o *CreateRobotForbidden) IsRedirect() bool
- func (o *CreateRobotForbidden) IsServerError() bool
- func (o *CreateRobotForbidden) IsSuccess() bool
- func (o *CreateRobotForbidden) String() string
- type CreateRobotInternalServerError
- func (o *CreateRobotInternalServerError) Code() int
- func (o *CreateRobotInternalServerError) Error() string
- func (o *CreateRobotInternalServerError) GetPayload() *models.Errors
- func (o *CreateRobotInternalServerError) IsClientError() bool
- func (o *CreateRobotInternalServerError) IsCode(code int) bool
- func (o *CreateRobotInternalServerError) IsRedirect() bool
- func (o *CreateRobotInternalServerError) IsServerError() bool
- func (o *CreateRobotInternalServerError) IsSuccess() bool
- func (o *CreateRobotInternalServerError) String() string
- type CreateRobotNotFound
- func (o *CreateRobotNotFound) Code() int
- func (o *CreateRobotNotFound) Error() string
- func (o *CreateRobotNotFound) GetPayload() *models.Errors
- func (o *CreateRobotNotFound) IsClientError() bool
- func (o *CreateRobotNotFound) IsCode(code int) bool
- func (o *CreateRobotNotFound) IsRedirect() bool
- func (o *CreateRobotNotFound) IsServerError() bool
- func (o *CreateRobotNotFound) IsSuccess() bool
- func (o *CreateRobotNotFound) String() string
- type CreateRobotParams
- func (o *CreateRobotParams) SetContext(ctx context.Context)deprecated
- func (o *CreateRobotParams) SetDefaults()
- func (o *CreateRobotParams) SetHTTPClient(client *http.Client)
- func (o *CreateRobotParams) SetRobot(robot *models.RobotCreate)
- func (o *CreateRobotParams) SetTimeout(timeout time.Duration)
- func (o *CreateRobotParams) SetXRequestID(xRequestID *string)
- func (o *CreateRobotParams) WithContext(ctx context.Context) *CreateRobotParamsdeprecated
- func (o *CreateRobotParams) WithDefaults() *CreateRobotParams
- func (o *CreateRobotParams) WithHTTPClient(client *http.Client) *CreateRobotParams
- func (o *CreateRobotParams) WithRobot(robot *models.RobotCreate) *CreateRobotParams
- func (o *CreateRobotParams) WithTimeout(timeout time.Duration) *CreateRobotParams
- func (o *CreateRobotParams) WithXRequestID(xRequestID *string) *CreateRobotParams
- func (o *CreateRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRobotReader
- type CreateRobotUnauthorized
- func (o *CreateRobotUnauthorized) Code() int
- func (o *CreateRobotUnauthorized) Error() string
- func (o *CreateRobotUnauthorized) GetPayload() *models.Errors
- func (o *CreateRobotUnauthorized) IsClientError() bool
- func (o *CreateRobotUnauthorized) IsCode(code int) bool
- func (o *CreateRobotUnauthorized) IsRedirect() bool
- func (o *CreateRobotUnauthorized) IsServerError() bool
- func (o *CreateRobotUnauthorized) IsSuccess() bool
- func (o *CreateRobotUnauthorized) String() string
- type DeleteRobotBadRequest
- func (o *DeleteRobotBadRequest) Code() int
- func (o *DeleteRobotBadRequest) Error() string
- func (o *DeleteRobotBadRequest) GetPayload() *models.Errors
- func (o *DeleteRobotBadRequest) IsClientError() bool
- func (o *DeleteRobotBadRequest) IsCode(code int) bool
- func (o *DeleteRobotBadRequest) IsRedirect() bool
- func (o *DeleteRobotBadRequest) IsServerError() bool
- func (o *DeleteRobotBadRequest) IsSuccess() bool
- func (o *DeleteRobotBadRequest) String() string
- type DeleteRobotForbidden
- func (o *DeleteRobotForbidden) Code() int
- func (o *DeleteRobotForbidden) Error() string
- func (o *DeleteRobotForbidden) GetPayload() *models.Errors
- func (o *DeleteRobotForbidden) IsClientError() bool
- func (o *DeleteRobotForbidden) IsCode(code int) bool
- func (o *DeleteRobotForbidden) IsRedirect() bool
- func (o *DeleteRobotForbidden) IsServerError() bool
- func (o *DeleteRobotForbidden) IsSuccess() bool
- func (o *DeleteRobotForbidden) String() string
- type DeleteRobotInternalServerError
- func (o *DeleteRobotInternalServerError) Code() int
- func (o *DeleteRobotInternalServerError) Error() string
- func (o *DeleteRobotInternalServerError) GetPayload() *models.Errors
- func (o *DeleteRobotInternalServerError) IsClientError() bool
- func (o *DeleteRobotInternalServerError) IsCode(code int) bool
- func (o *DeleteRobotInternalServerError) IsRedirect() bool
- func (o *DeleteRobotInternalServerError) IsServerError() bool
- func (o *DeleteRobotInternalServerError) IsSuccess() bool
- func (o *DeleteRobotInternalServerError) String() string
- type DeleteRobotNotFound
- func (o *DeleteRobotNotFound) Code() int
- func (o *DeleteRobotNotFound) Error() string
- func (o *DeleteRobotNotFound) GetPayload() *models.Errors
- func (o *DeleteRobotNotFound) IsClientError() bool
- func (o *DeleteRobotNotFound) IsCode(code int) bool
- func (o *DeleteRobotNotFound) IsRedirect() bool
- func (o *DeleteRobotNotFound) IsServerError() bool
- func (o *DeleteRobotNotFound) IsSuccess() bool
- func (o *DeleteRobotNotFound) String() string
- type DeleteRobotOK
- func (o *DeleteRobotOK) Code() int
- func (o *DeleteRobotOK) Error() string
- func (o *DeleteRobotOK) IsClientError() bool
- func (o *DeleteRobotOK) IsCode(code int) bool
- func (o *DeleteRobotOK) IsRedirect() bool
- func (o *DeleteRobotOK) IsServerError() bool
- func (o *DeleteRobotOK) IsSuccess() bool
- func (o *DeleteRobotOK) String() string
- type DeleteRobotParams
- func (o *DeleteRobotParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteRobotParams) SetDefaults()
- func (o *DeleteRobotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRobotParams) SetRobotID(robotID int64)
- func (o *DeleteRobotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRobotParams) SetXRequestID(xRequestID *string)
- func (o *DeleteRobotParams) WithContext(ctx context.Context) *DeleteRobotParamsdeprecated
- func (o *DeleteRobotParams) WithDefaults() *DeleteRobotParams
- func (o *DeleteRobotParams) WithHTTPClient(client *http.Client) *DeleteRobotParams
- func (o *DeleteRobotParams) WithRobotID(robotID int64) *DeleteRobotParams
- func (o *DeleteRobotParams) WithTimeout(timeout time.Duration) *DeleteRobotParams
- func (o *DeleteRobotParams) WithXRequestID(xRequestID *string) *DeleteRobotParams
- func (o *DeleteRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRobotReader
- type DeleteRobotUnauthorized
- func (o *DeleteRobotUnauthorized) Code() int
- func (o *DeleteRobotUnauthorized) Error() string
- func (o *DeleteRobotUnauthorized) GetPayload() *models.Errors
- func (o *DeleteRobotUnauthorized) IsClientError() bool
- func (o *DeleteRobotUnauthorized) IsCode(code int) bool
- func (o *DeleteRobotUnauthorized) IsRedirect() bool
- func (o *DeleteRobotUnauthorized) IsServerError() bool
- func (o *DeleteRobotUnauthorized) IsSuccess() bool
- func (o *DeleteRobotUnauthorized) String() string
- type GetRobotByIDForbidden
- func (o *GetRobotByIDForbidden) Code() int
- func (o *GetRobotByIDForbidden) Error() string
- func (o *GetRobotByIDForbidden) GetPayload() *models.Errors
- func (o *GetRobotByIDForbidden) IsClientError() bool
- func (o *GetRobotByIDForbidden) IsCode(code int) bool
- func (o *GetRobotByIDForbidden) IsRedirect() bool
- func (o *GetRobotByIDForbidden) IsServerError() bool
- func (o *GetRobotByIDForbidden) IsSuccess() bool
- func (o *GetRobotByIDForbidden) String() string
- type GetRobotByIDInternalServerError
- func (o *GetRobotByIDInternalServerError) Code() int
- func (o *GetRobotByIDInternalServerError) Error() string
- func (o *GetRobotByIDInternalServerError) GetPayload() *models.Errors
- func (o *GetRobotByIDInternalServerError) IsClientError() bool
- func (o *GetRobotByIDInternalServerError) IsCode(code int) bool
- func (o *GetRobotByIDInternalServerError) IsRedirect() bool
- func (o *GetRobotByIDInternalServerError) IsServerError() bool
- func (o *GetRobotByIDInternalServerError) IsSuccess() bool
- func (o *GetRobotByIDInternalServerError) String() string
- type GetRobotByIDNotFound
- func (o *GetRobotByIDNotFound) Code() int
- func (o *GetRobotByIDNotFound) Error() string
- func (o *GetRobotByIDNotFound) GetPayload() *models.Errors
- func (o *GetRobotByIDNotFound) IsClientError() bool
- func (o *GetRobotByIDNotFound) IsCode(code int) bool
- func (o *GetRobotByIDNotFound) IsRedirect() bool
- func (o *GetRobotByIDNotFound) IsServerError() bool
- func (o *GetRobotByIDNotFound) IsSuccess() bool
- func (o *GetRobotByIDNotFound) String() string
- type GetRobotByIDOK
- func (o *GetRobotByIDOK) Code() int
- func (o *GetRobotByIDOK) Error() string
- func (o *GetRobotByIDOK) GetPayload() *models.Robot
- func (o *GetRobotByIDOK) IsClientError() bool
- func (o *GetRobotByIDOK) IsCode(code int) bool
- func (o *GetRobotByIDOK) IsRedirect() bool
- func (o *GetRobotByIDOK) IsServerError() bool
- func (o *GetRobotByIDOK) IsSuccess() bool
- func (o *GetRobotByIDOK) String() string
- type GetRobotByIDParams
- func NewGetRobotByIDParams() *GetRobotByIDParams
- func NewGetRobotByIDParamsWithContext(ctx context.Context) *GetRobotByIDParamsdeprecated
- func NewGetRobotByIDParamsWithHTTPClient(client *http.Client) *GetRobotByIDParams
- func NewGetRobotByIDParamsWithTimeout(timeout time.Duration) *GetRobotByIDParams
- func (o *GetRobotByIDParams) SetContext(ctx context.Context)deprecated
- func (o *GetRobotByIDParams) SetDefaults()
- func (o *GetRobotByIDParams) SetHTTPClient(client *http.Client)
- func (o *GetRobotByIDParams) SetRobotID(robotID int64)
- func (o *GetRobotByIDParams) SetTimeout(timeout time.Duration)
- func (o *GetRobotByIDParams) SetXRequestID(xRequestID *string)
- func (o *GetRobotByIDParams) WithContext(ctx context.Context) *GetRobotByIDParamsdeprecated
- func (o *GetRobotByIDParams) WithDefaults() *GetRobotByIDParams
- func (o *GetRobotByIDParams) WithHTTPClient(client *http.Client) *GetRobotByIDParams
- func (o *GetRobotByIDParams) WithRobotID(robotID int64) *GetRobotByIDParams
- func (o *GetRobotByIDParams) WithTimeout(timeout time.Duration) *GetRobotByIDParams
- func (o *GetRobotByIDParams) WithXRequestID(xRequestID *string) *GetRobotByIDParams
- func (o *GetRobotByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRobotByIDReader
- type GetRobotByIDUnauthorized
- func (o *GetRobotByIDUnauthorized) Code() int
- func (o *GetRobotByIDUnauthorized) Error() string
- func (o *GetRobotByIDUnauthorized) GetPayload() *models.Errors
- func (o *GetRobotByIDUnauthorized) IsClientError() bool
- func (o *GetRobotByIDUnauthorized) IsCode(code int) bool
- func (o *GetRobotByIDUnauthorized) IsRedirect() bool
- func (o *GetRobotByIDUnauthorized) IsServerError() bool
- func (o *GetRobotByIDUnauthorized) IsSuccess() bool
- func (o *GetRobotByIDUnauthorized) String() string
- type ListRobotBadRequest
- func (o *ListRobotBadRequest) Code() int
- func (o *ListRobotBadRequest) Error() string
- func (o *ListRobotBadRequest) GetPayload() *models.Errors
- func (o *ListRobotBadRequest) IsClientError() bool
- func (o *ListRobotBadRequest) IsCode(code int) bool
- func (o *ListRobotBadRequest) IsRedirect() bool
- func (o *ListRobotBadRequest) IsServerError() bool
- func (o *ListRobotBadRequest) IsSuccess() bool
- func (o *ListRobotBadRequest) String() string
- type ListRobotInternalServerError
- func (o *ListRobotInternalServerError) Code() int
- func (o *ListRobotInternalServerError) Error() string
- func (o *ListRobotInternalServerError) GetPayload() *models.Errors
- func (o *ListRobotInternalServerError) IsClientError() bool
- func (o *ListRobotInternalServerError) IsCode(code int) bool
- func (o *ListRobotInternalServerError) IsRedirect() bool
- func (o *ListRobotInternalServerError) IsServerError() bool
- func (o *ListRobotInternalServerError) IsSuccess() bool
- func (o *ListRobotInternalServerError) String() string
- type ListRobotNotFound
- func (o *ListRobotNotFound) Code() int
- func (o *ListRobotNotFound) Error() string
- func (o *ListRobotNotFound) GetPayload() *models.Errors
- func (o *ListRobotNotFound) IsClientError() bool
- func (o *ListRobotNotFound) IsCode(code int) bool
- func (o *ListRobotNotFound) IsRedirect() bool
- func (o *ListRobotNotFound) IsServerError() bool
- func (o *ListRobotNotFound) IsSuccess() bool
- func (o *ListRobotNotFound) String() string
- type ListRobotOK
- func (o *ListRobotOK) Code() int
- func (o *ListRobotOK) Error() string
- func (o *ListRobotOK) GetPayload() []*models.Robot
- func (o *ListRobotOK) IsClientError() bool
- func (o *ListRobotOK) IsCode(code int) bool
- func (o *ListRobotOK) IsRedirect() bool
- func (o *ListRobotOK) IsServerError() bool
- func (o *ListRobotOK) IsSuccess() bool
- func (o *ListRobotOK) String() string
- type ListRobotParams
- func (o *ListRobotParams) SetContext(ctx context.Context)deprecated
- func (o *ListRobotParams) SetDefaults()
- func (o *ListRobotParams) SetHTTPClient(client *http.Client)
- func (o *ListRobotParams) SetPage(page *int64)
- func (o *ListRobotParams) SetPageSize(pageSize *int64)
- func (o *ListRobotParams) SetQ(q *string)
- func (o *ListRobotParams) SetSort(sort *string)
- func (o *ListRobotParams) SetTimeout(timeout time.Duration)
- func (o *ListRobotParams) SetXRequestID(xRequestID *string)
- func (o *ListRobotParams) WithContext(ctx context.Context) *ListRobotParamsdeprecated
- func (o *ListRobotParams) WithDefaults() *ListRobotParams
- func (o *ListRobotParams) WithHTTPClient(client *http.Client) *ListRobotParams
- func (o *ListRobotParams) WithPage(page *int64) *ListRobotParams
- func (o *ListRobotParams) WithPageSize(pageSize *int64) *ListRobotParams
- func (o *ListRobotParams) WithQ(q *string) *ListRobotParams
- func (o *ListRobotParams) WithSort(sort *string) *ListRobotParams
- func (o *ListRobotParams) WithTimeout(timeout time.Duration) *ListRobotParams
- func (o *ListRobotParams) WithXRequestID(xRequestID *string) *ListRobotParams
- func (o *ListRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRobotReader
- type RefreshSecBadRequest
- func (o *RefreshSecBadRequest) Code() int
- func (o *RefreshSecBadRequest) Error() string
- func (o *RefreshSecBadRequest) GetPayload() *models.Errors
- func (o *RefreshSecBadRequest) IsClientError() bool
- func (o *RefreshSecBadRequest) IsCode(code int) bool
- func (o *RefreshSecBadRequest) IsRedirect() bool
- func (o *RefreshSecBadRequest) IsServerError() bool
- func (o *RefreshSecBadRequest) IsSuccess() bool
- func (o *RefreshSecBadRequest) String() string
- type RefreshSecForbidden
- func (o *RefreshSecForbidden) Code() int
- func (o *RefreshSecForbidden) Error() string
- func (o *RefreshSecForbidden) GetPayload() *models.Errors
- func (o *RefreshSecForbidden) IsClientError() bool
- func (o *RefreshSecForbidden) IsCode(code int) bool
- func (o *RefreshSecForbidden) IsRedirect() bool
- func (o *RefreshSecForbidden) IsServerError() bool
- func (o *RefreshSecForbidden) IsSuccess() bool
- func (o *RefreshSecForbidden) String() string
- type RefreshSecInternalServerError
- func (o *RefreshSecInternalServerError) Code() int
- func (o *RefreshSecInternalServerError) Error() string
- func (o *RefreshSecInternalServerError) GetPayload() *models.Errors
- func (o *RefreshSecInternalServerError) IsClientError() bool
- func (o *RefreshSecInternalServerError) IsCode(code int) bool
- func (o *RefreshSecInternalServerError) IsRedirect() bool
- func (o *RefreshSecInternalServerError) IsServerError() bool
- func (o *RefreshSecInternalServerError) IsSuccess() bool
- func (o *RefreshSecInternalServerError) String() string
- type RefreshSecNotFound
- func (o *RefreshSecNotFound) Code() int
- func (o *RefreshSecNotFound) Error() string
- func (o *RefreshSecNotFound) GetPayload() *models.Errors
- func (o *RefreshSecNotFound) IsClientError() bool
- func (o *RefreshSecNotFound) IsCode(code int) bool
- func (o *RefreshSecNotFound) IsRedirect() bool
- func (o *RefreshSecNotFound) IsServerError() bool
- func (o *RefreshSecNotFound) IsSuccess() bool
- func (o *RefreshSecNotFound) String() string
- type RefreshSecOK
- func (o *RefreshSecOK) Code() int
- func (o *RefreshSecOK) Error() string
- func (o *RefreshSecOK) GetPayload() *models.RobotSec
- func (o *RefreshSecOK) IsClientError() bool
- func (o *RefreshSecOK) IsCode(code int) bool
- func (o *RefreshSecOK) IsRedirect() bool
- func (o *RefreshSecOK) IsServerError() bool
- func (o *RefreshSecOK) IsSuccess() bool
- func (o *RefreshSecOK) String() string
- type RefreshSecParams
- func (o *RefreshSecParams) SetContext(ctx context.Context)deprecated
- func (o *RefreshSecParams) SetDefaults()
- func (o *RefreshSecParams) SetHTTPClient(client *http.Client)
- func (o *RefreshSecParams) SetRobotID(robotID int64)
- func (o *RefreshSecParams) SetRobotSec(robotSec *models.RobotSec)
- func (o *RefreshSecParams) SetTimeout(timeout time.Duration)
- func (o *RefreshSecParams) SetXRequestID(xRequestID *string)
- func (o *RefreshSecParams) WithContext(ctx context.Context) *RefreshSecParamsdeprecated
- func (o *RefreshSecParams) WithDefaults() *RefreshSecParams
- func (o *RefreshSecParams) WithHTTPClient(client *http.Client) *RefreshSecParams
- func (o *RefreshSecParams) WithRobotID(robotID int64) *RefreshSecParams
- func (o *RefreshSecParams) WithRobotSec(robotSec *models.RobotSec) *RefreshSecParams
- func (o *RefreshSecParams) WithTimeout(timeout time.Duration) *RefreshSecParams
- func (o *RefreshSecParams) WithXRequestID(xRequestID *string) *RefreshSecParams
- func (o *RefreshSecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefreshSecReader
- type RefreshSecUnauthorized
- func (o *RefreshSecUnauthorized) Code() int
- func (o *RefreshSecUnauthorized) Error() string
- func (o *RefreshSecUnauthorized) GetPayload() *models.Errors
- func (o *RefreshSecUnauthorized) IsClientError() bool
- func (o *RefreshSecUnauthorized) IsCode(code int) bool
- func (o *RefreshSecUnauthorized) IsRedirect() bool
- func (o *RefreshSecUnauthorized) IsServerError() bool
- func (o *RefreshSecUnauthorized) IsSuccess() bool
- func (o *RefreshSecUnauthorized) String() string
- type UpdateRobotBadRequest
- func (o *UpdateRobotBadRequest) Code() int
- func (o *UpdateRobotBadRequest) Error() string
- func (o *UpdateRobotBadRequest) GetPayload() *models.Errors
- func (o *UpdateRobotBadRequest) IsClientError() bool
- func (o *UpdateRobotBadRequest) IsCode(code int) bool
- func (o *UpdateRobotBadRequest) IsRedirect() bool
- func (o *UpdateRobotBadRequest) IsServerError() bool
- func (o *UpdateRobotBadRequest) IsSuccess() bool
- func (o *UpdateRobotBadRequest) String() string
- type UpdateRobotConflict
- func (o *UpdateRobotConflict) Code() int
- func (o *UpdateRobotConflict) Error() string
- func (o *UpdateRobotConflict) GetPayload() *models.Errors
- func (o *UpdateRobotConflict) IsClientError() bool
- func (o *UpdateRobotConflict) IsCode(code int) bool
- func (o *UpdateRobotConflict) IsRedirect() bool
- func (o *UpdateRobotConflict) IsServerError() bool
- func (o *UpdateRobotConflict) IsSuccess() bool
- func (o *UpdateRobotConflict) String() string
- type UpdateRobotForbidden
- func (o *UpdateRobotForbidden) Code() int
- func (o *UpdateRobotForbidden) Error() string
- func (o *UpdateRobotForbidden) GetPayload() *models.Errors
- func (o *UpdateRobotForbidden) IsClientError() bool
- func (o *UpdateRobotForbidden) IsCode(code int) bool
- func (o *UpdateRobotForbidden) IsRedirect() bool
- func (o *UpdateRobotForbidden) IsServerError() bool
- func (o *UpdateRobotForbidden) IsSuccess() bool
- func (o *UpdateRobotForbidden) String() string
- type UpdateRobotInternalServerError
- func (o *UpdateRobotInternalServerError) Code() int
- func (o *UpdateRobotInternalServerError) Error() string
- func (o *UpdateRobotInternalServerError) GetPayload() *models.Errors
- func (o *UpdateRobotInternalServerError) IsClientError() bool
- func (o *UpdateRobotInternalServerError) IsCode(code int) bool
- func (o *UpdateRobotInternalServerError) IsRedirect() bool
- func (o *UpdateRobotInternalServerError) IsServerError() bool
- func (o *UpdateRobotInternalServerError) IsSuccess() bool
- func (o *UpdateRobotInternalServerError) String() string
- type UpdateRobotNotFound
- func (o *UpdateRobotNotFound) Code() int
- func (o *UpdateRobotNotFound) Error() string
- func (o *UpdateRobotNotFound) GetPayload() *models.Errors
- func (o *UpdateRobotNotFound) IsClientError() bool
- func (o *UpdateRobotNotFound) IsCode(code int) bool
- func (o *UpdateRobotNotFound) IsRedirect() bool
- func (o *UpdateRobotNotFound) IsServerError() bool
- func (o *UpdateRobotNotFound) IsSuccess() bool
- func (o *UpdateRobotNotFound) String() string
- type UpdateRobotOK
- func (o *UpdateRobotOK) Code() int
- func (o *UpdateRobotOK) Error() string
- func (o *UpdateRobotOK) IsClientError() bool
- func (o *UpdateRobotOK) IsCode(code int) bool
- func (o *UpdateRobotOK) IsRedirect() bool
- func (o *UpdateRobotOK) IsServerError() bool
- func (o *UpdateRobotOK) IsSuccess() bool
- func (o *UpdateRobotOK) String() string
- type UpdateRobotParams
- func (o *UpdateRobotParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateRobotParams) SetDefaults()
- func (o *UpdateRobotParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRobotParams) SetRobot(robot *models.Robot)
- func (o *UpdateRobotParams) SetRobotID(robotID int64)
- func (o *UpdateRobotParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRobotParams) SetXRequestID(xRequestID *string)
- func (o *UpdateRobotParams) WithContext(ctx context.Context) *UpdateRobotParamsdeprecated
- func (o *UpdateRobotParams) WithDefaults() *UpdateRobotParams
- func (o *UpdateRobotParams) WithHTTPClient(client *http.Client) *UpdateRobotParams
- func (o *UpdateRobotParams) WithRobot(robot *models.Robot) *UpdateRobotParams
- func (o *UpdateRobotParams) WithRobotID(robotID int64) *UpdateRobotParams
- func (o *UpdateRobotParams) WithTimeout(timeout time.Duration) *UpdateRobotParams
- func (o *UpdateRobotParams) WithXRequestID(xRequestID *string) *UpdateRobotParams
- func (o *UpdateRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRobotReader
- type UpdateRobotUnauthorized
- func (o *UpdateRobotUnauthorized) Code() int
- func (o *UpdateRobotUnauthorized) Error() string
- func (o *UpdateRobotUnauthorized) GetPayload() *models.Errors
- func (o *UpdateRobotUnauthorized) IsClientError() bool
- func (o *UpdateRobotUnauthorized) IsCode(code int) bool
- func (o *UpdateRobotUnauthorized) IsRedirect() bool
- func (o *UpdateRobotUnauthorized) IsServerError() bool
- func (o *UpdateRobotUnauthorized) IsSuccess() bool
- func (o *UpdateRobotUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
// CreateRobot creates a robot account
//
// Create a robot account
CreateRobot(ctx context.Context, params *CreateRobotParams) (*CreateRobotCreated, error)
// DeleteRobot deletes a robot account
//
// This endpoint deletes specific robot account information by robot ID.
DeleteRobot(ctx context.Context, params *DeleteRobotParams) (*DeleteRobotOK, error)
// GetRobotByID gets a robot account
//
// This endpoint returns specific robot account information by robot ID.
GetRobotByID(ctx context.Context, params *GetRobotByIDParams) (*GetRobotByIDOK, error)
// ListRobot gets robot account
//
// List the robot accounts with the specified level and project.
ListRobot(ctx context.Context, params *ListRobotParams) (*ListRobotOK, error)
// RefreshSec refreshes the robot secret
//
// Refresh the robot secret
RefreshSec(ctx context.Context, params *RefreshSecParams) (*RefreshSecOK, error)
// UpdateRobot updates a robot account
//
// This endpoint updates specific robot account information by robot ID.
UpdateRobot(ctx context.Context, params *UpdateRobotParams) (*UpdateRobotOK, error)
}
API is the interface of the robot client.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for robot API
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new robot API client.
func (*Client) CreateRobot ¶
func (a *Client) CreateRobot(ctx context.Context, params *CreateRobotParams) (*CreateRobotCreated, error)
CreateRobot creates a robot account.
Create a robot account.
func (*Client) DeleteRobot ¶
func (a *Client) DeleteRobot(ctx context.Context, params *DeleteRobotParams) (*DeleteRobotOK, error)
DeleteRobot deletes a robot account.
This endpoint deletes specific robot account information by robot ID..
func (*Client) GetRobotByID ¶
func (a *Client) GetRobotByID(ctx context.Context, params *GetRobotByIDParams) (*GetRobotByIDOK, error)
GetRobotByID gets a robot account.
This endpoint returns specific robot account information by robot ID..
func (*Client) ListRobot ¶
func (a *Client) ListRobot(ctx context.Context, params *ListRobotParams) (*ListRobotOK, error)
ListRobot gets robot account.
List the robot accounts with the specified level and project..
func (*Client) RefreshSec ¶
func (a *Client) RefreshSec(ctx context.Context, params *RefreshSecParams) (*RefreshSecOK, error)
RefreshSec refreshes the robot secret.
Refresh the robot secret.
func (*Client) UpdateRobot ¶
func (a *Client) UpdateRobot(ctx context.Context, params *UpdateRobotParams) (*UpdateRobotOK, error)
UpdateRobot updates a robot account.
This endpoint updates specific robot account information by robot ID..
type CreateRobotBadRequest ¶
type CreateRobotBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRobotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateRobotBadRequest ¶
func NewCreateRobotBadRequest() *CreateRobotBadRequest
NewCreateRobotBadRequest creates a CreateRobotBadRequest with default headers values
func (*CreateRobotBadRequest) Code ¶
func (o *CreateRobotBadRequest) Code() int
Code gets the status code for the create robot bad request response
func (*CreateRobotBadRequest) Error ¶
func (o *CreateRobotBadRequest) Error() string
func (*CreateRobotBadRequest) GetPayload ¶
func (o *CreateRobotBadRequest) GetPayload() *models.Errors
func (*CreateRobotBadRequest) IsClientError ¶
func (o *CreateRobotBadRequest) IsClientError() bool
IsClientError returns true when this create robot bad request response has a 4xx status code
func (*CreateRobotBadRequest) IsCode ¶
func (o *CreateRobotBadRequest) IsCode(code int) bool
IsCode returns true when this create robot bad request response a status code equal to that given
func (*CreateRobotBadRequest) IsRedirect ¶
func (o *CreateRobotBadRequest) IsRedirect() bool
IsRedirect returns true when this create robot bad request response has a 3xx status code
func (*CreateRobotBadRequest) IsServerError ¶
func (o *CreateRobotBadRequest) IsServerError() bool
IsServerError returns true when this create robot bad request response has a 5xx status code
func (*CreateRobotBadRequest) IsSuccess ¶
func (o *CreateRobotBadRequest) IsSuccess() bool
IsSuccess returns true when this create robot bad request response has a 2xx status code
func (*CreateRobotBadRequest) String ¶
func (o *CreateRobotBadRequest) String() string
type CreateRobotCreated ¶
type CreateRobotCreated struct {
// The location of the resource
Location string
// The ID of the corresponding request for the response
XRequestID string
Payload *models.RobotCreated
}
CreateRobotCreated describes a response with status code 201, with default header values.
Created
func NewCreateRobotCreated ¶
func NewCreateRobotCreated() *CreateRobotCreated
NewCreateRobotCreated creates a CreateRobotCreated with default headers values
func (*CreateRobotCreated) Code ¶
func (o *CreateRobotCreated) Code() int
Code gets the status code for the create robot created response
func (*CreateRobotCreated) Error ¶
func (o *CreateRobotCreated) Error() string
func (*CreateRobotCreated) GetPayload ¶
func (o *CreateRobotCreated) GetPayload() *models.RobotCreated
func (*CreateRobotCreated) IsClientError ¶
func (o *CreateRobotCreated) IsClientError() bool
IsClientError returns true when this create robot created response has a 4xx status code
func (*CreateRobotCreated) IsCode ¶
func (o *CreateRobotCreated) IsCode(code int) bool
IsCode returns true when this create robot created response a status code equal to that given
func (*CreateRobotCreated) IsRedirect ¶
func (o *CreateRobotCreated) IsRedirect() bool
IsRedirect returns true when this create robot created response has a 3xx status code
func (*CreateRobotCreated) IsServerError ¶
func (o *CreateRobotCreated) IsServerError() bool
IsServerError returns true when this create robot created response has a 5xx status code
func (*CreateRobotCreated) IsSuccess ¶
func (o *CreateRobotCreated) IsSuccess() bool
IsSuccess returns true when this create robot created response has a 2xx status code
func (*CreateRobotCreated) String ¶
func (o *CreateRobotCreated) String() string
type CreateRobotForbidden ¶
type CreateRobotForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRobotForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateRobotForbidden ¶
func NewCreateRobotForbidden() *CreateRobotForbidden
NewCreateRobotForbidden creates a CreateRobotForbidden with default headers values
func (*CreateRobotForbidden) Code ¶
func (o *CreateRobotForbidden) Code() int
Code gets the status code for the create robot forbidden response
func (*CreateRobotForbidden) Error ¶
func (o *CreateRobotForbidden) Error() string
func (*CreateRobotForbidden) GetPayload ¶
func (o *CreateRobotForbidden) GetPayload() *models.Errors
func (*CreateRobotForbidden) IsClientError ¶
func (o *CreateRobotForbidden) IsClientError() bool
IsClientError returns true when this create robot forbidden response has a 4xx status code
func (*CreateRobotForbidden) IsCode ¶
func (o *CreateRobotForbidden) IsCode(code int) bool
IsCode returns true when this create robot forbidden response a status code equal to that given
func (*CreateRobotForbidden) IsRedirect ¶
func (o *CreateRobotForbidden) IsRedirect() bool
IsRedirect returns true when this create robot forbidden response has a 3xx status code
func (*CreateRobotForbidden) IsServerError ¶
func (o *CreateRobotForbidden) IsServerError() bool
IsServerError returns true when this create robot forbidden response has a 5xx status code
func (*CreateRobotForbidden) IsSuccess ¶
func (o *CreateRobotForbidden) IsSuccess() bool
IsSuccess returns true when this create robot forbidden response has a 2xx status code
func (*CreateRobotForbidden) String ¶
func (o *CreateRobotForbidden) String() string
type CreateRobotInternalServerError ¶
type CreateRobotInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRobotInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateRobotInternalServerError ¶
func NewCreateRobotInternalServerError() *CreateRobotInternalServerError
NewCreateRobotInternalServerError creates a CreateRobotInternalServerError with default headers values
func (*CreateRobotInternalServerError) Code ¶
func (o *CreateRobotInternalServerError) Code() int
Code gets the status code for the create robot internal server error response
func (*CreateRobotInternalServerError) Error ¶
func (o *CreateRobotInternalServerError) Error() string
func (*CreateRobotInternalServerError) GetPayload ¶
func (o *CreateRobotInternalServerError) GetPayload() *models.Errors
func (*CreateRobotInternalServerError) IsClientError ¶
func (o *CreateRobotInternalServerError) IsClientError() bool
IsClientError returns true when this create robot internal server error response has a 4xx status code
func (*CreateRobotInternalServerError) IsCode ¶
func (o *CreateRobotInternalServerError) IsCode(code int) bool
IsCode returns true when this create robot internal server error response a status code equal to that given
func (*CreateRobotInternalServerError) IsRedirect ¶
func (o *CreateRobotInternalServerError) IsRedirect() bool
IsRedirect returns true when this create robot internal server error response has a 3xx status code
func (*CreateRobotInternalServerError) IsServerError ¶
func (o *CreateRobotInternalServerError) IsServerError() bool
IsServerError returns true when this create robot internal server error response has a 5xx status code
func (*CreateRobotInternalServerError) IsSuccess ¶
func (o *CreateRobotInternalServerError) IsSuccess() bool
IsSuccess returns true when this create robot internal server error response has a 2xx status code
func (*CreateRobotInternalServerError) String ¶
func (o *CreateRobotInternalServerError) String() string
type CreateRobotNotFound ¶
type CreateRobotNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRobotNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateRobotNotFound ¶
func NewCreateRobotNotFound() *CreateRobotNotFound
NewCreateRobotNotFound creates a CreateRobotNotFound with default headers values
func (*CreateRobotNotFound) Code ¶
func (o *CreateRobotNotFound) Code() int
Code gets the status code for the create robot not found response
func (*CreateRobotNotFound) Error ¶
func (o *CreateRobotNotFound) Error() string
func (*CreateRobotNotFound) GetPayload ¶
func (o *CreateRobotNotFound) GetPayload() *models.Errors
func (*CreateRobotNotFound) IsClientError ¶
func (o *CreateRobotNotFound) IsClientError() bool
IsClientError returns true when this create robot not found response has a 4xx status code
func (*CreateRobotNotFound) IsCode ¶
func (o *CreateRobotNotFound) IsCode(code int) bool
IsCode returns true when this create robot not found response a status code equal to that given
func (*CreateRobotNotFound) IsRedirect ¶
func (o *CreateRobotNotFound) IsRedirect() bool
IsRedirect returns true when this create robot not found response has a 3xx status code
func (*CreateRobotNotFound) IsServerError ¶
func (o *CreateRobotNotFound) IsServerError() bool
IsServerError returns true when this create robot not found response has a 5xx status code
func (*CreateRobotNotFound) IsSuccess ¶
func (o *CreateRobotNotFound) IsSuccess() bool
IsSuccess returns true when this create robot not found response has a 2xx status code
func (*CreateRobotNotFound) String ¶
func (o *CreateRobotNotFound) String() string
type CreateRobotParams ¶
type CreateRobotParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// Robot.
//
// The JSON object of a robot account.
Robot *models.RobotCreate
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateRobotParams contains all the parameters to send to the API endpoint
for the create robot operation. Typically these are written to a http.Request.
func NewCreateRobotParams ¶
func NewCreateRobotParams() *CreateRobotParams
NewCreateRobotParams creates a new CreateRobotParams 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 NewCreateRobotParamsWithContext
deprecated
func NewCreateRobotParamsWithContext(ctx context.Context) *CreateRobotParams
NewCreateRobotParamsWithContext creates a new CreateRobotParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CreateRobotParams.
func NewCreateRobotParamsWithHTTPClient ¶
func NewCreateRobotParamsWithHTTPClient(client *http.Client) *CreateRobotParams
NewCreateRobotParamsWithHTTPClient creates a new CreateRobotParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRobotParamsWithTimeout ¶
func NewCreateRobotParamsWithTimeout(timeout time.Duration) *CreateRobotParams
NewCreateRobotParamsWithTimeout creates a new CreateRobotParams object with the ability to set a timeout on a request.
func (*CreateRobotParams) SetContext
deprecated
func (o *CreateRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the create robot params.
Deprecated: use the operation call with context to pass the context instead of CreateRobotParams.
func (*CreateRobotParams) SetDefaults ¶
func (o *CreateRobotParams) SetDefaults()
SetDefaults hydrates default values in the create robot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRobotParams) SetHTTPClient ¶
func (o *CreateRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create robot params.
func (*CreateRobotParams) SetRobot ¶
func (o *CreateRobotParams) SetRobot(robot *models.RobotCreate)
SetRobot adds the robot to the create robot params.
func (*CreateRobotParams) SetTimeout ¶
func (o *CreateRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create robot params.
func (*CreateRobotParams) SetXRequestID ¶
func (o *CreateRobotParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create robot params.
func (*CreateRobotParams) WithContext
deprecated
func (o *CreateRobotParams) WithContext(ctx context.Context) *CreateRobotParams
WithContext adds the context to the create robot params.
Deprecated: use the operation call with context to pass the context instead of CreateRobotParams.
func (*CreateRobotParams) WithDefaults ¶
func (o *CreateRobotParams) WithDefaults() *CreateRobotParams
WithDefaults hydrates default values in the create robot params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRobotParams) WithHTTPClient ¶
func (o *CreateRobotParams) WithHTTPClient(client *http.Client) *CreateRobotParams
WithHTTPClient adds the HTTPClient to the create robot params.
func (*CreateRobotParams) WithRobot ¶
func (o *CreateRobotParams) WithRobot(robot *models.RobotCreate) *CreateRobotParams
WithRobot adds the robot to the create robot params.
func (*CreateRobotParams) WithTimeout ¶
func (o *CreateRobotParams) WithTimeout(timeout time.Duration) *CreateRobotParams
WithTimeout adds the timeout to the create robot params.
func (*CreateRobotParams) WithXRequestID ¶
func (o *CreateRobotParams) WithXRequestID(xRequestID *string) *CreateRobotParams
WithXRequestID adds the xRequestID to the create robot params.
func (*CreateRobotParams) WriteToRequest ¶
func (o *CreateRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CreateRobotReader ¶
type CreateRobotReader struct {
// contains filtered or unexported fields
}
CreateRobotReader is a Reader for the CreateRobot structure.
func (*CreateRobotReader) ReadResponse ¶
func (o *CreateRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateRobotUnauthorized ¶
type CreateRobotUnauthorized struct {
XRequestID string
}
CreateRobotUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateRobotUnauthorized ¶
func NewCreateRobotUnauthorized() *CreateRobotUnauthorized
NewCreateRobotUnauthorized creates a CreateRobotUnauthorized with default headers values
func (*CreateRobotUnauthorized) Code ¶
func (o *CreateRobotUnauthorized) Code() int
Code gets the status code for the create robot unauthorized response
func (*CreateRobotUnauthorized) Error ¶
func (o *CreateRobotUnauthorized) Error() string
func (*CreateRobotUnauthorized) GetPayload ¶
func (o *CreateRobotUnauthorized) GetPayload() *models.Errors
func (*CreateRobotUnauthorized) IsClientError ¶
func (o *CreateRobotUnauthorized) IsClientError() bool
IsClientError returns true when this create robot unauthorized response has a 4xx status code
func (*CreateRobotUnauthorized) IsCode ¶
func (o *CreateRobotUnauthorized) IsCode(code int) bool
IsCode returns true when this create robot unauthorized response a status code equal to that given
func (*CreateRobotUnauthorized) IsRedirect ¶
func (o *CreateRobotUnauthorized) IsRedirect() bool
IsRedirect returns true when this create robot unauthorized response has a 3xx status code
func (*CreateRobotUnauthorized) IsServerError ¶
func (o *CreateRobotUnauthorized) IsServerError() bool
IsServerError returns true when this create robot unauthorized response has a 5xx status code
func (*CreateRobotUnauthorized) IsSuccess ¶
func (o *CreateRobotUnauthorized) IsSuccess() bool
IsSuccess returns true when this create robot unauthorized response has a 2xx status code
func (*CreateRobotUnauthorized) String ¶
func (o *CreateRobotUnauthorized) String() string
type DeleteRobotBadRequest ¶
type DeleteRobotBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRobotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteRobotBadRequest ¶
func NewDeleteRobotBadRequest() *DeleteRobotBadRequest
NewDeleteRobotBadRequest creates a DeleteRobotBadRequest with default headers values
func (*DeleteRobotBadRequest) Code ¶
func (o *DeleteRobotBadRequest) Code() int
Code gets the status code for the delete robot bad request response
func (*DeleteRobotBadRequest) Error ¶
func (o *DeleteRobotBadRequest) Error() string
func (*DeleteRobotBadRequest) GetPayload ¶
func (o *DeleteRobotBadRequest) GetPayload() *models.Errors
func (*DeleteRobotBadRequest) IsClientError ¶
func (o *DeleteRobotBadRequest) IsClientError() bool
IsClientError returns true when this delete robot bad request response has a 4xx status code
func (*DeleteRobotBadRequest) IsCode ¶
func (o *DeleteRobotBadRequest) IsCode(code int) bool
IsCode returns true when this delete robot bad request response a status code equal to that given
func (*DeleteRobotBadRequest) IsRedirect ¶
func (o *DeleteRobotBadRequest) IsRedirect() bool
IsRedirect returns true when this delete robot bad request response has a 3xx status code
func (*DeleteRobotBadRequest) IsServerError ¶
func (o *DeleteRobotBadRequest) IsServerError() bool
IsServerError returns true when this delete robot bad request response has a 5xx status code
func (*DeleteRobotBadRequest) IsSuccess ¶
func (o *DeleteRobotBadRequest) IsSuccess() bool
IsSuccess returns true when this delete robot bad request response has a 2xx status code
func (*DeleteRobotBadRequest) String ¶
func (o *DeleteRobotBadRequest) String() string
type DeleteRobotForbidden ¶
type DeleteRobotForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRobotForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteRobotForbidden ¶
func NewDeleteRobotForbidden() *DeleteRobotForbidden
NewDeleteRobotForbidden creates a DeleteRobotForbidden with default headers values
func (*DeleteRobotForbidden) Code ¶
func (o *DeleteRobotForbidden) Code() int
Code gets the status code for the delete robot forbidden response
func (*DeleteRobotForbidden) Error ¶
func (o *DeleteRobotForbidden) Error() string
func (*DeleteRobotForbidden) GetPayload ¶
func (o *DeleteRobotForbidden) GetPayload() *models.Errors
func (*DeleteRobotForbidden) IsClientError ¶
func (o *DeleteRobotForbidden) IsClientError() bool
IsClientError returns true when this delete robot forbidden response has a 4xx status code
func (*DeleteRobotForbidden) IsCode ¶
func (o *DeleteRobotForbidden) IsCode(code int) bool
IsCode returns true when this delete robot forbidden response a status code equal to that given
func (*DeleteRobotForbidden) IsRedirect ¶
func (o *DeleteRobotForbidden) IsRedirect() bool
IsRedirect returns true when this delete robot forbidden response has a 3xx status code
func (*DeleteRobotForbidden) IsServerError ¶
func (o *DeleteRobotForbidden) IsServerError() bool
IsServerError returns true when this delete robot forbidden response has a 5xx status code
func (*DeleteRobotForbidden) IsSuccess ¶
func (o *DeleteRobotForbidden) IsSuccess() bool
IsSuccess returns true when this delete robot forbidden response has a 2xx status code
func (*DeleteRobotForbidden) String ¶
func (o *DeleteRobotForbidden) String() string
type DeleteRobotInternalServerError ¶
type DeleteRobotInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRobotInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteRobotInternalServerError ¶
func NewDeleteRobotInternalServerError() *DeleteRobotInternalServerError
NewDeleteRobotInternalServerError creates a DeleteRobotInternalServerError with default headers values
func (*DeleteRobotInternalServerError) Code ¶
func (o *DeleteRobotInternalServerError) Code() int
Code gets the status code for the delete robot internal server error response
func (*DeleteRobotInternalServerError) Error ¶
func (o *DeleteRobotInternalServerError) Error() string
func (*DeleteRobotInternalServerError) GetPayload ¶
func (o *DeleteRobotInternalServerError) GetPayload() *models.Errors
func (*DeleteRobotInternalServerError) IsClientError ¶
func (o *DeleteRobotInternalServerError) IsClientError() bool
IsClientError returns true when this delete robot internal server error response has a 4xx status code
func (*DeleteRobotInternalServerError) IsCode ¶
func (o *DeleteRobotInternalServerError) IsCode(code int) bool
IsCode returns true when this delete robot internal server error response a status code equal to that given
func (*DeleteRobotInternalServerError) IsRedirect ¶
func (o *DeleteRobotInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete robot internal server error response has a 3xx status code
func (*DeleteRobotInternalServerError) IsServerError ¶
func (o *DeleteRobotInternalServerError) IsServerError() bool
IsServerError returns true when this delete robot internal server error response has a 5xx status code
func (*DeleteRobotInternalServerError) IsSuccess ¶
func (o *DeleteRobotInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete robot internal server error response has a 2xx status code
func (*DeleteRobotInternalServerError) String ¶
func (o *DeleteRobotInternalServerError) String() string
type DeleteRobotNotFound ¶
type DeleteRobotNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRobotNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteRobotNotFound ¶
func NewDeleteRobotNotFound() *DeleteRobotNotFound
NewDeleteRobotNotFound creates a DeleteRobotNotFound with default headers values
func (*DeleteRobotNotFound) Code ¶
func (o *DeleteRobotNotFound) Code() int
Code gets the status code for the delete robot not found response
func (*DeleteRobotNotFound) Error ¶
func (o *DeleteRobotNotFound) Error() string
func (*DeleteRobotNotFound) GetPayload ¶
func (o *DeleteRobotNotFound) GetPayload() *models.Errors
func (*DeleteRobotNotFound) IsClientError ¶
func (o *DeleteRobotNotFound) IsClientError() bool
IsClientError returns true when this delete robot not found response has a 4xx status code
func (*DeleteRobotNotFound) IsCode ¶
func (o *DeleteRobotNotFound) IsCode(code int) bool
IsCode returns true when this delete robot not found response a status code equal to that given
func (*DeleteRobotNotFound) IsRedirect ¶
func (o *DeleteRobotNotFound) IsRedirect() bool
IsRedirect returns true when this delete robot not found response has a 3xx status code
func (*DeleteRobotNotFound) IsServerError ¶
func (o *DeleteRobotNotFound) IsServerError() bool
IsServerError returns true when this delete robot not found response has a 5xx status code
func (*DeleteRobotNotFound) IsSuccess ¶
func (o *DeleteRobotNotFound) IsSuccess() bool
IsSuccess returns true when this delete robot not found response has a 2xx status code
func (*DeleteRobotNotFound) String ¶
func (o *DeleteRobotNotFound) String() string
type DeleteRobotOK ¶
type DeleteRobotOK struct {
// The ID of the corresponding request for the response
XRequestID string
}
DeleteRobotOK describes a response with status code 200, with default header values.
Success
func NewDeleteRobotOK ¶
func NewDeleteRobotOK() *DeleteRobotOK
NewDeleteRobotOK creates a DeleteRobotOK with default headers values
func (*DeleteRobotOK) Code ¶
func (o *DeleteRobotOK) Code() int
Code gets the status code for the delete robot o k response
func (*DeleteRobotOK) Error ¶
func (o *DeleteRobotOK) Error() string
func (*DeleteRobotOK) IsClientError ¶
func (o *DeleteRobotOK) IsClientError() bool
IsClientError returns true when this delete robot o k response has a 4xx status code
func (*DeleteRobotOK) IsCode ¶
func (o *DeleteRobotOK) IsCode(code int) bool
IsCode returns true when this delete robot o k response a status code equal to that given
func (*DeleteRobotOK) IsRedirect ¶
func (o *DeleteRobotOK) IsRedirect() bool
IsRedirect returns true when this delete robot o k response has a 3xx status code
func (*DeleteRobotOK) IsServerError ¶
func (o *DeleteRobotOK) IsServerError() bool
IsServerError returns true when this delete robot o k response has a 5xx status code
func (*DeleteRobotOK) IsSuccess ¶
func (o *DeleteRobotOK) IsSuccess() bool
IsSuccess returns true when this delete robot o k response has a 2xx status code
func (*DeleteRobotOK) String ¶
func (o *DeleteRobotOK) String() string
type DeleteRobotParams ¶
type DeleteRobotParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// RobotID.
//
// Robot ID
RobotID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteRobotParams contains all the parameters to send to the API endpoint
for the delete robot operation. Typically these are written to a http.Request.
func NewDeleteRobotParams ¶
func NewDeleteRobotParams() *DeleteRobotParams
NewDeleteRobotParams creates a new DeleteRobotParams 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 NewDeleteRobotParamsWithContext
deprecated
func NewDeleteRobotParamsWithContext(ctx context.Context) *DeleteRobotParams
NewDeleteRobotParamsWithContext creates a new DeleteRobotParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteRobotParams.
func NewDeleteRobotParamsWithHTTPClient ¶
func NewDeleteRobotParamsWithHTTPClient(client *http.Client) *DeleteRobotParams
NewDeleteRobotParamsWithHTTPClient creates a new DeleteRobotParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRobotParamsWithTimeout ¶
func NewDeleteRobotParamsWithTimeout(timeout time.Duration) *DeleteRobotParams
NewDeleteRobotParamsWithTimeout creates a new DeleteRobotParams object with the ability to set a timeout on a request.
func (*DeleteRobotParams) SetContext
deprecated
func (o *DeleteRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete robot params.
Deprecated: use the operation call with context to pass the context instead of DeleteRobotParams.
func (*DeleteRobotParams) SetDefaults ¶
func (o *DeleteRobotParams) SetDefaults()
SetDefaults hydrates default values in the delete robot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRobotParams) SetHTTPClient ¶
func (o *DeleteRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete robot params.
func (*DeleteRobotParams) SetRobotID ¶
func (o *DeleteRobotParams) SetRobotID(robotID int64)
SetRobotID adds the robotId to the delete robot params.
func (*DeleteRobotParams) SetTimeout ¶
func (o *DeleteRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete robot params.
func (*DeleteRobotParams) SetXRequestID ¶
func (o *DeleteRobotParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete robot params.
func (*DeleteRobotParams) WithContext
deprecated
func (o *DeleteRobotParams) WithContext(ctx context.Context) *DeleteRobotParams
WithContext adds the context to the delete robot params.
Deprecated: use the operation call with context to pass the context instead of DeleteRobotParams.
func (*DeleteRobotParams) WithDefaults ¶
func (o *DeleteRobotParams) WithDefaults() *DeleteRobotParams
WithDefaults hydrates default values in the delete robot params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRobotParams) WithHTTPClient ¶
func (o *DeleteRobotParams) WithHTTPClient(client *http.Client) *DeleteRobotParams
WithHTTPClient adds the HTTPClient to the delete robot params.
func (*DeleteRobotParams) WithRobotID ¶
func (o *DeleteRobotParams) WithRobotID(robotID int64) *DeleteRobotParams
WithRobotID adds the robotID to the delete robot params.
func (*DeleteRobotParams) WithTimeout ¶
func (o *DeleteRobotParams) WithTimeout(timeout time.Duration) *DeleteRobotParams
WithTimeout adds the timeout to the delete robot params.
func (*DeleteRobotParams) WithXRequestID ¶
func (o *DeleteRobotParams) WithXRequestID(xRequestID *string) *DeleteRobotParams
WithXRequestID adds the xRequestID to the delete robot params.
func (*DeleteRobotParams) WriteToRequest ¶
func (o *DeleteRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteRobotReader ¶
type DeleteRobotReader struct {
// contains filtered or unexported fields
}
DeleteRobotReader is a Reader for the DeleteRobot structure.
func (*DeleteRobotReader) ReadResponse ¶
func (o *DeleteRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteRobotUnauthorized ¶
type DeleteRobotUnauthorized struct {
XRequestID string
}
DeleteRobotUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteRobotUnauthorized ¶
func NewDeleteRobotUnauthorized() *DeleteRobotUnauthorized
NewDeleteRobotUnauthorized creates a DeleteRobotUnauthorized with default headers values
func (*DeleteRobotUnauthorized) Code ¶
func (o *DeleteRobotUnauthorized) Code() int
Code gets the status code for the delete robot unauthorized response
func (*DeleteRobotUnauthorized) Error ¶
func (o *DeleteRobotUnauthorized) Error() string
func (*DeleteRobotUnauthorized) GetPayload ¶
func (o *DeleteRobotUnauthorized) GetPayload() *models.Errors
func (*DeleteRobotUnauthorized) IsClientError ¶
func (o *DeleteRobotUnauthorized) IsClientError() bool
IsClientError returns true when this delete robot unauthorized response has a 4xx status code
func (*DeleteRobotUnauthorized) IsCode ¶
func (o *DeleteRobotUnauthorized) IsCode(code int) bool
IsCode returns true when this delete robot unauthorized response a status code equal to that given
func (*DeleteRobotUnauthorized) IsRedirect ¶
func (o *DeleteRobotUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete robot unauthorized response has a 3xx status code
func (*DeleteRobotUnauthorized) IsServerError ¶
func (o *DeleteRobotUnauthorized) IsServerError() bool
IsServerError returns true when this delete robot unauthorized response has a 5xx status code
func (*DeleteRobotUnauthorized) IsSuccess ¶
func (o *DeleteRobotUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete robot unauthorized response has a 2xx status code
func (*DeleteRobotUnauthorized) String ¶
func (o *DeleteRobotUnauthorized) String() string
type GetRobotByIDForbidden ¶
type GetRobotByIDForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRobotByIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRobotByIDForbidden ¶
func NewGetRobotByIDForbidden() *GetRobotByIDForbidden
NewGetRobotByIDForbidden creates a GetRobotByIDForbidden with default headers values
func (*GetRobotByIDForbidden) Code ¶
func (o *GetRobotByIDForbidden) Code() int
Code gets the status code for the get robot by Id forbidden response
func (*GetRobotByIDForbidden) Error ¶
func (o *GetRobotByIDForbidden) Error() string
func (*GetRobotByIDForbidden) GetPayload ¶
func (o *GetRobotByIDForbidden) GetPayload() *models.Errors
func (*GetRobotByIDForbidden) IsClientError ¶
func (o *GetRobotByIDForbidden) IsClientError() bool
IsClientError returns true when this get robot by Id forbidden response has a 4xx status code
func (*GetRobotByIDForbidden) IsCode ¶
func (o *GetRobotByIDForbidden) IsCode(code int) bool
IsCode returns true when this get robot by Id forbidden response a status code equal to that given
func (*GetRobotByIDForbidden) IsRedirect ¶
func (o *GetRobotByIDForbidden) IsRedirect() bool
IsRedirect returns true when this get robot by Id forbidden response has a 3xx status code
func (*GetRobotByIDForbidden) IsServerError ¶
func (o *GetRobotByIDForbidden) IsServerError() bool
IsServerError returns true when this get robot by Id forbidden response has a 5xx status code
func (*GetRobotByIDForbidden) IsSuccess ¶
func (o *GetRobotByIDForbidden) IsSuccess() bool
IsSuccess returns true when this get robot by Id forbidden response has a 2xx status code
func (*GetRobotByIDForbidden) String ¶
func (o *GetRobotByIDForbidden) String() string
type GetRobotByIDInternalServerError ¶
type GetRobotByIDInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRobotByIDInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetRobotByIDInternalServerError ¶
func NewGetRobotByIDInternalServerError() *GetRobotByIDInternalServerError
NewGetRobotByIDInternalServerError creates a GetRobotByIDInternalServerError with default headers values
func (*GetRobotByIDInternalServerError) Code ¶
func (o *GetRobotByIDInternalServerError) Code() int
Code gets the status code for the get robot by Id internal server error response
func (*GetRobotByIDInternalServerError) Error ¶
func (o *GetRobotByIDInternalServerError) Error() string
func (*GetRobotByIDInternalServerError) GetPayload ¶
func (o *GetRobotByIDInternalServerError) GetPayload() *models.Errors
func (*GetRobotByIDInternalServerError) IsClientError ¶
func (o *GetRobotByIDInternalServerError) IsClientError() bool
IsClientError returns true when this get robot by Id internal server error response has a 4xx status code
func (*GetRobotByIDInternalServerError) IsCode ¶
func (o *GetRobotByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this get robot by Id internal server error response a status code equal to that given
func (*GetRobotByIDInternalServerError) IsRedirect ¶
func (o *GetRobotByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this get robot by Id internal server error response has a 3xx status code
func (*GetRobotByIDInternalServerError) IsServerError ¶
func (o *GetRobotByIDInternalServerError) IsServerError() bool
IsServerError returns true when this get robot by Id internal server error response has a 5xx status code
func (*GetRobotByIDInternalServerError) IsSuccess ¶
func (o *GetRobotByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this get robot by Id internal server error response has a 2xx status code
func (*GetRobotByIDInternalServerError) String ¶
func (o *GetRobotByIDInternalServerError) String() string
type GetRobotByIDNotFound ¶
type GetRobotByIDNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRobotByIDNotFound describes a response with status code 404, with default header values.
Not found
func NewGetRobotByIDNotFound ¶
func NewGetRobotByIDNotFound() *GetRobotByIDNotFound
NewGetRobotByIDNotFound creates a GetRobotByIDNotFound with default headers values
func (*GetRobotByIDNotFound) Code ¶
func (o *GetRobotByIDNotFound) Code() int
Code gets the status code for the get robot by Id not found response
func (*GetRobotByIDNotFound) Error ¶
func (o *GetRobotByIDNotFound) Error() string
func (*GetRobotByIDNotFound) GetPayload ¶
func (o *GetRobotByIDNotFound) GetPayload() *models.Errors
func (*GetRobotByIDNotFound) IsClientError ¶
func (o *GetRobotByIDNotFound) IsClientError() bool
IsClientError returns true when this get robot by Id not found response has a 4xx status code
func (*GetRobotByIDNotFound) IsCode ¶
func (o *GetRobotByIDNotFound) IsCode(code int) bool
IsCode returns true when this get robot by Id not found response a status code equal to that given
func (*GetRobotByIDNotFound) IsRedirect ¶
func (o *GetRobotByIDNotFound) IsRedirect() bool
IsRedirect returns true when this get robot by Id not found response has a 3xx status code
func (*GetRobotByIDNotFound) IsServerError ¶
func (o *GetRobotByIDNotFound) IsServerError() bool
IsServerError returns true when this get robot by Id not found response has a 5xx status code
func (*GetRobotByIDNotFound) IsSuccess ¶
func (o *GetRobotByIDNotFound) IsSuccess() bool
IsSuccess returns true when this get robot by Id not found response has a 2xx status code
func (*GetRobotByIDNotFound) String ¶
func (o *GetRobotByIDNotFound) String() string
type GetRobotByIDOK ¶
GetRobotByIDOK describes a response with status code 200, with default header values.
Return matched robot information.
func NewGetRobotByIDOK ¶
func NewGetRobotByIDOK() *GetRobotByIDOK
NewGetRobotByIDOK creates a GetRobotByIDOK with default headers values
func (*GetRobotByIDOK) Code ¶
func (o *GetRobotByIDOK) Code() int
Code gets the status code for the get robot by Id o k response
func (*GetRobotByIDOK) Error ¶
func (o *GetRobotByIDOK) Error() string
func (*GetRobotByIDOK) GetPayload ¶
func (o *GetRobotByIDOK) GetPayload() *models.Robot
func (*GetRobotByIDOK) IsClientError ¶
func (o *GetRobotByIDOK) IsClientError() bool
IsClientError returns true when this get robot by Id o k response has a 4xx status code
func (*GetRobotByIDOK) IsCode ¶
func (o *GetRobotByIDOK) IsCode(code int) bool
IsCode returns true when this get robot by Id o k response a status code equal to that given
func (*GetRobotByIDOK) IsRedirect ¶
func (o *GetRobotByIDOK) IsRedirect() bool
IsRedirect returns true when this get robot by Id o k response has a 3xx status code
func (*GetRobotByIDOK) IsServerError ¶
func (o *GetRobotByIDOK) IsServerError() bool
IsServerError returns true when this get robot by Id o k response has a 5xx status code
func (*GetRobotByIDOK) IsSuccess ¶
func (o *GetRobotByIDOK) IsSuccess() bool
IsSuccess returns true when this get robot by Id o k response has a 2xx status code
func (*GetRobotByIDOK) String ¶
func (o *GetRobotByIDOK) String() string
type GetRobotByIDParams ¶
type GetRobotByIDParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// RobotID.
//
// Robot ID
RobotID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRobotByIDParams contains all the parameters to send to the API endpoint
for the get robot by ID operation. Typically these are written to a http.Request.
func NewGetRobotByIDParams ¶
func NewGetRobotByIDParams() *GetRobotByIDParams
NewGetRobotByIDParams creates a new GetRobotByIDParams 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 NewGetRobotByIDParamsWithContext
deprecated
func NewGetRobotByIDParamsWithContext(ctx context.Context) *GetRobotByIDParams
NewGetRobotByIDParamsWithContext creates a new GetRobotByIDParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetRobotByIDParams.
func NewGetRobotByIDParamsWithHTTPClient ¶
func NewGetRobotByIDParamsWithHTTPClient(client *http.Client) *GetRobotByIDParams
NewGetRobotByIDParamsWithHTTPClient creates a new GetRobotByIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetRobotByIDParamsWithTimeout ¶
func NewGetRobotByIDParamsWithTimeout(timeout time.Duration) *GetRobotByIDParams
NewGetRobotByIDParamsWithTimeout creates a new GetRobotByIDParams object with the ability to set a timeout on a request.
func (*GetRobotByIDParams) SetContext
deprecated
func (o *GetRobotByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get robot by ID params.
Deprecated: use the operation call with context to pass the context instead of GetRobotByIDParams.
func (*GetRobotByIDParams) SetDefaults ¶
func (o *GetRobotByIDParams) SetDefaults()
SetDefaults hydrates default values in the get robot by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetRobotByIDParams) SetHTTPClient ¶
func (o *GetRobotByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get robot by ID params.
func (*GetRobotByIDParams) SetRobotID ¶
func (o *GetRobotByIDParams) SetRobotID(robotID int64)
SetRobotID adds the robotId to the get robot by ID params.
func (*GetRobotByIDParams) SetTimeout ¶
func (o *GetRobotByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get robot by ID params.
func (*GetRobotByIDParams) SetXRequestID ¶
func (o *GetRobotByIDParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get robot by ID params.
func (*GetRobotByIDParams) WithContext
deprecated
func (o *GetRobotByIDParams) WithContext(ctx context.Context) *GetRobotByIDParams
WithContext adds the context to the get robot by ID params.
Deprecated: use the operation call with context to pass the context instead of GetRobotByIDParams.
func (*GetRobotByIDParams) WithDefaults ¶
func (o *GetRobotByIDParams) WithDefaults() *GetRobotByIDParams
WithDefaults hydrates default values in the get robot by ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetRobotByIDParams) WithHTTPClient ¶
func (o *GetRobotByIDParams) WithHTTPClient(client *http.Client) *GetRobotByIDParams
WithHTTPClient adds the HTTPClient to the get robot by ID params.
func (*GetRobotByIDParams) WithRobotID ¶
func (o *GetRobotByIDParams) WithRobotID(robotID int64) *GetRobotByIDParams
WithRobotID adds the robotID to the get robot by ID params.
func (*GetRobotByIDParams) WithTimeout ¶
func (o *GetRobotByIDParams) WithTimeout(timeout time.Duration) *GetRobotByIDParams
WithTimeout adds the timeout to the get robot by ID params.
func (*GetRobotByIDParams) WithXRequestID ¶
func (o *GetRobotByIDParams) WithXRequestID(xRequestID *string) *GetRobotByIDParams
WithXRequestID adds the xRequestID to the get robot by ID params.
func (*GetRobotByIDParams) WriteToRequest ¶
func (o *GetRobotByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetRobotByIDReader ¶
type GetRobotByIDReader struct {
// contains filtered or unexported fields
}
GetRobotByIDReader is a Reader for the GetRobotByID structure.
func (*GetRobotByIDReader) ReadResponse ¶
func (o *GetRobotByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetRobotByIDUnauthorized ¶
type GetRobotByIDUnauthorized struct {
XRequestID string
}
GetRobotByIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRobotByIDUnauthorized ¶
func NewGetRobotByIDUnauthorized() *GetRobotByIDUnauthorized
NewGetRobotByIDUnauthorized creates a GetRobotByIDUnauthorized with default headers values
func (*GetRobotByIDUnauthorized) Code ¶
func (o *GetRobotByIDUnauthorized) Code() int
Code gets the status code for the get robot by Id unauthorized response
func (*GetRobotByIDUnauthorized) Error ¶
func (o *GetRobotByIDUnauthorized) Error() string
func (*GetRobotByIDUnauthorized) GetPayload ¶
func (o *GetRobotByIDUnauthorized) GetPayload() *models.Errors
func (*GetRobotByIDUnauthorized) IsClientError ¶
func (o *GetRobotByIDUnauthorized) IsClientError() bool
IsClientError returns true when this get robot by Id unauthorized response has a 4xx status code
func (*GetRobotByIDUnauthorized) IsCode ¶
func (o *GetRobotByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this get robot by Id unauthorized response a status code equal to that given
func (*GetRobotByIDUnauthorized) IsRedirect ¶
func (o *GetRobotByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this get robot by Id unauthorized response has a 3xx status code
func (*GetRobotByIDUnauthorized) IsServerError ¶
func (o *GetRobotByIDUnauthorized) IsServerError() bool
IsServerError returns true when this get robot by Id unauthorized response has a 5xx status code
func (*GetRobotByIDUnauthorized) IsSuccess ¶
func (o *GetRobotByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this get robot by Id unauthorized response has a 2xx status code
func (*GetRobotByIDUnauthorized) String ¶
func (o *GetRobotByIDUnauthorized) String() string
type ListRobotBadRequest ¶
type ListRobotBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRobotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListRobotBadRequest ¶
func NewListRobotBadRequest() *ListRobotBadRequest
NewListRobotBadRequest creates a ListRobotBadRequest with default headers values
func (*ListRobotBadRequest) Code ¶
func (o *ListRobotBadRequest) Code() int
Code gets the status code for the list robot bad request response
func (*ListRobotBadRequest) Error ¶
func (o *ListRobotBadRequest) Error() string
func (*ListRobotBadRequest) GetPayload ¶
func (o *ListRobotBadRequest) GetPayload() *models.Errors
func (*ListRobotBadRequest) IsClientError ¶
func (o *ListRobotBadRequest) IsClientError() bool
IsClientError returns true when this list robot bad request response has a 4xx status code
func (*ListRobotBadRequest) IsCode ¶
func (o *ListRobotBadRequest) IsCode(code int) bool
IsCode returns true when this list robot bad request response a status code equal to that given
func (*ListRobotBadRequest) IsRedirect ¶
func (o *ListRobotBadRequest) IsRedirect() bool
IsRedirect returns true when this list robot bad request response has a 3xx status code
func (*ListRobotBadRequest) IsServerError ¶
func (o *ListRobotBadRequest) IsServerError() bool
IsServerError returns true when this list robot bad request response has a 5xx status code
func (*ListRobotBadRequest) IsSuccess ¶
func (o *ListRobotBadRequest) IsSuccess() bool
IsSuccess returns true when this list robot bad request response has a 2xx status code
func (*ListRobotBadRequest) String ¶
func (o *ListRobotBadRequest) String() string
type ListRobotInternalServerError ¶
type ListRobotInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRobotInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListRobotInternalServerError ¶
func NewListRobotInternalServerError() *ListRobotInternalServerError
NewListRobotInternalServerError creates a ListRobotInternalServerError with default headers values
func (*ListRobotInternalServerError) Code ¶
func (o *ListRobotInternalServerError) Code() int
Code gets the status code for the list robot internal server error response
func (*ListRobotInternalServerError) Error ¶
func (o *ListRobotInternalServerError) Error() string
func (*ListRobotInternalServerError) GetPayload ¶
func (o *ListRobotInternalServerError) GetPayload() *models.Errors
func (*ListRobotInternalServerError) IsClientError ¶
func (o *ListRobotInternalServerError) IsClientError() bool
IsClientError returns true when this list robot internal server error response has a 4xx status code
func (*ListRobotInternalServerError) IsCode ¶
func (o *ListRobotInternalServerError) IsCode(code int) bool
IsCode returns true when this list robot internal server error response a status code equal to that given
func (*ListRobotInternalServerError) IsRedirect ¶
func (o *ListRobotInternalServerError) IsRedirect() bool
IsRedirect returns true when this list robot internal server error response has a 3xx status code
func (*ListRobotInternalServerError) IsServerError ¶
func (o *ListRobotInternalServerError) IsServerError() bool
IsServerError returns true when this list robot internal server error response has a 5xx status code
func (*ListRobotInternalServerError) IsSuccess ¶
func (o *ListRobotInternalServerError) IsSuccess() bool
IsSuccess returns true when this list robot internal server error response has a 2xx status code
func (*ListRobotInternalServerError) String ¶
func (o *ListRobotInternalServerError) String() string
type ListRobotNotFound ¶
type ListRobotNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRobotNotFound describes a response with status code 404, with default header values.
Not found
func NewListRobotNotFound ¶
func NewListRobotNotFound() *ListRobotNotFound
NewListRobotNotFound creates a ListRobotNotFound with default headers values
func (*ListRobotNotFound) Code ¶
func (o *ListRobotNotFound) Code() int
Code gets the status code for the list robot not found response
func (*ListRobotNotFound) Error ¶
func (o *ListRobotNotFound) Error() string
func (*ListRobotNotFound) GetPayload ¶
func (o *ListRobotNotFound) GetPayload() *models.Errors
func (*ListRobotNotFound) IsClientError ¶
func (o *ListRobotNotFound) IsClientError() bool
IsClientError returns true when this list robot not found response has a 4xx status code
func (*ListRobotNotFound) IsCode ¶
func (o *ListRobotNotFound) IsCode(code int) bool
IsCode returns true when this list robot not found response a status code equal to that given
func (*ListRobotNotFound) IsRedirect ¶
func (o *ListRobotNotFound) IsRedirect() bool
IsRedirect returns true when this list robot not found response has a 3xx status code
func (*ListRobotNotFound) IsServerError ¶
func (o *ListRobotNotFound) IsServerError() bool
IsServerError returns true when this list robot not found response has a 5xx status code
func (*ListRobotNotFound) IsSuccess ¶
func (o *ListRobotNotFound) IsSuccess() bool
IsSuccess returns true when this list robot not found response has a 2xx status code
func (*ListRobotNotFound) String ¶
func (o *ListRobotNotFound) String() string
type ListRobotOK ¶
type ListRobotOK struct {
// Link refers to the previous page and next page
Link string
// The total count of robot accounts
XTotalCount int64
Payload []*models.Robot
}
ListRobotOK describes a response with status code 200, with default header values.
Success
func NewListRobotOK ¶
func NewListRobotOK() *ListRobotOK
NewListRobotOK creates a ListRobotOK with default headers values
func (*ListRobotOK) Code ¶
func (o *ListRobotOK) Code() int
Code gets the status code for the list robot o k response
func (*ListRobotOK) Error ¶
func (o *ListRobotOK) Error() string
func (*ListRobotOK) GetPayload ¶
func (o *ListRobotOK) GetPayload() []*models.Robot
func (*ListRobotOK) IsClientError ¶
func (o *ListRobotOK) IsClientError() bool
IsClientError returns true when this list robot o k response has a 4xx status code
func (*ListRobotOK) IsCode ¶
func (o *ListRobotOK) IsCode(code int) bool
IsCode returns true when this list robot o k response a status code equal to that given
func (*ListRobotOK) IsRedirect ¶
func (o *ListRobotOK) IsRedirect() bool
IsRedirect returns true when this list robot o k response has a 3xx status code
func (*ListRobotOK) IsServerError ¶
func (o *ListRobotOK) IsServerError() bool
IsServerError returns true when this list robot o k response has a 5xx status code
func (*ListRobotOK) IsSuccess ¶
func (o *ListRobotOK) IsSuccess() bool
IsSuccess returns true when this list robot o k response has a 2xx status code
func (*ListRobotOK) String ¶
func (o *ListRobotOK) String() string
type ListRobotParams ¶
type ListRobotParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// Page.
//
// The page number
//
// Format: int64
// Default: 1
Page *int64
// PageSize.
//
// The size of per page
//
// Format: int64
// Default: 10
PageSize *int64
// Q.
//
// Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
Q *string
// Sort.
//
// Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
Sort *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListRobotParams contains all the parameters to send to the API endpoint
for the list robot operation. Typically these are written to a http.Request.
func NewListRobotParams ¶
func NewListRobotParams() *ListRobotParams
NewListRobotParams creates a new ListRobotParams 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 NewListRobotParamsWithContext
deprecated
func NewListRobotParamsWithContext(ctx context.Context) *ListRobotParams
NewListRobotParamsWithContext creates a new ListRobotParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListRobotParams.
func NewListRobotParamsWithHTTPClient ¶
func NewListRobotParamsWithHTTPClient(client *http.Client) *ListRobotParams
NewListRobotParamsWithHTTPClient creates a new ListRobotParams object with the ability to set a custom HTTPClient for a request.
func NewListRobotParamsWithTimeout ¶
func NewListRobotParamsWithTimeout(timeout time.Duration) *ListRobotParams
NewListRobotParamsWithTimeout creates a new ListRobotParams object with the ability to set a timeout on a request.
func (*ListRobotParams) SetContext
deprecated
func (o *ListRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the list robot params.
Deprecated: use the operation call with context to pass the context instead of ListRobotParams.
func (*ListRobotParams) SetDefaults ¶
func (o *ListRobotParams) SetDefaults()
SetDefaults hydrates default values in the list robot params (not the query body).
All values with no default are reset to their zero value.
func (*ListRobotParams) SetHTTPClient ¶
func (o *ListRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list robot params.
func (*ListRobotParams) SetPage ¶
func (o *ListRobotParams) SetPage(page *int64)
SetPage adds the page to the list robot params.
func (*ListRobotParams) SetPageSize ¶
func (o *ListRobotParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list robot params.
func (*ListRobotParams) SetQ ¶
func (o *ListRobotParams) SetQ(q *string)
SetQ adds the q to the list robot params.
func (*ListRobotParams) SetSort ¶
func (o *ListRobotParams) SetSort(sort *string)
SetSort adds the sort to the list robot params.
func (*ListRobotParams) SetTimeout ¶
func (o *ListRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list robot params.
func (*ListRobotParams) SetXRequestID ¶
func (o *ListRobotParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list robot params.
func (*ListRobotParams) WithContext
deprecated
func (o *ListRobotParams) WithContext(ctx context.Context) *ListRobotParams
WithContext adds the context to the list robot params.
Deprecated: use the operation call with context to pass the context instead of ListRobotParams.
func (*ListRobotParams) WithDefaults ¶
func (o *ListRobotParams) WithDefaults() *ListRobotParams
WithDefaults hydrates default values in the list robot params (not the query body).
All values with no default are reset to their zero value.
func (*ListRobotParams) WithHTTPClient ¶
func (o *ListRobotParams) WithHTTPClient(client *http.Client) *ListRobotParams
WithHTTPClient adds the HTTPClient to the list robot params.
func (*ListRobotParams) WithPage ¶
func (o *ListRobotParams) WithPage(page *int64) *ListRobotParams
WithPage adds the page to the list robot params.
func (*ListRobotParams) WithPageSize ¶
func (o *ListRobotParams) WithPageSize(pageSize *int64) *ListRobotParams
WithPageSize adds the pageSize to the list robot params.
func (*ListRobotParams) WithQ ¶
func (o *ListRobotParams) WithQ(q *string) *ListRobotParams
WithQ adds the q to the list robot params.
func (*ListRobotParams) WithSort ¶
func (o *ListRobotParams) WithSort(sort *string) *ListRobotParams
WithSort adds the sort to the list robot params.
func (*ListRobotParams) WithTimeout ¶
func (o *ListRobotParams) WithTimeout(timeout time.Duration) *ListRobotParams
WithTimeout adds the timeout to the list robot params.
func (*ListRobotParams) WithXRequestID ¶
func (o *ListRobotParams) WithXRequestID(xRequestID *string) *ListRobotParams
WithXRequestID adds the xRequestID to the list robot params.
func (*ListRobotParams) WriteToRequest ¶
func (o *ListRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListRobotReader ¶
type ListRobotReader struct {
// contains filtered or unexported fields
}
ListRobotReader is a Reader for the ListRobot structure.
func (*ListRobotReader) ReadResponse ¶
func (o *ListRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RefreshSecBadRequest ¶
type RefreshSecBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
RefreshSecBadRequest describes a response with status code 400, with default header values.
Bad request
func NewRefreshSecBadRequest ¶
func NewRefreshSecBadRequest() *RefreshSecBadRequest
NewRefreshSecBadRequest creates a RefreshSecBadRequest with default headers values
func (*RefreshSecBadRequest) Code ¶
func (o *RefreshSecBadRequest) Code() int
Code gets the status code for the refresh sec bad request response
func (*RefreshSecBadRequest) Error ¶
func (o *RefreshSecBadRequest) Error() string
func (*RefreshSecBadRequest) GetPayload ¶
func (o *RefreshSecBadRequest) GetPayload() *models.Errors
func (*RefreshSecBadRequest) IsClientError ¶
func (o *RefreshSecBadRequest) IsClientError() bool
IsClientError returns true when this refresh sec bad request response has a 4xx status code
func (*RefreshSecBadRequest) IsCode ¶
func (o *RefreshSecBadRequest) IsCode(code int) bool
IsCode returns true when this refresh sec bad request response a status code equal to that given
func (*RefreshSecBadRequest) IsRedirect ¶
func (o *RefreshSecBadRequest) IsRedirect() bool
IsRedirect returns true when this refresh sec bad request response has a 3xx status code
func (*RefreshSecBadRequest) IsServerError ¶
func (o *RefreshSecBadRequest) IsServerError() bool
IsServerError returns true when this refresh sec bad request response has a 5xx status code
func (*RefreshSecBadRequest) IsSuccess ¶
func (o *RefreshSecBadRequest) IsSuccess() bool
IsSuccess returns true when this refresh sec bad request response has a 2xx status code
func (*RefreshSecBadRequest) String ¶
func (o *RefreshSecBadRequest) String() string
type RefreshSecForbidden ¶
type RefreshSecForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
RefreshSecForbidden describes a response with status code 403, with default header values.
Forbidden
func NewRefreshSecForbidden ¶
func NewRefreshSecForbidden() *RefreshSecForbidden
NewRefreshSecForbidden creates a RefreshSecForbidden with default headers values
func (*RefreshSecForbidden) Code ¶
func (o *RefreshSecForbidden) Code() int
Code gets the status code for the refresh sec forbidden response
func (*RefreshSecForbidden) Error ¶
func (o *RefreshSecForbidden) Error() string
func (*RefreshSecForbidden) GetPayload ¶
func (o *RefreshSecForbidden) GetPayload() *models.Errors
func (*RefreshSecForbidden) IsClientError ¶
func (o *RefreshSecForbidden) IsClientError() bool
IsClientError returns true when this refresh sec forbidden response has a 4xx status code
func (*RefreshSecForbidden) IsCode ¶
func (o *RefreshSecForbidden) IsCode(code int) bool
IsCode returns true when this refresh sec forbidden response a status code equal to that given
func (*RefreshSecForbidden) IsRedirect ¶
func (o *RefreshSecForbidden) IsRedirect() bool
IsRedirect returns true when this refresh sec forbidden response has a 3xx status code
func (*RefreshSecForbidden) IsServerError ¶
func (o *RefreshSecForbidden) IsServerError() bool
IsServerError returns true when this refresh sec forbidden response has a 5xx status code
func (*RefreshSecForbidden) IsSuccess ¶
func (o *RefreshSecForbidden) IsSuccess() bool
IsSuccess returns true when this refresh sec forbidden response has a 2xx status code
func (*RefreshSecForbidden) String ¶
func (o *RefreshSecForbidden) String() string
type RefreshSecInternalServerError ¶
type RefreshSecInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
RefreshSecInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewRefreshSecInternalServerError ¶
func NewRefreshSecInternalServerError() *RefreshSecInternalServerError
NewRefreshSecInternalServerError creates a RefreshSecInternalServerError with default headers values
func (*RefreshSecInternalServerError) Code ¶
func (o *RefreshSecInternalServerError) Code() int
Code gets the status code for the refresh sec internal server error response
func (*RefreshSecInternalServerError) Error ¶
func (o *RefreshSecInternalServerError) Error() string
func (*RefreshSecInternalServerError) GetPayload ¶
func (o *RefreshSecInternalServerError) GetPayload() *models.Errors
func (*RefreshSecInternalServerError) IsClientError ¶
func (o *RefreshSecInternalServerError) IsClientError() bool
IsClientError returns true when this refresh sec internal server error response has a 4xx status code
func (*RefreshSecInternalServerError) IsCode ¶
func (o *RefreshSecInternalServerError) IsCode(code int) bool
IsCode returns true when this refresh sec internal server error response a status code equal to that given
func (*RefreshSecInternalServerError) IsRedirect ¶
func (o *RefreshSecInternalServerError) IsRedirect() bool
IsRedirect returns true when this refresh sec internal server error response has a 3xx status code
func (*RefreshSecInternalServerError) IsServerError ¶
func (o *RefreshSecInternalServerError) IsServerError() bool
IsServerError returns true when this refresh sec internal server error response has a 5xx status code
func (*RefreshSecInternalServerError) IsSuccess ¶
func (o *RefreshSecInternalServerError) IsSuccess() bool
IsSuccess returns true when this refresh sec internal server error response has a 2xx status code
func (*RefreshSecInternalServerError) String ¶
func (o *RefreshSecInternalServerError) String() string
type RefreshSecNotFound ¶
type RefreshSecNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
RefreshSecNotFound describes a response with status code 404, with default header values.
Not found
func NewRefreshSecNotFound ¶
func NewRefreshSecNotFound() *RefreshSecNotFound
NewRefreshSecNotFound creates a RefreshSecNotFound with default headers values
func (*RefreshSecNotFound) Code ¶
func (o *RefreshSecNotFound) Code() int
Code gets the status code for the refresh sec not found response
func (*RefreshSecNotFound) Error ¶
func (o *RefreshSecNotFound) Error() string
func (*RefreshSecNotFound) GetPayload ¶
func (o *RefreshSecNotFound) GetPayload() *models.Errors
func (*RefreshSecNotFound) IsClientError ¶
func (o *RefreshSecNotFound) IsClientError() bool
IsClientError returns true when this refresh sec not found response has a 4xx status code
func (*RefreshSecNotFound) IsCode ¶
func (o *RefreshSecNotFound) IsCode(code int) bool
IsCode returns true when this refresh sec not found response a status code equal to that given
func (*RefreshSecNotFound) IsRedirect ¶
func (o *RefreshSecNotFound) IsRedirect() bool
IsRedirect returns true when this refresh sec not found response has a 3xx status code
func (*RefreshSecNotFound) IsServerError ¶
func (o *RefreshSecNotFound) IsServerError() bool
IsServerError returns true when this refresh sec not found response has a 5xx status code
func (*RefreshSecNotFound) IsSuccess ¶
func (o *RefreshSecNotFound) IsSuccess() bool
IsSuccess returns true when this refresh sec not found response has a 2xx status code
func (*RefreshSecNotFound) String ¶
func (o *RefreshSecNotFound) String() string
type RefreshSecOK ¶
RefreshSecOK describes a response with status code 200, with default header values.
Return refreshed robot sec.
func NewRefreshSecOK ¶
func NewRefreshSecOK() *RefreshSecOK
NewRefreshSecOK creates a RefreshSecOK with default headers values
func (*RefreshSecOK) Code ¶
func (o *RefreshSecOK) Code() int
Code gets the status code for the refresh sec o k response
func (*RefreshSecOK) Error ¶
func (o *RefreshSecOK) Error() string
func (*RefreshSecOK) GetPayload ¶
func (o *RefreshSecOK) GetPayload() *models.RobotSec
func (*RefreshSecOK) IsClientError ¶
func (o *RefreshSecOK) IsClientError() bool
IsClientError returns true when this refresh sec o k response has a 4xx status code
func (*RefreshSecOK) IsCode ¶
func (o *RefreshSecOK) IsCode(code int) bool
IsCode returns true when this refresh sec o k response a status code equal to that given
func (*RefreshSecOK) IsRedirect ¶
func (o *RefreshSecOK) IsRedirect() bool
IsRedirect returns true when this refresh sec o k response has a 3xx status code
func (*RefreshSecOK) IsServerError ¶
func (o *RefreshSecOK) IsServerError() bool
IsServerError returns true when this refresh sec o k response has a 5xx status code
func (*RefreshSecOK) IsSuccess ¶
func (o *RefreshSecOK) IsSuccess() bool
IsSuccess returns true when this refresh sec o k response has a 2xx status code
func (*RefreshSecOK) String ¶
func (o *RefreshSecOK) String() string
type RefreshSecParams ¶
type RefreshSecParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// RobotSec.
//
// The JSON object of a robot account.
RobotSec *models.RobotSec
// RobotID.
//
// Robot ID
RobotID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
RefreshSecParams contains all the parameters to send to the API endpoint
for the refresh sec operation. Typically these are written to a http.Request.
func NewRefreshSecParams ¶
func NewRefreshSecParams() *RefreshSecParams
NewRefreshSecParams creates a new RefreshSecParams 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 NewRefreshSecParamsWithContext
deprecated
func NewRefreshSecParamsWithContext(ctx context.Context) *RefreshSecParams
NewRefreshSecParamsWithContext creates a new RefreshSecParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of RefreshSecParams.
func NewRefreshSecParamsWithHTTPClient ¶
func NewRefreshSecParamsWithHTTPClient(client *http.Client) *RefreshSecParams
NewRefreshSecParamsWithHTTPClient creates a new RefreshSecParams object with the ability to set a custom HTTPClient for a request.
func NewRefreshSecParamsWithTimeout ¶
func NewRefreshSecParamsWithTimeout(timeout time.Duration) *RefreshSecParams
NewRefreshSecParamsWithTimeout creates a new RefreshSecParams object with the ability to set a timeout on a request.
func (*RefreshSecParams) SetContext
deprecated
func (o *RefreshSecParams) SetContext(ctx context.Context)
SetContext adds the context to the refresh sec params.
Deprecated: use the operation call with context to pass the context instead of RefreshSecParams.
func (*RefreshSecParams) SetDefaults ¶
func (o *RefreshSecParams) SetDefaults()
SetDefaults hydrates default values in the refresh sec params (not the query body).
All values with no default are reset to their zero value.
func (*RefreshSecParams) SetHTTPClient ¶
func (o *RefreshSecParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the refresh sec params.
func (*RefreshSecParams) SetRobotID ¶
func (o *RefreshSecParams) SetRobotID(robotID int64)
SetRobotID adds the robotId to the refresh sec params.
func (*RefreshSecParams) SetRobotSec ¶
func (o *RefreshSecParams) SetRobotSec(robotSec *models.RobotSec)
SetRobotSec adds the robotSec to the refresh sec params.
func (*RefreshSecParams) SetTimeout ¶
func (o *RefreshSecParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the refresh sec params.
func (*RefreshSecParams) SetXRequestID ¶
func (o *RefreshSecParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the refresh sec params.
func (*RefreshSecParams) WithContext
deprecated
func (o *RefreshSecParams) WithContext(ctx context.Context) *RefreshSecParams
WithContext adds the context to the refresh sec params.
Deprecated: use the operation call with context to pass the context instead of RefreshSecParams.
func (*RefreshSecParams) WithDefaults ¶
func (o *RefreshSecParams) WithDefaults() *RefreshSecParams
WithDefaults hydrates default values in the refresh sec params (not the query body).
All values with no default are reset to their zero value.
func (*RefreshSecParams) WithHTTPClient ¶
func (o *RefreshSecParams) WithHTTPClient(client *http.Client) *RefreshSecParams
WithHTTPClient adds the HTTPClient to the refresh sec params.
func (*RefreshSecParams) WithRobotID ¶
func (o *RefreshSecParams) WithRobotID(robotID int64) *RefreshSecParams
WithRobotID adds the robotID to the refresh sec params.
func (*RefreshSecParams) WithRobotSec ¶
func (o *RefreshSecParams) WithRobotSec(robotSec *models.RobotSec) *RefreshSecParams
WithRobotSec adds the robotSec to the refresh sec params.
func (*RefreshSecParams) WithTimeout ¶
func (o *RefreshSecParams) WithTimeout(timeout time.Duration) *RefreshSecParams
WithTimeout adds the timeout to the refresh sec params.
func (*RefreshSecParams) WithXRequestID ¶
func (o *RefreshSecParams) WithXRequestID(xRequestID *string) *RefreshSecParams
WithXRequestID adds the xRequestID to the refresh sec params.
func (*RefreshSecParams) WriteToRequest ¶
func (o *RefreshSecParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type RefreshSecReader ¶
type RefreshSecReader struct {
// contains filtered or unexported fields
}
RefreshSecReader is a Reader for the RefreshSec structure.
func (*RefreshSecReader) ReadResponse ¶
func (o *RefreshSecReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type RefreshSecUnauthorized ¶
type RefreshSecUnauthorized struct {
XRequestID string
}
RefreshSecUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewRefreshSecUnauthorized ¶
func NewRefreshSecUnauthorized() *RefreshSecUnauthorized
NewRefreshSecUnauthorized creates a RefreshSecUnauthorized with default headers values
func (*RefreshSecUnauthorized) Code ¶
func (o *RefreshSecUnauthorized) Code() int
Code gets the status code for the refresh sec unauthorized response
func (*RefreshSecUnauthorized) Error ¶
func (o *RefreshSecUnauthorized) Error() string
func (*RefreshSecUnauthorized) GetPayload ¶
func (o *RefreshSecUnauthorized) GetPayload() *models.Errors
func (*RefreshSecUnauthorized) IsClientError ¶
func (o *RefreshSecUnauthorized) IsClientError() bool
IsClientError returns true when this refresh sec unauthorized response has a 4xx status code
func (*RefreshSecUnauthorized) IsCode ¶
func (o *RefreshSecUnauthorized) IsCode(code int) bool
IsCode returns true when this refresh sec unauthorized response a status code equal to that given
func (*RefreshSecUnauthorized) IsRedirect ¶
func (o *RefreshSecUnauthorized) IsRedirect() bool
IsRedirect returns true when this refresh sec unauthorized response has a 3xx status code
func (*RefreshSecUnauthorized) IsServerError ¶
func (o *RefreshSecUnauthorized) IsServerError() bool
IsServerError returns true when this refresh sec unauthorized response has a 5xx status code
func (*RefreshSecUnauthorized) IsSuccess ¶
func (o *RefreshSecUnauthorized) IsSuccess() bool
IsSuccess returns true when this refresh sec unauthorized response has a 2xx status code
func (*RefreshSecUnauthorized) String ¶
func (o *RefreshSecUnauthorized) String() string
type UpdateRobotBadRequest ¶
type UpdateRobotBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRobotBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateRobotBadRequest ¶
func NewUpdateRobotBadRequest() *UpdateRobotBadRequest
NewUpdateRobotBadRequest creates a UpdateRobotBadRequest with default headers values
func (*UpdateRobotBadRequest) Code ¶
func (o *UpdateRobotBadRequest) Code() int
Code gets the status code for the update robot bad request response
func (*UpdateRobotBadRequest) Error ¶
func (o *UpdateRobotBadRequest) Error() string
func (*UpdateRobotBadRequest) GetPayload ¶
func (o *UpdateRobotBadRequest) GetPayload() *models.Errors
func (*UpdateRobotBadRequest) IsClientError ¶
func (o *UpdateRobotBadRequest) IsClientError() bool
IsClientError returns true when this update robot bad request response has a 4xx status code
func (*UpdateRobotBadRequest) IsCode ¶
func (o *UpdateRobotBadRequest) IsCode(code int) bool
IsCode returns true when this update robot bad request response a status code equal to that given
func (*UpdateRobotBadRequest) IsRedirect ¶
func (o *UpdateRobotBadRequest) IsRedirect() bool
IsRedirect returns true when this update robot bad request response has a 3xx status code
func (*UpdateRobotBadRequest) IsServerError ¶
func (o *UpdateRobotBadRequest) IsServerError() bool
IsServerError returns true when this update robot bad request response has a 5xx status code
func (*UpdateRobotBadRequest) IsSuccess ¶
func (o *UpdateRobotBadRequest) IsSuccess() bool
IsSuccess returns true when this update robot bad request response has a 2xx status code
func (*UpdateRobotBadRequest) String ¶
func (o *UpdateRobotBadRequest) String() string
type UpdateRobotConflict ¶
type UpdateRobotConflict struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRobotConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateRobotConflict ¶
func NewUpdateRobotConflict() *UpdateRobotConflict
NewUpdateRobotConflict creates a UpdateRobotConflict with default headers values
func (*UpdateRobotConflict) Code ¶
func (o *UpdateRobotConflict) Code() int
Code gets the status code for the update robot conflict response
func (*UpdateRobotConflict) Error ¶
func (o *UpdateRobotConflict) Error() string
func (*UpdateRobotConflict) GetPayload ¶
func (o *UpdateRobotConflict) GetPayload() *models.Errors
func (*UpdateRobotConflict) IsClientError ¶
func (o *UpdateRobotConflict) IsClientError() bool
IsClientError returns true when this update robot conflict response has a 4xx status code
func (*UpdateRobotConflict) IsCode ¶
func (o *UpdateRobotConflict) IsCode(code int) bool
IsCode returns true when this update robot conflict response a status code equal to that given
func (*UpdateRobotConflict) IsRedirect ¶
func (o *UpdateRobotConflict) IsRedirect() bool
IsRedirect returns true when this update robot conflict response has a 3xx status code
func (*UpdateRobotConflict) IsServerError ¶
func (o *UpdateRobotConflict) IsServerError() bool
IsServerError returns true when this update robot conflict response has a 5xx status code
func (*UpdateRobotConflict) IsSuccess ¶
func (o *UpdateRobotConflict) IsSuccess() bool
IsSuccess returns true when this update robot conflict response has a 2xx status code
func (*UpdateRobotConflict) String ¶
func (o *UpdateRobotConflict) String() string
type UpdateRobotForbidden ¶
type UpdateRobotForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRobotForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateRobotForbidden ¶
func NewUpdateRobotForbidden() *UpdateRobotForbidden
NewUpdateRobotForbidden creates a UpdateRobotForbidden with default headers values
func (*UpdateRobotForbidden) Code ¶
func (o *UpdateRobotForbidden) Code() int
Code gets the status code for the update robot forbidden response
func (*UpdateRobotForbidden) Error ¶
func (o *UpdateRobotForbidden) Error() string
func (*UpdateRobotForbidden) GetPayload ¶
func (o *UpdateRobotForbidden) GetPayload() *models.Errors
func (*UpdateRobotForbidden) IsClientError ¶
func (o *UpdateRobotForbidden) IsClientError() bool
IsClientError returns true when this update robot forbidden response has a 4xx status code
func (*UpdateRobotForbidden) IsCode ¶
func (o *UpdateRobotForbidden) IsCode(code int) bool
IsCode returns true when this update robot forbidden response a status code equal to that given
func (*UpdateRobotForbidden) IsRedirect ¶
func (o *UpdateRobotForbidden) IsRedirect() bool
IsRedirect returns true when this update robot forbidden response has a 3xx status code
func (*UpdateRobotForbidden) IsServerError ¶
func (o *UpdateRobotForbidden) IsServerError() bool
IsServerError returns true when this update robot forbidden response has a 5xx status code
func (*UpdateRobotForbidden) IsSuccess ¶
func (o *UpdateRobotForbidden) IsSuccess() bool
IsSuccess returns true when this update robot forbidden response has a 2xx status code
func (*UpdateRobotForbidden) String ¶
func (o *UpdateRobotForbidden) String() string
type UpdateRobotInternalServerError ¶
type UpdateRobotInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRobotInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateRobotInternalServerError ¶
func NewUpdateRobotInternalServerError() *UpdateRobotInternalServerError
NewUpdateRobotInternalServerError creates a UpdateRobotInternalServerError with default headers values
func (*UpdateRobotInternalServerError) Code ¶
func (o *UpdateRobotInternalServerError) Code() int
Code gets the status code for the update robot internal server error response
func (*UpdateRobotInternalServerError) Error ¶
func (o *UpdateRobotInternalServerError) Error() string
func (*UpdateRobotInternalServerError) GetPayload ¶
func (o *UpdateRobotInternalServerError) GetPayload() *models.Errors
func (*UpdateRobotInternalServerError) IsClientError ¶
func (o *UpdateRobotInternalServerError) IsClientError() bool
IsClientError returns true when this update robot internal server error response has a 4xx status code
func (*UpdateRobotInternalServerError) IsCode ¶
func (o *UpdateRobotInternalServerError) IsCode(code int) bool
IsCode returns true when this update robot internal server error response a status code equal to that given
func (*UpdateRobotInternalServerError) IsRedirect ¶
func (o *UpdateRobotInternalServerError) IsRedirect() bool
IsRedirect returns true when this update robot internal server error response has a 3xx status code
func (*UpdateRobotInternalServerError) IsServerError ¶
func (o *UpdateRobotInternalServerError) IsServerError() bool
IsServerError returns true when this update robot internal server error response has a 5xx status code
func (*UpdateRobotInternalServerError) IsSuccess ¶
func (o *UpdateRobotInternalServerError) IsSuccess() bool
IsSuccess returns true when this update robot internal server error response has a 2xx status code
func (*UpdateRobotInternalServerError) String ¶
func (o *UpdateRobotInternalServerError) String() string
type UpdateRobotNotFound ¶
type UpdateRobotNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRobotNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateRobotNotFound ¶
func NewUpdateRobotNotFound() *UpdateRobotNotFound
NewUpdateRobotNotFound creates a UpdateRobotNotFound with default headers values
func (*UpdateRobotNotFound) Code ¶
func (o *UpdateRobotNotFound) Code() int
Code gets the status code for the update robot not found response
func (*UpdateRobotNotFound) Error ¶
func (o *UpdateRobotNotFound) Error() string
func (*UpdateRobotNotFound) GetPayload ¶
func (o *UpdateRobotNotFound) GetPayload() *models.Errors
func (*UpdateRobotNotFound) IsClientError ¶
func (o *UpdateRobotNotFound) IsClientError() bool
IsClientError returns true when this update robot not found response has a 4xx status code
func (*UpdateRobotNotFound) IsCode ¶
func (o *UpdateRobotNotFound) IsCode(code int) bool
IsCode returns true when this update robot not found response a status code equal to that given
func (*UpdateRobotNotFound) IsRedirect ¶
func (o *UpdateRobotNotFound) IsRedirect() bool
IsRedirect returns true when this update robot not found response has a 3xx status code
func (*UpdateRobotNotFound) IsServerError ¶
func (o *UpdateRobotNotFound) IsServerError() bool
IsServerError returns true when this update robot not found response has a 5xx status code
func (*UpdateRobotNotFound) IsSuccess ¶
func (o *UpdateRobotNotFound) IsSuccess() bool
IsSuccess returns true when this update robot not found response has a 2xx status code
func (*UpdateRobotNotFound) String ¶
func (o *UpdateRobotNotFound) String() string
type UpdateRobotOK ¶
type UpdateRobotOK struct {
// The ID of the corresponding request for the response
XRequestID string
}
UpdateRobotOK describes a response with status code 200, with default header values.
Success
func NewUpdateRobotOK ¶
func NewUpdateRobotOK() *UpdateRobotOK
NewUpdateRobotOK creates a UpdateRobotOK with default headers values
func (*UpdateRobotOK) Code ¶
func (o *UpdateRobotOK) Code() int
Code gets the status code for the update robot o k response
func (*UpdateRobotOK) Error ¶
func (o *UpdateRobotOK) Error() string
func (*UpdateRobotOK) IsClientError ¶
func (o *UpdateRobotOK) IsClientError() bool
IsClientError returns true when this update robot o k response has a 4xx status code
func (*UpdateRobotOK) IsCode ¶
func (o *UpdateRobotOK) IsCode(code int) bool
IsCode returns true when this update robot o k response a status code equal to that given
func (*UpdateRobotOK) IsRedirect ¶
func (o *UpdateRobotOK) IsRedirect() bool
IsRedirect returns true when this update robot o k response has a 3xx status code
func (*UpdateRobotOK) IsServerError ¶
func (o *UpdateRobotOK) IsServerError() bool
IsServerError returns true when this update robot o k response has a 5xx status code
func (*UpdateRobotOK) IsSuccess ¶
func (o *UpdateRobotOK) IsSuccess() bool
IsSuccess returns true when this update robot o k response has a 2xx status code
func (*UpdateRobotOK) String ¶
func (o *UpdateRobotOK) String() string
type UpdateRobotParams ¶
type UpdateRobotParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// Robot.
//
// The JSON object of a robot account.
Robot *models.Robot
// RobotID.
//
// Robot ID
RobotID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateRobotParams contains all the parameters to send to the API endpoint
for the update robot operation. Typically these are written to a http.Request.
func NewUpdateRobotParams ¶
func NewUpdateRobotParams() *UpdateRobotParams
NewUpdateRobotParams creates a new UpdateRobotParams 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 NewUpdateRobotParamsWithContext
deprecated
func NewUpdateRobotParamsWithContext(ctx context.Context) *UpdateRobotParams
NewUpdateRobotParamsWithContext creates a new UpdateRobotParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of UpdateRobotParams.
func NewUpdateRobotParamsWithHTTPClient ¶
func NewUpdateRobotParamsWithHTTPClient(client *http.Client) *UpdateRobotParams
NewUpdateRobotParamsWithHTTPClient creates a new UpdateRobotParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRobotParamsWithTimeout ¶
func NewUpdateRobotParamsWithTimeout(timeout time.Duration) *UpdateRobotParams
NewUpdateRobotParamsWithTimeout creates a new UpdateRobotParams object with the ability to set a timeout on a request.
func (*UpdateRobotParams) SetContext
deprecated
func (o *UpdateRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the update robot params.
Deprecated: use the operation call with context to pass the context instead of UpdateRobotParams.
func (*UpdateRobotParams) SetDefaults ¶
func (o *UpdateRobotParams) SetDefaults()
SetDefaults hydrates default values in the update robot params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRobotParams) SetHTTPClient ¶
func (o *UpdateRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update robot params.
func (*UpdateRobotParams) SetRobot ¶
func (o *UpdateRobotParams) SetRobot(robot *models.Robot)
SetRobot adds the robot to the update robot params.
func (*UpdateRobotParams) SetRobotID ¶
func (o *UpdateRobotParams) SetRobotID(robotID int64)
SetRobotID adds the robotId to the update robot params.
func (*UpdateRobotParams) SetTimeout ¶
func (o *UpdateRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update robot params.
func (*UpdateRobotParams) SetXRequestID ¶
func (o *UpdateRobotParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update robot params.
func (*UpdateRobotParams) WithContext
deprecated
func (o *UpdateRobotParams) WithContext(ctx context.Context) *UpdateRobotParams
WithContext adds the context to the update robot params.
Deprecated: use the operation call with context to pass the context instead of UpdateRobotParams.
func (*UpdateRobotParams) WithDefaults ¶
func (o *UpdateRobotParams) WithDefaults() *UpdateRobotParams
WithDefaults hydrates default values in the update robot params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRobotParams) WithHTTPClient ¶
func (o *UpdateRobotParams) WithHTTPClient(client *http.Client) *UpdateRobotParams
WithHTTPClient adds the HTTPClient to the update robot params.
func (*UpdateRobotParams) WithRobot ¶
func (o *UpdateRobotParams) WithRobot(robot *models.Robot) *UpdateRobotParams
WithRobot adds the robot to the update robot params.
func (*UpdateRobotParams) WithRobotID ¶
func (o *UpdateRobotParams) WithRobotID(robotID int64) *UpdateRobotParams
WithRobotID adds the robotID to the update robot params.
func (*UpdateRobotParams) WithTimeout ¶
func (o *UpdateRobotParams) WithTimeout(timeout time.Duration) *UpdateRobotParams
WithTimeout adds the timeout to the update robot params.
func (*UpdateRobotParams) WithXRequestID ¶
func (o *UpdateRobotParams) WithXRequestID(xRequestID *string) *UpdateRobotParams
WithXRequestID adds the xRequestID to the update robot params.
func (*UpdateRobotParams) WriteToRequest ¶
func (o *UpdateRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type UpdateRobotReader ¶
type UpdateRobotReader struct {
// contains filtered or unexported fields
}
UpdateRobotReader is a Reader for the UpdateRobot structure.
func (*UpdateRobotReader) ReadResponse ¶
func (o *UpdateRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateRobotUnauthorized ¶
type UpdateRobotUnauthorized struct {
XRequestID string
}
UpdateRobotUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateRobotUnauthorized ¶
func NewUpdateRobotUnauthorized() *UpdateRobotUnauthorized
NewUpdateRobotUnauthorized creates a UpdateRobotUnauthorized with default headers values
func (*UpdateRobotUnauthorized) Code ¶
func (o *UpdateRobotUnauthorized) Code() int
Code gets the status code for the update robot unauthorized response
func (*UpdateRobotUnauthorized) Error ¶
func (o *UpdateRobotUnauthorized) Error() string
func (*UpdateRobotUnauthorized) GetPayload ¶
func (o *UpdateRobotUnauthorized) GetPayload() *models.Errors
func (*UpdateRobotUnauthorized) IsClientError ¶
func (o *UpdateRobotUnauthorized) IsClientError() bool
IsClientError returns true when this update robot unauthorized response has a 4xx status code
func (*UpdateRobotUnauthorized) IsCode ¶
func (o *UpdateRobotUnauthorized) IsCode(code int) bool
IsCode returns true when this update robot unauthorized response a status code equal to that given
func (*UpdateRobotUnauthorized) IsRedirect ¶
func (o *UpdateRobotUnauthorized) IsRedirect() bool
IsRedirect returns true when this update robot unauthorized response has a 3xx status code
func (*UpdateRobotUnauthorized) IsServerError ¶
func (o *UpdateRobotUnauthorized) IsServerError() bool
IsServerError returns true when this update robot unauthorized response has a 5xx status code
func (*UpdateRobotUnauthorized) IsSuccess ¶
func (o *UpdateRobotUnauthorized) IsSuccess() bool
IsSuccess returns true when this update robot unauthorized response has a 2xx status code
func (*UpdateRobotUnauthorized) String ¶
func (o *UpdateRobotUnauthorized) String() string
Source Files
¶
- create_robot_parameters.go
- create_robot_responses.go
- delete_robot_parameters.go
- delete_robot_responses.go
- get_robot_by_id_parameters.go
- get_robot_by_id_responses.go
- list_robot_parameters.go
- list_robot_responses.go
- refresh_sec_parameters.go
- refresh_sec_responses.go
- robot_client.go
- update_robot_parameters.go
- update_robot_responses.go