openbanking

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for openbanking API

func (*Client) GetOpenbankingPackage

func (a *Client) GetOpenbankingPackage(params *GetOpenbankingPackageParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*GetOpenbankingPackageOK, error)

GetOpenbankingPackage gets package for an openbanking specification

Get package an openbanking specification.

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 {
	GetOpenbankingPackage(params *GetOpenbankingPackageParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer, opts ...ClientOption) (*GetOpenbankingPackageOK, 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 openbanking API client.

type GetOpenbankingPackageBadRequest

type GetOpenbankingPackageBadRequest struct {
	Payload *models.Error
}

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

Bad request

func NewGetOpenbankingPackageBadRequest

func NewGetOpenbankingPackageBadRequest() *GetOpenbankingPackageBadRequest

NewGetOpenbankingPackageBadRequest creates a GetOpenbankingPackageBadRequest with default headers values

func (*GetOpenbankingPackageBadRequest) Code

Code gets the status code for the get openbanking package bad request response

func (*GetOpenbankingPackageBadRequest) Error

func (*GetOpenbankingPackageBadRequest) GetPayload

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

func (*GetOpenbankingPackageBadRequest) IsClientError

func (o *GetOpenbankingPackageBadRequest) IsClientError() bool

IsClientError returns true when this get openbanking package bad request response has a 4xx status code

func (*GetOpenbankingPackageBadRequest) IsCode

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

IsCode returns true when this get openbanking package bad request response a status code equal to that given

func (*GetOpenbankingPackageBadRequest) IsRedirect

func (o *GetOpenbankingPackageBadRequest) IsRedirect() bool

IsRedirect returns true when this get openbanking package bad request response has a 3xx status code

func (*GetOpenbankingPackageBadRequest) IsServerError

func (o *GetOpenbankingPackageBadRequest) IsServerError() bool

IsServerError returns true when this get openbanking package bad request response has a 5xx status code

func (*GetOpenbankingPackageBadRequest) IsSuccess

func (o *GetOpenbankingPackageBadRequest) IsSuccess() bool

IsSuccess returns true when this get openbanking package bad request response has a 2xx status code

func (*GetOpenbankingPackageBadRequest) String

type GetOpenbankingPackageForbidden

type GetOpenbankingPackageForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetOpenbankingPackageForbidden

func NewGetOpenbankingPackageForbidden() *GetOpenbankingPackageForbidden

NewGetOpenbankingPackageForbidden creates a GetOpenbankingPackageForbidden with default headers values

func (*GetOpenbankingPackageForbidden) Code

Code gets the status code for the get openbanking package forbidden response

func (*GetOpenbankingPackageForbidden) Error

func (*GetOpenbankingPackageForbidden) GetPayload

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

func (*GetOpenbankingPackageForbidden) IsClientError

func (o *GetOpenbankingPackageForbidden) IsClientError() bool

IsClientError returns true when this get openbanking package forbidden response has a 4xx status code

func (*GetOpenbankingPackageForbidden) IsCode

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

IsCode returns true when this get openbanking package forbidden response a status code equal to that given

func (*GetOpenbankingPackageForbidden) IsRedirect

func (o *GetOpenbankingPackageForbidden) IsRedirect() bool

IsRedirect returns true when this get openbanking package forbidden response has a 3xx status code

func (*GetOpenbankingPackageForbidden) IsServerError

func (o *GetOpenbankingPackageForbidden) IsServerError() bool

IsServerError returns true when this get openbanking package forbidden response has a 5xx status code

func (*GetOpenbankingPackageForbidden) IsSuccess

func (o *GetOpenbankingPackageForbidden) IsSuccess() bool

IsSuccess returns true when this get openbanking package forbidden response has a 2xx status code

func (*GetOpenbankingPackageForbidden) String

type GetOpenbankingPackageNotFound

type GetOpenbankingPackageNotFound struct {
	Payload *models.Error
}

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

Not found

func NewGetOpenbankingPackageNotFound

func NewGetOpenbankingPackageNotFound() *GetOpenbankingPackageNotFound

NewGetOpenbankingPackageNotFound creates a GetOpenbankingPackageNotFound with default headers values

func (*GetOpenbankingPackageNotFound) Code

Code gets the status code for the get openbanking package not found response

func (*GetOpenbankingPackageNotFound) Error

func (*GetOpenbankingPackageNotFound) GetPayload

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

func (*GetOpenbankingPackageNotFound) IsClientError

func (o *GetOpenbankingPackageNotFound) IsClientError() bool

IsClientError returns true when this get openbanking package not found response has a 4xx status code

func (*GetOpenbankingPackageNotFound) IsCode

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

IsCode returns true when this get openbanking package not found response a status code equal to that given

func (*GetOpenbankingPackageNotFound) IsRedirect

func (o *GetOpenbankingPackageNotFound) IsRedirect() bool

IsRedirect returns true when this get openbanking package not found response has a 3xx status code

func (*GetOpenbankingPackageNotFound) IsServerError

func (o *GetOpenbankingPackageNotFound) IsServerError() bool

IsServerError returns true when this get openbanking package not found response has a 5xx status code

func (*GetOpenbankingPackageNotFound) IsSuccess

func (o *GetOpenbankingPackageNotFound) IsSuccess() bool

IsSuccess returns true when this get openbanking package not found response has a 2xx status code

func (*GetOpenbankingPackageNotFound) String

type GetOpenbankingPackageOK

type GetOpenbankingPackageOK struct {

	/* The ETag HTTP header is an identifier for a specific version of a resource

	in:header

	     Format: etag
	*/
	Etag string

	Payload io.Writer
}

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

Openbanking package

func NewGetOpenbankingPackageOK

func NewGetOpenbankingPackageOK(writer io.Writer) *GetOpenbankingPackageOK

NewGetOpenbankingPackageOK creates a GetOpenbankingPackageOK with default headers values

func (*GetOpenbankingPackageOK) Code

func (o *GetOpenbankingPackageOK) Code() int

Code gets the status code for the get openbanking package o k response

func (*GetOpenbankingPackageOK) Error

func (o *GetOpenbankingPackageOK) Error() string

func (*GetOpenbankingPackageOK) GetPayload

func (o *GetOpenbankingPackageOK) GetPayload() io.Writer

func (*GetOpenbankingPackageOK) IsClientError

func (o *GetOpenbankingPackageOK) IsClientError() bool

IsClientError returns true when this get openbanking package o k response has a 4xx status code

func (*GetOpenbankingPackageOK) IsCode

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

IsCode returns true when this get openbanking package o k response a status code equal to that given

func (*GetOpenbankingPackageOK) IsRedirect

func (o *GetOpenbankingPackageOK) IsRedirect() bool

IsRedirect returns true when this get openbanking package o k response has a 3xx status code

func (*GetOpenbankingPackageOK) IsServerError

func (o *GetOpenbankingPackageOK) IsServerError() bool

IsServerError returns true when this get openbanking package o k response has a 5xx status code

func (*GetOpenbankingPackageOK) IsSuccess

func (o *GetOpenbankingPackageOK) IsSuccess() bool

IsSuccess returns true when this get openbanking package o k response has a 2xx status code

func (*GetOpenbankingPackageOK) String

func (o *GetOpenbankingPackageOK) String() string

type GetOpenbankingPackageParams

type GetOpenbankingPackageParams struct {

	/* IfMatch.

	   A server will only return requested resources if the resource matches one of the listed ETag value

	   Format: etag
	*/
	IfMatch *string

	/* Wid.

	   ID of your authorization server (workspace)

	   Default: "default"
	*/
	Wid string

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

GetOpenbankingPackageParams contains all the parameters to send to the API endpoint

for the get openbanking package operation.

Typically these are written to a http.Request.

func NewGetOpenbankingPackageParams

func NewGetOpenbankingPackageParams() *GetOpenbankingPackageParams

NewGetOpenbankingPackageParams creates a new GetOpenbankingPackageParams 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 NewGetOpenbankingPackageParamsWithContext

func NewGetOpenbankingPackageParamsWithContext(ctx context.Context) *GetOpenbankingPackageParams

NewGetOpenbankingPackageParamsWithContext creates a new GetOpenbankingPackageParams object with the ability to set a context for a request.

func NewGetOpenbankingPackageParamsWithHTTPClient

func NewGetOpenbankingPackageParamsWithHTTPClient(client *http.Client) *GetOpenbankingPackageParams

NewGetOpenbankingPackageParamsWithHTTPClient creates a new GetOpenbankingPackageParams object with the ability to set a custom HTTPClient for a request.

func NewGetOpenbankingPackageParamsWithTimeout

func NewGetOpenbankingPackageParamsWithTimeout(timeout time.Duration) *GetOpenbankingPackageParams

NewGetOpenbankingPackageParamsWithTimeout creates a new GetOpenbankingPackageParams object with the ability to set a timeout on a request.

func (*GetOpenbankingPackageParams) SetContext

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

SetContext adds the context to the get openbanking package params

func (*GetOpenbankingPackageParams) SetDefaults

func (o *GetOpenbankingPackageParams) SetDefaults()

SetDefaults hydrates default values in the get openbanking package params (not the query body).

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

func (*GetOpenbankingPackageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get openbanking package params

func (*GetOpenbankingPackageParams) SetIfMatch

func (o *GetOpenbankingPackageParams) SetIfMatch(ifMatch *string)

SetIfMatch adds the ifMatch to the get openbanking package params

func (*GetOpenbankingPackageParams) SetTimeout

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

SetTimeout adds the timeout to the get openbanking package params

func (*GetOpenbankingPackageParams) SetWid

func (o *GetOpenbankingPackageParams) SetWid(wid string)

SetWid adds the wid to the get openbanking package params

func (*GetOpenbankingPackageParams) WithContext

WithContext adds the context to the get openbanking package params

func (*GetOpenbankingPackageParams) WithDefaults

WithDefaults hydrates default values in the get openbanking package params (not the query body).

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

func (*GetOpenbankingPackageParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get openbanking package params

func (*GetOpenbankingPackageParams) WithIfMatch

WithIfMatch adds the ifMatch to the get openbanking package params

func (*GetOpenbankingPackageParams) WithTimeout

WithTimeout adds the timeout to the get openbanking package params

func (*GetOpenbankingPackageParams) WithWid

WithWid adds the wid to the get openbanking package params

func (*GetOpenbankingPackageParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetOpenbankingPackageReader

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

GetOpenbankingPackageReader is a Reader for the GetOpenbankingPackage structure.

func (*GetOpenbankingPackageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetOpenbankingPackageTooManyRequests

type GetOpenbankingPackageTooManyRequests struct {
	Payload *models.Error
}

GetOpenbankingPackageTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewGetOpenbankingPackageTooManyRequests

func NewGetOpenbankingPackageTooManyRequests() *GetOpenbankingPackageTooManyRequests

NewGetOpenbankingPackageTooManyRequests creates a GetOpenbankingPackageTooManyRequests with default headers values

func (*GetOpenbankingPackageTooManyRequests) Code

Code gets the status code for the get openbanking package too many requests response

func (*GetOpenbankingPackageTooManyRequests) Error

func (*GetOpenbankingPackageTooManyRequests) GetPayload

func (*GetOpenbankingPackageTooManyRequests) IsClientError

func (o *GetOpenbankingPackageTooManyRequests) IsClientError() bool

IsClientError returns true when this get openbanking package too many requests response has a 4xx status code

func (*GetOpenbankingPackageTooManyRequests) IsCode

IsCode returns true when this get openbanking package too many requests response a status code equal to that given

func (*GetOpenbankingPackageTooManyRequests) IsRedirect

IsRedirect returns true when this get openbanking package too many requests response has a 3xx status code

func (*GetOpenbankingPackageTooManyRequests) IsServerError

func (o *GetOpenbankingPackageTooManyRequests) IsServerError() bool

IsServerError returns true when this get openbanking package too many requests response has a 5xx status code

func (*GetOpenbankingPackageTooManyRequests) IsSuccess

IsSuccess returns true when this get openbanking package too many requests response has a 2xx status code

func (*GetOpenbankingPackageTooManyRequests) String

type GetOpenbankingPackageUnauthorized

type GetOpenbankingPackageUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetOpenbankingPackageUnauthorized

func NewGetOpenbankingPackageUnauthorized() *GetOpenbankingPackageUnauthorized

NewGetOpenbankingPackageUnauthorized creates a GetOpenbankingPackageUnauthorized with default headers values

func (*GetOpenbankingPackageUnauthorized) Code

Code gets the status code for the get openbanking package unauthorized response

func (*GetOpenbankingPackageUnauthorized) Error

func (*GetOpenbankingPackageUnauthorized) GetPayload

func (*GetOpenbankingPackageUnauthorized) IsClientError

func (o *GetOpenbankingPackageUnauthorized) IsClientError() bool

IsClientError returns true when this get openbanking package unauthorized response has a 4xx status code

func (*GetOpenbankingPackageUnauthorized) IsCode

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

IsCode returns true when this get openbanking package unauthorized response a status code equal to that given

func (*GetOpenbankingPackageUnauthorized) IsRedirect

func (o *GetOpenbankingPackageUnauthorized) IsRedirect() bool

IsRedirect returns true when this get openbanking package unauthorized response has a 3xx status code

func (*GetOpenbankingPackageUnauthorized) IsServerError

func (o *GetOpenbankingPackageUnauthorized) IsServerError() bool

IsServerError returns true when this get openbanking package unauthorized response has a 5xx status code

func (*GetOpenbankingPackageUnauthorized) IsSuccess

func (o *GetOpenbankingPackageUnauthorized) IsSuccess() bool

IsSuccess returns true when this get openbanking package unauthorized response has a 2xx status code

func (*GetOpenbankingPackageUnauthorized) String

Jump to

Keyboard shortcuts

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