Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAuthorize(params *GetAuthorizeParams, opts ...ClientOption) (*GetAuthorizeOK, error)
- func (a *Client) GetCredentials(params *GetCredentialsParams, opts ...ClientOption) (*GetCredentialsOK, error)
- func (a *Client) GetPing(params *GetPingParams, opts ...ClientOption) (*GetPingOK, error)
- func (a *Client) GetValidate(params *GetValidateParams, opts ...ClientOption) (*GetValidateOK, error)
- func (a *Client) PostToken(params *PostTokenParams, opts ...ClientOption) (*PostTokenOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAuthorizeInternalServerError
- func (o *GetAuthorizeInternalServerError) Error() string
- func (o *GetAuthorizeInternalServerError) GetPayload() *models.Error
- func (o *GetAuthorizeInternalServerError) IsClientError() bool
- func (o *GetAuthorizeInternalServerError) IsCode(code int) bool
- func (o *GetAuthorizeInternalServerError) IsRedirect() bool
- func (o *GetAuthorizeInternalServerError) IsServerError() bool
- func (o *GetAuthorizeInternalServerError) IsSuccess() bool
- func (o *GetAuthorizeInternalServerError) String() string
- type GetAuthorizeOK
- func (o *GetAuthorizeOK) Error() string
- func (o *GetAuthorizeOK) GetPayload() *models.Authorize
- func (o *GetAuthorizeOK) IsClientError() bool
- func (o *GetAuthorizeOK) IsCode(code int) bool
- func (o *GetAuthorizeOK) IsRedirect() bool
- func (o *GetAuthorizeOK) IsServerError() bool
- func (o *GetAuthorizeOK) IsSuccess() bool
- func (o *GetAuthorizeOK) String() string
- type GetAuthorizeParams
- func (o *GetAuthorizeParams) SetAccessType(accessType *string)
- func (o *GetAuthorizeParams) SetClientID(clientID string)
- func (o *GetAuthorizeParams) SetCodeChallenge(codeChallenge *string)
- func (o *GetAuthorizeParams) SetCodeChallengeMethod(codeChallengeMethod *string)
- func (o *GetAuthorizeParams) SetContext(ctx context.Context)
- func (o *GetAuthorizeParams) SetDefaults()
- func (o *GetAuthorizeParams) SetHTTPClient(client *http.Client)
- func (o *GetAuthorizeParams) SetRedirectURI(redirectURI string)
- func (o *GetAuthorizeParams) SetResponseType(responseType string)
- func (o *GetAuthorizeParams) SetScope(scope string)
- func (o *GetAuthorizeParams) SetState(state *string)
- func (o *GetAuthorizeParams) SetTimeout(timeout time.Duration)
- func (o *GetAuthorizeParams) WithAccessType(accessType *string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithClientID(clientID string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithCodeChallenge(codeChallenge *string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithCodeChallengeMethod(codeChallengeMethod *string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithContext(ctx context.Context) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithDefaults() *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithHTTPClient(client *http.Client) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithRedirectURI(redirectURI string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithResponseType(responseType string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithScope(scope string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithState(state *string) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WithTimeout(timeout time.Duration) *GetAuthorizeParams
- func (o *GetAuthorizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuthorizeReader
- type GetCredentialsInternalServerError
- func (o *GetCredentialsInternalServerError) Error() string
- func (o *GetCredentialsInternalServerError) GetPayload() *models.Error
- func (o *GetCredentialsInternalServerError) IsClientError() bool
- func (o *GetCredentialsInternalServerError) IsCode(code int) bool
- func (o *GetCredentialsInternalServerError) IsRedirect() bool
- func (o *GetCredentialsInternalServerError) IsServerError() bool
- func (o *GetCredentialsInternalServerError) IsSuccess() bool
- func (o *GetCredentialsInternalServerError) String() string
- type GetCredentialsOK
- func (o *GetCredentialsOK) Error() string
- func (o *GetCredentialsOK) GetPayload() *models.Credentials
- func (o *GetCredentialsOK) IsClientError() bool
- func (o *GetCredentialsOK) IsCode(code int) bool
- func (o *GetCredentialsOK) IsRedirect() bool
- func (o *GetCredentialsOK) IsServerError() bool
- func (o *GetCredentialsOK) IsSuccess() bool
- func (o *GetCredentialsOK) String() string
- type GetCredentialsParams
- func NewGetCredentialsParams() *GetCredentialsParams
- func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
- func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
- func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) SetClientID(clientID string)
- func (o *GetCredentialsParams) SetContext(ctx context.Context)
- func (o *GetCredentialsParams) SetDefaults()
- func (o *GetCredentialsParams) SetDomain(domain *string)
- func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *GetCredentialsParams) WithClientID(clientID string) *GetCredentialsParams
- func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
- func (o *GetCredentialsParams) WithDefaults() *GetCredentialsParams
- func (o *GetCredentialsParams) WithDomain(domain *string) *GetCredentialsParams
- func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
- func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
- func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetCredentialsReader
- type GetPingInternalServerError
- func (o *GetPingInternalServerError) Error() string
- func (o *GetPingInternalServerError) GetPayload() *models.Error
- func (o *GetPingInternalServerError) IsClientError() bool
- func (o *GetPingInternalServerError) IsCode(code int) bool
- func (o *GetPingInternalServerError) IsRedirect() bool
- func (o *GetPingInternalServerError) IsServerError() bool
- func (o *GetPingInternalServerError) IsSuccess() bool
- func (o *GetPingInternalServerError) String() string
- type GetPingOK
- func (o *GetPingOK) Error() string
- func (o *GetPingOK) GetPayload() *models.Ping
- func (o *GetPingOK) IsClientError() bool
- func (o *GetPingOK) IsCode(code int) bool
- func (o *GetPingOK) IsRedirect() bool
- func (o *GetPingOK) IsServerError() bool
- func (o *GetPingOK) IsSuccess() bool
- func (o *GetPingOK) String() string
- type GetPingParams
- func (o *GetPingParams) SetContext(ctx context.Context)
- func (o *GetPingParams) SetDefaults()
- func (o *GetPingParams) SetHTTPClient(client *http.Client)
- func (o *GetPingParams) SetTimeout(timeout time.Duration)
- func (o *GetPingParams) WithContext(ctx context.Context) *GetPingParams
- func (o *GetPingParams) WithDefaults() *GetPingParams
- func (o *GetPingParams) WithHTTPClient(client *http.Client) *GetPingParams
- func (o *GetPingParams) WithTimeout(timeout time.Duration) *GetPingParams
- func (o *GetPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPingReader
- type GetValidateInternalServerError
- func (o *GetValidateInternalServerError) Error() string
- func (o *GetValidateInternalServerError) GetPayload() *models.Error
- func (o *GetValidateInternalServerError) IsClientError() bool
- func (o *GetValidateInternalServerError) IsCode(code int) bool
- func (o *GetValidateInternalServerError) IsRedirect() bool
- func (o *GetValidateInternalServerError) IsServerError() bool
- func (o *GetValidateInternalServerError) IsSuccess() bool
- func (o *GetValidateInternalServerError) String() string
- type GetValidateOK
- func (o *GetValidateOK) Error() string
- func (o *GetValidateOK) GetPayload() *models.Validate
- func (o *GetValidateOK) IsClientError() bool
- func (o *GetValidateOK) IsCode(code int) bool
- func (o *GetValidateOK) IsRedirect() bool
- func (o *GetValidateOK) IsServerError() bool
- func (o *GetValidateOK) IsSuccess() bool
- func (o *GetValidateOK) String() string
- type GetValidateParams
- func (o *GetValidateParams) SetAccessToken(accessToken *string)
- func (o *GetValidateParams) SetContext(ctx context.Context)
- func (o *GetValidateParams) SetDefaults()
- func (o *GetValidateParams) SetHTTPClient(client *http.Client)
- func (o *GetValidateParams) SetTimeout(timeout time.Duration)
- func (o *GetValidateParams) WithAccessToken(accessToken *string) *GetValidateParams
- func (o *GetValidateParams) WithContext(ctx context.Context) *GetValidateParams
- func (o *GetValidateParams) WithDefaults() *GetValidateParams
- func (o *GetValidateParams) WithHTTPClient(client *http.Client) *GetValidateParams
- func (o *GetValidateParams) WithTimeout(timeout time.Duration) *GetValidateParams
- func (o *GetValidateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetValidateReader
- type PostTokenInternalServerError
- func (o *PostTokenInternalServerError) Error() string
- func (o *PostTokenInternalServerError) GetPayload() *models.Error
- func (o *PostTokenInternalServerError) IsClientError() bool
- func (o *PostTokenInternalServerError) IsCode(code int) bool
- func (o *PostTokenInternalServerError) IsRedirect() bool
- func (o *PostTokenInternalServerError) IsServerError() bool
- func (o *PostTokenInternalServerError) IsSuccess() bool
- func (o *PostTokenInternalServerError) String() string
- type PostTokenOK
- func (o *PostTokenOK) Error() string
- func (o *PostTokenOK) GetPayload() *models.Token
- func (o *PostTokenOK) IsClientError() bool
- func (o *PostTokenOK) IsCode(code int) bool
- func (o *PostTokenOK) IsRedirect() bool
- func (o *PostTokenOK) IsServerError() bool
- func (o *PostTokenOK) IsSuccess() bool
- func (o *PostTokenOK) String() string
- type PostTokenParams
- func (o *PostTokenParams) SetClientID(clientID string)
- func (o *PostTokenParams) SetClientSecret(clientSecret string)
- func (o *PostTokenParams) SetContext(ctx context.Context)
- func (o *PostTokenParams) SetDefaults()
- func (o *PostTokenParams) SetDomain(domain *string)
- func (o *PostTokenParams) SetGrantType(grantType *string)
- func (o *PostTokenParams) SetHTTPClient(client *http.Client)
- func (o *PostTokenParams) SetScope(scope *string)
- func (o *PostTokenParams) SetTimeout(timeout time.Duration)
- func (o *PostTokenParams) WithClientID(clientID string) *PostTokenParams
- func (o *PostTokenParams) WithClientSecret(clientSecret string) *PostTokenParams
- func (o *PostTokenParams) WithContext(ctx context.Context) *PostTokenParams
- func (o *PostTokenParams) WithDefaults() *PostTokenParams
- func (o *PostTokenParams) WithDomain(domain *string) *PostTokenParams
- func (o *PostTokenParams) WithGrantType(grantType *string) *PostTokenParams
- func (o *PostTokenParams) WithHTTPClient(client *http.Client) *PostTokenParams
- func (o *PostTokenParams) WithScope(scope *string) *PostTokenParams
- func (o *PostTokenParams) WithTimeout(timeout time.Duration) *PostTokenParams
- func (o *PostTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostTokenReader
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 public API
func (*Client) GetAuthorize ¶
func (a *Client) GetAuthorize(params *GetAuthorizeParams, opts ...ClientOption) (*GetAuthorizeOK, error)
GetAuthorize this API endpoint create store and returns credentials for new user
func (*Client) GetCredentials ¶
func (a *Client) GetCredentials(params *GetCredentialsParams, opts ...ClientOption) (*GetCredentialsOK, error)
GetCredentials this API endpoint create store and returns credentials for new user
func (*Client) GetPing ¶
func (a *Client) GetPing(params *GetPingParams, opts ...ClientOption) (*GetPingOK, error)
GetPing this API endpoint always responds with pong when used over HTTP this API endpoint could also be used to measure network delays between your software and the API metrics
func (*Client) GetValidate ¶
func (a *Client) GetValidate(params *GetValidateParams, opts ...ClientOption) (*GetValidateOK, error)
GetValidate this API endpoint create store and returns credentials for new user
func (*Client) PostToken ¶
func (a *Client) PostToken(params *PostTokenParams, opts ...ClientOption) (*PostTokenOK, error)
PostToken this API endpoint create store and returns credentials for new user
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 { GetAuthorize(params *GetAuthorizeParams, opts ...ClientOption) (*GetAuthorizeOK, error) GetCredentials(params *GetCredentialsParams, opts ...ClientOption) (*GetCredentialsOK, error) GetPing(params *GetPingParams, opts ...ClientOption) (*GetPingOK, error) GetValidate(params *GetValidateParams, opts ...ClientOption) (*GetValidateOK, error) PostToken(params *PostTokenParams, opts ...ClientOption) (*PostTokenOK, 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 public API client.
type GetAuthorizeInternalServerError ¶
GetAuthorizeInternalServerError describes a response with status code 500, with default header values.
When some error occurs
func NewGetAuthorizeInternalServerError ¶
func NewGetAuthorizeInternalServerError() *GetAuthorizeInternalServerError
NewGetAuthorizeInternalServerError creates a GetAuthorizeInternalServerError with default headers values
func (*GetAuthorizeInternalServerError) Error ¶
func (o *GetAuthorizeInternalServerError) Error() string
func (*GetAuthorizeInternalServerError) GetPayload ¶
func (o *GetAuthorizeInternalServerError) GetPayload() *models.Error
func (*GetAuthorizeInternalServerError) IsClientError ¶
func (o *GetAuthorizeInternalServerError) IsClientError() bool
IsClientError returns true when this get authorize internal server error response has a 4xx status code
func (*GetAuthorizeInternalServerError) IsCode ¶
func (o *GetAuthorizeInternalServerError) IsCode(code int) bool
IsCode returns true when this get authorize internal server error response a status code equal to that given
func (*GetAuthorizeInternalServerError) IsRedirect ¶
func (o *GetAuthorizeInternalServerError) IsRedirect() bool
IsRedirect returns true when this get authorize internal server error response has a 3xx status code
func (*GetAuthorizeInternalServerError) IsServerError ¶
func (o *GetAuthorizeInternalServerError) IsServerError() bool
IsServerError returns true when this get authorize internal server error response has a 5xx status code
func (*GetAuthorizeInternalServerError) IsSuccess ¶
func (o *GetAuthorizeInternalServerError) IsSuccess() bool
IsSuccess returns true when this get authorize internal server error response has a 2xx status code
func (*GetAuthorizeInternalServerError) String ¶
func (o *GetAuthorizeInternalServerError) String() string
type GetAuthorizeOK ¶
GetAuthorizeOK describes a response with status code 200, with default header values.
authorize
func NewGetAuthorizeOK ¶
func NewGetAuthorizeOK() *GetAuthorizeOK
NewGetAuthorizeOK creates a GetAuthorizeOK with default headers values
func (*GetAuthorizeOK) Error ¶
func (o *GetAuthorizeOK) Error() string
func (*GetAuthorizeOK) GetPayload ¶
func (o *GetAuthorizeOK) GetPayload() *models.Authorize
func (*GetAuthorizeOK) IsClientError ¶
func (o *GetAuthorizeOK) IsClientError() bool
IsClientError returns true when this get authorize o k response has a 4xx status code
func (*GetAuthorizeOK) IsCode ¶
func (o *GetAuthorizeOK) IsCode(code int) bool
IsCode returns true when this get authorize o k response a status code equal to that given
func (*GetAuthorizeOK) IsRedirect ¶
func (o *GetAuthorizeOK) IsRedirect() bool
IsRedirect returns true when this get authorize o k response has a 3xx status code
func (*GetAuthorizeOK) IsServerError ¶
func (o *GetAuthorizeOK) IsServerError() bool
IsServerError returns true when this get authorize o k response has a 5xx status code
func (*GetAuthorizeOK) IsSuccess ¶
func (o *GetAuthorizeOK) IsSuccess() bool
IsSuccess returns true when this get authorize o k response has a 2xx status code
func (*GetAuthorizeOK) String ¶
func (o *GetAuthorizeOK) String() string
type GetAuthorizeParams ¶
type GetAuthorizeParams struct { /* AccessType. access type */ AccessType *string /* ClientID. client id */ ClientID string /* CodeChallenge. code challenge */ CodeChallenge *string /* CodeChallengeMethod. code challenge method */ CodeChallengeMethod *string /* RedirectURI. redirect uri */ RedirectURI string /* ResponseType. response type */ ResponseType string /* Scope. scope */ Scope string /* State. state */ State *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAuthorizeParams contains all the parameters to send to the API endpoint
for the get authorize operation. Typically these are written to a http.Request.
func NewGetAuthorizeParams ¶
func NewGetAuthorizeParams() *GetAuthorizeParams
NewGetAuthorizeParams creates a new GetAuthorizeParams 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 NewGetAuthorizeParamsWithContext ¶
func NewGetAuthorizeParamsWithContext(ctx context.Context) *GetAuthorizeParams
NewGetAuthorizeParamsWithContext creates a new GetAuthorizeParams object with the ability to set a context for a request.
func NewGetAuthorizeParamsWithHTTPClient ¶
func NewGetAuthorizeParamsWithHTTPClient(client *http.Client) *GetAuthorizeParams
NewGetAuthorizeParamsWithHTTPClient creates a new GetAuthorizeParams object with the ability to set a custom HTTPClient for a request.
func NewGetAuthorizeParamsWithTimeout ¶
func NewGetAuthorizeParamsWithTimeout(timeout time.Duration) *GetAuthorizeParams
NewGetAuthorizeParamsWithTimeout creates a new GetAuthorizeParams object with the ability to set a timeout on a request.
func (*GetAuthorizeParams) SetAccessType ¶
func (o *GetAuthorizeParams) SetAccessType(accessType *string)
SetAccessType adds the accessType to the get authorize params
func (*GetAuthorizeParams) SetClientID ¶
func (o *GetAuthorizeParams) SetClientID(clientID string)
SetClientID adds the clientId to the get authorize params
func (*GetAuthorizeParams) SetCodeChallenge ¶
func (o *GetAuthorizeParams) SetCodeChallenge(codeChallenge *string)
SetCodeChallenge adds the codeChallenge to the get authorize params
func (*GetAuthorizeParams) SetCodeChallengeMethod ¶
func (o *GetAuthorizeParams) SetCodeChallengeMethod(codeChallengeMethod *string)
SetCodeChallengeMethod adds the codeChallengeMethod to the get authorize params
func (*GetAuthorizeParams) SetContext ¶
func (o *GetAuthorizeParams) SetContext(ctx context.Context)
SetContext adds the context to the get authorize params
func (*GetAuthorizeParams) SetDefaults ¶
func (o *GetAuthorizeParams) SetDefaults()
SetDefaults hydrates default values in the get authorize params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthorizeParams) SetHTTPClient ¶
func (o *GetAuthorizeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get authorize params
func (*GetAuthorizeParams) SetRedirectURI ¶
func (o *GetAuthorizeParams) SetRedirectURI(redirectURI string)
SetRedirectURI adds the redirectUri to the get authorize params
func (*GetAuthorizeParams) SetResponseType ¶
func (o *GetAuthorizeParams) SetResponseType(responseType string)
SetResponseType adds the responseType to the get authorize params
func (*GetAuthorizeParams) SetScope ¶
func (o *GetAuthorizeParams) SetScope(scope string)
SetScope adds the scope to the get authorize params
func (*GetAuthorizeParams) SetState ¶
func (o *GetAuthorizeParams) SetState(state *string)
SetState adds the state to the get authorize params
func (*GetAuthorizeParams) SetTimeout ¶
func (o *GetAuthorizeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get authorize params
func (*GetAuthorizeParams) WithAccessType ¶
func (o *GetAuthorizeParams) WithAccessType(accessType *string) *GetAuthorizeParams
WithAccessType adds the accessType to the get authorize params
func (*GetAuthorizeParams) WithClientID ¶
func (o *GetAuthorizeParams) WithClientID(clientID string) *GetAuthorizeParams
WithClientID adds the clientID to the get authorize params
func (*GetAuthorizeParams) WithCodeChallenge ¶
func (o *GetAuthorizeParams) WithCodeChallenge(codeChallenge *string) *GetAuthorizeParams
WithCodeChallenge adds the codeChallenge to the get authorize params
func (*GetAuthorizeParams) WithCodeChallengeMethod ¶
func (o *GetAuthorizeParams) WithCodeChallengeMethod(codeChallengeMethod *string) *GetAuthorizeParams
WithCodeChallengeMethod adds the codeChallengeMethod to the get authorize params
func (*GetAuthorizeParams) WithContext ¶
func (o *GetAuthorizeParams) WithContext(ctx context.Context) *GetAuthorizeParams
WithContext adds the context to the get authorize params
func (*GetAuthorizeParams) WithDefaults ¶
func (o *GetAuthorizeParams) WithDefaults() *GetAuthorizeParams
WithDefaults hydrates default values in the get authorize params (not the query body).
All values with no default are reset to their zero value.
func (*GetAuthorizeParams) WithHTTPClient ¶
func (o *GetAuthorizeParams) WithHTTPClient(client *http.Client) *GetAuthorizeParams
WithHTTPClient adds the HTTPClient to the get authorize params
func (*GetAuthorizeParams) WithRedirectURI ¶
func (o *GetAuthorizeParams) WithRedirectURI(redirectURI string) *GetAuthorizeParams
WithRedirectURI adds the redirectURI to the get authorize params
func (*GetAuthorizeParams) WithResponseType ¶
func (o *GetAuthorizeParams) WithResponseType(responseType string) *GetAuthorizeParams
WithResponseType adds the responseType to the get authorize params
func (*GetAuthorizeParams) WithScope ¶
func (o *GetAuthorizeParams) WithScope(scope string) *GetAuthorizeParams
WithScope adds the scope to the get authorize params
func (*GetAuthorizeParams) WithState ¶
func (o *GetAuthorizeParams) WithState(state *string) *GetAuthorizeParams
WithState adds the state to the get authorize params
func (*GetAuthorizeParams) WithTimeout ¶
func (o *GetAuthorizeParams) WithTimeout(timeout time.Duration) *GetAuthorizeParams
WithTimeout adds the timeout to the get authorize params
func (*GetAuthorizeParams) WriteToRequest ¶
func (o *GetAuthorizeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAuthorizeReader ¶
type GetAuthorizeReader struct {
// contains filtered or unexported fields
}
GetAuthorizeReader is a Reader for the GetAuthorize structure.
func (*GetAuthorizeReader) ReadResponse ¶
func (o *GetAuthorizeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetCredentialsInternalServerError ¶
GetCredentialsInternalServerError describes a response with status code 500, with default header values.
When some error occurs
func NewGetCredentialsInternalServerError ¶
func NewGetCredentialsInternalServerError() *GetCredentialsInternalServerError
NewGetCredentialsInternalServerError creates a GetCredentialsInternalServerError with default headers values
func (*GetCredentialsInternalServerError) Error ¶
func (o *GetCredentialsInternalServerError) Error() string
func (*GetCredentialsInternalServerError) GetPayload ¶
func (o *GetCredentialsInternalServerError) GetPayload() *models.Error
func (*GetCredentialsInternalServerError) IsClientError ¶
func (o *GetCredentialsInternalServerError) IsClientError() bool
IsClientError returns true when this get credentials internal server error response has a 4xx status code
func (*GetCredentialsInternalServerError) IsCode ¶
func (o *GetCredentialsInternalServerError) IsCode(code int) bool
IsCode returns true when this get credentials internal server error response a status code equal to that given
func (*GetCredentialsInternalServerError) IsRedirect ¶
func (o *GetCredentialsInternalServerError) IsRedirect() bool
IsRedirect returns true when this get credentials internal server error response has a 3xx status code
func (*GetCredentialsInternalServerError) IsServerError ¶
func (o *GetCredentialsInternalServerError) IsServerError() bool
IsServerError returns true when this get credentials internal server error response has a 5xx status code
func (*GetCredentialsInternalServerError) IsSuccess ¶
func (o *GetCredentialsInternalServerError) IsSuccess() bool
IsSuccess returns true when this get credentials internal server error response has a 2xx status code
func (*GetCredentialsInternalServerError) String ¶
func (o *GetCredentialsInternalServerError) String() string
type GetCredentialsOK ¶
type GetCredentialsOK struct {
Payload *models.Credentials
}
GetCredentialsOK describes a response with status code 200, with default header values.
get client id and client secret
func NewGetCredentialsOK ¶
func NewGetCredentialsOK() *GetCredentialsOK
NewGetCredentialsOK creates a GetCredentialsOK with default headers values
func (*GetCredentialsOK) Error ¶
func (o *GetCredentialsOK) Error() string
func (*GetCredentialsOK) GetPayload ¶
func (o *GetCredentialsOK) GetPayload() *models.Credentials
func (*GetCredentialsOK) IsClientError ¶
func (o *GetCredentialsOK) IsClientError() bool
IsClientError returns true when this get credentials o k response has a 4xx status code
func (*GetCredentialsOK) IsCode ¶
func (o *GetCredentialsOK) IsCode(code int) bool
IsCode returns true when this get credentials o k response a status code equal to that given
func (*GetCredentialsOK) IsRedirect ¶
func (o *GetCredentialsOK) IsRedirect() bool
IsRedirect returns true when this get credentials o k response has a 3xx status code
func (*GetCredentialsOK) IsServerError ¶
func (o *GetCredentialsOK) IsServerError() bool
IsServerError returns true when this get credentials o k response has a 5xx status code
func (*GetCredentialsOK) IsSuccess ¶
func (o *GetCredentialsOK) IsSuccess() bool
IsSuccess returns true when this get credentials o k response has a 2xx status code
func (*GetCredentialsOK) String ¶
func (o *GetCredentialsOK) String() string
type GetCredentialsParams ¶
type GetCredentialsParams struct { /* ClientID. client id */ ClientID string /* Domain. domain for app */ Domain *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetCredentialsParams contains all the parameters to send to the API endpoint
for the get credentials operation. Typically these are written to a http.Request.
func NewGetCredentialsParams ¶
func NewGetCredentialsParams() *GetCredentialsParams
NewGetCredentialsParams creates a new GetCredentialsParams 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 NewGetCredentialsParamsWithContext ¶
func NewGetCredentialsParamsWithContext(ctx context.Context) *GetCredentialsParams
NewGetCredentialsParamsWithContext creates a new GetCredentialsParams object with the ability to set a context for a request.
func NewGetCredentialsParamsWithHTTPClient ¶
func NewGetCredentialsParamsWithHTTPClient(client *http.Client) *GetCredentialsParams
NewGetCredentialsParamsWithHTTPClient creates a new GetCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewGetCredentialsParamsWithTimeout ¶
func NewGetCredentialsParamsWithTimeout(timeout time.Duration) *GetCredentialsParams
NewGetCredentialsParamsWithTimeout creates a new GetCredentialsParams object with the ability to set a timeout on a request.
func (*GetCredentialsParams) SetClientID ¶
func (o *GetCredentialsParams) SetClientID(clientID string)
SetClientID adds the clientId to the get credentials params
func (*GetCredentialsParams) SetContext ¶
func (o *GetCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the get credentials params
func (*GetCredentialsParams) SetDefaults ¶
func (o *GetCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the get credentials params (not the query body).
All values with no default are reset to their zero value.
func (*GetCredentialsParams) SetDomain ¶
func (o *GetCredentialsParams) SetDomain(domain *string)
SetDomain adds the domain to the get credentials params
func (*GetCredentialsParams) SetHTTPClient ¶
func (o *GetCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) SetTimeout ¶
func (o *GetCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) WithClientID ¶
func (o *GetCredentialsParams) WithClientID(clientID string) *GetCredentialsParams
WithClientID adds the clientID to the get credentials params
func (*GetCredentialsParams) WithContext ¶
func (o *GetCredentialsParams) WithContext(ctx context.Context) *GetCredentialsParams
WithContext adds the context to the get credentials params
func (*GetCredentialsParams) WithDefaults ¶
func (o *GetCredentialsParams) WithDefaults() *GetCredentialsParams
WithDefaults hydrates default values in the get credentials params (not the query body).
All values with no default are reset to their zero value.
func (*GetCredentialsParams) WithDomain ¶
func (o *GetCredentialsParams) WithDomain(domain *string) *GetCredentialsParams
WithDomain adds the domain to the get credentials params
func (*GetCredentialsParams) WithHTTPClient ¶
func (o *GetCredentialsParams) WithHTTPClient(client *http.Client) *GetCredentialsParams
WithHTTPClient adds the HTTPClient to the get credentials params
func (*GetCredentialsParams) WithTimeout ¶
func (o *GetCredentialsParams) WithTimeout(timeout time.Duration) *GetCredentialsParams
WithTimeout adds the timeout to the get credentials params
func (*GetCredentialsParams) WriteToRequest ¶
func (o *GetCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetCredentialsReader ¶
type GetCredentialsReader struct {
// contains filtered or unexported fields
}
GetCredentialsReader is a Reader for the GetCredentials structure.
func (*GetCredentialsReader) ReadResponse ¶
func (o *GetCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPingInternalServerError ¶
GetPingInternalServerError describes a response with status code 500, with default header values.
When some error occurs
func NewGetPingInternalServerError ¶
func NewGetPingInternalServerError() *GetPingInternalServerError
NewGetPingInternalServerError creates a GetPingInternalServerError with default headers values
func (*GetPingInternalServerError) Error ¶
func (o *GetPingInternalServerError) Error() string
func (*GetPingInternalServerError) GetPayload ¶
func (o *GetPingInternalServerError) GetPayload() *models.Error
func (*GetPingInternalServerError) IsClientError ¶
func (o *GetPingInternalServerError) IsClientError() bool
IsClientError returns true when this get ping internal server error response has a 4xx status code
func (*GetPingInternalServerError) IsCode ¶
func (o *GetPingInternalServerError) IsCode(code int) bool
IsCode returns true when this get ping internal server error response a status code equal to that given
func (*GetPingInternalServerError) IsRedirect ¶
func (o *GetPingInternalServerError) IsRedirect() bool
IsRedirect returns true when this get ping internal server error response has a 3xx status code
func (*GetPingInternalServerError) IsServerError ¶
func (o *GetPingInternalServerError) IsServerError() bool
IsServerError returns true when this get ping internal server error response has a 5xx status code
func (*GetPingInternalServerError) IsSuccess ¶
func (o *GetPingInternalServerError) IsSuccess() bool
IsSuccess returns true when this get ping internal server error response has a 2xx status code
func (*GetPingInternalServerError) String ¶
func (o *GetPingInternalServerError) String() string
type GetPingOK ¶
GetPingOK describes a response with status code 200, with default header values.
ping response
func NewGetPingOK ¶
func NewGetPingOK() *GetPingOK
NewGetPingOK creates a GetPingOK with default headers values
func (*GetPingOK) GetPayload ¶
func (*GetPingOK) IsClientError ¶
IsClientError returns true when this get ping o k response has a 4xx status code
func (*GetPingOK) IsCode ¶
IsCode returns true when this get ping o k response a status code equal to that given
func (*GetPingOK) IsRedirect ¶
IsRedirect returns true when this get ping o k response has a 3xx status code
func (*GetPingOK) IsServerError ¶
IsServerError returns true when this get ping o k response has a 5xx status code
type GetPingParams ¶
type GetPingParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPingParams contains all the parameters to send to the API endpoint
for the get ping operation. Typically these are written to a http.Request.
func NewGetPingParams ¶
func NewGetPingParams() *GetPingParams
NewGetPingParams creates a new GetPingParams 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 NewGetPingParamsWithContext ¶
func NewGetPingParamsWithContext(ctx context.Context) *GetPingParams
NewGetPingParamsWithContext creates a new GetPingParams object with the ability to set a context for a request.
func NewGetPingParamsWithHTTPClient ¶
func NewGetPingParamsWithHTTPClient(client *http.Client) *GetPingParams
NewGetPingParamsWithHTTPClient creates a new GetPingParams object with the ability to set a custom HTTPClient for a request.
func NewGetPingParamsWithTimeout ¶
func NewGetPingParamsWithTimeout(timeout time.Duration) *GetPingParams
NewGetPingParamsWithTimeout creates a new GetPingParams object with the ability to set a timeout on a request.
func (*GetPingParams) SetContext ¶
func (o *GetPingParams) SetContext(ctx context.Context)
SetContext adds the context to the get ping params
func (*GetPingParams) SetDefaults ¶
func (o *GetPingParams) SetDefaults()
SetDefaults hydrates default values in the get ping params (not the query body).
All values with no default are reset to their zero value.
func (*GetPingParams) SetHTTPClient ¶
func (o *GetPingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get ping params
func (*GetPingParams) SetTimeout ¶
func (o *GetPingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get ping params
func (*GetPingParams) WithContext ¶
func (o *GetPingParams) WithContext(ctx context.Context) *GetPingParams
WithContext adds the context to the get ping params
func (*GetPingParams) WithDefaults ¶
func (o *GetPingParams) WithDefaults() *GetPingParams
WithDefaults hydrates default values in the get ping params (not the query body).
All values with no default are reset to their zero value.
func (*GetPingParams) WithHTTPClient ¶
func (o *GetPingParams) WithHTTPClient(client *http.Client) *GetPingParams
WithHTTPClient adds the HTTPClient to the get ping params
func (*GetPingParams) WithTimeout ¶
func (o *GetPingParams) WithTimeout(timeout time.Duration) *GetPingParams
WithTimeout adds the timeout to the get ping params
func (*GetPingParams) WriteToRequest ¶
func (o *GetPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPingReader ¶
type GetPingReader struct {
// contains filtered or unexported fields
}
GetPingReader is a Reader for the GetPing structure.
func (*GetPingReader) ReadResponse ¶
func (o *GetPingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetValidateInternalServerError ¶
GetValidateInternalServerError describes a response with status code 500, with default header values.
When some error occurs
func NewGetValidateInternalServerError ¶
func NewGetValidateInternalServerError() *GetValidateInternalServerError
NewGetValidateInternalServerError creates a GetValidateInternalServerError with default headers values
func (*GetValidateInternalServerError) Error ¶
func (o *GetValidateInternalServerError) Error() string
func (*GetValidateInternalServerError) GetPayload ¶
func (o *GetValidateInternalServerError) GetPayload() *models.Error
func (*GetValidateInternalServerError) IsClientError ¶
func (o *GetValidateInternalServerError) IsClientError() bool
IsClientError returns true when this get validate internal server error response has a 4xx status code
func (*GetValidateInternalServerError) IsCode ¶
func (o *GetValidateInternalServerError) IsCode(code int) bool
IsCode returns true when this get validate internal server error response a status code equal to that given
func (*GetValidateInternalServerError) IsRedirect ¶
func (o *GetValidateInternalServerError) IsRedirect() bool
IsRedirect returns true when this get validate internal server error response has a 3xx status code
func (*GetValidateInternalServerError) IsServerError ¶
func (o *GetValidateInternalServerError) IsServerError() bool
IsServerError returns true when this get validate internal server error response has a 5xx status code
func (*GetValidateInternalServerError) IsSuccess ¶
func (o *GetValidateInternalServerError) IsSuccess() bool
IsSuccess returns true when this get validate internal server error response has a 2xx status code
func (*GetValidateInternalServerError) String ¶
func (o *GetValidateInternalServerError) String() string
type GetValidateOK ¶
GetValidateOK describes a response with status code 200, with default header values.
authorize
func NewGetValidateOK ¶
func NewGetValidateOK() *GetValidateOK
NewGetValidateOK creates a GetValidateOK with default headers values
func (*GetValidateOK) Error ¶
func (o *GetValidateOK) Error() string
func (*GetValidateOK) GetPayload ¶
func (o *GetValidateOK) GetPayload() *models.Validate
func (*GetValidateOK) IsClientError ¶
func (o *GetValidateOK) IsClientError() bool
IsClientError returns true when this get validate o k response has a 4xx status code
func (*GetValidateOK) IsCode ¶
func (o *GetValidateOK) IsCode(code int) bool
IsCode returns true when this get validate o k response a status code equal to that given
func (*GetValidateOK) IsRedirect ¶
func (o *GetValidateOK) IsRedirect() bool
IsRedirect returns true when this get validate o k response has a 3xx status code
func (*GetValidateOK) IsServerError ¶
func (o *GetValidateOK) IsServerError() bool
IsServerError returns true when this get validate o k response has a 5xx status code
func (*GetValidateOK) IsSuccess ¶
func (o *GetValidateOK) IsSuccess() bool
IsSuccess returns true when this get validate o k response has a 2xx status code
func (*GetValidateOK) String ¶
func (o *GetValidateOK) String() string
type GetValidateParams ¶
type GetValidateParams struct { /* AccessToken. access token */ AccessToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetValidateParams contains all the parameters to send to the API endpoint
for the get validate operation. Typically these are written to a http.Request.
func NewGetValidateParams ¶
func NewGetValidateParams() *GetValidateParams
NewGetValidateParams creates a new GetValidateParams 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 NewGetValidateParamsWithContext ¶
func NewGetValidateParamsWithContext(ctx context.Context) *GetValidateParams
NewGetValidateParamsWithContext creates a new GetValidateParams object with the ability to set a context for a request.
func NewGetValidateParamsWithHTTPClient ¶
func NewGetValidateParamsWithHTTPClient(client *http.Client) *GetValidateParams
NewGetValidateParamsWithHTTPClient creates a new GetValidateParams object with the ability to set a custom HTTPClient for a request.
func NewGetValidateParamsWithTimeout ¶
func NewGetValidateParamsWithTimeout(timeout time.Duration) *GetValidateParams
NewGetValidateParamsWithTimeout creates a new GetValidateParams object with the ability to set a timeout on a request.
func (*GetValidateParams) SetAccessToken ¶
func (o *GetValidateParams) SetAccessToken(accessToken *string)
SetAccessToken adds the accessToken to the get validate params
func (*GetValidateParams) SetContext ¶
func (o *GetValidateParams) SetContext(ctx context.Context)
SetContext adds the context to the get validate params
func (*GetValidateParams) SetDefaults ¶
func (o *GetValidateParams) SetDefaults()
SetDefaults hydrates default values in the get validate params (not the query body).
All values with no default are reset to their zero value.
func (*GetValidateParams) SetHTTPClient ¶
func (o *GetValidateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get validate params
func (*GetValidateParams) SetTimeout ¶
func (o *GetValidateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get validate params
func (*GetValidateParams) WithAccessToken ¶
func (o *GetValidateParams) WithAccessToken(accessToken *string) *GetValidateParams
WithAccessToken adds the accessToken to the get validate params
func (*GetValidateParams) WithContext ¶
func (o *GetValidateParams) WithContext(ctx context.Context) *GetValidateParams
WithContext adds the context to the get validate params
func (*GetValidateParams) WithDefaults ¶
func (o *GetValidateParams) WithDefaults() *GetValidateParams
WithDefaults hydrates default values in the get validate params (not the query body).
All values with no default are reset to their zero value.
func (*GetValidateParams) WithHTTPClient ¶
func (o *GetValidateParams) WithHTTPClient(client *http.Client) *GetValidateParams
WithHTTPClient adds the HTTPClient to the get validate params
func (*GetValidateParams) WithTimeout ¶
func (o *GetValidateParams) WithTimeout(timeout time.Duration) *GetValidateParams
WithTimeout adds the timeout to the get validate params
func (*GetValidateParams) WriteToRequest ¶
func (o *GetValidateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetValidateReader ¶
type GetValidateReader struct {
// contains filtered or unexported fields
}
GetValidateReader is a Reader for the GetValidate structure.
func (*GetValidateReader) ReadResponse ¶
func (o *GetValidateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostTokenInternalServerError ¶
PostTokenInternalServerError describes a response with status code 500, with default header values.
When some error occurs
func NewPostTokenInternalServerError ¶
func NewPostTokenInternalServerError() *PostTokenInternalServerError
NewPostTokenInternalServerError creates a PostTokenInternalServerError with default headers values
func (*PostTokenInternalServerError) Error ¶
func (o *PostTokenInternalServerError) Error() string
func (*PostTokenInternalServerError) GetPayload ¶
func (o *PostTokenInternalServerError) GetPayload() *models.Error
func (*PostTokenInternalServerError) IsClientError ¶
func (o *PostTokenInternalServerError) IsClientError() bool
IsClientError returns true when this post token internal server error response has a 4xx status code
func (*PostTokenInternalServerError) IsCode ¶
func (o *PostTokenInternalServerError) IsCode(code int) bool
IsCode returns true when this post token internal server error response a status code equal to that given
func (*PostTokenInternalServerError) IsRedirect ¶
func (o *PostTokenInternalServerError) IsRedirect() bool
IsRedirect returns true when this post token internal server error response has a 3xx status code
func (*PostTokenInternalServerError) IsServerError ¶
func (o *PostTokenInternalServerError) IsServerError() bool
IsServerError returns true when this post token internal server error response has a 5xx status code
func (*PostTokenInternalServerError) IsSuccess ¶
func (o *PostTokenInternalServerError) IsSuccess() bool
IsSuccess returns true when this post token internal server error response has a 2xx status code
func (*PostTokenInternalServerError) String ¶
func (o *PostTokenInternalServerError) String() string
type PostTokenOK ¶
PostTokenOK describes a response with status code 200, with default header values.
get client id and client secret
func NewPostTokenOK ¶
func NewPostTokenOK() *PostTokenOK
NewPostTokenOK creates a PostTokenOK with default headers values
func (*PostTokenOK) Error ¶
func (o *PostTokenOK) Error() string
func (*PostTokenOK) GetPayload ¶
func (o *PostTokenOK) GetPayload() *models.Token
func (*PostTokenOK) IsClientError ¶
func (o *PostTokenOK) IsClientError() bool
IsClientError returns true when this post token o k response has a 4xx status code
func (*PostTokenOK) IsCode ¶
func (o *PostTokenOK) IsCode(code int) bool
IsCode returns true when this post token o k response a status code equal to that given
func (*PostTokenOK) IsRedirect ¶
func (o *PostTokenOK) IsRedirect() bool
IsRedirect returns true when this post token o k response has a 3xx status code
func (*PostTokenOK) IsServerError ¶
func (o *PostTokenOK) IsServerError() bool
IsServerError returns true when this post token o k response has a 5xx status code
func (*PostTokenOK) IsSuccess ¶
func (o *PostTokenOK) IsSuccess() bool
IsSuccess returns true when this post token o k response has a 2xx status code
func (*PostTokenOK) String ¶
func (o *PostTokenOK) String() string
type PostTokenParams ¶
type PostTokenParams struct { /* ClientID. client id */ ClientID string /* ClientSecret. client secret */ ClientSecret string /* Domain. get domain for credentials */ Domain *string /* GrantType. grant type credentials */ GrantType *string /* Scope. get credentials */ Scope *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostTokenParams contains all the parameters to send to the API endpoint
for the post token operation. Typically these are written to a http.Request.
func NewPostTokenParams ¶
func NewPostTokenParams() *PostTokenParams
NewPostTokenParams creates a new PostTokenParams 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 NewPostTokenParamsWithContext ¶
func NewPostTokenParamsWithContext(ctx context.Context) *PostTokenParams
NewPostTokenParamsWithContext creates a new PostTokenParams object with the ability to set a context for a request.
func NewPostTokenParamsWithHTTPClient ¶
func NewPostTokenParamsWithHTTPClient(client *http.Client) *PostTokenParams
NewPostTokenParamsWithHTTPClient creates a new PostTokenParams object with the ability to set a custom HTTPClient for a request.
func NewPostTokenParamsWithTimeout ¶
func NewPostTokenParamsWithTimeout(timeout time.Duration) *PostTokenParams
NewPostTokenParamsWithTimeout creates a new PostTokenParams object with the ability to set a timeout on a request.
func (*PostTokenParams) SetClientID ¶
func (o *PostTokenParams) SetClientID(clientID string)
SetClientID adds the clientId to the post token params
func (*PostTokenParams) SetClientSecret ¶
func (o *PostTokenParams) SetClientSecret(clientSecret string)
SetClientSecret adds the clientSecret to the post token params
func (*PostTokenParams) SetContext ¶
func (o *PostTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the post token params
func (*PostTokenParams) SetDefaults ¶
func (o *PostTokenParams) SetDefaults()
SetDefaults hydrates default values in the post token params (not the query body).
All values with no default are reset to their zero value.
func (*PostTokenParams) SetDomain ¶
func (o *PostTokenParams) SetDomain(domain *string)
SetDomain adds the domain to the post token params
func (*PostTokenParams) SetGrantType ¶
func (o *PostTokenParams) SetGrantType(grantType *string)
SetGrantType adds the grantType to the post token params
func (*PostTokenParams) SetHTTPClient ¶
func (o *PostTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post token params
func (*PostTokenParams) SetScope ¶
func (o *PostTokenParams) SetScope(scope *string)
SetScope adds the scope to the post token params
func (*PostTokenParams) SetTimeout ¶
func (o *PostTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post token params
func (*PostTokenParams) WithClientID ¶
func (o *PostTokenParams) WithClientID(clientID string) *PostTokenParams
WithClientID adds the clientID to the post token params
func (*PostTokenParams) WithClientSecret ¶
func (o *PostTokenParams) WithClientSecret(clientSecret string) *PostTokenParams
WithClientSecret adds the clientSecret to the post token params
func (*PostTokenParams) WithContext ¶
func (o *PostTokenParams) WithContext(ctx context.Context) *PostTokenParams
WithContext adds the context to the post token params
func (*PostTokenParams) WithDefaults ¶
func (o *PostTokenParams) WithDefaults() *PostTokenParams
WithDefaults hydrates default values in the post token params (not the query body).
All values with no default are reset to their zero value.
func (*PostTokenParams) WithDomain ¶
func (o *PostTokenParams) WithDomain(domain *string) *PostTokenParams
WithDomain adds the domain to the post token params
func (*PostTokenParams) WithGrantType ¶
func (o *PostTokenParams) WithGrantType(grantType *string) *PostTokenParams
WithGrantType adds the grantType to the post token params
func (*PostTokenParams) WithHTTPClient ¶
func (o *PostTokenParams) WithHTTPClient(client *http.Client) *PostTokenParams
WithHTTPClient adds the HTTPClient to the post token params
func (*PostTokenParams) WithScope ¶
func (o *PostTokenParams) WithScope(scope *string) *PostTokenParams
WithScope adds the scope to the post token params
func (*PostTokenParams) WithTimeout ¶
func (o *PostTokenParams) WithTimeout(timeout time.Duration) *PostTokenParams
WithTimeout adds the timeout to the post token params
func (*PostTokenParams) WriteToRequest ¶
func (o *PostTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostTokenReader ¶
type PostTokenReader struct {
// contains filtered or unexported fields
}
PostTokenReader is a Reader for the PostToken structure.
func (*PostTokenReader) ReadResponse ¶
func (o *PostTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.