Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type PostAPIV2ProceduresUsersLinkGithubAccepted
- type PostAPIV2ProceduresUsersLinkGithubBadRequest
- type PostAPIV2ProceduresUsersLinkGithubConflict
- type PostAPIV2ProceduresUsersLinkGithubForbidden
- type PostAPIV2ProceduresUsersLinkGithubInternalServerError
- type PostAPIV2ProceduresUsersLinkGithubNotFound
- type PostAPIV2ProceduresUsersLinkGithubOK
- type PostAPIV2ProceduresUsersLinkGithubParams
- func NewPostAPIV2ProceduresUsersLinkGithubParams() *PostAPIV2ProceduresUsersLinkGithubParams
- func NewPostAPIV2ProceduresUsersLinkGithubParamsWithContext(ctx context.Context) *PostAPIV2ProceduresUsersLinkGithubParams
- func NewPostAPIV2ProceduresUsersLinkGithubParamsWithHTTPClient(client *http.Client) *PostAPIV2ProceduresUsersLinkGithubParams
- func NewPostAPIV2ProceduresUsersLinkGithubParamsWithTimeout(timeout time.Duration) *PostAPIV2ProceduresUsersLinkGithubParams
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetContext(ctx context.Context)
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetDefaults()
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetGithubAccessPayloadRequest(githubAccessPayloadRequest *models.V2controllersGithubAccessPayload)
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithContext(ctx context.Context) *PostAPIV2ProceduresUsersLinkGithubParams
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithDefaults() *PostAPIV2ProceduresUsersLinkGithubParams
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithGithubAccessPayloadRequest(githubAccessPayloadRequest *models.V2controllersGithubAccessPayload) *PostAPIV2ProceduresUsersLinkGithubParams
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithHTTPClient(client *http.Client) *PostAPIV2ProceduresUsersLinkGithubParams
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithTimeout(timeout time.Duration) *PostAPIV2ProceduresUsersLinkGithubParams
- func (o *PostAPIV2ProceduresUsersLinkGithubParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired
- type PostAPIV2ProceduresUsersLinkGithubReader
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 users API
func (*Client) PostAPIV2ProceduresUsersLinkGithub ¶
func (a *Client) PostAPIV2ProceduresUsersLinkGithub(params *PostAPIV2ProceduresUsersLinkGithubParams, opts ...ClientOption) (*PostAPIV2ProceduresUsersLinkGithubOK, *PostAPIV2ProceduresUsersLinkGithubAccepted, error)
PostAPIV2ProceduresUsersLinkGithub updates the user s git hub account link
Update the authenticated User's associated personal GitHub account
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PostAPIV2ProceduresUsersLinkGithub(params *PostAPIV2ProceduresUsersLinkGithubParams, opts ...ClientOption) (*PostAPIV2ProceduresUsersLinkGithubOK, *PostAPIV2ProceduresUsersLinkGithubAccepted, 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 users API client.
type PostAPIV2ProceduresUsersLinkGithubAccepted ¶
type PostAPIV2ProceduresUsersLinkGithubAccepted struct {
Payload *models.V2controllersUser
}
PostAPIV2ProceduresUsersLinkGithubAccepted describes a response with status code 202, with default header values.
Accepted
func NewPostAPIV2ProceduresUsersLinkGithubAccepted ¶
func NewPostAPIV2ProceduresUsersLinkGithubAccepted() *PostAPIV2ProceduresUsersLinkGithubAccepted
NewPostAPIV2ProceduresUsersLinkGithubAccepted creates a PostAPIV2ProceduresUsersLinkGithubAccepted with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubAccepted) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubAccepted) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubAccepted) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubAccepted) GetPayload() *models.V2controllersUser
type PostAPIV2ProceduresUsersLinkGithubBadRequest ¶
type PostAPIV2ProceduresUsersLinkGithubBadRequest struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ProceduresUsersLinkGithubBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPostAPIV2ProceduresUsersLinkGithubBadRequest ¶
func NewPostAPIV2ProceduresUsersLinkGithubBadRequest() *PostAPIV2ProceduresUsersLinkGithubBadRequest
NewPostAPIV2ProceduresUsersLinkGithubBadRequest creates a PostAPIV2ProceduresUsersLinkGithubBadRequest with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubBadRequest) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubBadRequest) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubBadRequest) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubBadRequest) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ProceduresUsersLinkGithubConflict ¶
type PostAPIV2ProceduresUsersLinkGithubConflict struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ProceduresUsersLinkGithubConflict describes a response with status code 409, with default header values.
Conflict
func NewPostAPIV2ProceduresUsersLinkGithubConflict ¶
func NewPostAPIV2ProceduresUsersLinkGithubConflict() *PostAPIV2ProceduresUsersLinkGithubConflict
NewPostAPIV2ProceduresUsersLinkGithubConflict creates a PostAPIV2ProceduresUsersLinkGithubConflict with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubConflict) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubConflict) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubConflict) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubConflict) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ProceduresUsersLinkGithubForbidden ¶
type PostAPIV2ProceduresUsersLinkGithubForbidden struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ProceduresUsersLinkGithubForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPostAPIV2ProceduresUsersLinkGithubForbidden ¶
func NewPostAPIV2ProceduresUsersLinkGithubForbidden() *PostAPIV2ProceduresUsersLinkGithubForbidden
NewPostAPIV2ProceduresUsersLinkGithubForbidden creates a PostAPIV2ProceduresUsersLinkGithubForbidden with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubForbidden) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubForbidden) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubForbidden) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubForbidden) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ProceduresUsersLinkGithubInternalServerError ¶
type PostAPIV2ProceduresUsersLinkGithubInternalServerError struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ProceduresUsersLinkGithubInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPostAPIV2ProceduresUsersLinkGithubInternalServerError ¶
func NewPostAPIV2ProceduresUsersLinkGithubInternalServerError() *PostAPIV2ProceduresUsersLinkGithubInternalServerError
NewPostAPIV2ProceduresUsersLinkGithubInternalServerError creates a PostAPIV2ProceduresUsersLinkGithubInternalServerError with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubInternalServerError) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubInternalServerError) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubInternalServerError) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubInternalServerError) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ProceduresUsersLinkGithubNotFound ¶
type PostAPIV2ProceduresUsersLinkGithubNotFound struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ProceduresUsersLinkGithubNotFound describes a response with status code 404, with default header values.
Not Found
func NewPostAPIV2ProceduresUsersLinkGithubNotFound ¶
func NewPostAPIV2ProceduresUsersLinkGithubNotFound() *PostAPIV2ProceduresUsersLinkGithubNotFound
NewPostAPIV2ProceduresUsersLinkGithubNotFound creates a PostAPIV2ProceduresUsersLinkGithubNotFound with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubNotFound) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubNotFound) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubNotFound) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubNotFound) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ProceduresUsersLinkGithubOK ¶
type PostAPIV2ProceduresUsersLinkGithubOK struct {
Payload *models.V2controllersUser
}
PostAPIV2ProceduresUsersLinkGithubOK describes a response with status code 200, with default header values.
OK
func NewPostAPIV2ProceduresUsersLinkGithubOK ¶
func NewPostAPIV2ProceduresUsersLinkGithubOK() *PostAPIV2ProceduresUsersLinkGithubOK
NewPostAPIV2ProceduresUsersLinkGithubOK creates a PostAPIV2ProceduresUsersLinkGithubOK with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubOK) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubOK) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubOK) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubOK) GetPayload() *models.V2controllersUser
type PostAPIV2ProceduresUsersLinkGithubParams ¶
type PostAPIV2ProceduresUsersLinkGithubParams struct { /* GithubAccessPayloadRequest. Access to the GitHub account to link */ GithubAccessPayloadRequest *models.V2controllersGithubAccessPayload Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIV2ProceduresUsersLinkGithubParams contains all the parameters to send to the API endpoint
for the post API v2 procedures users link github operation. Typically these are written to a http.Request.
func NewPostAPIV2ProceduresUsersLinkGithubParams ¶
func NewPostAPIV2ProceduresUsersLinkGithubParams() *PostAPIV2ProceduresUsersLinkGithubParams
NewPostAPIV2ProceduresUsersLinkGithubParams creates a new PostAPIV2ProceduresUsersLinkGithubParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIV2ProceduresUsersLinkGithubParamsWithContext ¶
func NewPostAPIV2ProceduresUsersLinkGithubParamsWithContext(ctx context.Context) *PostAPIV2ProceduresUsersLinkGithubParams
NewPostAPIV2ProceduresUsersLinkGithubParamsWithContext creates a new PostAPIV2ProceduresUsersLinkGithubParams object with the ability to set a context for a request.
func NewPostAPIV2ProceduresUsersLinkGithubParamsWithHTTPClient ¶
func NewPostAPIV2ProceduresUsersLinkGithubParamsWithHTTPClient(client *http.Client) *PostAPIV2ProceduresUsersLinkGithubParams
NewPostAPIV2ProceduresUsersLinkGithubParamsWithHTTPClient creates a new PostAPIV2ProceduresUsersLinkGithubParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIV2ProceduresUsersLinkGithubParamsWithTimeout ¶
func NewPostAPIV2ProceduresUsersLinkGithubParamsWithTimeout(timeout time.Duration) *PostAPIV2ProceduresUsersLinkGithubParams
NewPostAPIV2ProceduresUsersLinkGithubParamsWithTimeout creates a new PostAPIV2ProceduresUsersLinkGithubParams object with the ability to set a timeout on a request.
func (*PostAPIV2ProceduresUsersLinkGithubParams) SetContext ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetContext(ctx context.Context)
SetContext adds the context to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) SetDefaults ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetDefaults()
SetDefaults hydrates default values in the post API v2 procedures users link github params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2ProceduresUsersLinkGithubParams) SetGithubAccessPayloadRequest ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetGithubAccessPayloadRequest(githubAccessPayloadRequest *models.V2controllersGithubAccessPayload)
SetGithubAccessPayloadRequest adds the githubAccessPayloadRequest to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) SetHTTPClient ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) SetTimeout ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) WithContext ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithContext(ctx context.Context) *PostAPIV2ProceduresUsersLinkGithubParams
WithContext adds the context to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) WithDefaults ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithDefaults() *PostAPIV2ProceduresUsersLinkGithubParams
WithDefaults hydrates default values in the post API v2 procedures users link github params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIV2ProceduresUsersLinkGithubParams) WithGithubAccessPayloadRequest ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithGithubAccessPayloadRequest(githubAccessPayloadRequest *models.V2controllersGithubAccessPayload) *PostAPIV2ProceduresUsersLinkGithubParams
WithGithubAccessPayloadRequest adds the githubAccessPayloadRequest to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) WithHTTPClient ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithHTTPClient(client *http.Client) *PostAPIV2ProceduresUsersLinkGithubParams
WithHTTPClient adds the HTTPClient to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) WithTimeout ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) WithTimeout(timeout time.Duration) *PostAPIV2ProceduresUsersLinkGithubParams
WithTimeout adds the timeout to the post API v2 procedures users link github params
func (*PostAPIV2ProceduresUsersLinkGithubParams) WriteToRequest ¶
func (o *PostAPIV2ProceduresUsersLinkGithubParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired ¶
type PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired struct {
Payload *models.ErrorsErrorResponse
}
PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired describes a response with status code 407, with default header values.
Proxy Authentication Required
func NewPostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired ¶
func NewPostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired() *PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired
NewPostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired creates a PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired with default headers values
func (*PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired) Error ¶
func (o *PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired) Error() string
func (*PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired) GetPayload ¶
func (o *PostAPIV2ProceduresUsersLinkGithubProxyAuthenticationRequired) GetPayload() *models.ErrorsErrorResponse
type PostAPIV2ProceduresUsersLinkGithubReader ¶
type PostAPIV2ProceduresUsersLinkGithubReader struct {
// contains filtered or unexported fields
}
PostAPIV2ProceduresUsersLinkGithubReader is a Reader for the PostAPIV2ProceduresUsersLinkGithub structure.
func (*PostAPIV2ProceduresUsersLinkGithubReader) ReadResponse ¶
func (o *PostAPIV2ProceduresUsersLinkGithubReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.