Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetGoogleCallbackForbidden
- func (o *GetGoogleCallbackForbidden) Code() int
- func (o *GetGoogleCallbackForbidden) Error() string
- func (o *GetGoogleCallbackForbidden) GetPayload() string
- func (o *GetGoogleCallbackForbidden) IsClientError() bool
- func (o *GetGoogleCallbackForbidden) IsCode(code int) bool
- func (o *GetGoogleCallbackForbidden) IsRedirect() bool
- func (o *GetGoogleCallbackForbidden) IsServerError() bool
- func (o *GetGoogleCallbackForbidden) IsSuccess() bool
- func (o *GetGoogleCallbackForbidden) String() string
- type GetGoogleCallbackInternalServerError
- func (o *GetGoogleCallbackInternalServerError) Code() int
- func (o *GetGoogleCallbackInternalServerError) Error() string
- func (o *GetGoogleCallbackInternalServerError) GetPayload() string
- func (o *GetGoogleCallbackInternalServerError) IsClientError() bool
- func (o *GetGoogleCallbackInternalServerError) IsCode(code int) bool
- func (o *GetGoogleCallbackInternalServerError) IsRedirect() bool
- func (o *GetGoogleCallbackInternalServerError) IsServerError() bool
- func (o *GetGoogleCallbackInternalServerError) IsSuccess() bool
- func (o *GetGoogleCallbackInternalServerError) String() string
- type GetGoogleCallbackNotFound
- func (o *GetGoogleCallbackNotFound) Code() int
- func (o *GetGoogleCallbackNotFound) Error() string
- func (o *GetGoogleCallbackNotFound) GetPayload() string
- func (o *GetGoogleCallbackNotFound) IsClientError() bool
- func (o *GetGoogleCallbackNotFound) IsCode(code int) bool
- func (o *GetGoogleCallbackNotFound) IsRedirect() bool
- func (o *GetGoogleCallbackNotFound) IsServerError() bool
- func (o *GetGoogleCallbackNotFound) IsSuccess() bool
- func (o *GetGoogleCallbackNotFound) String() string
- type GetGoogleCallbackParams
- func NewGetGoogleCallbackParams() *GetGoogleCallbackParams
- func NewGetGoogleCallbackParamsWithContext(ctx context.Context) *GetGoogleCallbackParams
- func NewGetGoogleCallbackParamsWithHTTPClient(client *http.Client) *GetGoogleCallbackParams
- func NewGetGoogleCallbackParamsWithTimeout(timeout time.Duration) *GetGoogleCallbackParams
- func (o *GetGoogleCallbackParams) SetContext(ctx context.Context)
- func (o *GetGoogleCallbackParams) SetDefaults()
- func (o *GetGoogleCallbackParams) SetHTTPClient(client *http.Client)
- func (o *GetGoogleCallbackParams) SetTimeout(timeout time.Duration)
- func (o *GetGoogleCallbackParams) WithContext(ctx context.Context) *GetGoogleCallbackParams
- func (o *GetGoogleCallbackParams) WithDefaults() *GetGoogleCallbackParams
- func (o *GetGoogleCallbackParams) WithHTTPClient(client *http.Client) *GetGoogleCallbackParams
- func (o *GetGoogleCallbackParams) WithTimeout(timeout time.Duration) *GetGoogleCallbackParams
- func (o *GetGoogleCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGoogleCallbackReader
- type GetGoogleCallbackTemporaryRedirect
- func (o *GetGoogleCallbackTemporaryRedirect) Code() int
- func (o *GetGoogleCallbackTemporaryRedirect) Error() string
- func (o *GetGoogleCallbackTemporaryRedirect) IsClientError() bool
- func (o *GetGoogleCallbackTemporaryRedirect) IsCode(code int) bool
- func (o *GetGoogleCallbackTemporaryRedirect) IsRedirect() bool
- func (o *GetGoogleCallbackTemporaryRedirect) IsServerError() bool
- func (o *GetGoogleCallbackTemporaryRedirect) IsSuccess() bool
- func (o *GetGoogleCallbackTemporaryRedirect) String() string
- type GetGoogleCallbackUnauthorized
- func (o *GetGoogleCallbackUnauthorized) Code() int
- func (o *GetGoogleCallbackUnauthorized) Error() string
- func (o *GetGoogleCallbackUnauthorized) GetPayload() string
- func (o *GetGoogleCallbackUnauthorized) IsClientError() bool
- func (o *GetGoogleCallbackUnauthorized) IsCode(code int) bool
- func (o *GetGoogleCallbackUnauthorized) IsRedirect() bool
- func (o *GetGoogleCallbackUnauthorized) IsServerError() bool
- func (o *GetGoogleCallbackUnauthorized) IsSuccess() bool
- func (o *GetGoogleCallbackUnauthorized) String() string
- type GetGoogleLoginInternalServerError
- func (o *GetGoogleLoginInternalServerError) Code() int
- func (o *GetGoogleLoginInternalServerError) Error() string
- func (o *GetGoogleLoginInternalServerError) GetPayload() string
- func (o *GetGoogleLoginInternalServerError) IsClientError() bool
- func (o *GetGoogleLoginInternalServerError) IsCode(code int) bool
- func (o *GetGoogleLoginInternalServerError) IsRedirect() bool
- func (o *GetGoogleLoginInternalServerError) IsServerError() bool
- func (o *GetGoogleLoginInternalServerError) IsSuccess() bool
- func (o *GetGoogleLoginInternalServerError) String() string
- type GetGoogleLoginParams
- func NewGetGoogleLoginParams() *GetGoogleLoginParams
- func NewGetGoogleLoginParamsWithContext(ctx context.Context) *GetGoogleLoginParams
- func NewGetGoogleLoginParamsWithHTTPClient(client *http.Client) *GetGoogleLoginParams
- func NewGetGoogleLoginParamsWithTimeout(timeout time.Duration) *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) SetContext(ctx context.Context)
- func (o *GetGoogleLoginParams) SetDefaults()
- func (o *GetGoogleLoginParams) SetHTTPClient(client *http.Client)
- func (o *GetGoogleLoginParams) SetIdentifier(identifier *string)
- func (o *GetGoogleLoginParams) SetNext(next *string)
- func (o *GetGoogleLoginParams) SetOrganization(organization *string)
- func (o *GetGoogleLoginParams) SetTimeout(timeout time.Duration)
- func (o *GetGoogleLoginParams) WithContext(ctx context.Context) *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) WithDefaults() *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) WithHTTPClient(client *http.Client) *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) WithIdentifier(identifier *string) *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) WithNext(next *string) *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) WithOrganization(organization *string) *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) WithTimeout(timeout time.Duration) *GetGoogleLoginParams
- func (o *GetGoogleLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGoogleLoginReader
- type GetGoogleLoginTemporaryRedirect
- func (o *GetGoogleLoginTemporaryRedirect) Code() int
- func (o *GetGoogleLoginTemporaryRedirect) Error() string
- func (o *GetGoogleLoginTemporaryRedirect) IsClientError() bool
- func (o *GetGoogleLoginTemporaryRedirect) IsCode(code int) bool
- func (o *GetGoogleLoginTemporaryRedirect) IsRedirect() bool
- func (o *GetGoogleLoginTemporaryRedirect) IsServerError() bool
- func (o *GetGoogleLoginTemporaryRedirect) IsSuccess() bool
- func (o *GetGoogleLoginTemporaryRedirect) String() string
- type GetGoogleLoginUnauthorized
- func (o *GetGoogleLoginUnauthorized) Code() int
- func (o *GetGoogleLoginUnauthorized) Error() string
- func (o *GetGoogleLoginUnauthorized) GetPayload() string
- func (o *GetGoogleLoginUnauthorized) IsClientError() bool
- func (o *GetGoogleLoginUnauthorized) IsCode(code int) bool
- func (o *GetGoogleLoginUnauthorized) IsRedirect() bool
- func (o *GetGoogleLoginUnauthorized) IsServerError() bool
- func (o *GetGoogleLoginUnauthorized) IsSuccess() bool
- func (o *GetGoogleLoginUnauthorized) 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 google API
func (*Client) GetGoogleCallback ¶
func (a *Client) GetGoogleCallback(params *GetGoogleCallbackParams, opts ...ClientOption) error
GetGoogleCallback googles callback logs in a user with google
GoogleCallback logs in a user with Google
func (*Client) GetGoogleLogin ¶
func (a *Client) GetGoogleLogin(params *GetGoogleLoginParams, opts ...ClientOption) error
GetGoogleLogin googles login logs in a user with google
GoogleLogin logs in a user with Google
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 { GetGoogleCallback(params *GetGoogleCallbackParams, opts ...ClientOption) error GetGoogleLogin(params *GetGoogleLoginParams, 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 google API client.
type GetGoogleCallbackForbidden ¶
type GetGoogleCallbackForbidden struct {
Payload string
}
GetGoogleCallbackForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetGoogleCallbackForbidden ¶
func NewGetGoogleCallbackForbidden() *GetGoogleCallbackForbidden
NewGetGoogleCallbackForbidden creates a GetGoogleCallbackForbidden with default headers values
func (*GetGoogleCallbackForbidden) Code ¶
func (o *GetGoogleCallbackForbidden) Code() int
Code gets the status code for the get google callback forbidden response
func (*GetGoogleCallbackForbidden) Error ¶
func (o *GetGoogleCallbackForbidden) Error() string
func (*GetGoogleCallbackForbidden) GetPayload ¶
func (o *GetGoogleCallbackForbidden) GetPayload() string
func (*GetGoogleCallbackForbidden) IsClientError ¶
func (o *GetGoogleCallbackForbidden) IsClientError() bool
IsClientError returns true when this get google callback forbidden response has a 4xx status code
func (*GetGoogleCallbackForbidden) IsCode ¶
func (o *GetGoogleCallbackForbidden) IsCode(code int) bool
IsCode returns true when this get google callback forbidden response a status code equal to that given
func (*GetGoogleCallbackForbidden) IsRedirect ¶
func (o *GetGoogleCallbackForbidden) IsRedirect() bool
IsRedirect returns true when this get google callback forbidden response has a 3xx status code
func (*GetGoogleCallbackForbidden) IsServerError ¶
func (o *GetGoogleCallbackForbidden) IsServerError() bool
IsServerError returns true when this get google callback forbidden response has a 5xx status code
func (*GetGoogleCallbackForbidden) IsSuccess ¶
func (o *GetGoogleCallbackForbidden) IsSuccess() bool
IsSuccess returns true when this get google callback forbidden response has a 2xx status code
func (*GetGoogleCallbackForbidden) String ¶
func (o *GetGoogleCallbackForbidden) String() string
type GetGoogleCallbackInternalServerError ¶
type GetGoogleCallbackInternalServerError struct {
Payload string
}
GetGoogleCallbackInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGoogleCallbackInternalServerError ¶
func NewGetGoogleCallbackInternalServerError() *GetGoogleCallbackInternalServerError
NewGetGoogleCallbackInternalServerError creates a GetGoogleCallbackInternalServerError with default headers values
func (*GetGoogleCallbackInternalServerError) Code ¶
func (o *GetGoogleCallbackInternalServerError) Code() int
Code gets the status code for the get google callback internal server error response
func (*GetGoogleCallbackInternalServerError) Error ¶
func (o *GetGoogleCallbackInternalServerError) Error() string
func (*GetGoogleCallbackInternalServerError) GetPayload ¶
func (o *GetGoogleCallbackInternalServerError) GetPayload() string
func (*GetGoogleCallbackInternalServerError) IsClientError ¶
func (o *GetGoogleCallbackInternalServerError) IsClientError() bool
IsClientError returns true when this get google callback internal server error response has a 4xx status code
func (*GetGoogleCallbackInternalServerError) IsCode ¶
func (o *GetGoogleCallbackInternalServerError) IsCode(code int) bool
IsCode returns true when this get google callback internal server error response a status code equal to that given
func (*GetGoogleCallbackInternalServerError) IsRedirect ¶
func (o *GetGoogleCallbackInternalServerError) IsRedirect() bool
IsRedirect returns true when this get google callback internal server error response has a 3xx status code
func (*GetGoogleCallbackInternalServerError) IsServerError ¶
func (o *GetGoogleCallbackInternalServerError) IsServerError() bool
IsServerError returns true when this get google callback internal server error response has a 5xx status code
func (*GetGoogleCallbackInternalServerError) IsSuccess ¶
func (o *GetGoogleCallbackInternalServerError) IsSuccess() bool
IsSuccess returns true when this get google callback internal server error response has a 2xx status code
func (*GetGoogleCallbackInternalServerError) String ¶
func (o *GetGoogleCallbackInternalServerError) String() string
type GetGoogleCallbackNotFound ¶
type GetGoogleCallbackNotFound struct {
Payload string
}
GetGoogleCallbackNotFound describes a response with status code 404, with default header values.
Not Found
func NewGetGoogleCallbackNotFound ¶
func NewGetGoogleCallbackNotFound() *GetGoogleCallbackNotFound
NewGetGoogleCallbackNotFound creates a GetGoogleCallbackNotFound with default headers values
func (*GetGoogleCallbackNotFound) Code ¶
func (o *GetGoogleCallbackNotFound) Code() int
Code gets the status code for the get google callback not found response
func (*GetGoogleCallbackNotFound) Error ¶
func (o *GetGoogleCallbackNotFound) Error() string
func (*GetGoogleCallbackNotFound) GetPayload ¶
func (o *GetGoogleCallbackNotFound) GetPayload() string
func (*GetGoogleCallbackNotFound) IsClientError ¶
func (o *GetGoogleCallbackNotFound) IsClientError() bool
IsClientError returns true when this get google callback not found response has a 4xx status code
func (*GetGoogleCallbackNotFound) IsCode ¶
func (o *GetGoogleCallbackNotFound) IsCode(code int) bool
IsCode returns true when this get google callback not found response a status code equal to that given
func (*GetGoogleCallbackNotFound) IsRedirect ¶
func (o *GetGoogleCallbackNotFound) IsRedirect() bool
IsRedirect returns true when this get google callback not found response has a 3xx status code
func (*GetGoogleCallbackNotFound) IsServerError ¶
func (o *GetGoogleCallbackNotFound) IsServerError() bool
IsServerError returns true when this get google callback not found response has a 5xx status code
func (*GetGoogleCallbackNotFound) IsSuccess ¶
func (o *GetGoogleCallbackNotFound) IsSuccess() bool
IsSuccess returns true when this get google callback not found response has a 2xx status code
func (*GetGoogleCallbackNotFound) String ¶
func (o *GetGoogleCallbackNotFound) String() string
type GetGoogleCallbackParams ¶
type GetGoogleCallbackParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGoogleCallbackParams contains all the parameters to send to the API endpoint
for the get google callback operation. Typically these are written to a http.Request.
func NewGetGoogleCallbackParams ¶
func NewGetGoogleCallbackParams() *GetGoogleCallbackParams
NewGetGoogleCallbackParams creates a new GetGoogleCallbackParams 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 NewGetGoogleCallbackParamsWithContext ¶
func NewGetGoogleCallbackParamsWithContext(ctx context.Context) *GetGoogleCallbackParams
NewGetGoogleCallbackParamsWithContext creates a new GetGoogleCallbackParams object with the ability to set a context for a request.
func NewGetGoogleCallbackParamsWithHTTPClient ¶
func NewGetGoogleCallbackParamsWithHTTPClient(client *http.Client) *GetGoogleCallbackParams
NewGetGoogleCallbackParamsWithHTTPClient creates a new GetGoogleCallbackParams object with the ability to set a custom HTTPClient for a request.
func NewGetGoogleCallbackParamsWithTimeout ¶
func NewGetGoogleCallbackParamsWithTimeout(timeout time.Duration) *GetGoogleCallbackParams
NewGetGoogleCallbackParamsWithTimeout creates a new GetGoogleCallbackParams object with the ability to set a timeout on a request.
func (*GetGoogleCallbackParams) SetContext ¶
func (o *GetGoogleCallbackParams) SetContext(ctx context.Context)
SetContext adds the context to the get google callback params
func (*GetGoogleCallbackParams) SetDefaults ¶
func (o *GetGoogleCallbackParams) SetDefaults()
SetDefaults hydrates default values in the get google callback params (not the query body).
All values with no default are reset to their zero value.
func (*GetGoogleCallbackParams) SetHTTPClient ¶
func (o *GetGoogleCallbackParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get google callback params
func (*GetGoogleCallbackParams) SetTimeout ¶
func (o *GetGoogleCallbackParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get google callback params
func (*GetGoogleCallbackParams) WithContext ¶
func (o *GetGoogleCallbackParams) WithContext(ctx context.Context) *GetGoogleCallbackParams
WithContext adds the context to the get google callback params
func (*GetGoogleCallbackParams) WithDefaults ¶
func (o *GetGoogleCallbackParams) WithDefaults() *GetGoogleCallbackParams
WithDefaults hydrates default values in the get google callback params (not the query body).
All values with no default are reset to their zero value.
func (*GetGoogleCallbackParams) WithHTTPClient ¶
func (o *GetGoogleCallbackParams) WithHTTPClient(client *http.Client) *GetGoogleCallbackParams
WithHTTPClient adds the HTTPClient to the get google callback params
func (*GetGoogleCallbackParams) WithTimeout ¶
func (o *GetGoogleCallbackParams) WithTimeout(timeout time.Duration) *GetGoogleCallbackParams
WithTimeout adds the timeout to the get google callback params
func (*GetGoogleCallbackParams) WriteToRequest ¶
func (o *GetGoogleCallbackParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGoogleCallbackReader ¶
type GetGoogleCallbackReader struct {
// contains filtered or unexported fields
}
GetGoogleCallbackReader is a Reader for the GetGoogleCallback structure.
func (*GetGoogleCallbackReader) ReadResponse ¶
func (o *GetGoogleCallbackReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGoogleCallbackTemporaryRedirect ¶
type GetGoogleCallbackTemporaryRedirect struct { /* Redirects to Next URL */ Location string }
GetGoogleCallbackTemporaryRedirect describes a response with status code 307, with default header values.
Temporary Redirect
func NewGetGoogleCallbackTemporaryRedirect ¶
func NewGetGoogleCallbackTemporaryRedirect() *GetGoogleCallbackTemporaryRedirect
NewGetGoogleCallbackTemporaryRedirect creates a GetGoogleCallbackTemporaryRedirect with default headers values
func (*GetGoogleCallbackTemporaryRedirect) Code ¶
func (o *GetGoogleCallbackTemporaryRedirect) Code() int
Code gets the status code for the get google callback temporary redirect response
func (*GetGoogleCallbackTemporaryRedirect) Error ¶
func (o *GetGoogleCallbackTemporaryRedirect) Error() string
func (*GetGoogleCallbackTemporaryRedirect) IsClientError ¶
func (o *GetGoogleCallbackTemporaryRedirect) IsClientError() bool
IsClientError returns true when this get google callback temporary redirect response has a 4xx status code
func (*GetGoogleCallbackTemporaryRedirect) IsCode ¶
func (o *GetGoogleCallbackTemporaryRedirect) IsCode(code int) bool
IsCode returns true when this get google callback temporary redirect response a status code equal to that given
func (*GetGoogleCallbackTemporaryRedirect) IsRedirect ¶
func (o *GetGoogleCallbackTemporaryRedirect) IsRedirect() bool
IsRedirect returns true when this get google callback temporary redirect response has a 3xx status code
func (*GetGoogleCallbackTemporaryRedirect) IsServerError ¶
func (o *GetGoogleCallbackTemporaryRedirect) IsServerError() bool
IsServerError returns true when this get google callback temporary redirect response has a 5xx status code
func (*GetGoogleCallbackTemporaryRedirect) IsSuccess ¶
func (o *GetGoogleCallbackTemporaryRedirect) IsSuccess() bool
IsSuccess returns true when this get google callback temporary redirect response has a 2xx status code
func (*GetGoogleCallbackTemporaryRedirect) String ¶
func (o *GetGoogleCallbackTemporaryRedirect) String() string
type GetGoogleCallbackUnauthorized ¶
type GetGoogleCallbackUnauthorized struct {
}GetGoogleCallbackUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGoogleCallbackUnauthorized ¶
func NewGetGoogleCallbackUnauthorized() *GetGoogleCallbackUnauthorized
NewGetGoogleCallbackUnauthorized creates a GetGoogleCallbackUnauthorized with default headers values
func (*GetGoogleCallbackUnauthorized) Code ¶
func (o *GetGoogleCallbackUnauthorized) Code() int
Code gets the status code for the get google callback unauthorized response
func (*GetGoogleCallbackUnauthorized) Error ¶
func (o *GetGoogleCallbackUnauthorized) Error() string
func (*GetGoogleCallbackUnauthorized) GetPayload ¶
func (o *GetGoogleCallbackUnauthorized) GetPayload() string
func (*GetGoogleCallbackUnauthorized) IsClientError ¶
func (o *GetGoogleCallbackUnauthorized) IsClientError() bool
IsClientError returns true when this get google callback unauthorized response has a 4xx status code
func (*GetGoogleCallbackUnauthorized) IsCode ¶
func (o *GetGoogleCallbackUnauthorized) IsCode(code int) bool
IsCode returns true when this get google callback unauthorized response a status code equal to that given
func (*GetGoogleCallbackUnauthorized) IsRedirect ¶
func (o *GetGoogleCallbackUnauthorized) IsRedirect() bool
IsRedirect returns true when this get google callback unauthorized response has a 3xx status code
func (*GetGoogleCallbackUnauthorized) IsServerError ¶
func (o *GetGoogleCallbackUnauthorized) IsServerError() bool
IsServerError returns true when this get google callback unauthorized response has a 5xx status code
func (*GetGoogleCallbackUnauthorized) IsSuccess ¶
func (o *GetGoogleCallbackUnauthorized) IsSuccess() bool
IsSuccess returns true when this get google callback unauthorized response has a 2xx status code
func (*GetGoogleCallbackUnauthorized) String ¶
func (o *GetGoogleCallbackUnauthorized) String() string
type GetGoogleLoginInternalServerError ¶
type GetGoogleLoginInternalServerError struct {
Payload string
}
GetGoogleLoginInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetGoogleLoginInternalServerError ¶
func NewGetGoogleLoginInternalServerError() *GetGoogleLoginInternalServerError
NewGetGoogleLoginInternalServerError creates a GetGoogleLoginInternalServerError with default headers values
func (*GetGoogleLoginInternalServerError) Code ¶
func (o *GetGoogleLoginInternalServerError) Code() int
Code gets the status code for the get google login internal server error response
func (*GetGoogleLoginInternalServerError) Error ¶
func (o *GetGoogleLoginInternalServerError) Error() string
func (*GetGoogleLoginInternalServerError) GetPayload ¶
func (o *GetGoogleLoginInternalServerError) GetPayload() string
func (*GetGoogleLoginInternalServerError) IsClientError ¶
func (o *GetGoogleLoginInternalServerError) IsClientError() bool
IsClientError returns true when this get google login internal server error response has a 4xx status code
func (*GetGoogleLoginInternalServerError) IsCode ¶
func (o *GetGoogleLoginInternalServerError) IsCode(code int) bool
IsCode returns true when this get google login internal server error response a status code equal to that given
func (*GetGoogleLoginInternalServerError) IsRedirect ¶
func (o *GetGoogleLoginInternalServerError) IsRedirect() bool
IsRedirect returns true when this get google login internal server error response has a 3xx status code
func (*GetGoogleLoginInternalServerError) IsServerError ¶
func (o *GetGoogleLoginInternalServerError) IsServerError() bool
IsServerError returns true when this get google login internal server error response has a 5xx status code
func (*GetGoogleLoginInternalServerError) IsSuccess ¶
func (o *GetGoogleLoginInternalServerError) IsSuccess() bool
IsSuccess returns true when this get google login internal server error response has a 2xx status code
func (*GetGoogleLoginInternalServerError) String ¶
func (o *GetGoogleLoginInternalServerError) String() string
type GetGoogleLoginParams ¶
type GetGoogleLoginParams 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 }
GetGoogleLoginParams contains all the parameters to send to the API endpoint
for the get google login operation. Typically these are written to a http.Request.
func NewGetGoogleLoginParams ¶
func NewGetGoogleLoginParams() *GetGoogleLoginParams
NewGetGoogleLoginParams creates a new GetGoogleLoginParams 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 NewGetGoogleLoginParamsWithContext ¶
func NewGetGoogleLoginParamsWithContext(ctx context.Context) *GetGoogleLoginParams
NewGetGoogleLoginParamsWithContext creates a new GetGoogleLoginParams object with the ability to set a context for a request.
func NewGetGoogleLoginParamsWithHTTPClient ¶
func NewGetGoogleLoginParamsWithHTTPClient(client *http.Client) *GetGoogleLoginParams
NewGetGoogleLoginParamsWithHTTPClient creates a new GetGoogleLoginParams object with the ability to set a custom HTTPClient for a request.
func NewGetGoogleLoginParamsWithTimeout ¶
func NewGetGoogleLoginParamsWithTimeout(timeout time.Duration) *GetGoogleLoginParams
NewGetGoogleLoginParamsWithTimeout creates a new GetGoogleLoginParams object with the ability to set a timeout on a request.
func (*GetGoogleLoginParams) SetContext ¶
func (o *GetGoogleLoginParams) SetContext(ctx context.Context)
SetContext adds the context to the get google login params
func (*GetGoogleLoginParams) SetDefaults ¶
func (o *GetGoogleLoginParams) SetDefaults()
SetDefaults hydrates default values in the get google login params (not the query body).
All values with no default are reset to their zero value.
func (*GetGoogleLoginParams) SetHTTPClient ¶
func (o *GetGoogleLoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get google login params
func (*GetGoogleLoginParams) SetIdentifier ¶
func (o *GetGoogleLoginParams) SetIdentifier(identifier *string)
SetIdentifier adds the identifier to the get google login params
func (*GetGoogleLoginParams) SetNext ¶
func (o *GetGoogleLoginParams) SetNext(next *string)
SetNext adds the next to the get google login params
func (*GetGoogleLoginParams) SetOrganization ¶
func (o *GetGoogleLoginParams) SetOrganization(organization *string)
SetOrganization adds the organization to the get google login params
func (*GetGoogleLoginParams) SetTimeout ¶
func (o *GetGoogleLoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get google login params
func (*GetGoogleLoginParams) WithContext ¶
func (o *GetGoogleLoginParams) WithContext(ctx context.Context) *GetGoogleLoginParams
WithContext adds the context to the get google login params
func (*GetGoogleLoginParams) WithDefaults ¶
func (o *GetGoogleLoginParams) WithDefaults() *GetGoogleLoginParams
WithDefaults hydrates default values in the get google login params (not the query body).
All values with no default are reset to their zero value.
func (*GetGoogleLoginParams) WithHTTPClient ¶
func (o *GetGoogleLoginParams) WithHTTPClient(client *http.Client) *GetGoogleLoginParams
WithHTTPClient adds the HTTPClient to the get google login params
func (*GetGoogleLoginParams) WithIdentifier ¶
func (o *GetGoogleLoginParams) WithIdentifier(identifier *string) *GetGoogleLoginParams
WithIdentifier adds the identifier to the get google login params
func (*GetGoogleLoginParams) WithNext ¶
func (o *GetGoogleLoginParams) WithNext(next *string) *GetGoogleLoginParams
WithNext adds the next to the get google login params
func (*GetGoogleLoginParams) WithOrganization ¶
func (o *GetGoogleLoginParams) WithOrganization(organization *string) *GetGoogleLoginParams
WithOrganization adds the organization to the get google login params
func (*GetGoogleLoginParams) WithTimeout ¶
func (o *GetGoogleLoginParams) WithTimeout(timeout time.Duration) *GetGoogleLoginParams
WithTimeout adds the timeout to the get google login params
func (*GetGoogleLoginParams) WriteToRequest ¶
func (o *GetGoogleLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGoogleLoginReader ¶
type GetGoogleLoginReader struct {
// contains filtered or unexported fields
}
GetGoogleLoginReader is a Reader for the GetGoogleLogin structure.
func (*GetGoogleLoginReader) ReadResponse ¶
func (o *GetGoogleLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGoogleLoginTemporaryRedirect ¶
type GetGoogleLoginTemporaryRedirect struct { /* Redirects to Google */ Location string }
GetGoogleLoginTemporaryRedirect describes a response with status code 307, with default header values.
Temporary Redirect
func NewGetGoogleLoginTemporaryRedirect ¶
func NewGetGoogleLoginTemporaryRedirect() *GetGoogleLoginTemporaryRedirect
NewGetGoogleLoginTemporaryRedirect creates a GetGoogleLoginTemporaryRedirect with default headers values
func (*GetGoogleLoginTemporaryRedirect) Code ¶
func (o *GetGoogleLoginTemporaryRedirect) Code() int
Code gets the status code for the get google login temporary redirect response
func (*GetGoogleLoginTemporaryRedirect) Error ¶
func (o *GetGoogleLoginTemporaryRedirect) Error() string
func (*GetGoogleLoginTemporaryRedirect) IsClientError ¶
func (o *GetGoogleLoginTemporaryRedirect) IsClientError() bool
IsClientError returns true when this get google login temporary redirect response has a 4xx status code
func (*GetGoogleLoginTemporaryRedirect) IsCode ¶
func (o *GetGoogleLoginTemporaryRedirect) IsCode(code int) bool
IsCode returns true when this get google login temporary redirect response a status code equal to that given
func (*GetGoogleLoginTemporaryRedirect) IsRedirect ¶
func (o *GetGoogleLoginTemporaryRedirect) IsRedirect() bool
IsRedirect returns true when this get google login temporary redirect response has a 3xx status code
func (*GetGoogleLoginTemporaryRedirect) IsServerError ¶
func (o *GetGoogleLoginTemporaryRedirect) IsServerError() bool
IsServerError returns true when this get google login temporary redirect response has a 5xx status code
func (*GetGoogleLoginTemporaryRedirect) IsSuccess ¶
func (o *GetGoogleLoginTemporaryRedirect) IsSuccess() bool
IsSuccess returns true when this get google login temporary redirect response has a 2xx status code
func (*GetGoogleLoginTemporaryRedirect) String ¶
func (o *GetGoogleLoginTemporaryRedirect) String() string
type GetGoogleLoginUnauthorized ¶
type GetGoogleLoginUnauthorized struct {
}GetGoogleLoginUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetGoogleLoginUnauthorized ¶
func NewGetGoogleLoginUnauthorized() *GetGoogleLoginUnauthorized
NewGetGoogleLoginUnauthorized creates a GetGoogleLoginUnauthorized with default headers values
func (*GetGoogleLoginUnauthorized) Code ¶
func (o *GetGoogleLoginUnauthorized) Code() int
Code gets the status code for the get google login unauthorized response
func (*GetGoogleLoginUnauthorized) Error ¶
func (o *GetGoogleLoginUnauthorized) Error() string
func (*GetGoogleLoginUnauthorized) GetPayload ¶
func (o *GetGoogleLoginUnauthorized) GetPayload() string
func (*GetGoogleLoginUnauthorized) IsClientError ¶
func (o *GetGoogleLoginUnauthorized) IsClientError() bool
IsClientError returns true when this get google login unauthorized response has a 4xx status code
func (*GetGoogleLoginUnauthorized) IsCode ¶
func (o *GetGoogleLoginUnauthorized) IsCode(code int) bool
IsCode returns true when this get google login unauthorized response a status code equal to that given
func (*GetGoogleLoginUnauthorized) IsRedirect ¶
func (o *GetGoogleLoginUnauthorized) IsRedirect() bool
IsRedirect returns true when this get google login unauthorized response has a 3xx status code
func (*GetGoogleLoginUnauthorized) IsServerError ¶
func (o *GetGoogleLoginUnauthorized) IsServerError() bool
IsServerError returns true when this get google login unauthorized response has a 5xx status code
func (*GetGoogleLoginUnauthorized) IsSuccess ¶
func (o *GetGoogleLoginUnauthorized) IsSuccess() bool
IsSuccess returns true when this get google login unauthorized response has a 2xx status code
func (*GetGoogleLoginUnauthorized) String ¶
func (o *GetGoogleLoginUnauthorized) String() string