Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateOrgRobot(params *CreateOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOrgRobotOK, error)
- func (a *Client) CreateUserRobot(params *CreateUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserRobotOK, error)
- func (a *Client) DeleteOrgRobot(params *DeleteOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrgRobotNoContent, error)
- func (a *Client) DeleteUserRobot(params *DeleteUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRobotNoContent, error)
- func (a *Client) GetOrgRobot(params *GetOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotOK, error)
- func (a *Client) GetOrgRobotPermissions(params *GetOrgRobotPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotPermissionsOK, error)
- func (a *Client) GetOrgRobots(params *GetOrgRobotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotsOK, error)
- func (a *Client) GetUserRobot(params *GetUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotOK, error)
- func (a *Client) GetUserRobotPermissions(params *GetUserRobotPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotPermissionsOK, error)
- func (a *Client) GetUserRobots(params *GetUserRobotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotsOK, error)
- func (a *Client) RegenerateOrgRobotToken(params *RegenerateOrgRobotTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RegenerateOrgRobotTokenCreated, error)
- func (a *Client) RegenerateUserRobotToken(params *RegenerateUserRobotTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RegenerateUserRobotTokenCreated, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type CreateOrgRobotBadRequest
- type CreateOrgRobotForbidden
- type CreateOrgRobotNotFound
- type CreateOrgRobotOK
- type CreateOrgRobotParams
- func NewCreateOrgRobotParams() *CreateOrgRobotParams
- func NewCreateOrgRobotParamsWithContext(ctx context.Context) *CreateOrgRobotParams
- func NewCreateOrgRobotParamsWithHTTPClient(client *http.Client) *CreateOrgRobotParams
- func NewCreateOrgRobotParamsWithTimeout(timeout time.Duration) *CreateOrgRobotParams
- func (o *CreateOrgRobotParams) SetBody(body *models.CreateRobot)
- func (o *CreateOrgRobotParams) SetContext(ctx context.Context)
- func (o *CreateOrgRobotParams) SetHTTPClient(client *http.Client)
- func (o *CreateOrgRobotParams) SetOrgname(orgname string)
- func (o *CreateOrgRobotParams) SetRobotShortname(robotShortname string)
- func (o *CreateOrgRobotParams) SetTimeout(timeout time.Duration)
- func (o *CreateOrgRobotParams) WithBody(body *models.CreateRobot) *CreateOrgRobotParams
- func (o *CreateOrgRobotParams) WithContext(ctx context.Context) *CreateOrgRobotParams
- func (o *CreateOrgRobotParams) WithHTTPClient(client *http.Client) *CreateOrgRobotParams
- func (o *CreateOrgRobotParams) WithOrgname(orgname string) *CreateOrgRobotParams
- func (o *CreateOrgRobotParams) WithRobotShortname(robotShortname string) *CreateOrgRobotParams
- func (o *CreateOrgRobotParams) WithTimeout(timeout time.Duration) *CreateOrgRobotParams
- func (o *CreateOrgRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOrgRobotReader
- type CreateOrgRobotUnauthorized
- type CreateUserRobotBadRequest
- type CreateUserRobotForbidden
- type CreateUserRobotNotFound
- type CreateUserRobotOK
- type CreateUserRobotParams
- func NewCreateUserRobotParams() *CreateUserRobotParams
- func NewCreateUserRobotParamsWithContext(ctx context.Context) *CreateUserRobotParams
- func NewCreateUserRobotParamsWithHTTPClient(client *http.Client) *CreateUserRobotParams
- func NewCreateUserRobotParamsWithTimeout(timeout time.Duration) *CreateUserRobotParams
- func (o *CreateUserRobotParams) SetBody(body *models.CreateRobot)
- func (o *CreateUserRobotParams) SetContext(ctx context.Context)
- func (o *CreateUserRobotParams) SetHTTPClient(client *http.Client)
- func (o *CreateUserRobotParams) SetRobotShortname(robotShortname string)
- func (o *CreateUserRobotParams) SetTimeout(timeout time.Duration)
- func (o *CreateUserRobotParams) WithBody(body *models.CreateRobot) *CreateUserRobotParams
- func (o *CreateUserRobotParams) WithContext(ctx context.Context) *CreateUserRobotParams
- func (o *CreateUserRobotParams) WithHTTPClient(client *http.Client) *CreateUserRobotParams
- func (o *CreateUserRobotParams) WithRobotShortname(robotShortname string) *CreateUserRobotParams
- func (o *CreateUserRobotParams) WithTimeout(timeout time.Duration) *CreateUserRobotParams
- func (o *CreateUserRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateUserRobotReader
- type CreateUserRobotUnauthorized
- type DeleteOrgRobotBadRequest
- type DeleteOrgRobotForbidden
- type DeleteOrgRobotNoContent
- type DeleteOrgRobotNotFound
- type DeleteOrgRobotParams
- func NewDeleteOrgRobotParams() *DeleteOrgRobotParams
- func NewDeleteOrgRobotParamsWithContext(ctx context.Context) *DeleteOrgRobotParams
- func NewDeleteOrgRobotParamsWithHTTPClient(client *http.Client) *DeleteOrgRobotParams
- func NewDeleteOrgRobotParamsWithTimeout(timeout time.Duration) *DeleteOrgRobotParams
- func (o *DeleteOrgRobotParams) SetContext(ctx context.Context)
- func (o *DeleteOrgRobotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteOrgRobotParams) SetOrgname(orgname string)
- func (o *DeleteOrgRobotParams) SetRobotShortname(robotShortname string)
- func (o *DeleteOrgRobotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteOrgRobotParams) WithContext(ctx context.Context) *DeleteOrgRobotParams
- func (o *DeleteOrgRobotParams) WithHTTPClient(client *http.Client) *DeleteOrgRobotParams
- func (o *DeleteOrgRobotParams) WithOrgname(orgname string) *DeleteOrgRobotParams
- func (o *DeleteOrgRobotParams) WithRobotShortname(robotShortname string) *DeleteOrgRobotParams
- func (o *DeleteOrgRobotParams) WithTimeout(timeout time.Duration) *DeleteOrgRobotParams
- func (o *DeleteOrgRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteOrgRobotReader
- type DeleteOrgRobotUnauthorized
- type DeleteUserRobotBadRequest
- type DeleteUserRobotForbidden
- type DeleteUserRobotNoContent
- type DeleteUserRobotNotFound
- type DeleteUserRobotParams
- func NewDeleteUserRobotParams() *DeleteUserRobotParams
- func NewDeleteUserRobotParamsWithContext(ctx context.Context) *DeleteUserRobotParams
- func NewDeleteUserRobotParamsWithHTTPClient(client *http.Client) *DeleteUserRobotParams
- func NewDeleteUserRobotParamsWithTimeout(timeout time.Duration) *DeleteUserRobotParams
- func (o *DeleteUserRobotParams) SetContext(ctx context.Context)
- func (o *DeleteUserRobotParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserRobotParams) SetRobotShortname(robotShortname string)
- func (o *DeleteUserRobotParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserRobotParams) WithContext(ctx context.Context) *DeleteUserRobotParams
- func (o *DeleteUserRobotParams) WithHTTPClient(client *http.Client) *DeleteUserRobotParams
- func (o *DeleteUserRobotParams) WithRobotShortname(robotShortname string) *DeleteUserRobotParams
- func (o *DeleteUserRobotParams) WithTimeout(timeout time.Duration) *DeleteUserRobotParams
- func (o *DeleteUserRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserRobotReader
- type DeleteUserRobotUnauthorized
- type GetOrgRobotBadRequest
- type GetOrgRobotForbidden
- type GetOrgRobotNotFound
- type GetOrgRobotOK
- type GetOrgRobotParams
- func (o *GetOrgRobotParams) SetContext(ctx context.Context)
- func (o *GetOrgRobotParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgRobotParams) SetOrgname(orgname string)
- func (o *GetOrgRobotParams) SetRobotShortname(robotShortname string)
- func (o *GetOrgRobotParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgRobotParams) WithContext(ctx context.Context) *GetOrgRobotParams
- func (o *GetOrgRobotParams) WithHTTPClient(client *http.Client) *GetOrgRobotParams
- func (o *GetOrgRobotParams) WithOrgname(orgname string) *GetOrgRobotParams
- func (o *GetOrgRobotParams) WithRobotShortname(robotShortname string) *GetOrgRobotParams
- func (o *GetOrgRobotParams) WithTimeout(timeout time.Duration) *GetOrgRobotParams
- func (o *GetOrgRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgRobotPermissionsBadRequest
- type GetOrgRobotPermissionsForbidden
- type GetOrgRobotPermissionsNotFound
- type GetOrgRobotPermissionsOK
- type GetOrgRobotPermissionsParams
- func NewGetOrgRobotPermissionsParams() *GetOrgRobotPermissionsParams
- func NewGetOrgRobotPermissionsParamsWithContext(ctx context.Context) *GetOrgRobotPermissionsParams
- func NewGetOrgRobotPermissionsParamsWithHTTPClient(client *http.Client) *GetOrgRobotPermissionsParams
- func NewGetOrgRobotPermissionsParamsWithTimeout(timeout time.Duration) *GetOrgRobotPermissionsParams
- func (o *GetOrgRobotPermissionsParams) SetContext(ctx context.Context)
- func (o *GetOrgRobotPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgRobotPermissionsParams) SetOrgname(orgname string)
- func (o *GetOrgRobotPermissionsParams) SetRobotShortname(robotShortname string)
- func (o *GetOrgRobotPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgRobotPermissionsParams) WithContext(ctx context.Context) *GetOrgRobotPermissionsParams
- func (o *GetOrgRobotPermissionsParams) WithHTTPClient(client *http.Client) *GetOrgRobotPermissionsParams
- func (o *GetOrgRobotPermissionsParams) WithOrgname(orgname string) *GetOrgRobotPermissionsParams
- func (o *GetOrgRobotPermissionsParams) WithRobotShortname(robotShortname string) *GetOrgRobotPermissionsParams
- func (o *GetOrgRobotPermissionsParams) WithTimeout(timeout time.Duration) *GetOrgRobotPermissionsParams
- func (o *GetOrgRobotPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgRobotPermissionsReader
- type GetOrgRobotPermissionsUnauthorized
- type GetOrgRobotReader
- type GetOrgRobotUnauthorized
- type GetOrgRobotsBadRequest
- type GetOrgRobotsForbidden
- type GetOrgRobotsNotFound
- type GetOrgRobotsOK
- type GetOrgRobotsParams
- func (o *GetOrgRobotsParams) SetContext(ctx context.Context)
- func (o *GetOrgRobotsParams) SetHTTPClient(client *http.Client)
- func (o *GetOrgRobotsParams) SetLimit(limit *int64)
- func (o *GetOrgRobotsParams) SetOrgname(orgname string)
- func (o *GetOrgRobotsParams) SetPermissions(permissions *bool)
- func (o *GetOrgRobotsParams) SetTimeout(timeout time.Duration)
- func (o *GetOrgRobotsParams) SetToken(token *bool)
- func (o *GetOrgRobotsParams) WithContext(ctx context.Context) *GetOrgRobotsParams
- func (o *GetOrgRobotsParams) WithHTTPClient(client *http.Client) *GetOrgRobotsParams
- func (o *GetOrgRobotsParams) WithLimit(limit *int64) *GetOrgRobotsParams
- func (o *GetOrgRobotsParams) WithOrgname(orgname string) *GetOrgRobotsParams
- func (o *GetOrgRobotsParams) WithPermissions(permissions *bool) *GetOrgRobotsParams
- func (o *GetOrgRobotsParams) WithTimeout(timeout time.Duration) *GetOrgRobotsParams
- func (o *GetOrgRobotsParams) WithToken(token *bool) *GetOrgRobotsParams
- func (o *GetOrgRobotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrgRobotsReader
- type GetOrgRobotsUnauthorized
- type GetUserRobotBadRequest
- type GetUserRobotForbidden
- type GetUserRobotNotFound
- type GetUserRobotOK
- type GetUserRobotParams
- func (o *GetUserRobotParams) SetContext(ctx context.Context)
- func (o *GetUserRobotParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRobotParams) SetRobotShortname(robotShortname string)
- func (o *GetUserRobotParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRobotParams) WithContext(ctx context.Context) *GetUserRobotParams
- func (o *GetUserRobotParams) WithHTTPClient(client *http.Client) *GetUserRobotParams
- func (o *GetUserRobotParams) WithRobotShortname(robotShortname string) *GetUserRobotParams
- func (o *GetUserRobotParams) WithTimeout(timeout time.Duration) *GetUserRobotParams
- func (o *GetUserRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRobotPermissionsBadRequest
- type GetUserRobotPermissionsForbidden
- type GetUserRobotPermissionsNotFound
- type GetUserRobotPermissionsOK
- type GetUserRobotPermissionsParams
- func NewGetUserRobotPermissionsParams() *GetUserRobotPermissionsParams
- func NewGetUserRobotPermissionsParamsWithContext(ctx context.Context) *GetUserRobotPermissionsParams
- func NewGetUserRobotPermissionsParamsWithHTTPClient(client *http.Client) *GetUserRobotPermissionsParams
- func NewGetUserRobotPermissionsParamsWithTimeout(timeout time.Duration) *GetUserRobotPermissionsParams
- func (o *GetUserRobotPermissionsParams) SetContext(ctx context.Context)
- func (o *GetUserRobotPermissionsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRobotPermissionsParams) SetRobotShortname(robotShortname string)
- func (o *GetUserRobotPermissionsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRobotPermissionsParams) WithContext(ctx context.Context) *GetUserRobotPermissionsParams
- func (o *GetUserRobotPermissionsParams) WithHTTPClient(client *http.Client) *GetUserRobotPermissionsParams
- func (o *GetUserRobotPermissionsParams) WithRobotShortname(robotShortname string) *GetUserRobotPermissionsParams
- func (o *GetUserRobotPermissionsParams) WithTimeout(timeout time.Duration) *GetUserRobotPermissionsParams
- func (o *GetUserRobotPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRobotPermissionsReader
- type GetUserRobotPermissionsUnauthorized
- type GetUserRobotReader
- type GetUserRobotUnauthorized
- type GetUserRobotsBadRequest
- type GetUserRobotsForbidden
- type GetUserRobotsNotFound
- type GetUserRobotsOK
- type GetUserRobotsParams
- func (o *GetUserRobotsParams) SetContext(ctx context.Context)
- func (o *GetUserRobotsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserRobotsParams) SetLimit(limit *int64)
- func (o *GetUserRobotsParams) SetPermissions(permissions *bool)
- func (o *GetUserRobotsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserRobotsParams) SetToken(token *bool)
- func (o *GetUserRobotsParams) WithContext(ctx context.Context) *GetUserRobotsParams
- func (o *GetUserRobotsParams) WithHTTPClient(client *http.Client) *GetUserRobotsParams
- func (o *GetUserRobotsParams) WithLimit(limit *int64) *GetUserRobotsParams
- func (o *GetUserRobotsParams) WithPermissions(permissions *bool) *GetUserRobotsParams
- func (o *GetUserRobotsParams) WithTimeout(timeout time.Duration) *GetUserRobotsParams
- func (o *GetUserRobotsParams) WithToken(token *bool) *GetUserRobotsParams
- func (o *GetUserRobotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserRobotsReader
- type GetUserRobotsUnauthorized
- type RegenerateOrgRobotTokenBadRequest
- type RegenerateOrgRobotTokenCreated
- type RegenerateOrgRobotTokenForbidden
- type RegenerateOrgRobotTokenNotFound
- type RegenerateOrgRobotTokenParams
- func NewRegenerateOrgRobotTokenParams() *RegenerateOrgRobotTokenParams
- func NewRegenerateOrgRobotTokenParamsWithContext(ctx context.Context) *RegenerateOrgRobotTokenParams
- func NewRegenerateOrgRobotTokenParamsWithHTTPClient(client *http.Client) *RegenerateOrgRobotTokenParams
- func NewRegenerateOrgRobotTokenParamsWithTimeout(timeout time.Duration) *RegenerateOrgRobotTokenParams
- func (o *RegenerateOrgRobotTokenParams) SetContext(ctx context.Context)
- func (o *RegenerateOrgRobotTokenParams) SetHTTPClient(client *http.Client)
- func (o *RegenerateOrgRobotTokenParams) SetOrgname(orgname string)
- func (o *RegenerateOrgRobotTokenParams) SetRobotShortname(robotShortname string)
- func (o *RegenerateOrgRobotTokenParams) SetTimeout(timeout time.Duration)
- func (o *RegenerateOrgRobotTokenParams) WithContext(ctx context.Context) *RegenerateOrgRobotTokenParams
- func (o *RegenerateOrgRobotTokenParams) WithHTTPClient(client *http.Client) *RegenerateOrgRobotTokenParams
- func (o *RegenerateOrgRobotTokenParams) WithOrgname(orgname string) *RegenerateOrgRobotTokenParams
- func (o *RegenerateOrgRobotTokenParams) WithRobotShortname(robotShortname string) *RegenerateOrgRobotTokenParams
- func (o *RegenerateOrgRobotTokenParams) WithTimeout(timeout time.Duration) *RegenerateOrgRobotTokenParams
- func (o *RegenerateOrgRobotTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegenerateOrgRobotTokenReader
- type RegenerateOrgRobotTokenUnauthorized
- type RegenerateUserRobotTokenBadRequest
- type RegenerateUserRobotTokenCreated
- type RegenerateUserRobotTokenForbidden
- type RegenerateUserRobotTokenNotFound
- type RegenerateUserRobotTokenParams
- func NewRegenerateUserRobotTokenParams() *RegenerateUserRobotTokenParams
- func NewRegenerateUserRobotTokenParamsWithContext(ctx context.Context) *RegenerateUserRobotTokenParams
- func NewRegenerateUserRobotTokenParamsWithHTTPClient(client *http.Client) *RegenerateUserRobotTokenParams
- func NewRegenerateUserRobotTokenParamsWithTimeout(timeout time.Duration) *RegenerateUserRobotTokenParams
- func (o *RegenerateUserRobotTokenParams) SetContext(ctx context.Context)
- func (o *RegenerateUserRobotTokenParams) SetHTTPClient(client *http.Client)
- func (o *RegenerateUserRobotTokenParams) SetRobotShortname(robotShortname string)
- func (o *RegenerateUserRobotTokenParams) SetTimeout(timeout time.Duration)
- func (o *RegenerateUserRobotTokenParams) WithContext(ctx context.Context) *RegenerateUserRobotTokenParams
- func (o *RegenerateUserRobotTokenParams) WithHTTPClient(client *http.Client) *RegenerateUserRobotTokenParams
- func (o *RegenerateUserRobotTokenParams) WithRobotShortname(robotShortname string) *RegenerateUserRobotTokenParams
- func (o *RegenerateUserRobotTokenParams) WithTimeout(timeout time.Duration) *RegenerateUserRobotTokenParams
- func (o *RegenerateUserRobotTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegenerateUserRobotTokenReader
- type RegenerateUserRobotTokenUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for robot API
func (*Client) CreateOrgRobot ¶
func (a *Client) CreateOrgRobot(params *CreateOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOrgRobotOK, error)
CreateOrgRobot Create a new robot in the organization.
func (*Client) CreateUserRobot ¶
func (a *Client) CreateUserRobot(params *CreateUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserRobotOK, error)
CreateUserRobot Create a new user robot with the specified name.
func (*Client) DeleteOrgRobot ¶
func (a *Client) DeleteOrgRobot(params *DeleteOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrgRobotNoContent, error)
DeleteOrgRobot Delete an existing organization robot.
func (*Client) DeleteUserRobot ¶
func (a *Client) DeleteUserRobot(params *DeleteUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRobotNoContent, error)
DeleteUserRobot Delete an existing robot.
func (*Client) GetOrgRobot ¶
func (a *Client) GetOrgRobot(params *GetOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotOK, error)
GetOrgRobot Returns the organization's robot with the specified name.
func (*Client) GetOrgRobotPermissions ¶
func (a *Client) GetOrgRobotPermissions(params *GetOrgRobotPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotPermissionsOK, error)
GetOrgRobotPermissions Returns the list of repository permissions for the org's robot.
func (*Client) GetOrgRobots ¶
func (a *Client) GetOrgRobots(params *GetOrgRobotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotsOK, error)
GetOrgRobots List the organization's robots.
func (*Client) GetUserRobot ¶
func (a *Client) GetUserRobot(params *GetUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotOK, error)
GetUserRobot Returns the user's robot with the specified name.
func (*Client) GetUserRobotPermissions ¶
func (a *Client) GetUserRobotPermissions(params *GetUserRobotPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotPermissionsOK, error)
GetUserRobotPermissions Returns the list of repository permissions for the user's robot.
func (*Client) GetUserRobots ¶
func (a *Client) GetUserRobots(params *GetUserRobotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotsOK, error)
GetUserRobots List the available robots for the user.
func (*Client) RegenerateOrgRobotToken ¶
func (a *Client) RegenerateOrgRobotToken(params *RegenerateOrgRobotTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RegenerateOrgRobotTokenCreated, error)
RegenerateOrgRobotToken Regenerates the token for an organization robot.
func (*Client) RegenerateUserRobotToken ¶
func (a *Client) RegenerateUserRobotToken(params *RegenerateUserRobotTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RegenerateUserRobotTokenCreated, error)
RegenerateUserRobotToken Regenerates the token for a user's robot.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { CreateOrgRobot(params *CreateOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOrgRobotOK, error) CreateUserRobot(params *CreateUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserRobotOK, error) DeleteOrgRobot(params *DeleteOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOrgRobotNoContent, error) DeleteUserRobot(params *DeleteUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserRobotNoContent, error) GetOrgRobot(params *GetOrgRobotParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotOK, error) GetOrgRobotPermissions(params *GetOrgRobotPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotPermissionsOK, error) GetOrgRobots(params *GetOrgRobotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetOrgRobotsOK, error) GetUserRobot(params *GetUserRobotParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotOK, error) GetUserRobotPermissions(params *GetUserRobotPermissionsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotPermissionsOK, error) GetUserRobots(params *GetUserRobotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserRobotsOK, error) RegenerateOrgRobotToken(params *RegenerateOrgRobotTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RegenerateOrgRobotTokenCreated, error) RegenerateUserRobotToken(params *RegenerateUserRobotTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RegenerateUserRobotTokenCreated, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new robot API client.
type CreateOrgRobotBadRequest ¶
CreateOrgRobotBadRequest handles this case with default header values.
Bad Request
func NewCreateOrgRobotBadRequest ¶
func NewCreateOrgRobotBadRequest() *CreateOrgRobotBadRequest
NewCreateOrgRobotBadRequest creates a CreateOrgRobotBadRequest with default headers values
func (*CreateOrgRobotBadRequest) Error ¶
func (o *CreateOrgRobotBadRequest) Error() string
func (*CreateOrgRobotBadRequest) GetPayload ¶
func (o *CreateOrgRobotBadRequest) GetPayload() *models.APIError
type CreateOrgRobotForbidden ¶
CreateOrgRobotForbidden handles this case with default header values.
Unauthorized access
func NewCreateOrgRobotForbidden ¶
func NewCreateOrgRobotForbidden() *CreateOrgRobotForbidden
NewCreateOrgRobotForbidden creates a CreateOrgRobotForbidden with default headers values
func (*CreateOrgRobotForbidden) Error ¶
func (o *CreateOrgRobotForbidden) Error() string
func (*CreateOrgRobotForbidden) GetPayload ¶
func (o *CreateOrgRobotForbidden) GetPayload() *models.APIError
type CreateOrgRobotNotFound ¶
CreateOrgRobotNotFound handles this case with default header values.
Not found
func NewCreateOrgRobotNotFound ¶
func NewCreateOrgRobotNotFound() *CreateOrgRobotNotFound
NewCreateOrgRobotNotFound creates a CreateOrgRobotNotFound with default headers values
func (*CreateOrgRobotNotFound) Error ¶
func (o *CreateOrgRobotNotFound) Error() string
func (*CreateOrgRobotNotFound) GetPayload ¶
func (o *CreateOrgRobotNotFound) GetPayload() *models.APIError
type CreateOrgRobotOK ¶
type CreateOrgRobotOK struct { }
CreateOrgRobotOK handles this case with default header values.
Successful invocation
func NewCreateOrgRobotOK ¶
func NewCreateOrgRobotOK() *CreateOrgRobotOK
NewCreateOrgRobotOK creates a CreateOrgRobotOK with default headers values
func (*CreateOrgRobotOK) Error ¶
func (o *CreateOrgRobotOK) Error() string
type CreateOrgRobotParams ¶
type CreateOrgRobotParams struct { /*Body Request body contents. */ Body *models.CreateRobot /*Orgname The name of the organization */ Orgname string /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateOrgRobotParams contains all the parameters to send to the API endpoint for the create org robot operation typically these are written to a http.Request
func NewCreateOrgRobotParams ¶
func NewCreateOrgRobotParams() *CreateOrgRobotParams
NewCreateOrgRobotParams creates a new CreateOrgRobotParams object with the default values initialized.
func NewCreateOrgRobotParamsWithContext ¶
func NewCreateOrgRobotParamsWithContext(ctx context.Context) *CreateOrgRobotParams
NewCreateOrgRobotParamsWithContext creates a new CreateOrgRobotParams object with the default values initialized, and the ability to set a context for a request
func NewCreateOrgRobotParamsWithHTTPClient ¶
func NewCreateOrgRobotParamsWithHTTPClient(client *http.Client) *CreateOrgRobotParams
NewCreateOrgRobotParamsWithHTTPClient creates a new CreateOrgRobotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateOrgRobotParamsWithTimeout ¶
func NewCreateOrgRobotParamsWithTimeout(timeout time.Duration) *CreateOrgRobotParams
NewCreateOrgRobotParamsWithTimeout creates a new CreateOrgRobotParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateOrgRobotParams) SetBody ¶
func (o *CreateOrgRobotParams) SetBody(body *models.CreateRobot)
SetBody adds the body to the create org robot params
func (*CreateOrgRobotParams) SetContext ¶
func (o *CreateOrgRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the create org robot params
func (*CreateOrgRobotParams) SetHTTPClient ¶
func (o *CreateOrgRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create org robot params
func (*CreateOrgRobotParams) SetOrgname ¶
func (o *CreateOrgRobotParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the create org robot params
func (*CreateOrgRobotParams) SetRobotShortname ¶
func (o *CreateOrgRobotParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the create org robot params
func (*CreateOrgRobotParams) SetTimeout ¶
func (o *CreateOrgRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create org robot params
func (*CreateOrgRobotParams) WithBody ¶
func (o *CreateOrgRobotParams) WithBody(body *models.CreateRobot) *CreateOrgRobotParams
WithBody adds the body to the create org robot params
func (*CreateOrgRobotParams) WithContext ¶
func (o *CreateOrgRobotParams) WithContext(ctx context.Context) *CreateOrgRobotParams
WithContext adds the context to the create org robot params
func (*CreateOrgRobotParams) WithHTTPClient ¶
func (o *CreateOrgRobotParams) WithHTTPClient(client *http.Client) *CreateOrgRobotParams
WithHTTPClient adds the HTTPClient to the create org robot params
func (*CreateOrgRobotParams) WithOrgname ¶
func (o *CreateOrgRobotParams) WithOrgname(orgname string) *CreateOrgRobotParams
WithOrgname adds the orgname to the create org robot params
func (*CreateOrgRobotParams) WithRobotShortname ¶
func (o *CreateOrgRobotParams) WithRobotShortname(robotShortname string) *CreateOrgRobotParams
WithRobotShortname adds the robotShortname to the create org robot params
func (*CreateOrgRobotParams) WithTimeout ¶
func (o *CreateOrgRobotParams) WithTimeout(timeout time.Duration) *CreateOrgRobotParams
WithTimeout adds the timeout to the create org robot params
func (*CreateOrgRobotParams) WriteToRequest ¶
func (o *CreateOrgRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOrgRobotReader ¶
type CreateOrgRobotReader struct {
// contains filtered or unexported fields
}
CreateOrgRobotReader is a Reader for the CreateOrgRobot structure.
func (*CreateOrgRobotReader) ReadResponse ¶
func (o *CreateOrgRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOrgRobotUnauthorized ¶
type CreateOrgRobotUnauthorized struct {
}CreateOrgRobotUnauthorized handles this case with default header values.
Session required
func NewCreateOrgRobotUnauthorized ¶
func NewCreateOrgRobotUnauthorized() *CreateOrgRobotUnauthorized
NewCreateOrgRobotUnauthorized creates a CreateOrgRobotUnauthorized with default headers values
func (*CreateOrgRobotUnauthorized) Error ¶
func (o *CreateOrgRobotUnauthorized) Error() string
func (*CreateOrgRobotUnauthorized) GetPayload ¶
func (o *CreateOrgRobotUnauthorized) GetPayload() *models.APIError
type CreateUserRobotBadRequest ¶
CreateUserRobotBadRequest handles this case with default header values.
Bad Request
func NewCreateUserRobotBadRequest ¶
func NewCreateUserRobotBadRequest() *CreateUserRobotBadRequest
NewCreateUserRobotBadRequest creates a CreateUserRobotBadRequest with default headers values
func (*CreateUserRobotBadRequest) Error ¶
func (o *CreateUserRobotBadRequest) Error() string
func (*CreateUserRobotBadRequest) GetPayload ¶
func (o *CreateUserRobotBadRequest) GetPayload() *models.APIError
type CreateUserRobotForbidden ¶
CreateUserRobotForbidden handles this case with default header values.
Unauthorized access
func NewCreateUserRobotForbidden ¶
func NewCreateUserRobotForbidden() *CreateUserRobotForbidden
NewCreateUserRobotForbidden creates a CreateUserRobotForbidden with default headers values
func (*CreateUserRobotForbidden) Error ¶
func (o *CreateUserRobotForbidden) Error() string
func (*CreateUserRobotForbidden) GetPayload ¶
func (o *CreateUserRobotForbidden) GetPayload() *models.APIError
type CreateUserRobotNotFound ¶
CreateUserRobotNotFound handles this case with default header values.
Not found
func NewCreateUserRobotNotFound ¶
func NewCreateUserRobotNotFound() *CreateUserRobotNotFound
NewCreateUserRobotNotFound creates a CreateUserRobotNotFound with default headers values
func (*CreateUserRobotNotFound) Error ¶
func (o *CreateUserRobotNotFound) Error() string
func (*CreateUserRobotNotFound) GetPayload ¶
func (o *CreateUserRobotNotFound) GetPayload() *models.APIError
type CreateUserRobotOK ¶
type CreateUserRobotOK struct { }
CreateUserRobotOK handles this case with default header values.
Successful invocation
func NewCreateUserRobotOK ¶
func NewCreateUserRobotOK() *CreateUserRobotOK
NewCreateUserRobotOK creates a CreateUserRobotOK with default headers values
func (*CreateUserRobotOK) Error ¶
func (o *CreateUserRobotOK) Error() string
type CreateUserRobotParams ¶
type CreateUserRobotParams struct { /*Body Request body contents. */ Body *models.CreateRobot /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateUserRobotParams contains all the parameters to send to the API endpoint for the create user robot operation typically these are written to a http.Request
func NewCreateUserRobotParams ¶
func NewCreateUserRobotParams() *CreateUserRobotParams
NewCreateUserRobotParams creates a new CreateUserRobotParams object with the default values initialized.
func NewCreateUserRobotParamsWithContext ¶
func NewCreateUserRobotParamsWithContext(ctx context.Context) *CreateUserRobotParams
NewCreateUserRobotParamsWithContext creates a new CreateUserRobotParams object with the default values initialized, and the ability to set a context for a request
func NewCreateUserRobotParamsWithHTTPClient ¶
func NewCreateUserRobotParamsWithHTTPClient(client *http.Client) *CreateUserRobotParams
NewCreateUserRobotParamsWithHTTPClient creates a new CreateUserRobotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateUserRobotParamsWithTimeout ¶
func NewCreateUserRobotParamsWithTimeout(timeout time.Duration) *CreateUserRobotParams
NewCreateUserRobotParamsWithTimeout creates a new CreateUserRobotParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateUserRobotParams) SetBody ¶
func (o *CreateUserRobotParams) SetBody(body *models.CreateRobot)
SetBody adds the body to the create user robot params
func (*CreateUserRobotParams) SetContext ¶
func (o *CreateUserRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the create user robot params
func (*CreateUserRobotParams) SetHTTPClient ¶
func (o *CreateUserRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create user robot params
func (*CreateUserRobotParams) SetRobotShortname ¶
func (o *CreateUserRobotParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the create user robot params
func (*CreateUserRobotParams) SetTimeout ¶
func (o *CreateUserRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create user robot params
func (*CreateUserRobotParams) WithBody ¶
func (o *CreateUserRobotParams) WithBody(body *models.CreateRobot) *CreateUserRobotParams
WithBody adds the body to the create user robot params
func (*CreateUserRobotParams) WithContext ¶
func (o *CreateUserRobotParams) WithContext(ctx context.Context) *CreateUserRobotParams
WithContext adds the context to the create user robot params
func (*CreateUserRobotParams) WithHTTPClient ¶
func (o *CreateUserRobotParams) WithHTTPClient(client *http.Client) *CreateUserRobotParams
WithHTTPClient adds the HTTPClient to the create user robot params
func (*CreateUserRobotParams) WithRobotShortname ¶
func (o *CreateUserRobotParams) WithRobotShortname(robotShortname string) *CreateUserRobotParams
WithRobotShortname adds the robotShortname to the create user robot params
func (*CreateUserRobotParams) WithTimeout ¶
func (o *CreateUserRobotParams) WithTimeout(timeout time.Duration) *CreateUserRobotParams
WithTimeout adds the timeout to the create user robot params
func (*CreateUserRobotParams) WriteToRequest ¶
func (o *CreateUserRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateUserRobotReader ¶
type CreateUserRobotReader struct {
// contains filtered or unexported fields
}
CreateUserRobotReader is a Reader for the CreateUserRobot structure.
func (*CreateUserRobotReader) ReadResponse ¶
func (o *CreateUserRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateUserRobotUnauthorized ¶
type CreateUserRobotUnauthorized struct {
}CreateUserRobotUnauthorized handles this case with default header values.
Session required
func NewCreateUserRobotUnauthorized ¶
func NewCreateUserRobotUnauthorized() *CreateUserRobotUnauthorized
NewCreateUserRobotUnauthorized creates a CreateUserRobotUnauthorized with default headers values
func (*CreateUserRobotUnauthorized) Error ¶
func (o *CreateUserRobotUnauthorized) Error() string
func (*CreateUserRobotUnauthorized) GetPayload ¶
func (o *CreateUserRobotUnauthorized) GetPayload() *models.APIError
type DeleteOrgRobotBadRequest ¶
DeleteOrgRobotBadRequest handles this case with default header values.
Bad Request
func NewDeleteOrgRobotBadRequest ¶
func NewDeleteOrgRobotBadRequest() *DeleteOrgRobotBadRequest
NewDeleteOrgRobotBadRequest creates a DeleteOrgRobotBadRequest with default headers values
func (*DeleteOrgRobotBadRequest) Error ¶
func (o *DeleteOrgRobotBadRequest) Error() string
func (*DeleteOrgRobotBadRequest) GetPayload ¶
func (o *DeleteOrgRobotBadRequest) GetPayload() *models.APIError
type DeleteOrgRobotForbidden ¶
DeleteOrgRobotForbidden handles this case with default header values.
Unauthorized access
func NewDeleteOrgRobotForbidden ¶
func NewDeleteOrgRobotForbidden() *DeleteOrgRobotForbidden
NewDeleteOrgRobotForbidden creates a DeleteOrgRobotForbidden with default headers values
func (*DeleteOrgRobotForbidden) Error ¶
func (o *DeleteOrgRobotForbidden) Error() string
func (*DeleteOrgRobotForbidden) GetPayload ¶
func (o *DeleteOrgRobotForbidden) GetPayload() *models.APIError
type DeleteOrgRobotNoContent ¶
type DeleteOrgRobotNoContent struct { }
DeleteOrgRobotNoContent handles this case with default header values.
Deleted
func NewDeleteOrgRobotNoContent ¶
func NewDeleteOrgRobotNoContent() *DeleteOrgRobotNoContent
NewDeleteOrgRobotNoContent creates a DeleteOrgRobotNoContent with default headers values
func (*DeleteOrgRobotNoContent) Error ¶
func (o *DeleteOrgRobotNoContent) Error() string
type DeleteOrgRobotNotFound ¶
DeleteOrgRobotNotFound handles this case with default header values.
Not found
func NewDeleteOrgRobotNotFound ¶
func NewDeleteOrgRobotNotFound() *DeleteOrgRobotNotFound
NewDeleteOrgRobotNotFound creates a DeleteOrgRobotNotFound with default headers values
func (*DeleteOrgRobotNotFound) Error ¶
func (o *DeleteOrgRobotNotFound) Error() string
func (*DeleteOrgRobotNotFound) GetPayload ¶
func (o *DeleteOrgRobotNotFound) GetPayload() *models.APIError
type DeleteOrgRobotParams ¶
type DeleteOrgRobotParams struct { /*Orgname The name of the organization */ Orgname string /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteOrgRobotParams contains all the parameters to send to the API endpoint for the delete org robot operation typically these are written to a http.Request
func NewDeleteOrgRobotParams ¶
func NewDeleteOrgRobotParams() *DeleteOrgRobotParams
NewDeleteOrgRobotParams creates a new DeleteOrgRobotParams object with the default values initialized.
func NewDeleteOrgRobotParamsWithContext ¶
func NewDeleteOrgRobotParamsWithContext(ctx context.Context) *DeleteOrgRobotParams
NewDeleteOrgRobotParamsWithContext creates a new DeleteOrgRobotParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteOrgRobotParamsWithHTTPClient ¶
func NewDeleteOrgRobotParamsWithHTTPClient(client *http.Client) *DeleteOrgRobotParams
NewDeleteOrgRobotParamsWithHTTPClient creates a new DeleteOrgRobotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteOrgRobotParamsWithTimeout ¶
func NewDeleteOrgRobotParamsWithTimeout(timeout time.Duration) *DeleteOrgRobotParams
NewDeleteOrgRobotParamsWithTimeout creates a new DeleteOrgRobotParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteOrgRobotParams) SetContext ¶
func (o *DeleteOrgRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete org robot params
func (*DeleteOrgRobotParams) SetHTTPClient ¶
func (o *DeleteOrgRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete org robot params
func (*DeleteOrgRobotParams) SetOrgname ¶
func (o *DeleteOrgRobotParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the delete org robot params
func (*DeleteOrgRobotParams) SetRobotShortname ¶
func (o *DeleteOrgRobotParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the delete org robot params
func (*DeleteOrgRobotParams) SetTimeout ¶
func (o *DeleteOrgRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete org robot params
func (*DeleteOrgRobotParams) WithContext ¶
func (o *DeleteOrgRobotParams) WithContext(ctx context.Context) *DeleteOrgRobotParams
WithContext adds the context to the delete org robot params
func (*DeleteOrgRobotParams) WithHTTPClient ¶
func (o *DeleteOrgRobotParams) WithHTTPClient(client *http.Client) *DeleteOrgRobotParams
WithHTTPClient adds the HTTPClient to the delete org robot params
func (*DeleteOrgRobotParams) WithOrgname ¶
func (o *DeleteOrgRobotParams) WithOrgname(orgname string) *DeleteOrgRobotParams
WithOrgname adds the orgname to the delete org robot params
func (*DeleteOrgRobotParams) WithRobotShortname ¶
func (o *DeleteOrgRobotParams) WithRobotShortname(robotShortname string) *DeleteOrgRobotParams
WithRobotShortname adds the robotShortname to the delete org robot params
func (*DeleteOrgRobotParams) WithTimeout ¶
func (o *DeleteOrgRobotParams) WithTimeout(timeout time.Duration) *DeleteOrgRobotParams
WithTimeout adds the timeout to the delete org robot params
func (*DeleteOrgRobotParams) WriteToRequest ¶
func (o *DeleteOrgRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteOrgRobotReader ¶
type DeleteOrgRobotReader struct {
// contains filtered or unexported fields
}
DeleteOrgRobotReader is a Reader for the DeleteOrgRobot structure.
func (*DeleteOrgRobotReader) ReadResponse ¶
func (o *DeleteOrgRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteOrgRobotUnauthorized ¶
type DeleteOrgRobotUnauthorized struct {
}DeleteOrgRobotUnauthorized handles this case with default header values.
Session required
func NewDeleteOrgRobotUnauthorized ¶
func NewDeleteOrgRobotUnauthorized() *DeleteOrgRobotUnauthorized
NewDeleteOrgRobotUnauthorized creates a DeleteOrgRobotUnauthorized with default headers values
func (*DeleteOrgRobotUnauthorized) Error ¶
func (o *DeleteOrgRobotUnauthorized) Error() string
func (*DeleteOrgRobotUnauthorized) GetPayload ¶
func (o *DeleteOrgRobotUnauthorized) GetPayload() *models.APIError
type DeleteUserRobotBadRequest ¶
DeleteUserRobotBadRequest handles this case with default header values.
Bad Request
func NewDeleteUserRobotBadRequest ¶
func NewDeleteUserRobotBadRequest() *DeleteUserRobotBadRequest
NewDeleteUserRobotBadRequest creates a DeleteUserRobotBadRequest with default headers values
func (*DeleteUserRobotBadRequest) Error ¶
func (o *DeleteUserRobotBadRequest) Error() string
func (*DeleteUserRobotBadRequest) GetPayload ¶
func (o *DeleteUserRobotBadRequest) GetPayload() *models.APIError
type DeleteUserRobotForbidden ¶
DeleteUserRobotForbidden handles this case with default header values.
Unauthorized access
func NewDeleteUserRobotForbidden ¶
func NewDeleteUserRobotForbidden() *DeleteUserRobotForbidden
NewDeleteUserRobotForbidden creates a DeleteUserRobotForbidden with default headers values
func (*DeleteUserRobotForbidden) Error ¶
func (o *DeleteUserRobotForbidden) Error() string
func (*DeleteUserRobotForbidden) GetPayload ¶
func (o *DeleteUserRobotForbidden) GetPayload() *models.APIError
type DeleteUserRobotNoContent ¶
type DeleteUserRobotNoContent struct { }
DeleteUserRobotNoContent handles this case with default header values.
Deleted
func NewDeleteUserRobotNoContent ¶
func NewDeleteUserRobotNoContent() *DeleteUserRobotNoContent
NewDeleteUserRobotNoContent creates a DeleteUserRobotNoContent with default headers values
func (*DeleteUserRobotNoContent) Error ¶
func (o *DeleteUserRobotNoContent) Error() string
type DeleteUserRobotNotFound ¶
DeleteUserRobotNotFound handles this case with default header values.
Not found
func NewDeleteUserRobotNotFound ¶
func NewDeleteUserRobotNotFound() *DeleteUserRobotNotFound
NewDeleteUserRobotNotFound creates a DeleteUserRobotNotFound with default headers values
func (*DeleteUserRobotNotFound) Error ¶
func (o *DeleteUserRobotNotFound) Error() string
func (*DeleteUserRobotNotFound) GetPayload ¶
func (o *DeleteUserRobotNotFound) GetPayload() *models.APIError
type DeleteUserRobotParams ¶
type DeleteUserRobotParams struct { /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserRobotParams contains all the parameters to send to the API endpoint for the delete user robot operation typically these are written to a http.Request
func NewDeleteUserRobotParams ¶
func NewDeleteUserRobotParams() *DeleteUserRobotParams
NewDeleteUserRobotParams creates a new DeleteUserRobotParams object with the default values initialized.
func NewDeleteUserRobotParamsWithContext ¶
func NewDeleteUserRobotParamsWithContext(ctx context.Context) *DeleteUserRobotParams
NewDeleteUserRobotParamsWithContext creates a new DeleteUserRobotParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUserRobotParamsWithHTTPClient ¶
func NewDeleteUserRobotParamsWithHTTPClient(client *http.Client) *DeleteUserRobotParams
NewDeleteUserRobotParamsWithHTTPClient creates a new DeleteUserRobotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUserRobotParamsWithTimeout ¶
func NewDeleteUserRobotParamsWithTimeout(timeout time.Duration) *DeleteUserRobotParams
NewDeleteUserRobotParamsWithTimeout creates a new DeleteUserRobotParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUserRobotParams) SetContext ¶
func (o *DeleteUserRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user robot params
func (*DeleteUserRobotParams) SetHTTPClient ¶
func (o *DeleteUserRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user robot params
func (*DeleteUserRobotParams) SetRobotShortname ¶
func (o *DeleteUserRobotParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the delete user robot params
func (*DeleteUserRobotParams) SetTimeout ¶
func (o *DeleteUserRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user robot params
func (*DeleteUserRobotParams) WithContext ¶
func (o *DeleteUserRobotParams) WithContext(ctx context.Context) *DeleteUserRobotParams
WithContext adds the context to the delete user robot params
func (*DeleteUserRobotParams) WithHTTPClient ¶
func (o *DeleteUserRobotParams) WithHTTPClient(client *http.Client) *DeleteUserRobotParams
WithHTTPClient adds the HTTPClient to the delete user robot params
func (*DeleteUserRobotParams) WithRobotShortname ¶
func (o *DeleteUserRobotParams) WithRobotShortname(robotShortname string) *DeleteUserRobotParams
WithRobotShortname adds the robotShortname to the delete user robot params
func (*DeleteUserRobotParams) WithTimeout ¶
func (o *DeleteUserRobotParams) WithTimeout(timeout time.Duration) *DeleteUserRobotParams
WithTimeout adds the timeout to the delete user robot params
func (*DeleteUserRobotParams) WriteToRequest ¶
func (o *DeleteUserRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserRobotReader ¶
type DeleteUserRobotReader struct {
// contains filtered or unexported fields
}
DeleteUserRobotReader is a Reader for the DeleteUserRobot structure.
func (*DeleteUserRobotReader) ReadResponse ¶
func (o *DeleteUserRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserRobotUnauthorized ¶
type DeleteUserRobotUnauthorized struct {
}DeleteUserRobotUnauthorized handles this case with default header values.
Session required
func NewDeleteUserRobotUnauthorized ¶
func NewDeleteUserRobotUnauthorized() *DeleteUserRobotUnauthorized
NewDeleteUserRobotUnauthorized creates a DeleteUserRobotUnauthorized with default headers values
func (*DeleteUserRobotUnauthorized) Error ¶
func (o *DeleteUserRobotUnauthorized) Error() string
func (*DeleteUserRobotUnauthorized) GetPayload ¶
func (o *DeleteUserRobotUnauthorized) GetPayload() *models.APIError
type GetOrgRobotBadRequest ¶
GetOrgRobotBadRequest handles this case with default header values.
Bad Request
func NewGetOrgRobotBadRequest ¶
func NewGetOrgRobotBadRequest() *GetOrgRobotBadRequest
NewGetOrgRobotBadRequest creates a GetOrgRobotBadRequest with default headers values
func (*GetOrgRobotBadRequest) Error ¶
func (o *GetOrgRobotBadRequest) Error() string
func (*GetOrgRobotBadRequest) GetPayload ¶
func (o *GetOrgRobotBadRequest) GetPayload() *models.APIError
type GetOrgRobotForbidden ¶
GetOrgRobotForbidden handles this case with default header values.
Unauthorized access
func NewGetOrgRobotForbidden ¶
func NewGetOrgRobotForbidden() *GetOrgRobotForbidden
NewGetOrgRobotForbidden creates a GetOrgRobotForbidden with default headers values
func (*GetOrgRobotForbidden) Error ¶
func (o *GetOrgRobotForbidden) Error() string
func (*GetOrgRobotForbidden) GetPayload ¶
func (o *GetOrgRobotForbidden) GetPayload() *models.APIError
type GetOrgRobotNotFound ¶
GetOrgRobotNotFound handles this case with default header values.
Not found
func NewGetOrgRobotNotFound ¶
func NewGetOrgRobotNotFound() *GetOrgRobotNotFound
NewGetOrgRobotNotFound creates a GetOrgRobotNotFound with default headers values
func (*GetOrgRobotNotFound) Error ¶
func (o *GetOrgRobotNotFound) Error() string
func (*GetOrgRobotNotFound) GetPayload ¶
func (o *GetOrgRobotNotFound) GetPayload() *models.APIError
type GetOrgRobotOK ¶
type GetOrgRobotOK struct { }
GetOrgRobotOK handles this case with default header values.
Successful invocation
func NewGetOrgRobotOK ¶
func NewGetOrgRobotOK() *GetOrgRobotOK
NewGetOrgRobotOK creates a GetOrgRobotOK with default headers values
func (*GetOrgRobotOK) Error ¶
func (o *GetOrgRobotOK) Error() string
type GetOrgRobotParams ¶
type GetOrgRobotParams struct { /*Orgname The name of the organization */ Orgname string /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgRobotParams contains all the parameters to send to the API endpoint for the get org robot operation typically these are written to a http.Request
func NewGetOrgRobotParams ¶
func NewGetOrgRobotParams() *GetOrgRobotParams
NewGetOrgRobotParams creates a new GetOrgRobotParams object with the default values initialized.
func NewGetOrgRobotParamsWithContext ¶
func NewGetOrgRobotParamsWithContext(ctx context.Context) *GetOrgRobotParams
NewGetOrgRobotParamsWithContext creates a new GetOrgRobotParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgRobotParamsWithHTTPClient ¶
func NewGetOrgRobotParamsWithHTTPClient(client *http.Client) *GetOrgRobotParams
NewGetOrgRobotParamsWithHTTPClient creates a new GetOrgRobotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgRobotParamsWithTimeout ¶
func NewGetOrgRobotParamsWithTimeout(timeout time.Duration) *GetOrgRobotParams
NewGetOrgRobotParamsWithTimeout creates a new GetOrgRobotParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgRobotParams) SetContext ¶
func (o *GetOrgRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the get org robot params
func (*GetOrgRobotParams) SetHTTPClient ¶
func (o *GetOrgRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org robot params
func (*GetOrgRobotParams) SetOrgname ¶
func (o *GetOrgRobotParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the get org robot params
func (*GetOrgRobotParams) SetRobotShortname ¶
func (o *GetOrgRobotParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the get org robot params
func (*GetOrgRobotParams) SetTimeout ¶
func (o *GetOrgRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org robot params
func (*GetOrgRobotParams) WithContext ¶
func (o *GetOrgRobotParams) WithContext(ctx context.Context) *GetOrgRobotParams
WithContext adds the context to the get org robot params
func (*GetOrgRobotParams) WithHTTPClient ¶
func (o *GetOrgRobotParams) WithHTTPClient(client *http.Client) *GetOrgRobotParams
WithHTTPClient adds the HTTPClient to the get org robot params
func (*GetOrgRobotParams) WithOrgname ¶
func (o *GetOrgRobotParams) WithOrgname(orgname string) *GetOrgRobotParams
WithOrgname adds the orgname to the get org robot params
func (*GetOrgRobotParams) WithRobotShortname ¶
func (o *GetOrgRobotParams) WithRobotShortname(robotShortname string) *GetOrgRobotParams
WithRobotShortname adds the robotShortname to the get org robot params
func (*GetOrgRobotParams) WithTimeout ¶
func (o *GetOrgRobotParams) WithTimeout(timeout time.Duration) *GetOrgRobotParams
WithTimeout adds the timeout to the get org robot params
func (*GetOrgRobotParams) WriteToRequest ¶
func (o *GetOrgRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgRobotPermissionsBadRequest ¶
GetOrgRobotPermissionsBadRequest handles this case with default header values.
Bad Request
func NewGetOrgRobotPermissionsBadRequest ¶
func NewGetOrgRobotPermissionsBadRequest() *GetOrgRobotPermissionsBadRequest
NewGetOrgRobotPermissionsBadRequest creates a GetOrgRobotPermissionsBadRequest with default headers values
func (*GetOrgRobotPermissionsBadRequest) Error ¶
func (o *GetOrgRobotPermissionsBadRequest) Error() string
func (*GetOrgRobotPermissionsBadRequest) GetPayload ¶
func (o *GetOrgRobotPermissionsBadRequest) GetPayload() *models.APIError
type GetOrgRobotPermissionsForbidden ¶
GetOrgRobotPermissionsForbidden handles this case with default header values.
Unauthorized access
func NewGetOrgRobotPermissionsForbidden ¶
func NewGetOrgRobotPermissionsForbidden() *GetOrgRobotPermissionsForbidden
NewGetOrgRobotPermissionsForbidden creates a GetOrgRobotPermissionsForbidden with default headers values
func (*GetOrgRobotPermissionsForbidden) Error ¶
func (o *GetOrgRobotPermissionsForbidden) Error() string
func (*GetOrgRobotPermissionsForbidden) GetPayload ¶
func (o *GetOrgRobotPermissionsForbidden) GetPayload() *models.APIError
type GetOrgRobotPermissionsNotFound ¶
GetOrgRobotPermissionsNotFound handles this case with default header values.
Not found
func NewGetOrgRobotPermissionsNotFound ¶
func NewGetOrgRobotPermissionsNotFound() *GetOrgRobotPermissionsNotFound
NewGetOrgRobotPermissionsNotFound creates a GetOrgRobotPermissionsNotFound with default headers values
func (*GetOrgRobotPermissionsNotFound) Error ¶
func (o *GetOrgRobotPermissionsNotFound) Error() string
func (*GetOrgRobotPermissionsNotFound) GetPayload ¶
func (o *GetOrgRobotPermissionsNotFound) GetPayload() *models.APIError
type GetOrgRobotPermissionsOK ¶
type GetOrgRobotPermissionsOK struct { }
GetOrgRobotPermissionsOK handles this case with default header values.
Successful invocation
func NewGetOrgRobotPermissionsOK ¶
func NewGetOrgRobotPermissionsOK() *GetOrgRobotPermissionsOK
NewGetOrgRobotPermissionsOK creates a GetOrgRobotPermissionsOK with default headers values
func (*GetOrgRobotPermissionsOK) Error ¶
func (o *GetOrgRobotPermissionsOK) Error() string
type GetOrgRobotPermissionsParams ¶
type GetOrgRobotPermissionsParams struct { /*Orgname The name of the organization */ Orgname string /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgRobotPermissionsParams contains all the parameters to send to the API endpoint for the get org robot permissions operation typically these are written to a http.Request
func NewGetOrgRobotPermissionsParams ¶
func NewGetOrgRobotPermissionsParams() *GetOrgRobotPermissionsParams
NewGetOrgRobotPermissionsParams creates a new GetOrgRobotPermissionsParams object with the default values initialized.
func NewGetOrgRobotPermissionsParamsWithContext ¶
func NewGetOrgRobotPermissionsParamsWithContext(ctx context.Context) *GetOrgRobotPermissionsParams
NewGetOrgRobotPermissionsParamsWithContext creates a new GetOrgRobotPermissionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgRobotPermissionsParamsWithHTTPClient ¶
func NewGetOrgRobotPermissionsParamsWithHTTPClient(client *http.Client) *GetOrgRobotPermissionsParams
NewGetOrgRobotPermissionsParamsWithHTTPClient creates a new GetOrgRobotPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgRobotPermissionsParamsWithTimeout ¶
func NewGetOrgRobotPermissionsParamsWithTimeout(timeout time.Duration) *GetOrgRobotPermissionsParams
NewGetOrgRobotPermissionsParamsWithTimeout creates a new GetOrgRobotPermissionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgRobotPermissionsParams) SetContext ¶
func (o *GetOrgRobotPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) SetHTTPClient ¶
func (o *GetOrgRobotPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) SetOrgname ¶
func (o *GetOrgRobotPermissionsParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) SetRobotShortname ¶
func (o *GetOrgRobotPermissionsParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) SetTimeout ¶
func (o *GetOrgRobotPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) WithContext ¶
func (o *GetOrgRobotPermissionsParams) WithContext(ctx context.Context) *GetOrgRobotPermissionsParams
WithContext adds the context to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) WithHTTPClient ¶
func (o *GetOrgRobotPermissionsParams) WithHTTPClient(client *http.Client) *GetOrgRobotPermissionsParams
WithHTTPClient adds the HTTPClient to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) WithOrgname ¶
func (o *GetOrgRobotPermissionsParams) WithOrgname(orgname string) *GetOrgRobotPermissionsParams
WithOrgname adds the orgname to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) WithRobotShortname ¶
func (o *GetOrgRobotPermissionsParams) WithRobotShortname(robotShortname string) *GetOrgRobotPermissionsParams
WithRobotShortname adds the robotShortname to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) WithTimeout ¶
func (o *GetOrgRobotPermissionsParams) WithTimeout(timeout time.Duration) *GetOrgRobotPermissionsParams
WithTimeout adds the timeout to the get org robot permissions params
func (*GetOrgRobotPermissionsParams) WriteToRequest ¶
func (o *GetOrgRobotPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgRobotPermissionsReader ¶
type GetOrgRobotPermissionsReader struct {
// contains filtered or unexported fields
}
GetOrgRobotPermissionsReader is a Reader for the GetOrgRobotPermissions structure.
func (*GetOrgRobotPermissionsReader) ReadResponse ¶
func (o *GetOrgRobotPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgRobotPermissionsUnauthorized ¶
type GetOrgRobotPermissionsUnauthorized struct {
}GetOrgRobotPermissionsUnauthorized handles this case with default header values.
Session required
func NewGetOrgRobotPermissionsUnauthorized ¶
func NewGetOrgRobotPermissionsUnauthorized() *GetOrgRobotPermissionsUnauthorized
NewGetOrgRobotPermissionsUnauthorized creates a GetOrgRobotPermissionsUnauthorized with default headers values
func (*GetOrgRobotPermissionsUnauthorized) Error ¶
func (o *GetOrgRobotPermissionsUnauthorized) Error() string
func (*GetOrgRobotPermissionsUnauthorized) GetPayload ¶
func (o *GetOrgRobotPermissionsUnauthorized) GetPayload() *models.APIError
type GetOrgRobotReader ¶
type GetOrgRobotReader struct {
// contains filtered or unexported fields
}
GetOrgRobotReader is a Reader for the GetOrgRobot structure.
func (*GetOrgRobotReader) ReadResponse ¶
func (o *GetOrgRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgRobotUnauthorized ¶
type GetOrgRobotUnauthorized struct {
}GetOrgRobotUnauthorized handles this case with default header values.
Session required
func NewGetOrgRobotUnauthorized ¶
func NewGetOrgRobotUnauthorized() *GetOrgRobotUnauthorized
NewGetOrgRobotUnauthorized creates a GetOrgRobotUnauthorized with default headers values
func (*GetOrgRobotUnauthorized) Error ¶
func (o *GetOrgRobotUnauthorized) Error() string
func (*GetOrgRobotUnauthorized) GetPayload ¶
func (o *GetOrgRobotUnauthorized) GetPayload() *models.APIError
type GetOrgRobotsBadRequest ¶
GetOrgRobotsBadRequest handles this case with default header values.
Bad Request
func NewGetOrgRobotsBadRequest ¶
func NewGetOrgRobotsBadRequest() *GetOrgRobotsBadRequest
NewGetOrgRobotsBadRequest creates a GetOrgRobotsBadRequest with default headers values
func (*GetOrgRobotsBadRequest) Error ¶
func (o *GetOrgRobotsBadRequest) Error() string
func (*GetOrgRobotsBadRequest) GetPayload ¶
func (o *GetOrgRobotsBadRequest) GetPayload() *models.APIError
type GetOrgRobotsForbidden ¶
GetOrgRobotsForbidden handles this case with default header values.
Unauthorized access
func NewGetOrgRobotsForbidden ¶
func NewGetOrgRobotsForbidden() *GetOrgRobotsForbidden
NewGetOrgRobotsForbidden creates a GetOrgRobotsForbidden with default headers values
func (*GetOrgRobotsForbidden) Error ¶
func (o *GetOrgRobotsForbidden) Error() string
func (*GetOrgRobotsForbidden) GetPayload ¶
func (o *GetOrgRobotsForbidden) GetPayload() *models.APIError
type GetOrgRobotsNotFound ¶
GetOrgRobotsNotFound handles this case with default header values.
Not found
func NewGetOrgRobotsNotFound ¶
func NewGetOrgRobotsNotFound() *GetOrgRobotsNotFound
NewGetOrgRobotsNotFound creates a GetOrgRobotsNotFound with default headers values
func (*GetOrgRobotsNotFound) Error ¶
func (o *GetOrgRobotsNotFound) Error() string
func (*GetOrgRobotsNotFound) GetPayload ¶
func (o *GetOrgRobotsNotFound) GetPayload() *models.APIError
type GetOrgRobotsOK ¶
type GetOrgRobotsOK struct { }
GetOrgRobotsOK handles this case with default header values.
Successful invocation
func NewGetOrgRobotsOK ¶
func NewGetOrgRobotsOK() *GetOrgRobotsOK
NewGetOrgRobotsOK creates a GetOrgRobotsOK with default headers values
func (*GetOrgRobotsOK) Error ¶
func (o *GetOrgRobotsOK) Error() string
type GetOrgRobotsParams ¶
type GetOrgRobotsParams struct { /*Limit If specified, the number of robots to return. */ Limit *int64 /*Orgname The name of the organization */ Orgname string /*Permissions Whether to include repostories and teams in which the robots have permission. */ Permissions *bool /*Token If false, the robot's token is not returned. */ Token *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrgRobotsParams contains all the parameters to send to the API endpoint for the get org robots operation typically these are written to a http.Request
func NewGetOrgRobotsParams ¶
func NewGetOrgRobotsParams() *GetOrgRobotsParams
NewGetOrgRobotsParams creates a new GetOrgRobotsParams object with the default values initialized.
func NewGetOrgRobotsParamsWithContext ¶
func NewGetOrgRobotsParamsWithContext(ctx context.Context) *GetOrgRobotsParams
NewGetOrgRobotsParamsWithContext creates a new GetOrgRobotsParams object with the default values initialized, and the ability to set a context for a request
func NewGetOrgRobotsParamsWithHTTPClient ¶
func NewGetOrgRobotsParamsWithHTTPClient(client *http.Client) *GetOrgRobotsParams
NewGetOrgRobotsParamsWithHTTPClient creates a new GetOrgRobotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOrgRobotsParamsWithTimeout ¶
func NewGetOrgRobotsParamsWithTimeout(timeout time.Duration) *GetOrgRobotsParams
NewGetOrgRobotsParamsWithTimeout creates a new GetOrgRobotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOrgRobotsParams) SetContext ¶
func (o *GetOrgRobotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get org robots params
func (*GetOrgRobotsParams) SetHTTPClient ¶
func (o *GetOrgRobotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get org robots params
func (*GetOrgRobotsParams) SetLimit ¶
func (o *GetOrgRobotsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get org robots params
func (*GetOrgRobotsParams) SetOrgname ¶
func (o *GetOrgRobotsParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the get org robots params
func (*GetOrgRobotsParams) SetPermissions ¶
func (o *GetOrgRobotsParams) SetPermissions(permissions *bool)
SetPermissions adds the permissions to the get org robots params
func (*GetOrgRobotsParams) SetTimeout ¶
func (o *GetOrgRobotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get org robots params
func (*GetOrgRobotsParams) SetToken ¶
func (o *GetOrgRobotsParams) SetToken(token *bool)
SetToken adds the token to the get org robots params
func (*GetOrgRobotsParams) WithContext ¶
func (o *GetOrgRobotsParams) WithContext(ctx context.Context) *GetOrgRobotsParams
WithContext adds the context to the get org robots params
func (*GetOrgRobotsParams) WithHTTPClient ¶
func (o *GetOrgRobotsParams) WithHTTPClient(client *http.Client) *GetOrgRobotsParams
WithHTTPClient adds the HTTPClient to the get org robots params
func (*GetOrgRobotsParams) WithLimit ¶
func (o *GetOrgRobotsParams) WithLimit(limit *int64) *GetOrgRobotsParams
WithLimit adds the limit to the get org robots params
func (*GetOrgRobotsParams) WithOrgname ¶
func (o *GetOrgRobotsParams) WithOrgname(orgname string) *GetOrgRobotsParams
WithOrgname adds the orgname to the get org robots params
func (*GetOrgRobotsParams) WithPermissions ¶
func (o *GetOrgRobotsParams) WithPermissions(permissions *bool) *GetOrgRobotsParams
WithPermissions adds the permissions to the get org robots params
func (*GetOrgRobotsParams) WithTimeout ¶
func (o *GetOrgRobotsParams) WithTimeout(timeout time.Duration) *GetOrgRobotsParams
WithTimeout adds the timeout to the get org robots params
func (*GetOrgRobotsParams) WithToken ¶
func (o *GetOrgRobotsParams) WithToken(token *bool) *GetOrgRobotsParams
WithToken adds the token to the get org robots params
func (*GetOrgRobotsParams) WriteToRequest ¶
func (o *GetOrgRobotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrgRobotsReader ¶
type GetOrgRobotsReader struct {
// contains filtered or unexported fields
}
GetOrgRobotsReader is a Reader for the GetOrgRobots structure.
func (*GetOrgRobotsReader) ReadResponse ¶
func (o *GetOrgRobotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrgRobotsUnauthorized ¶
type GetOrgRobotsUnauthorized struct {
}GetOrgRobotsUnauthorized handles this case with default header values.
Session required
func NewGetOrgRobotsUnauthorized ¶
func NewGetOrgRobotsUnauthorized() *GetOrgRobotsUnauthorized
NewGetOrgRobotsUnauthorized creates a GetOrgRobotsUnauthorized with default headers values
func (*GetOrgRobotsUnauthorized) Error ¶
func (o *GetOrgRobotsUnauthorized) Error() string
func (*GetOrgRobotsUnauthorized) GetPayload ¶
func (o *GetOrgRobotsUnauthorized) GetPayload() *models.APIError
type GetUserRobotBadRequest ¶
GetUserRobotBadRequest handles this case with default header values.
Bad Request
func NewGetUserRobotBadRequest ¶
func NewGetUserRobotBadRequest() *GetUserRobotBadRequest
NewGetUserRobotBadRequest creates a GetUserRobotBadRequest with default headers values
func (*GetUserRobotBadRequest) Error ¶
func (o *GetUserRobotBadRequest) Error() string
func (*GetUserRobotBadRequest) GetPayload ¶
func (o *GetUserRobotBadRequest) GetPayload() *models.APIError
type GetUserRobotForbidden ¶
GetUserRobotForbidden handles this case with default header values.
Unauthorized access
func NewGetUserRobotForbidden ¶
func NewGetUserRobotForbidden() *GetUserRobotForbidden
NewGetUserRobotForbidden creates a GetUserRobotForbidden with default headers values
func (*GetUserRobotForbidden) Error ¶
func (o *GetUserRobotForbidden) Error() string
func (*GetUserRobotForbidden) GetPayload ¶
func (o *GetUserRobotForbidden) GetPayload() *models.APIError
type GetUserRobotNotFound ¶
GetUserRobotNotFound handles this case with default header values.
Not found
func NewGetUserRobotNotFound ¶
func NewGetUserRobotNotFound() *GetUserRobotNotFound
NewGetUserRobotNotFound creates a GetUserRobotNotFound with default headers values
func (*GetUserRobotNotFound) Error ¶
func (o *GetUserRobotNotFound) Error() string
func (*GetUserRobotNotFound) GetPayload ¶
func (o *GetUserRobotNotFound) GetPayload() *models.APIError
type GetUserRobotOK ¶
type GetUserRobotOK struct { }
GetUserRobotOK handles this case with default header values.
Successful invocation
func NewGetUserRobotOK ¶
func NewGetUserRobotOK() *GetUserRobotOK
NewGetUserRobotOK creates a GetUserRobotOK with default headers values
func (*GetUserRobotOK) Error ¶
func (o *GetUserRobotOK) Error() string
type GetUserRobotParams ¶
type GetUserRobotParams struct { /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserRobotParams contains all the parameters to send to the API endpoint for the get user robot operation typically these are written to a http.Request
func NewGetUserRobotParams ¶
func NewGetUserRobotParams() *GetUserRobotParams
NewGetUserRobotParams creates a new GetUserRobotParams object with the default values initialized.
func NewGetUserRobotParamsWithContext ¶
func NewGetUserRobotParamsWithContext(ctx context.Context) *GetUserRobotParams
NewGetUserRobotParamsWithContext creates a new GetUserRobotParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserRobotParamsWithHTTPClient ¶
func NewGetUserRobotParamsWithHTTPClient(client *http.Client) *GetUserRobotParams
NewGetUserRobotParamsWithHTTPClient creates a new GetUserRobotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserRobotParamsWithTimeout ¶
func NewGetUserRobotParamsWithTimeout(timeout time.Duration) *GetUserRobotParams
NewGetUserRobotParamsWithTimeout creates a new GetUserRobotParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserRobotParams) SetContext ¶
func (o *GetUserRobotParams) SetContext(ctx context.Context)
SetContext adds the context to the get user robot params
func (*GetUserRobotParams) SetHTTPClient ¶
func (o *GetUserRobotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user robot params
func (*GetUserRobotParams) SetRobotShortname ¶
func (o *GetUserRobotParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the get user robot params
func (*GetUserRobotParams) SetTimeout ¶
func (o *GetUserRobotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user robot params
func (*GetUserRobotParams) WithContext ¶
func (o *GetUserRobotParams) WithContext(ctx context.Context) *GetUserRobotParams
WithContext adds the context to the get user robot params
func (*GetUserRobotParams) WithHTTPClient ¶
func (o *GetUserRobotParams) WithHTTPClient(client *http.Client) *GetUserRobotParams
WithHTTPClient adds the HTTPClient to the get user robot params
func (*GetUserRobotParams) WithRobotShortname ¶
func (o *GetUserRobotParams) WithRobotShortname(robotShortname string) *GetUserRobotParams
WithRobotShortname adds the robotShortname to the get user robot params
func (*GetUserRobotParams) WithTimeout ¶
func (o *GetUserRobotParams) WithTimeout(timeout time.Duration) *GetUserRobotParams
WithTimeout adds the timeout to the get user robot params
func (*GetUserRobotParams) WriteToRequest ¶
func (o *GetUserRobotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserRobotPermissionsBadRequest ¶
GetUserRobotPermissionsBadRequest handles this case with default header values.
Bad Request
func NewGetUserRobotPermissionsBadRequest ¶
func NewGetUserRobotPermissionsBadRequest() *GetUserRobotPermissionsBadRequest
NewGetUserRobotPermissionsBadRequest creates a GetUserRobotPermissionsBadRequest with default headers values
func (*GetUserRobotPermissionsBadRequest) Error ¶
func (o *GetUserRobotPermissionsBadRequest) Error() string
func (*GetUserRobotPermissionsBadRequest) GetPayload ¶
func (o *GetUserRobotPermissionsBadRequest) GetPayload() *models.APIError
type GetUserRobotPermissionsForbidden ¶
GetUserRobotPermissionsForbidden handles this case with default header values.
Unauthorized access
func NewGetUserRobotPermissionsForbidden ¶
func NewGetUserRobotPermissionsForbidden() *GetUserRobotPermissionsForbidden
NewGetUserRobotPermissionsForbidden creates a GetUserRobotPermissionsForbidden with default headers values
func (*GetUserRobotPermissionsForbidden) Error ¶
func (o *GetUserRobotPermissionsForbidden) Error() string
func (*GetUserRobotPermissionsForbidden) GetPayload ¶
func (o *GetUserRobotPermissionsForbidden) GetPayload() *models.APIError
type GetUserRobotPermissionsNotFound ¶
GetUserRobotPermissionsNotFound handles this case with default header values.
Not found
func NewGetUserRobotPermissionsNotFound ¶
func NewGetUserRobotPermissionsNotFound() *GetUserRobotPermissionsNotFound
NewGetUserRobotPermissionsNotFound creates a GetUserRobotPermissionsNotFound with default headers values
func (*GetUserRobotPermissionsNotFound) Error ¶
func (o *GetUserRobotPermissionsNotFound) Error() string
func (*GetUserRobotPermissionsNotFound) GetPayload ¶
func (o *GetUserRobotPermissionsNotFound) GetPayload() *models.APIError
type GetUserRobotPermissionsOK ¶
type GetUserRobotPermissionsOK struct { }
GetUserRobotPermissionsOK handles this case with default header values.
Successful invocation
func NewGetUserRobotPermissionsOK ¶
func NewGetUserRobotPermissionsOK() *GetUserRobotPermissionsOK
NewGetUserRobotPermissionsOK creates a GetUserRobotPermissionsOK with default headers values
func (*GetUserRobotPermissionsOK) Error ¶
func (o *GetUserRobotPermissionsOK) Error() string
type GetUserRobotPermissionsParams ¶
type GetUserRobotPermissionsParams struct { /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserRobotPermissionsParams contains all the parameters to send to the API endpoint for the get user robot permissions operation typically these are written to a http.Request
func NewGetUserRobotPermissionsParams ¶
func NewGetUserRobotPermissionsParams() *GetUserRobotPermissionsParams
NewGetUserRobotPermissionsParams creates a new GetUserRobotPermissionsParams object with the default values initialized.
func NewGetUserRobotPermissionsParamsWithContext ¶
func NewGetUserRobotPermissionsParamsWithContext(ctx context.Context) *GetUserRobotPermissionsParams
NewGetUserRobotPermissionsParamsWithContext creates a new GetUserRobotPermissionsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserRobotPermissionsParamsWithHTTPClient ¶
func NewGetUserRobotPermissionsParamsWithHTTPClient(client *http.Client) *GetUserRobotPermissionsParams
NewGetUserRobotPermissionsParamsWithHTTPClient creates a new GetUserRobotPermissionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserRobotPermissionsParamsWithTimeout ¶
func NewGetUserRobotPermissionsParamsWithTimeout(timeout time.Duration) *GetUserRobotPermissionsParams
NewGetUserRobotPermissionsParamsWithTimeout creates a new GetUserRobotPermissionsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserRobotPermissionsParams) SetContext ¶
func (o *GetUserRobotPermissionsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user robot permissions params
func (*GetUserRobotPermissionsParams) SetHTTPClient ¶
func (o *GetUserRobotPermissionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user robot permissions params
func (*GetUserRobotPermissionsParams) SetRobotShortname ¶
func (o *GetUserRobotPermissionsParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the get user robot permissions params
func (*GetUserRobotPermissionsParams) SetTimeout ¶
func (o *GetUserRobotPermissionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user robot permissions params
func (*GetUserRobotPermissionsParams) WithContext ¶
func (o *GetUserRobotPermissionsParams) WithContext(ctx context.Context) *GetUserRobotPermissionsParams
WithContext adds the context to the get user robot permissions params
func (*GetUserRobotPermissionsParams) WithHTTPClient ¶
func (o *GetUserRobotPermissionsParams) WithHTTPClient(client *http.Client) *GetUserRobotPermissionsParams
WithHTTPClient adds the HTTPClient to the get user robot permissions params
func (*GetUserRobotPermissionsParams) WithRobotShortname ¶
func (o *GetUserRobotPermissionsParams) WithRobotShortname(robotShortname string) *GetUserRobotPermissionsParams
WithRobotShortname adds the robotShortname to the get user robot permissions params
func (*GetUserRobotPermissionsParams) WithTimeout ¶
func (o *GetUserRobotPermissionsParams) WithTimeout(timeout time.Duration) *GetUserRobotPermissionsParams
WithTimeout adds the timeout to the get user robot permissions params
func (*GetUserRobotPermissionsParams) WriteToRequest ¶
func (o *GetUserRobotPermissionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserRobotPermissionsReader ¶
type GetUserRobotPermissionsReader struct {
// contains filtered or unexported fields
}
GetUserRobotPermissionsReader is a Reader for the GetUserRobotPermissions structure.
func (*GetUserRobotPermissionsReader) ReadResponse ¶
func (o *GetUserRobotPermissionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserRobotPermissionsUnauthorized ¶
type GetUserRobotPermissionsUnauthorized struct {
}GetUserRobotPermissionsUnauthorized handles this case with default header values.
Session required
func NewGetUserRobotPermissionsUnauthorized ¶
func NewGetUserRobotPermissionsUnauthorized() *GetUserRobotPermissionsUnauthorized
NewGetUserRobotPermissionsUnauthorized creates a GetUserRobotPermissionsUnauthorized with default headers values
func (*GetUserRobotPermissionsUnauthorized) Error ¶
func (o *GetUserRobotPermissionsUnauthorized) Error() string
func (*GetUserRobotPermissionsUnauthorized) GetPayload ¶
func (o *GetUserRobotPermissionsUnauthorized) GetPayload() *models.APIError
type GetUserRobotReader ¶
type GetUserRobotReader struct {
// contains filtered or unexported fields
}
GetUserRobotReader is a Reader for the GetUserRobot structure.
func (*GetUserRobotReader) ReadResponse ¶
func (o *GetUserRobotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserRobotUnauthorized ¶
type GetUserRobotUnauthorized struct {
}GetUserRobotUnauthorized handles this case with default header values.
Session required
func NewGetUserRobotUnauthorized ¶
func NewGetUserRobotUnauthorized() *GetUserRobotUnauthorized
NewGetUserRobotUnauthorized creates a GetUserRobotUnauthorized with default headers values
func (*GetUserRobotUnauthorized) Error ¶
func (o *GetUserRobotUnauthorized) Error() string
func (*GetUserRobotUnauthorized) GetPayload ¶
func (o *GetUserRobotUnauthorized) GetPayload() *models.APIError
type GetUserRobotsBadRequest ¶
GetUserRobotsBadRequest handles this case with default header values.
Bad Request
func NewGetUserRobotsBadRequest ¶
func NewGetUserRobotsBadRequest() *GetUserRobotsBadRequest
NewGetUserRobotsBadRequest creates a GetUserRobotsBadRequest with default headers values
func (*GetUserRobotsBadRequest) Error ¶
func (o *GetUserRobotsBadRequest) Error() string
func (*GetUserRobotsBadRequest) GetPayload ¶
func (o *GetUserRobotsBadRequest) GetPayload() *models.APIError
type GetUserRobotsForbidden ¶
GetUserRobotsForbidden handles this case with default header values.
Unauthorized access
func NewGetUserRobotsForbidden ¶
func NewGetUserRobotsForbidden() *GetUserRobotsForbidden
NewGetUserRobotsForbidden creates a GetUserRobotsForbidden with default headers values
func (*GetUserRobotsForbidden) Error ¶
func (o *GetUserRobotsForbidden) Error() string
func (*GetUserRobotsForbidden) GetPayload ¶
func (o *GetUserRobotsForbidden) GetPayload() *models.APIError
type GetUserRobotsNotFound ¶
GetUserRobotsNotFound handles this case with default header values.
Not found
func NewGetUserRobotsNotFound ¶
func NewGetUserRobotsNotFound() *GetUserRobotsNotFound
NewGetUserRobotsNotFound creates a GetUserRobotsNotFound with default headers values
func (*GetUserRobotsNotFound) Error ¶
func (o *GetUserRobotsNotFound) Error() string
func (*GetUserRobotsNotFound) GetPayload ¶
func (o *GetUserRobotsNotFound) GetPayload() *models.APIError
type GetUserRobotsOK ¶
type GetUserRobotsOK struct { }
GetUserRobotsOK handles this case with default header values.
Successful invocation
func NewGetUserRobotsOK ¶
func NewGetUserRobotsOK() *GetUserRobotsOK
NewGetUserRobotsOK creates a GetUserRobotsOK with default headers values
func (*GetUserRobotsOK) Error ¶
func (o *GetUserRobotsOK) Error() string
type GetUserRobotsParams ¶
type GetUserRobotsParams struct { /*Limit If specified, the number of robots to return. */ Limit *int64 /*Permissions Whether to include repositories and teams in which the robots have permission. */ Permissions *bool /*Token If false, the robot's token is not returned. */ Token *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserRobotsParams contains all the parameters to send to the API endpoint for the get user robots operation typically these are written to a http.Request
func NewGetUserRobotsParams ¶
func NewGetUserRobotsParams() *GetUserRobotsParams
NewGetUserRobotsParams creates a new GetUserRobotsParams object with the default values initialized.
func NewGetUserRobotsParamsWithContext ¶
func NewGetUserRobotsParamsWithContext(ctx context.Context) *GetUserRobotsParams
NewGetUserRobotsParamsWithContext creates a new GetUserRobotsParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserRobotsParamsWithHTTPClient ¶
func NewGetUserRobotsParamsWithHTTPClient(client *http.Client) *GetUserRobotsParams
NewGetUserRobotsParamsWithHTTPClient creates a new GetUserRobotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserRobotsParamsWithTimeout ¶
func NewGetUserRobotsParamsWithTimeout(timeout time.Duration) *GetUserRobotsParams
NewGetUserRobotsParamsWithTimeout creates a new GetUserRobotsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserRobotsParams) SetContext ¶
func (o *GetUserRobotsParams) SetContext(ctx context.Context)
SetContext adds the context to the get user robots params
func (*GetUserRobotsParams) SetHTTPClient ¶
func (o *GetUserRobotsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user robots params
func (*GetUserRobotsParams) SetLimit ¶
func (o *GetUserRobotsParams) SetLimit(limit *int64)
SetLimit adds the limit to the get user robots params
func (*GetUserRobotsParams) SetPermissions ¶
func (o *GetUserRobotsParams) SetPermissions(permissions *bool)
SetPermissions adds the permissions to the get user robots params
func (*GetUserRobotsParams) SetTimeout ¶
func (o *GetUserRobotsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user robots params
func (*GetUserRobotsParams) SetToken ¶
func (o *GetUserRobotsParams) SetToken(token *bool)
SetToken adds the token to the get user robots params
func (*GetUserRobotsParams) WithContext ¶
func (o *GetUserRobotsParams) WithContext(ctx context.Context) *GetUserRobotsParams
WithContext adds the context to the get user robots params
func (*GetUserRobotsParams) WithHTTPClient ¶
func (o *GetUserRobotsParams) WithHTTPClient(client *http.Client) *GetUserRobotsParams
WithHTTPClient adds the HTTPClient to the get user robots params
func (*GetUserRobotsParams) WithLimit ¶
func (o *GetUserRobotsParams) WithLimit(limit *int64) *GetUserRobotsParams
WithLimit adds the limit to the get user robots params
func (*GetUserRobotsParams) WithPermissions ¶
func (o *GetUserRobotsParams) WithPermissions(permissions *bool) *GetUserRobotsParams
WithPermissions adds the permissions to the get user robots params
func (*GetUserRobotsParams) WithTimeout ¶
func (o *GetUserRobotsParams) WithTimeout(timeout time.Duration) *GetUserRobotsParams
WithTimeout adds the timeout to the get user robots params
func (*GetUserRobotsParams) WithToken ¶
func (o *GetUserRobotsParams) WithToken(token *bool) *GetUserRobotsParams
WithToken adds the token to the get user robots params
func (*GetUserRobotsParams) WriteToRequest ¶
func (o *GetUserRobotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserRobotsReader ¶
type GetUserRobotsReader struct {
// contains filtered or unexported fields
}
GetUserRobotsReader is a Reader for the GetUserRobots structure.
func (*GetUserRobotsReader) ReadResponse ¶
func (o *GetUserRobotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserRobotsUnauthorized ¶
type GetUserRobotsUnauthorized struct {
}GetUserRobotsUnauthorized handles this case with default header values.
Session required
func NewGetUserRobotsUnauthorized ¶
func NewGetUserRobotsUnauthorized() *GetUserRobotsUnauthorized
NewGetUserRobotsUnauthorized creates a GetUserRobotsUnauthorized with default headers values
func (*GetUserRobotsUnauthorized) Error ¶
func (o *GetUserRobotsUnauthorized) Error() string
func (*GetUserRobotsUnauthorized) GetPayload ¶
func (o *GetUserRobotsUnauthorized) GetPayload() *models.APIError
type RegenerateOrgRobotTokenBadRequest ¶
RegenerateOrgRobotTokenBadRequest handles this case with default header values.
Bad Request
func NewRegenerateOrgRobotTokenBadRequest ¶
func NewRegenerateOrgRobotTokenBadRequest() *RegenerateOrgRobotTokenBadRequest
NewRegenerateOrgRobotTokenBadRequest creates a RegenerateOrgRobotTokenBadRequest with default headers values
func (*RegenerateOrgRobotTokenBadRequest) Error ¶
func (o *RegenerateOrgRobotTokenBadRequest) Error() string
func (*RegenerateOrgRobotTokenBadRequest) GetPayload ¶
func (o *RegenerateOrgRobotTokenBadRequest) GetPayload() *models.APIError
type RegenerateOrgRobotTokenCreated ¶
type RegenerateOrgRobotTokenCreated struct { }
RegenerateOrgRobotTokenCreated handles this case with default header values.
Successful creation
func NewRegenerateOrgRobotTokenCreated ¶
func NewRegenerateOrgRobotTokenCreated() *RegenerateOrgRobotTokenCreated
NewRegenerateOrgRobotTokenCreated creates a RegenerateOrgRobotTokenCreated with default headers values
func (*RegenerateOrgRobotTokenCreated) Error ¶
func (o *RegenerateOrgRobotTokenCreated) Error() string
type RegenerateOrgRobotTokenForbidden ¶
RegenerateOrgRobotTokenForbidden handles this case with default header values.
Unauthorized access
func NewRegenerateOrgRobotTokenForbidden ¶
func NewRegenerateOrgRobotTokenForbidden() *RegenerateOrgRobotTokenForbidden
NewRegenerateOrgRobotTokenForbidden creates a RegenerateOrgRobotTokenForbidden with default headers values
func (*RegenerateOrgRobotTokenForbidden) Error ¶
func (o *RegenerateOrgRobotTokenForbidden) Error() string
func (*RegenerateOrgRobotTokenForbidden) GetPayload ¶
func (o *RegenerateOrgRobotTokenForbidden) GetPayload() *models.APIError
type RegenerateOrgRobotTokenNotFound ¶
RegenerateOrgRobotTokenNotFound handles this case with default header values.
Not found
func NewRegenerateOrgRobotTokenNotFound ¶
func NewRegenerateOrgRobotTokenNotFound() *RegenerateOrgRobotTokenNotFound
NewRegenerateOrgRobotTokenNotFound creates a RegenerateOrgRobotTokenNotFound with default headers values
func (*RegenerateOrgRobotTokenNotFound) Error ¶
func (o *RegenerateOrgRobotTokenNotFound) Error() string
func (*RegenerateOrgRobotTokenNotFound) GetPayload ¶
func (o *RegenerateOrgRobotTokenNotFound) GetPayload() *models.APIError
type RegenerateOrgRobotTokenParams ¶
type RegenerateOrgRobotTokenParams struct { /*Orgname The name of the organization */ Orgname string /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegenerateOrgRobotTokenParams contains all the parameters to send to the API endpoint for the regenerate org robot token operation typically these are written to a http.Request
func NewRegenerateOrgRobotTokenParams ¶
func NewRegenerateOrgRobotTokenParams() *RegenerateOrgRobotTokenParams
NewRegenerateOrgRobotTokenParams creates a new RegenerateOrgRobotTokenParams object with the default values initialized.
func NewRegenerateOrgRobotTokenParamsWithContext ¶
func NewRegenerateOrgRobotTokenParamsWithContext(ctx context.Context) *RegenerateOrgRobotTokenParams
NewRegenerateOrgRobotTokenParamsWithContext creates a new RegenerateOrgRobotTokenParams object with the default values initialized, and the ability to set a context for a request
func NewRegenerateOrgRobotTokenParamsWithHTTPClient ¶
func NewRegenerateOrgRobotTokenParamsWithHTTPClient(client *http.Client) *RegenerateOrgRobotTokenParams
NewRegenerateOrgRobotTokenParamsWithHTTPClient creates a new RegenerateOrgRobotTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegenerateOrgRobotTokenParamsWithTimeout ¶
func NewRegenerateOrgRobotTokenParamsWithTimeout(timeout time.Duration) *RegenerateOrgRobotTokenParams
NewRegenerateOrgRobotTokenParamsWithTimeout creates a new RegenerateOrgRobotTokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegenerateOrgRobotTokenParams) SetContext ¶
func (o *RegenerateOrgRobotTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) SetHTTPClient ¶
func (o *RegenerateOrgRobotTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) SetOrgname ¶
func (o *RegenerateOrgRobotTokenParams) SetOrgname(orgname string)
SetOrgname adds the orgname to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) SetRobotShortname ¶
func (o *RegenerateOrgRobotTokenParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) SetTimeout ¶
func (o *RegenerateOrgRobotTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) WithContext ¶
func (o *RegenerateOrgRobotTokenParams) WithContext(ctx context.Context) *RegenerateOrgRobotTokenParams
WithContext adds the context to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) WithHTTPClient ¶
func (o *RegenerateOrgRobotTokenParams) WithHTTPClient(client *http.Client) *RegenerateOrgRobotTokenParams
WithHTTPClient adds the HTTPClient to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) WithOrgname ¶
func (o *RegenerateOrgRobotTokenParams) WithOrgname(orgname string) *RegenerateOrgRobotTokenParams
WithOrgname adds the orgname to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) WithRobotShortname ¶
func (o *RegenerateOrgRobotTokenParams) WithRobotShortname(robotShortname string) *RegenerateOrgRobotTokenParams
WithRobotShortname adds the robotShortname to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) WithTimeout ¶
func (o *RegenerateOrgRobotTokenParams) WithTimeout(timeout time.Duration) *RegenerateOrgRobotTokenParams
WithTimeout adds the timeout to the regenerate org robot token params
func (*RegenerateOrgRobotTokenParams) WriteToRequest ¶
func (o *RegenerateOrgRobotTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegenerateOrgRobotTokenReader ¶
type RegenerateOrgRobotTokenReader struct {
// contains filtered or unexported fields
}
RegenerateOrgRobotTokenReader is a Reader for the RegenerateOrgRobotToken structure.
func (*RegenerateOrgRobotTokenReader) ReadResponse ¶
func (o *RegenerateOrgRobotTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegenerateOrgRobotTokenUnauthorized ¶
type RegenerateOrgRobotTokenUnauthorized struct {
}RegenerateOrgRobotTokenUnauthorized handles this case with default header values.
Session required
func NewRegenerateOrgRobotTokenUnauthorized ¶
func NewRegenerateOrgRobotTokenUnauthorized() *RegenerateOrgRobotTokenUnauthorized
NewRegenerateOrgRobotTokenUnauthorized creates a RegenerateOrgRobotTokenUnauthorized with default headers values
func (*RegenerateOrgRobotTokenUnauthorized) Error ¶
func (o *RegenerateOrgRobotTokenUnauthorized) Error() string
func (*RegenerateOrgRobotTokenUnauthorized) GetPayload ¶
func (o *RegenerateOrgRobotTokenUnauthorized) GetPayload() *models.APIError
type RegenerateUserRobotTokenBadRequest ¶
RegenerateUserRobotTokenBadRequest handles this case with default header values.
Bad Request
func NewRegenerateUserRobotTokenBadRequest ¶
func NewRegenerateUserRobotTokenBadRequest() *RegenerateUserRobotTokenBadRequest
NewRegenerateUserRobotTokenBadRequest creates a RegenerateUserRobotTokenBadRequest with default headers values
func (*RegenerateUserRobotTokenBadRequest) Error ¶
func (o *RegenerateUserRobotTokenBadRequest) Error() string
func (*RegenerateUserRobotTokenBadRequest) GetPayload ¶
func (o *RegenerateUserRobotTokenBadRequest) GetPayload() *models.APIError
type RegenerateUserRobotTokenCreated ¶
type RegenerateUserRobotTokenCreated struct { }
RegenerateUserRobotTokenCreated handles this case with default header values.
Successful creation
func NewRegenerateUserRobotTokenCreated ¶
func NewRegenerateUserRobotTokenCreated() *RegenerateUserRobotTokenCreated
NewRegenerateUserRobotTokenCreated creates a RegenerateUserRobotTokenCreated with default headers values
func (*RegenerateUserRobotTokenCreated) Error ¶
func (o *RegenerateUserRobotTokenCreated) Error() string
type RegenerateUserRobotTokenForbidden ¶
RegenerateUserRobotTokenForbidden handles this case with default header values.
Unauthorized access
func NewRegenerateUserRobotTokenForbidden ¶
func NewRegenerateUserRobotTokenForbidden() *RegenerateUserRobotTokenForbidden
NewRegenerateUserRobotTokenForbidden creates a RegenerateUserRobotTokenForbidden with default headers values
func (*RegenerateUserRobotTokenForbidden) Error ¶
func (o *RegenerateUserRobotTokenForbidden) Error() string
func (*RegenerateUserRobotTokenForbidden) GetPayload ¶
func (o *RegenerateUserRobotTokenForbidden) GetPayload() *models.APIError
type RegenerateUserRobotTokenNotFound ¶
RegenerateUserRobotTokenNotFound handles this case with default header values.
Not found
func NewRegenerateUserRobotTokenNotFound ¶
func NewRegenerateUserRobotTokenNotFound() *RegenerateUserRobotTokenNotFound
NewRegenerateUserRobotTokenNotFound creates a RegenerateUserRobotTokenNotFound with default headers values
func (*RegenerateUserRobotTokenNotFound) Error ¶
func (o *RegenerateUserRobotTokenNotFound) Error() string
func (*RegenerateUserRobotTokenNotFound) GetPayload ¶
func (o *RegenerateUserRobotTokenNotFound) GetPayload() *models.APIError
type RegenerateUserRobotTokenParams ¶
type RegenerateUserRobotTokenParams struct { /*RobotShortname The short name for the robot, without any user or organization prefix */ RobotShortname string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegenerateUserRobotTokenParams contains all the parameters to send to the API endpoint for the regenerate user robot token operation typically these are written to a http.Request
func NewRegenerateUserRobotTokenParams ¶
func NewRegenerateUserRobotTokenParams() *RegenerateUserRobotTokenParams
NewRegenerateUserRobotTokenParams creates a new RegenerateUserRobotTokenParams object with the default values initialized.
func NewRegenerateUserRobotTokenParamsWithContext ¶
func NewRegenerateUserRobotTokenParamsWithContext(ctx context.Context) *RegenerateUserRobotTokenParams
NewRegenerateUserRobotTokenParamsWithContext creates a new RegenerateUserRobotTokenParams object with the default values initialized, and the ability to set a context for a request
func NewRegenerateUserRobotTokenParamsWithHTTPClient ¶
func NewRegenerateUserRobotTokenParamsWithHTTPClient(client *http.Client) *RegenerateUserRobotTokenParams
NewRegenerateUserRobotTokenParamsWithHTTPClient creates a new RegenerateUserRobotTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegenerateUserRobotTokenParamsWithTimeout ¶
func NewRegenerateUserRobotTokenParamsWithTimeout(timeout time.Duration) *RegenerateUserRobotTokenParams
NewRegenerateUserRobotTokenParamsWithTimeout creates a new RegenerateUserRobotTokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegenerateUserRobotTokenParams) SetContext ¶
func (o *RegenerateUserRobotTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) SetHTTPClient ¶
func (o *RegenerateUserRobotTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) SetRobotShortname ¶
func (o *RegenerateUserRobotTokenParams) SetRobotShortname(robotShortname string)
SetRobotShortname adds the robotShortname to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) SetTimeout ¶
func (o *RegenerateUserRobotTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) WithContext ¶
func (o *RegenerateUserRobotTokenParams) WithContext(ctx context.Context) *RegenerateUserRobotTokenParams
WithContext adds the context to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) WithHTTPClient ¶
func (o *RegenerateUserRobotTokenParams) WithHTTPClient(client *http.Client) *RegenerateUserRobotTokenParams
WithHTTPClient adds the HTTPClient to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) WithRobotShortname ¶
func (o *RegenerateUserRobotTokenParams) WithRobotShortname(robotShortname string) *RegenerateUserRobotTokenParams
WithRobotShortname adds the robotShortname to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) WithTimeout ¶
func (o *RegenerateUserRobotTokenParams) WithTimeout(timeout time.Duration) *RegenerateUserRobotTokenParams
WithTimeout adds the timeout to the regenerate user robot token params
func (*RegenerateUserRobotTokenParams) WriteToRequest ¶
func (o *RegenerateUserRobotTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegenerateUserRobotTokenReader ¶
type RegenerateUserRobotTokenReader struct {
// contains filtered or unexported fields
}
RegenerateUserRobotTokenReader is a Reader for the RegenerateUserRobotToken structure.
func (*RegenerateUserRobotTokenReader) ReadResponse ¶
func (o *RegenerateUserRobotTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegenerateUserRobotTokenUnauthorized ¶
type RegenerateUserRobotTokenUnauthorized struct {
}RegenerateUserRobotTokenUnauthorized handles this case with default header values.
Session required
func NewRegenerateUserRobotTokenUnauthorized ¶
func NewRegenerateUserRobotTokenUnauthorized() *RegenerateUserRobotTokenUnauthorized
NewRegenerateUserRobotTokenUnauthorized creates a RegenerateUserRobotTokenUnauthorized with default headers values
func (*RegenerateUserRobotTokenUnauthorized) Error ¶
func (o *RegenerateUserRobotTokenUnauthorized) Error() string
func (*RegenerateUserRobotTokenUnauthorized) GetPayload ¶
func (o *RegenerateUserRobotTokenUnauthorized) GetPayload() *models.APIError
Source Files
¶
- create_org_robot_parameters.go
- create_org_robot_responses.go
- create_user_robot_parameters.go
- create_user_robot_responses.go
- delete_org_robot_parameters.go
- delete_org_robot_responses.go
- delete_user_robot_parameters.go
- delete_user_robot_responses.go
- get_org_robot_parameters.go
- get_org_robot_permissions_parameters.go
- get_org_robot_permissions_responses.go
- get_org_robot_responses.go
- get_org_robots_parameters.go
- get_org_robots_responses.go
- get_user_robot_parameters.go
- get_user_robot_permissions_parameters.go
- get_user_robot_permissions_responses.go
- get_user_robot_responses.go
- get_user_robots_parameters.go
- get_user_robots_responses.go
- regenerate_org_robot_token_parameters.go
- regenerate_org_robot_token_responses.go
- regenerate_user_robot_token_parameters.go
- regenerate_user_robot_token_responses.go
- robot_client.go