users

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: BSD-3-Clause Imports: 10 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 users API

func (*Client) PostAPIV2ProceduresUsersLinkGithub

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

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

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

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

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

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

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

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

SetContext adds the context to the post API v2 procedures users link github params

func (*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

SetTimeout adds the timeout to the post API v2 procedures users link github params

func (*PostAPIV2ProceduresUsersLinkGithubParams) WithContext

WithContext adds the context to the post API v2 procedures users link github params

func (*PostAPIV2ProceduresUsersLinkGithubParams) WithDefaults

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

WithGithubAccessPayloadRequest adds the githubAccessPayloadRequest to the post API v2 procedures users link github params

func (*PostAPIV2ProceduresUsersLinkGithubParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API v2 procedures users link github params

func (*PostAPIV2ProceduresUsersLinkGithubParams) WithTimeout

WithTimeout adds the timeout to the post API v2 procedures users link github params

func (*PostAPIV2ProceduresUsersLinkGithubParams) WriteToRequest

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

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.

Jump to

Keyboard shortcuts

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