system

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for system API

func (*Client) GatewayExchange

func (a *Client) GatewayExchange(params *GatewayExchangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayExchangeOK, error)

GatewayExchange exchanges token endpoint as a gateway

func (*Client) GatewayIntrospect

func (a *Client) GatewayIntrospect(params *GatewayIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayIntrospectOK, error)

GatewayIntrospect introspects access token endpoint as a gateway

func (*Client) RevokeTokens

func (a *Client) RevokeTokens(params *RevokeTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeTokensNoContent, error)

RevokeTokens revokes tokens

Revokes tokens issued for consent id provided in the query param.

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 {
	GatewayExchange(params *GatewayExchangeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayExchangeOK, error)

	GatewayIntrospect(params *GatewayIntrospectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GatewayIntrospectOK, error)

	RevokeTokens(params *RevokeTokensParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RevokeTokensNoContent, 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 system API client.

type GatewayExchangeBadRequest

type GatewayExchangeBadRequest struct {
	Payload *models.Error
}

GatewayExchangeBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGatewayExchangeBadRequest

func NewGatewayExchangeBadRequest() *GatewayExchangeBadRequest

NewGatewayExchangeBadRequest creates a GatewayExchangeBadRequest with default headers values

func (*GatewayExchangeBadRequest) Code

func (o *GatewayExchangeBadRequest) Code() int

Code gets the status code for the gateway exchange bad request response

func (*GatewayExchangeBadRequest) Error

func (o *GatewayExchangeBadRequest) Error() string

func (*GatewayExchangeBadRequest) GetPayload

func (o *GatewayExchangeBadRequest) GetPayload() *models.Error

func (*GatewayExchangeBadRequest) IsClientError

func (o *GatewayExchangeBadRequest) IsClientError() bool

IsClientError returns true when this gateway exchange bad request response has a 4xx status code

func (*GatewayExchangeBadRequest) IsCode

func (o *GatewayExchangeBadRequest) IsCode(code int) bool

IsCode returns true when this gateway exchange bad request response a status code equal to that given

func (*GatewayExchangeBadRequest) IsRedirect

func (o *GatewayExchangeBadRequest) IsRedirect() bool

IsRedirect returns true when this gateway exchange bad request response has a 3xx status code

func (*GatewayExchangeBadRequest) IsServerError

func (o *GatewayExchangeBadRequest) IsServerError() bool

IsServerError returns true when this gateway exchange bad request response has a 5xx status code

func (*GatewayExchangeBadRequest) IsSuccess

func (o *GatewayExchangeBadRequest) IsSuccess() bool

IsSuccess returns true when this gateway exchange bad request response has a 2xx status code

func (*GatewayExchangeBadRequest) String

func (o *GatewayExchangeBadRequest) String() string

type GatewayExchangeForbidden

type GatewayExchangeForbidden struct {
	Payload *models.Error
}

GatewayExchangeForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGatewayExchangeForbidden

func NewGatewayExchangeForbidden() *GatewayExchangeForbidden

NewGatewayExchangeForbidden creates a GatewayExchangeForbidden with default headers values

func (*GatewayExchangeForbidden) Code

func (o *GatewayExchangeForbidden) Code() int

Code gets the status code for the gateway exchange forbidden response

func (*GatewayExchangeForbidden) Error

func (o *GatewayExchangeForbidden) Error() string

func (*GatewayExchangeForbidden) GetPayload

func (o *GatewayExchangeForbidden) GetPayload() *models.Error

func (*GatewayExchangeForbidden) IsClientError

func (o *GatewayExchangeForbidden) IsClientError() bool

IsClientError returns true when this gateway exchange forbidden response has a 4xx status code

func (*GatewayExchangeForbidden) IsCode

func (o *GatewayExchangeForbidden) IsCode(code int) bool

IsCode returns true when this gateway exchange forbidden response a status code equal to that given

func (*GatewayExchangeForbidden) IsRedirect

func (o *GatewayExchangeForbidden) IsRedirect() bool

IsRedirect returns true when this gateway exchange forbidden response has a 3xx status code

func (*GatewayExchangeForbidden) IsServerError

func (o *GatewayExchangeForbidden) IsServerError() bool

IsServerError returns true when this gateway exchange forbidden response has a 5xx status code

func (*GatewayExchangeForbidden) IsSuccess

func (o *GatewayExchangeForbidden) IsSuccess() bool

IsSuccess returns true when this gateway exchange forbidden response has a 2xx status code

func (*GatewayExchangeForbidden) String

func (o *GatewayExchangeForbidden) String() string

type GatewayExchangeOK

type GatewayExchangeOK struct {
	Payload *models.GatewayExchangeResponse
}

GatewayExchangeOK describes a response with status code 200, with default header values.

Gateway Exchange response

func NewGatewayExchangeOK

func NewGatewayExchangeOK() *GatewayExchangeOK

NewGatewayExchangeOK creates a GatewayExchangeOK with default headers values

func (*GatewayExchangeOK) Code

func (o *GatewayExchangeOK) Code() int

Code gets the status code for the gateway exchange o k response

func (*GatewayExchangeOK) Error

func (o *GatewayExchangeOK) Error() string

func (*GatewayExchangeOK) GetPayload

func (*GatewayExchangeOK) IsClientError

func (o *GatewayExchangeOK) IsClientError() bool

IsClientError returns true when this gateway exchange o k response has a 4xx status code

func (*GatewayExchangeOK) IsCode

func (o *GatewayExchangeOK) IsCode(code int) bool

IsCode returns true when this gateway exchange o k response a status code equal to that given

func (*GatewayExchangeOK) IsRedirect

func (o *GatewayExchangeOK) IsRedirect() bool

IsRedirect returns true when this gateway exchange o k response has a 3xx status code

func (*GatewayExchangeOK) IsServerError

func (o *GatewayExchangeOK) IsServerError() bool

IsServerError returns true when this gateway exchange o k response has a 5xx status code

func (*GatewayExchangeOK) IsSuccess

func (o *GatewayExchangeOK) IsSuccess() bool

IsSuccess returns true when this gateway exchange o k response has a 2xx status code

func (*GatewayExchangeOK) String

func (o *GatewayExchangeOK) String() string

type GatewayExchangeParams

type GatewayExchangeParams struct {

	// SubjectToken.
	SubjectToken *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GatewayExchangeParams contains all the parameters to send to the API endpoint

for the gateway exchange operation.

Typically these are written to a http.Request.

func NewGatewayExchangeParams

func NewGatewayExchangeParams() *GatewayExchangeParams

NewGatewayExchangeParams creates a new GatewayExchangeParams 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 NewGatewayExchangeParamsWithContext

func NewGatewayExchangeParamsWithContext(ctx context.Context) *GatewayExchangeParams

NewGatewayExchangeParamsWithContext creates a new GatewayExchangeParams object with the ability to set a context for a request.

func NewGatewayExchangeParamsWithHTTPClient

func NewGatewayExchangeParamsWithHTTPClient(client *http.Client) *GatewayExchangeParams

NewGatewayExchangeParamsWithHTTPClient creates a new GatewayExchangeParams object with the ability to set a custom HTTPClient for a request.

func NewGatewayExchangeParamsWithTimeout

func NewGatewayExchangeParamsWithTimeout(timeout time.Duration) *GatewayExchangeParams

NewGatewayExchangeParamsWithTimeout creates a new GatewayExchangeParams object with the ability to set a timeout on a request.

func (*GatewayExchangeParams) SetContext

func (o *GatewayExchangeParams) SetContext(ctx context.Context)

SetContext adds the context to the gateway exchange params

func (*GatewayExchangeParams) SetDefaults

func (o *GatewayExchangeParams) SetDefaults()

SetDefaults hydrates default values in the gateway exchange params (not the query body).

All values with no default are reset to their zero value.

func (*GatewayExchangeParams) SetHTTPClient

func (o *GatewayExchangeParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the gateway exchange params

func (*GatewayExchangeParams) SetSubjectToken

func (o *GatewayExchangeParams) SetSubjectToken(subjectToken *string)

SetSubjectToken adds the subjectToken to the gateway exchange params

func (*GatewayExchangeParams) SetTimeout

func (o *GatewayExchangeParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the gateway exchange params

func (*GatewayExchangeParams) WithContext

WithContext adds the context to the gateway exchange params

func (*GatewayExchangeParams) WithDefaults

func (o *GatewayExchangeParams) WithDefaults() *GatewayExchangeParams

WithDefaults hydrates default values in the gateway exchange params (not the query body).

All values with no default are reset to their zero value.

func (*GatewayExchangeParams) WithHTTPClient

func (o *GatewayExchangeParams) WithHTTPClient(client *http.Client) *GatewayExchangeParams

WithHTTPClient adds the HTTPClient to the gateway exchange params

func (*GatewayExchangeParams) WithSubjectToken

func (o *GatewayExchangeParams) WithSubjectToken(subjectToken *string) *GatewayExchangeParams

WithSubjectToken adds the subjectToken to the gateway exchange params

func (*GatewayExchangeParams) WithTimeout

func (o *GatewayExchangeParams) WithTimeout(timeout time.Duration) *GatewayExchangeParams

WithTimeout adds the timeout to the gateway exchange params

func (*GatewayExchangeParams) WriteToRequest

func (o *GatewayExchangeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GatewayExchangeReader

type GatewayExchangeReader struct {
	// contains filtered or unexported fields
}

GatewayExchangeReader is a Reader for the GatewayExchange structure.

func (*GatewayExchangeReader) ReadResponse

func (o *GatewayExchangeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GatewayExchangeUnauthorized

type GatewayExchangeUnauthorized struct {
	Payload *models.Error
}

GatewayExchangeUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGatewayExchangeUnauthorized

func NewGatewayExchangeUnauthorized() *GatewayExchangeUnauthorized

NewGatewayExchangeUnauthorized creates a GatewayExchangeUnauthorized with default headers values

func (*GatewayExchangeUnauthorized) Code

func (o *GatewayExchangeUnauthorized) Code() int

Code gets the status code for the gateway exchange unauthorized response

func (*GatewayExchangeUnauthorized) Error

func (*GatewayExchangeUnauthorized) GetPayload

func (o *GatewayExchangeUnauthorized) GetPayload() *models.Error

func (*GatewayExchangeUnauthorized) IsClientError

func (o *GatewayExchangeUnauthorized) IsClientError() bool

IsClientError returns true when this gateway exchange unauthorized response has a 4xx status code

func (*GatewayExchangeUnauthorized) IsCode

func (o *GatewayExchangeUnauthorized) IsCode(code int) bool

IsCode returns true when this gateway exchange unauthorized response a status code equal to that given

func (*GatewayExchangeUnauthorized) IsRedirect

func (o *GatewayExchangeUnauthorized) IsRedirect() bool

IsRedirect returns true when this gateway exchange unauthorized response has a 3xx status code

func (*GatewayExchangeUnauthorized) IsServerError

func (o *GatewayExchangeUnauthorized) IsServerError() bool

IsServerError returns true when this gateway exchange unauthorized response has a 5xx status code

func (*GatewayExchangeUnauthorized) IsSuccess

func (o *GatewayExchangeUnauthorized) IsSuccess() bool

IsSuccess returns true when this gateway exchange unauthorized response has a 2xx status code

func (*GatewayExchangeUnauthorized) String

func (o *GatewayExchangeUnauthorized) String() string

type GatewayExchangeUnprocessableEntity

type GatewayExchangeUnprocessableEntity struct {
	Payload *models.Error
}

GatewayExchangeUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewGatewayExchangeUnprocessableEntity

func NewGatewayExchangeUnprocessableEntity() *GatewayExchangeUnprocessableEntity

NewGatewayExchangeUnprocessableEntity creates a GatewayExchangeUnprocessableEntity with default headers values

func (*GatewayExchangeUnprocessableEntity) Code

Code gets the status code for the gateway exchange unprocessable entity response

func (*GatewayExchangeUnprocessableEntity) Error

func (*GatewayExchangeUnprocessableEntity) GetPayload

func (*GatewayExchangeUnprocessableEntity) IsClientError

func (o *GatewayExchangeUnprocessableEntity) IsClientError() bool

IsClientError returns true when this gateway exchange unprocessable entity response has a 4xx status code

func (*GatewayExchangeUnprocessableEntity) IsCode

IsCode returns true when this gateway exchange unprocessable entity response a status code equal to that given

func (*GatewayExchangeUnprocessableEntity) IsRedirect

func (o *GatewayExchangeUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this gateway exchange unprocessable entity response has a 3xx status code

func (*GatewayExchangeUnprocessableEntity) IsServerError

func (o *GatewayExchangeUnprocessableEntity) IsServerError() bool

IsServerError returns true when this gateway exchange unprocessable entity response has a 5xx status code

func (*GatewayExchangeUnprocessableEntity) IsSuccess

IsSuccess returns true when this gateway exchange unprocessable entity response has a 2xx status code

func (*GatewayExchangeUnprocessableEntity) String

type GatewayIntrospectBadRequest

type GatewayIntrospectBadRequest struct {
	Payload *models.Error
}

GatewayIntrospectBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGatewayIntrospectBadRequest

func NewGatewayIntrospectBadRequest() *GatewayIntrospectBadRequest

NewGatewayIntrospectBadRequest creates a GatewayIntrospectBadRequest with default headers values

func (*GatewayIntrospectBadRequest) Code

func (o *GatewayIntrospectBadRequest) Code() int

Code gets the status code for the gateway introspect bad request response

func (*GatewayIntrospectBadRequest) Error

func (*GatewayIntrospectBadRequest) GetPayload

func (o *GatewayIntrospectBadRequest) GetPayload() *models.Error

func (*GatewayIntrospectBadRequest) IsClientError

func (o *GatewayIntrospectBadRequest) IsClientError() bool

IsClientError returns true when this gateway introspect bad request response has a 4xx status code

func (*GatewayIntrospectBadRequest) IsCode

func (o *GatewayIntrospectBadRequest) IsCode(code int) bool

IsCode returns true when this gateway introspect bad request response a status code equal to that given

func (*GatewayIntrospectBadRequest) IsRedirect

func (o *GatewayIntrospectBadRequest) IsRedirect() bool

IsRedirect returns true when this gateway introspect bad request response has a 3xx status code

func (*GatewayIntrospectBadRequest) IsServerError

func (o *GatewayIntrospectBadRequest) IsServerError() bool

IsServerError returns true when this gateway introspect bad request response has a 5xx status code

func (*GatewayIntrospectBadRequest) IsSuccess

func (o *GatewayIntrospectBadRequest) IsSuccess() bool

IsSuccess returns true when this gateway introspect bad request response has a 2xx status code

func (*GatewayIntrospectBadRequest) String

func (o *GatewayIntrospectBadRequest) String() string

type GatewayIntrospectOK

type GatewayIntrospectOK struct {
	Payload *models.IntrospectResponse
}

GatewayIntrospectOK describes a response with status code 200, with default header values.

Introspect

func NewGatewayIntrospectOK

func NewGatewayIntrospectOK() *GatewayIntrospectOK

NewGatewayIntrospectOK creates a GatewayIntrospectOK with default headers values

func (*GatewayIntrospectOK) Code

func (o *GatewayIntrospectOK) Code() int

Code gets the status code for the gateway introspect o k response

func (*GatewayIntrospectOK) Error

func (o *GatewayIntrospectOK) Error() string

func (*GatewayIntrospectOK) GetPayload

func (*GatewayIntrospectOK) IsClientError

func (o *GatewayIntrospectOK) IsClientError() bool

IsClientError returns true when this gateway introspect o k response has a 4xx status code

func (*GatewayIntrospectOK) IsCode

func (o *GatewayIntrospectOK) IsCode(code int) bool

IsCode returns true when this gateway introspect o k response a status code equal to that given

func (*GatewayIntrospectOK) IsRedirect

func (o *GatewayIntrospectOK) IsRedirect() bool

IsRedirect returns true when this gateway introspect o k response has a 3xx status code

func (*GatewayIntrospectOK) IsServerError

func (o *GatewayIntrospectOK) IsServerError() bool

IsServerError returns true when this gateway introspect o k response has a 5xx status code

func (*GatewayIntrospectOK) IsSuccess

func (o *GatewayIntrospectOK) IsSuccess() bool

IsSuccess returns true when this gateway introspect o k response has a 2xx status code

func (*GatewayIntrospectOK) String

func (o *GatewayIntrospectOK) String() string

type GatewayIntrospectParams

type GatewayIntrospectParams struct {

	// Token.
	Token *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GatewayIntrospectParams contains all the parameters to send to the API endpoint

for the gateway introspect operation.

Typically these are written to a http.Request.

func NewGatewayIntrospectParams

func NewGatewayIntrospectParams() *GatewayIntrospectParams

NewGatewayIntrospectParams creates a new GatewayIntrospectParams 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 NewGatewayIntrospectParamsWithContext

func NewGatewayIntrospectParamsWithContext(ctx context.Context) *GatewayIntrospectParams

NewGatewayIntrospectParamsWithContext creates a new GatewayIntrospectParams object with the ability to set a context for a request.

func NewGatewayIntrospectParamsWithHTTPClient

func NewGatewayIntrospectParamsWithHTTPClient(client *http.Client) *GatewayIntrospectParams

NewGatewayIntrospectParamsWithHTTPClient creates a new GatewayIntrospectParams object with the ability to set a custom HTTPClient for a request.

func NewGatewayIntrospectParamsWithTimeout

func NewGatewayIntrospectParamsWithTimeout(timeout time.Duration) *GatewayIntrospectParams

NewGatewayIntrospectParamsWithTimeout creates a new GatewayIntrospectParams object with the ability to set a timeout on a request.

func (*GatewayIntrospectParams) SetContext

func (o *GatewayIntrospectParams) SetContext(ctx context.Context)

SetContext adds the context to the gateway introspect params

func (*GatewayIntrospectParams) SetDefaults

func (o *GatewayIntrospectParams) SetDefaults()

SetDefaults hydrates default values in the gateway introspect params (not the query body).

All values with no default are reset to their zero value.

func (*GatewayIntrospectParams) SetHTTPClient

func (o *GatewayIntrospectParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the gateway introspect params

func (*GatewayIntrospectParams) SetTimeout

func (o *GatewayIntrospectParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the gateway introspect params

func (*GatewayIntrospectParams) SetToken

func (o *GatewayIntrospectParams) SetToken(token *string)

SetToken adds the token to the gateway introspect params

func (*GatewayIntrospectParams) WithContext

WithContext adds the context to the gateway introspect params

func (*GatewayIntrospectParams) WithDefaults

WithDefaults hydrates default values in the gateway introspect params (not the query body).

All values with no default are reset to their zero value.

func (*GatewayIntrospectParams) WithHTTPClient

func (o *GatewayIntrospectParams) WithHTTPClient(client *http.Client) *GatewayIntrospectParams

WithHTTPClient adds the HTTPClient to the gateway introspect params

func (*GatewayIntrospectParams) WithTimeout

WithTimeout adds the timeout to the gateway introspect params

func (*GatewayIntrospectParams) WithToken

WithToken adds the token to the gateway introspect params

func (*GatewayIntrospectParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GatewayIntrospectReader

type GatewayIntrospectReader struct {
	// contains filtered or unexported fields
}

GatewayIntrospectReader is a Reader for the GatewayIntrospect structure.

func (*GatewayIntrospectReader) ReadResponse

func (o *GatewayIntrospectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GatewayIntrospectUnprocessableEntity

type GatewayIntrospectUnprocessableEntity struct {
	Payload *models.Error
}

GatewayIntrospectUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewGatewayIntrospectUnprocessableEntity

func NewGatewayIntrospectUnprocessableEntity() *GatewayIntrospectUnprocessableEntity

NewGatewayIntrospectUnprocessableEntity creates a GatewayIntrospectUnprocessableEntity with default headers values

func (*GatewayIntrospectUnprocessableEntity) Code

Code gets the status code for the gateway introspect unprocessable entity response

func (*GatewayIntrospectUnprocessableEntity) Error

func (*GatewayIntrospectUnprocessableEntity) GetPayload

func (*GatewayIntrospectUnprocessableEntity) IsClientError

func (o *GatewayIntrospectUnprocessableEntity) IsClientError() bool

IsClientError returns true when this gateway introspect unprocessable entity response has a 4xx status code

func (*GatewayIntrospectUnprocessableEntity) IsCode

IsCode returns true when this gateway introspect unprocessable entity response a status code equal to that given

func (*GatewayIntrospectUnprocessableEntity) IsRedirect

IsRedirect returns true when this gateway introspect unprocessable entity response has a 3xx status code

func (*GatewayIntrospectUnprocessableEntity) IsServerError

func (o *GatewayIntrospectUnprocessableEntity) IsServerError() bool

IsServerError returns true when this gateway introspect unprocessable entity response has a 5xx status code

func (*GatewayIntrospectUnprocessableEntity) IsSuccess

IsSuccess returns true when this gateway introspect unprocessable entity response has a 2xx status code

func (*GatewayIntrospectUnprocessableEntity) String

type RevokeTokensForbidden

type RevokeTokensForbidden struct {
	Payload *models.Error
}

RevokeTokensForbidden describes a response with status code 403, with default header values.

Forbidden

func NewRevokeTokensForbidden

func NewRevokeTokensForbidden() *RevokeTokensForbidden

NewRevokeTokensForbidden creates a RevokeTokensForbidden with default headers values

func (*RevokeTokensForbidden) Code

func (o *RevokeTokensForbidden) Code() int

Code gets the status code for the revoke tokens forbidden response

func (*RevokeTokensForbidden) Error

func (o *RevokeTokensForbidden) Error() string

func (*RevokeTokensForbidden) GetPayload

func (o *RevokeTokensForbidden) GetPayload() *models.Error

func (*RevokeTokensForbidden) IsClientError

func (o *RevokeTokensForbidden) IsClientError() bool

IsClientError returns true when this revoke tokens forbidden response has a 4xx status code

func (*RevokeTokensForbidden) IsCode

func (o *RevokeTokensForbidden) IsCode(code int) bool

IsCode returns true when this revoke tokens forbidden response a status code equal to that given

func (*RevokeTokensForbidden) IsRedirect

func (o *RevokeTokensForbidden) IsRedirect() bool

IsRedirect returns true when this revoke tokens forbidden response has a 3xx status code

func (*RevokeTokensForbidden) IsServerError

func (o *RevokeTokensForbidden) IsServerError() bool

IsServerError returns true when this revoke tokens forbidden response has a 5xx status code

func (*RevokeTokensForbidden) IsSuccess

func (o *RevokeTokensForbidden) IsSuccess() bool

IsSuccess returns true when this revoke tokens forbidden response has a 2xx status code

func (*RevokeTokensForbidden) String

func (o *RevokeTokensForbidden) String() string

type RevokeTokensNoContent

type RevokeTokensNoContent struct {
}

RevokeTokensNoContent describes a response with status code 204, with default header values.

Tokens removed

func NewRevokeTokensNoContent

func NewRevokeTokensNoContent() *RevokeTokensNoContent

NewRevokeTokensNoContent creates a RevokeTokensNoContent with default headers values

func (*RevokeTokensNoContent) Code

func (o *RevokeTokensNoContent) Code() int

Code gets the status code for the revoke tokens no content response

func (*RevokeTokensNoContent) Error

func (o *RevokeTokensNoContent) Error() string

func (*RevokeTokensNoContent) IsClientError

func (o *RevokeTokensNoContent) IsClientError() bool

IsClientError returns true when this revoke tokens no content response has a 4xx status code

func (*RevokeTokensNoContent) IsCode

func (o *RevokeTokensNoContent) IsCode(code int) bool

IsCode returns true when this revoke tokens no content response a status code equal to that given

func (*RevokeTokensNoContent) IsRedirect

func (o *RevokeTokensNoContent) IsRedirect() bool

IsRedirect returns true when this revoke tokens no content response has a 3xx status code

func (*RevokeTokensNoContent) IsServerError

func (o *RevokeTokensNoContent) IsServerError() bool

IsServerError returns true when this revoke tokens no content response has a 5xx status code

func (*RevokeTokensNoContent) IsSuccess

func (o *RevokeTokensNoContent) IsSuccess() bool

IsSuccess returns true when this revoke tokens no content response has a 2xx status code

func (*RevokeTokensNoContent) String

func (o *RevokeTokensNoContent) String() string

type RevokeTokensNotFound

type RevokeTokensNotFound struct {
	Payload *models.Error
}

RevokeTokensNotFound describes a response with status code 404, with default header values.

Not found

func NewRevokeTokensNotFound

func NewRevokeTokensNotFound() *RevokeTokensNotFound

NewRevokeTokensNotFound creates a RevokeTokensNotFound with default headers values

func (*RevokeTokensNotFound) Code

func (o *RevokeTokensNotFound) Code() int

Code gets the status code for the revoke tokens not found response

func (*RevokeTokensNotFound) Error

func (o *RevokeTokensNotFound) Error() string

func (*RevokeTokensNotFound) GetPayload

func (o *RevokeTokensNotFound) GetPayload() *models.Error

func (*RevokeTokensNotFound) IsClientError

func (o *RevokeTokensNotFound) IsClientError() bool

IsClientError returns true when this revoke tokens not found response has a 4xx status code

func (*RevokeTokensNotFound) IsCode

func (o *RevokeTokensNotFound) IsCode(code int) bool

IsCode returns true when this revoke tokens not found response a status code equal to that given

func (*RevokeTokensNotFound) IsRedirect

func (o *RevokeTokensNotFound) IsRedirect() bool

IsRedirect returns true when this revoke tokens not found response has a 3xx status code

func (*RevokeTokensNotFound) IsServerError

func (o *RevokeTokensNotFound) IsServerError() bool

IsServerError returns true when this revoke tokens not found response has a 5xx status code

func (*RevokeTokensNotFound) IsSuccess

func (o *RevokeTokensNotFound) IsSuccess() bool

IsSuccess returns true when this revoke tokens not found response has a 2xx status code

func (*RevokeTokensNotFound) String

func (o *RevokeTokensNotFound) String() string

type RevokeTokensParams

type RevokeTokensParams struct {

	/* ConsentID.

	   Consent ID
	*/
	ConsentID *string

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RevokeTokensParams contains all the parameters to send to the API endpoint

for the revoke tokens operation.

Typically these are written to a http.Request.

func NewRevokeTokensParams

func NewRevokeTokensParams() *RevokeTokensParams

NewRevokeTokensParams creates a new RevokeTokensParams 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 NewRevokeTokensParamsWithContext

func NewRevokeTokensParamsWithContext(ctx context.Context) *RevokeTokensParams

NewRevokeTokensParamsWithContext creates a new RevokeTokensParams object with the ability to set a context for a request.

func NewRevokeTokensParamsWithHTTPClient

func NewRevokeTokensParamsWithHTTPClient(client *http.Client) *RevokeTokensParams

NewRevokeTokensParamsWithHTTPClient creates a new RevokeTokensParams object with the ability to set a custom HTTPClient for a request.

func NewRevokeTokensParamsWithTimeout

func NewRevokeTokensParamsWithTimeout(timeout time.Duration) *RevokeTokensParams

NewRevokeTokensParamsWithTimeout creates a new RevokeTokensParams object with the ability to set a timeout on a request.

func (*RevokeTokensParams) SetConsentID

func (o *RevokeTokensParams) SetConsentID(consentID *string)

SetConsentID adds the consentId to the revoke tokens params

func (*RevokeTokensParams) SetContext

func (o *RevokeTokensParams) SetContext(ctx context.Context)

SetContext adds the context to the revoke tokens params

func (*RevokeTokensParams) SetDefaults

func (o *RevokeTokensParams) SetDefaults()

SetDefaults hydrates default values in the revoke tokens params (not the query body).

All values with no default are reset to their zero value.

func (*RevokeTokensParams) SetHTTPClient

func (o *RevokeTokensParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the revoke tokens params

func (*RevokeTokensParams) SetTimeout

func (o *RevokeTokensParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the revoke tokens params

func (*RevokeTokensParams) SetWid

func (o *RevokeTokensParams) SetWid(wid string)

SetWid adds the wid to the revoke tokens params

func (*RevokeTokensParams) WithConsentID

func (o *RevokeTokensParams) WithConsentID(consentID *string) *RevokeTokensParams

WithConsentID adds the consentID to the revoke tokens params

func (*RevokeTokensParams) WithContext

WithContext adds the context to the revoke tokens params

func (*RevokeTokensParams) WithDefaults

func (o *RevokeTokensParams) WithDefaults() *RevokeTokensParams

WithDefaults hydrates default values in the revoke tokens params (not the query body).

All values with no default are reset to their zero value.

func (*RevokeTokensParams) WithHTTPClient

func (o *RevokeTokensParams) WithHTTPClient(client *http.Client) *RevokeTokensParams

WithHTTPClient adds the HTTPClient to the revoke tokens params

func (*RevokeTokensParams) WithTimeout

func (o *RevokeTokensParams) WithTimeout(timeout time.Duration) *RevokeTokensParams

WithTimeout adds the timeout to the revoke tokens params

func (*RevokeTokensParams) WithWid

func (o *RevokeTokensParams) WithWid(wid string) *RevokeTokensParams

WithWid adds the wid to the revoke tokens params

func (*RevokeTokensParams) WriteToRequest

func (o *RevokeTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RevokeTokensReader

type RevokeTokensReader struct {
	// contains filtered or unexported fields
}

RevokeTokensReader is a Reader for the RevokeTokens structure.

func (*RevokeTokensReader) ReadResponse

func (o *RevokeTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RevokeTokensUnauthorized

type RevokeTokensUnauthorized struct {
	Payload *models.Error
}

RevokeTokensUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewRevokeTokensUnauthorized

func NewRevokeTokensUnauthorized() *RevokeTokensUnauthorized

NewRevokeTokensUnauthorized creates a RevokeTokensUnauthorized with default headers values

func (*RevokeTokensUnauthorized) Code

func (o *RevokeTokensUnauthorized) Code() int

Code gets the status code for the revoke tokens unauthorized response

func (*RevokeTokensUnauthorized) Error

func (o *RevokeTokensUnauthorized) Error() string

func (*RevokeTokensUnauthorized) GetPayload

func (o *RevokeTokensUnauthorized) GetPayload() *models.Error

func (*RevokeTokensUnauthorized) IsClientError

func (o *RevokeTokensUnauthorized) IsClientError() bool

IsClientError returns true when this revoke tokens unauthorized response has a 4xx status code

func (*RevokeTokensUnauthorized) IsCode

func (o *RevokeTokensUnauthorized) IsCode(code int) bool

IsCode returns true when this revoke tokens unauthorized response a status code equal to that given

func (*RevokeTokensUnauthorized) IsRedirect

func (o *RevokeTokensUnauthorized) IsRedirect() bool

IsRedirect returns true when this revoke tokens unauthorized response has a 3xx status code

func (*RevokeTokensUnauthorized) IsServerError

func (o *RevokeTokensUnauthorized) IsServerError() bool

IsServerError returns true when this revoke tokens unauthorized response has a 5xx status code

func (*RevokeTokensUnauthorized) IsSuccess

func (o *RevokeTokensUnauthorized) IsSuccess() bool

IsSuccess returns true when this revoke tokens unauthorized response has a 2xx status code

func (*RevokeTokensUnauthorized) String

func (o *RevokeTokensUnauthorized) String() string

type RevokeTokensUnprocessableEntity

type RevokeTokensUnprocessableEntity struct {
	Payload *models.Error
}

RevokeTokensUnprocessableEntity describes a response with status code 422, with default header values.

Unprocessable entity

func NewRevokeTokensUnprocessableEntity

func NewRevokeTokensUnprocessableEntity() *RevokeTokensUnprocessableEntity

NewRevokeTokensUnprocessableEntity creates a RevokeTokensUnprocessableEntity with default headers values

func (*RevokeTokensUnprocessableEntity) Code

Code gets the status code for the revoke tokens unprocessable entity response

func (*RevokeTokensUnprocessableEntity) Error

func (*RevokeTokensUnprocessableEntity) GetPayload

func (o *RevokeTokensUnprocessableEntity) GetPayload() *models.Error

func (*RevokeTokensUnprocessableEntity) IsClientError

func (o *RevokeTokensUnprocessableEntity) IsClientError() bool

IsClientError returns true when this revoke tokens unprocessable entity response has a 4xx status code

func (*RevokeTokensUnprocessableEntity) IsCode

func (o *RevokeTokensUnprocessableEntity) IsCode(code int) bool

IsCode returns true when this revoke tokens unprocessable entity response a status code equal to that given

func (*RevokeTokensUnprocessableEntity) IsRedirect

func (o *RevokeTokensUnprocessableEntity) IsRedirect() bool

IsRedirect returns true when this revoke tokens unprocessable entity response has a 3xx status code

func (*RevokeTokensUnprocessableEntity) IsServerError

func (o *RevokeTokensUnprocessableEntity) IsServerError() bool

IsServerError returns true when this revoke tokens unprocessable entity response has a 5xx status code

func (*RevokeTokensUnprocessableEntity) IsSuccess

func (o *RevokeTokensUnprocessableEntity) IsSuccess() bool

IsSuccess returns true when this revoke tokens unprocessable entity response has a 2xx status code

func (*RevokeTokensUnprocessableEntity) String

Jump to

Keyboard shortcuts

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