Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetGithubCallbackForbidden
- func (o *GetGithubCallbackForbidden) Code() int
- func (o *GetGithubCallbackForbidden) Error() string
- func (o *GetGithubCallbackForbidden) GetPayload() string
- func (o *GetGithubCallbackForbidden) IsClientError() bool
- func (o *GetGithubCallbackForbidden) IsCode(code int) bool
- func (o *GetGithubCallbackForbidden) IsRedirect() bool
- func (o *GetGithubCallbackForbidden) IsServerError() bool
- func (o *GetGithubCallbackForbidden) IsSuccess() bool
- func (o *GetGithubCallbackForbidden) String() string
- type GetGithubCallbackInternalServerError
- func (o *GetGithubCallbackInternalServerError) Code() int
- func (o *GetGithubCallbackInternalServerError) Error() string
- func (o *GetGithubCallbackInternalServerError) GetPayload() string
- func (o *GetGithubCallbackInternalServerError) IsClientError() bool
- func (o *GetGithubCallbackInternalServerError) IsCode(code int) bool
- func (o *GetGithubCallbackInternalServerError) IsRedirect() bool
- func (o *GetGithubCallbackInternalServerError) IsServerError() bool
- func (o *GetGithubCallbackInternalServerError) IsSuccess() bool
- func (o *GetGithubCallbackInternalServerError) String() string
- type GetGithubCallbackNotFound
- func (o *GetGithubCallbackNotFound) Code() int
- func (o *GetGithubCallbackNotFound) Error() string
- func (o *GetGithubCallbackNotFound) GetPayload() string
- func (o *GetGithubCallbackNotFound) IsClientError() bool
- func (o *GetGithubCallbackNotFound) IsCode(code int) bool
- func (o *GetGithubCallbackNotFound) IsRedirect() bool
- func (o *GetGithubCallbackNotFound) IsServerError() bool
- func (o *GetGithubCallbackNotFound) IsSuccess() bool
- func (o *GetGithubCallbackNotFound) String() string
- type GetGithubCallbackParams
- func NewGetGithubCallbackParams() *GetGithubCallbackParams
- func NewGetGithubCallbackParamsWithContext(ctx context.Context) *GetGithubCallbackParams
- func NewGetGithubCallbackParamsWithHTTPClient(client *http.Client) *GetGithubCallbackParams
- func NewGetGithubCallbackParamsWithTimeout(timeout time.Duration) *GetGithubCallbackParams
- func (o *GetGithubCallbackParams) SetContext(ctx context.Context)
- func (o *GetGithubCallbackParams) SetDefaults()
- func (o *GetGithubCallbackParams) SetHTTPClient(client *http.Client)
- func (o *GetGithubCallbackParams) SetTimeout(timeout time.Duration)
- func (o *GetGithubCallbackParams) WithContext(ctx context.Context) *GetGithubCallbackParams
- func (o *GetGithubCallbackParams) WithDefaults() *GetGithubCallbackParams
- func (o *GetGithubCallbackParams) WithHTTPClient(client *http.Client) *GetGithubCallbackParams
- func (o *GetGithubCallbackParams) WithTimeout(timeout time.Duration) *GetGithubCallbackParams
- func (o *GetGithubCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGithubCallbackReader
- type GetGithubCallbackTemporaryRedirect
- func (o *GetGithubCallbackTemporaryRedirect) Code() int
- func (o *GetGithubCallbackTemporaryRedirect) Error() string
- func (o *GetGithubCallbackTemporaryRedirect) IsClientError() bool
- func (o *GetGithubCallbackTemporaryRedirect) IsCode(code int) bool
- func (o *GetGithubCallbackTemporaryRedirect) IsRedirect() bool
- func (o *GetGithubCallbackTemporaryRedirect) IsServerError() bool
- func (o *GetGithubCallbackTemporaryRedirect) IsSuccess() bool
- func (o *GetGithubCallbackTemporaryRedirect) String() string
- type GetGithubCallbackUnauthorized
- func (o *GetGithubCallbackUnauthorized) Code() int
- func (o *GetGithubCallbackUnauthorized) Error() string
- func (o *GetGithubCallbackUnauthorized) GetPayload() string
- func (o *GetGithubCallbackUnauthorized) IsClientError() bool
- func (o *GetGithubCallbackUnauthorized) IsCode(code int) bool
- func (o *GetGithubCallbackUnauthorized) IsRedirect() bool
- func (o *GetGithubCallbackUnauthorized) IsServerError() bool
- func (o *GetGithubCallbackUnauthorized) IsSuccess() bool
- func (o *GetGithubCallbackUnauthorized) String() string
- type GetGithubLoginInternalServerError
- func (o *GetGithubLoginInternalServerError) Code() int
- func (o *GetGithubLoginInternalServerError) Error() string
- func (o *GetGithubLoginInternalServerError) GetPayload() string
- func (o *GetGithubLoginInternalServerError) IsClientError() bool
- func (o *GetGithubLoginInternalServerError) IsCode(code int) bool
- func (o *GetGithubLoginInternalServerError) IsRedirect() bool
- func (o *GetGithubLoginInternalServerError) IsServerError() bool
- func (o *GetGithubLoginInternalServerError) IsSuccess() bool
- func (o *GetGithubLoginInternalServerError) String() string
- type GetGithubLoginParams
- func NewGetGithubLoginParams() *GetGithubLoginParams
- func NewGetGithubLoginParamsWithContext(ctx context.Context) *GetGithubLoginParams
- func NewGetGithubLoginParamsWithHTTPClient(client *http.Client) *GetGithubLoginParams
- func NewGetGithubLoginParamsWithTimeout(timeout time.Duration) *GetGithubLoginParams
- func (o *GetGithubLoginParams) SetContext(ctx context.Context)
- func (o *GetGithubLoginParams) SetDefaults()
- func (o *GetGithubLoginParams) SetHTTPClient(client *http.Client)
- func (o *GetGithubLoginParams) SetIdentifier(identifier *string)
- func (o *GetGithubLoginParams) SetNext(next *string)
- func (o *GetGithubLoginParams) SetOrganization(organization *string)
- func (o *GetGithubLoginParams) SetTimeout(timeout time.Duration)
- func (o *GetGithubLoginParams) WithContext(ctx context.Context) *GetGithubLoginParams
- func (o *GetGithubLoginParams) WithDefaults() *GetGithubLoginParams
- func (o *GetGithubLoginParams) WithHTTPClient(client *http.Client) *GetGithubLoginParams
- func (o *GetGithubLoginParams) WithIdentifier(identifier *string) *GetGithubLoginParams
- func (o *GetGithubLoginParams) WithNext(next *string) *GetGithubLoginParams
- func (o *GetGithubLoginParams) WithOrganization(organization *string) *GetGithubLoginParams
- func (o *GetGithubLoginParams) WithTimeout(timeout time.Duration) *GetGithubLoginParams
- func (o *GetGithubLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGithubLoginReader
- type GetGithubLoginTemporaryRedirect
- func (o *GetGithubLoginTemporaryRedirect) Code() int
- func (o *GetGithubLoginTemporaryRedirect) Error() string
- func (o *GetGithubLoginTemporaryRedirect) IsClientError() bool
- func (o *GetGithubLoginTemporaryRedirect) IsCode(code int) bool
- func (o *GetGithubLoginTemporaryRedirect) IsRedirect() bool
- func (o *GetGithubLoginTemporaryRedirect) IsServerError() bool
- func (o *GetGithubLoginTemporaryRedirect) IsSuccess() bool
- func (o *GetGithubLoginTemporaryRedirect) String() string
- type GetGithubLoginUnauthorized
- func (o *GetGithubLoginUnauthorized) Code() int
- func (o *GetGithubLoginUnauthorized) Error() string
- func (o *GetGithubLoginUnauthorized) GetPayload() string
- func (o *GetGithubLoginUnauthorized) IsClientError() bool
- func (o *GetGithubLoginUnauthorized) IsCode(code int) bool
- func (o *GetGithubLoginUnauthorized) IsRedirect() bool
- func (o *GetGithubLoginUnauthorized) IsServerError() bool
- func (o *GetGithubLoginUnauthorized) IsSuccess() bool
- func (o *GetGithubLoginUnauthorized) String() string
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 github API
func (*Client) GetGithubCallback ¶
func (a *Client) GetGithubCallback(params *GetGithubCallbackParams, opts ...ClientOption) error
GetGithubCallback githubs callback logs in a user with github
GithubCallback logs in a user with Github
func (*Client) GetGithubLogin ¶
func (a *Client) GetGithubLogin(params *GetGithubLoginParams, opts ...ClientOption) error
GetGithubLogin githubs login logs in a user with github
GithubLogin logs in a user with Github
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 { GetGithubCallback(params *GetGithubCallbackParams, opts ...ClientOption) error GetGithubLogin(params *GetGithubLoginParams, opts ...ClientOption) 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 github API client.
type GetGithubCallbackForbidden ¶
type GetGithubCallbackForbidden struct {
Payload string
}
GetGithubCallbackForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGithubCallbackForbidden ¶
func NewGetGithubCallbackForbidden() *GetGithubCallbackForbidden
NewGetGithubCallbackForbidden creates a GetGithubCallbackForbidden with default headers values
func (*GetGithubCallbackForbidden) Code ¶
func (o *GetGithubCallbackForbidden) Code() int
Code gets the status code for the get github callback forbidden response
func (*GetGithubCallbackForbidden) Error ¶
func (o *GetGithubCallbackForbidden) Error() string
func (*GetGithubCallbackForbidden) GetPayload ¶
func (o *GetGithubCallbackForbidden) GetPayload() string
func (*GetGithubCallbackForbidden) IsClientError ¶
func (o *GetGithubCallbackForbidden) IsClientError() bool
IsClientError returns true when this get github callback forbidden response has a 4xx status code
func (*GetGithubCallbackForbidden) IsCode ¶
func (o *GetGithubCallbackForbidden) IsCode(code int) bool
IsCode returns true when this get github callback forbidden response a status code equal to that given
func (*GetGithubCallbackForbidden) IsRedirect ¶
func (o *GetGithubCallbackForbidden) IsRedirect() bool
IsRedirect returns true when this get github callback forbidden response has a 3xx status code
func (*GetGithubCallbackForbidden) IsServerError ¶
func (o *GetGithubCallbackForbidden) IsServerError() bool
IsServerError returns true when this get github callback forbidden response has a 5xx status code
func (*GetGithubCallbackForbidden) IsSuccess ¶
func (o *GetGithubCallbackForbidden) IsSuccess() bool
IsSuccess returns true when this get github callback forbidden response has a 2xx status code
func (*GetGithubCallbackForbidden) String ¶
func (o *GetGithubCallbackForbidden) String() string
type GetGithubCallbackInternalServerError ¶
type GetGithubCallbackInternalServerError struct {
Payload string
}
GetGithubCallbackInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGithubCallbackInternalServerError ¶
func NewGetGithubCallbackInternalServerError() *GetGithubCallbackInternalServerError
NewGetGithubCallbackInternalServerError creates a GetGithubCallbackInternalServerError with default headers values
func (*GetGithubCallbackInternalServerError) Code ¶
func (o *GetGithubCallbackInternalServerError) Code() int
Code gets the status code for the get github callback internal server error response
func (*GetGithubCallbackInternalServerError) Error ¶
func (o *GetGithubCallbackInternalServerError) Error() string
func (*GetGithubCallbackInternalServerError) GetPayload ¶
func (o *GetGithubCallbackInternalServerError) GetPayload() string
func (*GetGithubCallbackInternalServerError) IsClientError ¶
func (o *GetGithubCallbackInternalServerError) IsClientError() bool
IsClientError returns true when this get github callback internal server error response has a 4xx status code
func (*GetGithubCallbackInternalServerError) IsCode ¶
func (o *GetGithubCallbackInternalServerError) IsCode(code int) bool
IsCode returns true when this get github callback internal server error response a status code equal to that given
func (*GetGithubCallbackInternalServerError) IsRedirect ¶
func (o *GetGithubCallbackInternalServerError) IsRedirect() bool
IsRedirect returns true when this get github callback internal server error response has a 3xx status code
func (*GetGithubCallbackInternalServerError) IsServerError ¶
func (o *GetGithubCallbackInternalServerError) IsServerError() bool
IsServerError returns true when this get github callback internal server error response has a 5xx status code
func (*GetGithubCallbackInternalServerError) IsSuccess ¶
func (o *GetGithubCallbackInternalServerError) IsSuccess() bool
IsSuccess returns true when this get github callback internal server error response has a 2xx status code
func (*GetGithubCallbackInternalServerError) String ¶
func (o *GetGithubCallbackInternalServerError) String() string
type GetGithubCallbackNotFound ¶
type GetGithubCallbackNotFound struct {
Payload string
}
GetGithubCallbackNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetGithubCallbackNotFound ¶
func NewGetGithubCallbackNotFound() *GetGithubCallbackNotFound
NewGetGithubCallbackNotFound creates a GetGithubCallbackNotFound with default headers values
func (*GetGithubCallbackNotFound) Code ¶
func (o *GetGithubCallbackNotFound) Code() int
Code gets the status code for the get github callback not found response
func (*GetGithubCallbackNotFound) Error ¶
func (o *GetGithubCallbackNotFound) Error() string
func (*GetGithubCallbackNotFound) GetPayload ¶
func (o *GetGithubCallbackNotFound) GetPayload() string
func (*GetGithubCallbackNotFound) IsClientError ¶
func (o *GetGithubCallbackNotFound) IsClientError() bool
IsClientError returns true when this get github callback not found response has a 4xx status code
func (*GetGithubCallbackNotFound) IsCode ¶
func (o *GetGithubCallbackNotFound) IsCode(code int) bool
IsCode returns true when this get github callback not found response a status code equal to that given
func (*GetGithubCallbackNotFound) IsRedirect ¶
func (o *GetGithubCallbackNotFound) IsRedirect() bool
IsRedirect returns true when this get github callback not found response has a 3xx status code
func (*GetGithubCallbackNotFound) IsServerError ¶
func (o *GetGithubCallbackNotFound) IsServerError() bool
IsServerError returns true when this get github callback not found response has a 5xx status code
func (*GetGithubCallbackNotFound) IsSuccess ¶
func (o *GetGithubCallbackNotFound) IsSuccess() bool
IsSuccess returns true when this get github callback not found response has a 2xx status code
func (*GetGithubCallbackNotFound) String ¶
func (o *GetGithubCallbackNotFound) String() string
type GetGithubCallbackParams ¶
type GetGithubCallbackParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGithubCallbackParams contains all the parameters to send to the API endpoint
for the get github callback operation. Typically these are written to a http.Request.
func NewGetGithubCallbackParams ¶
func NewGetGithubCallbackParams() *GetGithubCallbackParams
NewGetGithubCallbackParams creates a new GetGithubCallbackParams 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 NewGetGithubCallbackParamsWithContext ¶
func NewGetGithubCallbackParamsWithContext(ctx context.Context) *GetGithubCallbackParams
NewGetGithubCallbackParamsWithContext creates a new GetGithubCallbackParams object with the ability to set a context for a request.
func NewGetGithubCallbackParamsWithHTTPClient ¶
func NewGetGithubCallbackParamsWithHTTPClient(client *http.Client) *GetGithubCallbackParams
NewGetGithubCallbackParamsWithHTTPClient creates a new GetGithubCallbackParams object with the ability to set a custom HTTPClient for a request.
func NewGetGithubCallbackParamsWithTimeout ¶
func NewGetGithubCallbackParamsWithTimeout(timeout time.Duration) *GetGithubCallbackParams
NewGetGithubCallbackParamsWithTimeout creates a new GetGithubCallbackParams object with the ability to set a timeout on a request.
func (*GetGithubCallbackParams) SetContext ¶
func (o *GetGithubCallbackParams) SetContext(ctx context.Context)
SetContext adds the context to the get github callback params
func (*GetGithubCallbackParams) SetDefaults ¶
func (o *GetGithubCallbackParams) SetDefaults()
SetDefaults hydrates default values in the get github callback params (not the query body).
All values with no default are reset to their zero value.
func (*GetGithubCallbackParams) SetHTTPClient ¶
func (o *GetGithubCallbackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get github callback params
func (*GetGithubCallbackParams) SetTimeout ¶
func (o *GetGithubCallbackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get github callback params
func (*GetGithubCallbackParams) WithContext ¶
func (o *GetGithubCallbackParams) WithContext(ctx context.Context) *GetGithubCallbackParams
WithContext adds the context to the get github callback params
func (*GetGithubCallbackParams) WithDefaults ¶
func (o *GetGithubCallbackParams) WithDefaults() *GetGithubCallbackParams
WithDefaults hydrates default values in the get github callback params (not the query body).
All values with no default are reset to their zero value.
func (*GetGithubCallbackParams) WithHTTPClient ¶
func (o *GetGithubCallbackParams) WithHTTPClient(client *http.Client) *GetGithubCallbackParams
WithHTTPClient adds the HTTPClient to the get github callback params
func (*GetGithubCallbackParams) WithTimeout ¶
func (o *GetGithubCallbackParams) WithTimeout(timeout time.Duration) *GetGithubCallbackParams
WithTimeout adds the timeout to the get github callback params
func (*GetGithubCallbackParams) WriteToRequest ¶
func (o *GetGithubCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGithubCallbackReader ¶
type GetGithubCallbackReader struct {
// contains filtered or unexported fields
}
GetGithubCallbackReader is a Reader for the GetGithubCallback structure.
func (*GetGithubCallbackReader) ReadResponse ¶
func (o *GetGithubCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGithubCallbackTemporaryRedirect ¶
type GetGithubCallbackTemporaryRedirect struct { /* Redirects to Next URL */ Location string }
GetGithubCallbackTemporaryRedirect describes a response with status code 307, with default header values.
Temporary Redirect
func NewGetGithubCallbackTemporaryRedirect ¶
func NewGetGithubCallbackTemporaryRedirect() *GetGithubCallbackTemporaryRedirect
NewGetGithubCallbackTemporaryRedirect creates a GetGithubCallbackTemporaryRedirect with default headers values
func (*GetGithubCallbackTemporaryRedirect) Code ¶
func (o *GetGithubCallbackTemporaryRedirect) Code() int
Code gets the status code for the get github callback temporary redirect response
func (*GetGithubCallbackTemporaryRedirect) Error ¶
func (o *GetGithubCallbackTemporaryRedirect) Error() string
func (*GetGithubCallbackTemporaryRedirect) IsClientError ¶
func (o *GetGithubCallbackTemporaryRedirect) IsClientError() bool
IsClientError returns true when this get github callback temporary redirect response has a 4xx status code
func (*GetGithubCallbackTemporaryRedirect) IsCode ¶
func (o *GetGithubCallbackTemporaryRedirect) IsCode(code int) bool
IsCode returns true when this get github callback temporary redirect response a status code equal to that given
func (*GetGithubCallbackTemporaryRedirect) IsRedirect ¶
func (o *GetGithubCallbackTemporaryRedirect) IsRedirect() bool
IsRedirect returns true when this get github callback temporary redirect response has a 3xx status code
func (*GetGithubCallbackTemporaryRedirect) IsServerError ¶
func (o *GetGithubCallbackTemporaryRedirect) IsServerError() bool
IsServerError returns true when this get github callback temporary redirect response has a 5xx status code
func (*GetGithubCallbackTemporaryRedirect) IsSuccess ¶
func (o *GetGithubCallbackTemporaryRedirect) IsSuccess() bool
IsSuccess returns true when this get github callback temporary redirect response has a 2xx status code
func (*GetGithubCallbackTemporaryRedirect) String ¶
func (o *GetGithubCallbackTemporaryRedirect) String() string
type GetGithubCallbackUnauthorized ¶
type GetGithubCallbackUnauthorized struct {
}GetGithubCallbackUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGithubCallbackUnauthorized ¶
func NewGetGithubCallbackUnauthorized() *GetGithubCallbackUnauthorized
NewGetGithubCallbackUnauthorized creates a GetGithubCallbackUnauthorized with default headers values
func (*GetGithubCallbackUnauthorized) Code ¶
func (o *GetGithubCallbackUnauthorized) Code() int
Code gets the status code for the get github callback unauthorized response
func (*GetGithubCallbackUnauthorized) Error ¶
func (o *GetGithubCallbackUnauthorized) Error() string
func (*GetGithubCallbackUnauthorized) GetPayload ¶
func (o *GetGithubCallbackUnauthorized) GetPayload() string
func (*GetGithubCallbackUnauthorized) IsClientError ¶
func (o *GetGithubCallbackUnauthorized) IsClientError() bool
IsClientError returns true when this get github callback unauthorized response has a 4xx status code
func (*GetGithubCallbackUnauthorized) IsCode ¶
func (o *GetGithubCallbackUnauthorized) IsCode(code int) bool
IsCode returns true when this get github callback unauthorized response a status code equal to that given
func (*GetGithubCallbackUnauthorized) IsRedirect ¶
func (o *GetGithubCallbackUnauthorized) IsRedirect() bool
IsRedirect returns true when this get github callback unauthorized response has a 3xx status code
func (*GetGithubCallbackUnauthorized) IsServerError ¶
func (o *GetGithubCallbackUnauthorized) IsServerError() bool
IsServerError returns true when this get github callback unauthorized response has a 5xx status code
func (*GetGithubCallbackUnauthorized) IsSuccess ¶
func (o *GetGithubCallbackUnauthorized) IsSuccess() bool
IsSuccess returns true when this get github callback unauthorized response has a 2xx status code
func (*GetGithubCallbackUnauthorized) String ¶
func (o *GetGithubCallbackUnauthorized) String() string
type GetGithubLoginInternalServerError ¶
type GetGithubLoginInternalServerError struct {
Payload string
}
GetGithubLoginInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGithubLoginInternalServerError ¶
func NewGetGithubLoginInternalServerError() *GetGithubLoginInternalServerError
NewGetGithubLoginInternalServerError creates a GetGithubLoginInternalServerError with default headers values
func (*GetGithubLoginInternalServerError) Code ¶
func (o *GetGithubLoginInternalServerError) Code() int
Code gets the status code for the get github login internal server error response
func (*GetGithubLoginInternalServerError) Error ¶
func (o *GetGithubLoginInternalServerError) Error() string
func (*GetGithubLoginInternalServerError) GetPayload ¶
func (o *GetGithubLoginInternalServerError) GetPayload() string
func (*GetGithubLoginInternalServerError) IsClientError ¶
func (o *GetGithubLoginInternalServerError) IsClientError() bool
IsClientError returns true when this get github login internal server error response has a 4xx status code
func (*GetGithubLoginInternalServerError) IsCode ¶
func (o *GetGithubLoginInternalServerError) IsCode(code int) bool
IsCode returns true when this get github login internal server error response a status code equal to that given
func (*GetGithubLoginInternalServerError) IsRedirect ¶
func (o *GetGithubLoginInternalServerError) IsRedirect() bool
IsRedirect returns true when this get github login internal server error response has a 3xx status code
func (*GetGithubLoginInternalServerError) IsServerError ¶
func (o *GetGithubLoginInternalServerError) IsServerError() bool
IsServerError returns true when this get github login internal server error response has a 5xx status code
func (*GetGithubLoginInternalServerError) IsSuccess ¶
func (o *GetGithubLoginInternalServerError) IsSuccess() bool
IsSuccess returns true when this get github login internal server error response has a 2xx status code
func (*GetGithubLoginInternalServerError) String ¶
func (o *GetGithubLoginInternalServerError) String() string
type GetGithubLoginParams ¶
type GetGithubLoginParams struct { /* Identifier. Device Flow Identifier */ Identifier *string /* Next. Next Redirect URL */ Next *string /* Organization. Organization */ Organization *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGithubLoginParams contains all the parameters to send to the API endpoint
for the get github login operation. Typically these are written to a http.Request.
func NewGetGithubLoginParams ¶
func NewGetGithubLoginParams() *GetGithubLoginParams
NewGetGithubLoginParams creates a new GetGithubLoginParams 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 NewGetGithubLoginParamsWithContext ¶
func NewGetGithubLoginParamsWithContext(ctx context.Context) *GetGithubLoginParams
NewGetGithubLoginParamsWithContext creates a new GetGithubLoginParams object with the ability to set a context for a request.
func NewGetGithubLoginParamsWithHTTPClient ¶
func NewGetGithubLoginParamsWithHTTPClient(client *http.Client) *GetGithubLoginParams
NewGetGithubLoginParamsWithHTTPClient creates a new GetGithubLoginParams object with the ability to set a custom HTTPClient for a request.
func NewGetGithubLoginParamsWithTimeout ¶
func NewGetGithubLoginParamsWithTimeout(timeout time.Duration) *GetGithubLoginParams
NewGetGithubLoginParamsWithTimeout creates a new GetGithubLoginParams object with the ability to set a timeout on a request.
func (*GetGithubLoginParams) SetContext ¶
func (o *GetGithubLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the get github login params
func (*GetGithubLoginParams) SetDefaults ¶
func (o *GetGithubLoginParams) SetDefaults()
SetDefaults hydrates default values in the get github login params (not the query body).
All values with no default are reset to their zero value.
func (*GetGithubLoginParams) SetHTTPClient ¶
func (o *GetGithubLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get github login params
func (*GetGithubLoginParams) SetIdentifier ¶
func (o *GetGithubLoginParams) SetIdentifier(identifier *string)
SetIdentifier adds the identifier to the get github login params
func (*GetGithubLoginParams) SetNext ¶
func (o *GetGithubLoginParams) SetNext(next *string)
SetNext adds the next to the get github login params
func (*GetGithubLoginParams) SetOrganization ¶
func (o *GetGithubLoginParams) SetOrganization(organization *string)
SetOrganization adds the organization to the get github login params
func (*GetGithubLoginParams) SetTimeout ¶
func (o *GetGithubLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get github login params
func (*GetGithubLoginParams) WithContext ¶
func (o *GetGithubLoginParams) WithContext(ctx context.Context) *GetGithubLoginParams
WithContext adds the context to the get github login params
func (*GetGithubLoginParams) WithDefaults ¶
func (o *GetGithubLoginParams) WithDefaults() *GetGithubLoginParams
WithDefaults hydrates default values in the get github login params (not the query body).
All values with no default are reset to their zero value.
func (*GetGithubLoginParams) WithHTTPClient ¶
func (o *GetGithubLoginParams) WithHTTPClient(client *http.Client) *GetGithubLoginParams
WithHTTPClient adds the HTTPClient to the get github login params
func (*GetGithubLoginParams) WithIdentifier ¶
func (o *GetGithubLoginParams) WithIdentifier(identifier *string) *GetGithubLoginParams
WithIdentifier adds the identifier to the get github login params
func (*GetGithubLoginParams) WithNext ¶
func (o *GetGithubLoginParams) WithNext(next *string) *GetGithubLoginParams
WithNext adds the next to the get github login params
func (*GetGithubLoginParams) WithOrganization ¶
func (o *GetGithubLoginParams) WithOrganization(organization *string) *GetGithubLoginParams
WithOrganization adds the organization to the get github login params
func (*GetGithubLoginParams) WithTimeout ¶
func (o *GetGithubLoginParams) WithTimeout(timeout time.Duration) *GetGithubLoginParams
WithTimeout adds the timeout to the get github login params
func (*GetGithubLoginParams) WriteToRequest ¶
func (o *GetGithubLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGithubLoginReader ¶
type GetGithubLoginReader struct {
// contains filtered or unexported fields
}
GetGithubLoginReader is a Reader for the GetGithubLogin structure.
func (*GetGithubLoginReader) ReadResponse ¶
func (o *GetGithubLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGithubLoginTemporaryRedirect ¶
type GetGithubLoginTemporaryRedirect struct { /* Redirects to Github */ Location string }
GetGithubLoginTemporaryRedirect describes a response with status code 307, with default header values.
Temporary Redirect
func NewGetGithubLoginTemporaryRedirect ¶
func NewGetGithubLoginTemporaryRedirect() *GetGithubLoginTemporaryRedirect
NewGetGithubLoginTemporaryRedirect creates a GetGithubLoginTemporaryRedirect with default headers values
func (*GetGithubLoginTemporaryRedirect) Code ¶
func (o *GetGithubLoginTemporaryRedirect) Code() int
Code gets the status code for the get github login temporary redirect response
func (*GetGithubLoginTemporaryRedirect) Error ¶
func (o *GetGithubLoginTemporaryRedirect) Error() string
func (*GetGithubLoginTemporaryRedirect) IsClientError ¶
func (o *GetGithubLoginTemporaryRedirect) IsClientError() bool
IsClientError returns true when this get github login temporary redirect response has a 4xx status code
func (*GetGithubLoginTemporaryRedirect) IsCode ¶
func (o *GetGithubLoginTemporaryRedirect) IsCode(code int) bool
IsCode returns true when this get github login temporary redirect response a status code equal to that given
func (*GetGithubLoginTemporaryRedirect) IsRedirect ¶
func (o *GetGithubLoginTemporaryRedirect) IsRedirect() bool
IsRedirect returns true when this get github login temporary redirect response has a 3xx status code
func (*GetGithubLoginTemporaryRedirect) IsServerError ¶
func (o *GetGithubLoginTemporaryRedirect) IsServerError() bool
IsServerError returns true when this get github login temporary redirect response has a 5xx status code
func (*GetGithubLoginTemporaryRedirect) IsSuccess ¶
func (o *GetGithubLoginTemporaryRedirect) IsSuccess() bool
IsSuccess returns true when this get github login temporary redirect response has a 2xx status code
func (*GetGithubLoginTemporaryRedirect) String ¶
func (o *GetGithubLoginTemporaryRedirect) String() string
type GetGithubLoginUnauthorized ¶
type GetGithubLoginUnauthorized struct {
}GetGithubLoginUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGithubLoginUnauthorized ¶
func NewGetGithubLoginUnauthorized() *GetGithubLoginUnauthorized
NewGetGithubLoginUnauthorized creates a GetGithubLoginUnauthorized with default headers values
func (*GetGithubLoginUnauthorized) Code ¶
func (o *GetGithubLoginUnauthorized) Code() int
Code gets the status code for the get github login unauthorized response
func (*GetGithubLoginUnauthorized) Error ¶
func (o *GetGithubLoginUnauthorized) Error() string
func (*GetGithubLoginUnauthorized) GetPayload ¶
func (o *GetGithubLoginUnauthorized) GetPayload() string
func (*GetGithubLoginUnauthorized) IsClientError ¶
func (o *GetGithubLoginUnauthorized) IsClientError() bool
IsClientError returns true when this get github login unauthorized response has a 4xx status code
func (*GetGithubLoginUnauthorized) IsCode ¶
func (o *GetGithubLoginUnauthorized) IsCode(code int) bool
IsCode returns true when this get github login unauthorized response a status code equal to that given
func (*GetGithubLoginUnauthorized) IsRedirect ¶
func (o *GetGithubLoginUnauthorized) IsRedirect() bool
IsRedirect returns true when this get github login unauthorized response has a 3xx status code
func (*GetGithubLoginUnauthorized) IsServerError ¶
func (o *GetGithubLoginUnauthorized) IsServerError() bool
IsServerError returns true when this get github login unauthorized response has a 5xx status code
func (*GetGithubLoginUnauthorized) IsSuccess ¶
func (o *GetGithubLoginUnauthorized) IsSuccess() bool
IsSuccess returns true when this get github login unauthorized response has a 2xx status code
func (*GetGithubLoginUnauthorized) String ¶
func (o *GetGithubLoginUnauthorized) String() string