robot

package
v0.0.0-...-eff1da9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for 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

RegenerateOrgRobotToken Regenerates the token for an organization robot.

func (*Client) RegenerateUserRobotToken

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

type CreateOrgRobotBadRequest struct {
	Payload *models.APIError
}

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

type CreateOrgRobotForbidden struct {
	Payload *models.APIError
}

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

type CreateOrgRobotNotFound struct {
	Payload *models.APIError
}

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

WithBody adds the body to the create org robot params

func (*CreateOrgRobotParams) WithContext

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 {
	Payload *models.APIError
}

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

func (o *CreateOrgRobotUnauthorized) GetPayload() *models.APIError

type CreateUserRobotBadRequest

type CreateUserRobotBadRequest struct {
	Payload *models.APIError
}

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

type CreateUserRobotForbidden struct {
	Payload *models.APIError
}

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

type CreateUserRobotNotFound struct {
	Payload *models.APIError
}

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

WithBody adds the body to the create user robot params

func (*CreateUserRobotParams) WithContext

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 {
	Payload *models.APIError
}

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

func (o *CreateUserRobotUnauthorized) GetPayload() *models.APIError

type DeleteOrgRobotBadRequest

type DeleteOrgRobotBadRequest struct {
	Payload *models.APIError
}

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

type DeleteOrgRobotForbidden struct {
	Payload *models.APIError
}

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

type DeleteOrgRobotNotFound struct {
	Payload *models.APIError
}

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

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 {
	Payload *models.APIError
}

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

func (o *DeleteOrgRobotUnauthorized) GetPayload() *models.APIError

type DeleteUserRobotBadRequest

type DeleteUserRobotBadRequest struct {
	Payload *models.APIError
}

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

type DeleteUserRobotForbidden struct {
	Payload *models.APIError
}

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

type DeleteUserRobotNotFound struct {
	Payload *models.APIError
}

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

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 {
	Payload *models.APIError
}

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

func (o *DeleteUserRobotUnauthorized) GetPayload() *models.APIError

type GetOrgRobotBadRequest

type GetOrgRobotBadRequest struct {
	Payload *models.APIError
}

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

type GetOrgRobotForbidden struct {
	Payload *models.APIError
}

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

type GetOrgRobotNotFound struct {
	Payload *models.APIError
}

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

type GetOrgRobotPermissionsBadRequest struct {
	Payload *models.APIError
}

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

type GetOrgRobotPermissionsForbidden

type GetOrgRobotPermissionsForbidden struct {
	Payload *models.APIError
}

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

type GetOrgRobotPermissionsNotFound

type GetOrgRobotPermissionsNotFound struct {
	Payload *models.APIError
}

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

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

WithContext adds the context to the get org robot permissions params

func (*GetOrgRobotPermissionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get org robot permissions params

func (*GetOrgRobotPermissionsParams) WithOrgname

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

WithTimeout adds the timeout to the get org robot permissions params

func (*GetOrgRobotPermissionsParams) WriteToRequest

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 {
	Payload *models.APIError
}

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

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 {
	Payload *models.APIError
}

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

type GetOrgRobotsBadRequest struct {
	Payload *models.APIError
}

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

type GetOrgRobotsForbidden struct {
	Payload *models.APIError
}

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

type GetOrgRobotsNotFound struct {
	Payload *models.APIError
}

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

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 {
	Payload *models.APIError
}

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

type GetUserRobotBadRequest struct {
	Payload *models.APIError
}

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

type GetUserRobotForbidden struct {
	Payload *models.APIError
}

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

type GetUserRobotNotFound struct {
	Payload *models.APIError
}

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

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

type GetUserRobotPermissionsBadRequest struct {
	Payload *models.APIError
}

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

type GetUserRobotPermissionsForbidden

type GetUserRobotPermissionsForbidden struct {
	Payload *models.APIError
}

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

type GetUserRobotPermissionsNotFound

type GetUserRobotPermissionsNotFound struct {
	Payload *models.APIError
}

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

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

WithContext adds the context to the get user robot permissions params

func (*GetUserRobotPermissionsParams) WithHTTPClient

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

WithTimeout adds the timeout to the get user robot permissions params

func (*GetUserRobotPermissionsParams) WriteToRequest

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 {
	Payload *models.APIError
}

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

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 {
	Payload *models.APIError
}

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

type GetUserRobotsBadRequest struct {
	Payload *models.APIError
}

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

type GetUserRobotsForbidden struct {
	Payload *models.APIError
}

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

type GetUserRobotsNotFound struct {
	Payload *models.APIError
}

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

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 {
	Payload *models.APIError
}

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

type RegenerateOrgRobotTokenBadRequest struct {
	Payload *models.APIError
}

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

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

type RegenerateOrgRobotTokenForbidden

type RegenerateOrgRobotTokenForbidden struct {
	Payload *models.APIError
}

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

type RegenerateOrgRobotTokenNotFound

type RegenerateOrgRobotTokenNotFound struct {
	Payload *models.APIError
}

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

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

WithContext adds the context to the regenerate org robot token params

func (*RegenerateOrgRobotTokenParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the regenerate org robot token params

func (*RegenerateOrgRobotTokenParams) WithOrgname

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

WithTimeout adds the timeout to the regenerate org robot token params

func (*RegenerateOrgRobotTokenParams) WriteToRequest

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 {
	Payload *models.APIError
}

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

type RegenerateUserRobotTokenBadRequest

type RegenerateUserRobotTokenBadRequest struct {
	Payload *models.APIError
}

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

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

type RegenerateUserRobotTokenForbidden

type RegenerateUserRobotTokenForbidden struct {
	Payload *models.APIError
}

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

type RegenerateUserRobotTokenNotFound

type RegenerateUserRobotTokenNotFound struct {
	Payload *models.APIError
}

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

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

WithContext adds the context to the regenerate user robot token params

func (*RegenerateUserRobotTokenParams) WithHTTPClient

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

WithTimeout adds the timeout to the regenerate user robot token params

func (*RegenerateUserRobotTokenParams) WriteToRequest

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 {
	Payload *models.APIError
}

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

Jump to

Keyboard shortcuts

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