Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAccounts(params *GetAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsOK, error)
- func (a *Client) GetAccountsAccountID(params *GetAccountsAccountIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetAccountsAccountIDBadRequest
- type GetAccountsAccountIDForbidden
- type GetAccountsAccountIDInternalServerError
- type GetAccountsAccountIDMethodNotAllowed
- type GetAccountsAccountIDNotAcceptable
- type GetAccountsAccountIDOK
- type GetAccountsAccountIDParams
- func NewGetAccountsAccountIDParams() *GetAccountsAccountIDParams
- func NewGetAccountsAccountIDParamsWithContext(ctx context.Context) *GetAccountsAccountIDParams
- func NewGetAccountsAccountIDParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDParams
- func NewGetAccountsAccountIDParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) SetAccountID(accountID string)
- func (o *GetAccountsAccountIDParams) SetAuthorization(authorization string)
- func (o *GetAccountsAccountIDParams) SetContext(ctx context.Context)
- func (o *GetAccountsAccountIDParams) SetDefaults()
- func (o *GetAccountsAccountIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountsAccountIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountsAccountIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *GetAccountsAccountIDParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *GetAccountsAccountIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *GetAccountsAccountIDParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *GetAccountsAccountIDParams) WithAccountID(accountID string) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithAuthorization(authorization string) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithContext(ctx context.Context) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithDefaults() *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithHTTPClient(client *http.Client) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithTimeout(timeout time.Duration) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountsAccountIDParams
- func (o *GetAccountsAccountIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountsAccountIDReader
- type GetAccountsAccountIDTooManyRequests
- type GetAccountsAccountIDUnauthorized
- type GetAccountsBadRequest
- type GetAccountsForbidden
- type GetAccountsInternalServerError
- type GetAccountsMethodNotAllowed
- type GetAccountsNotAcceptable
- type GetAccountsOK
- type GetAccountsParams
- func (o *GetAccountsParams) SetAuthorization(authorization string)
- func (o *GetAccountsParams) SetContext(ctx context.Context)
- func (o *GetAccountsParams) SetDefaults()
- func (o *GetAccountsParams) SetHTTPClient(client *http.Client)
- func (o *GetAccountsParams) SetTimeout(timeout time.Duration)
- func (o *GetAccountsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
- func (o *GetAccountsParams) SetXFapiAuthDate(xFapiAuthDate *string)
- func (o *GetAccountsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
- func (o *GetAccountsParams) SetXFapiInteractionID(xFapiInteractionID *string)
- func (o *GetAccountsParams) WithAuthorization(authorization string) *GetAccountsParams
- func (o *GetAccountsParams) WithContext(ctx context.Context) *GetAccountsParams
- func (o *GetAccountsParams) WithDefaults() *GetAccountsParams
- func (o *GetAccountsParams) WithHTTPClient(client *http.Client) *GetAccountsParams
- func (o *GetAccountsParams) WithTimeout(timeout time.Duration) *GetAccountsParams
- func (o *GetAccountsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountsParams
- func (o *GetAccountsParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetAccountsParams
- func (o *GetAccountsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountsParams
- func (o *GetAccountsParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountsParams
- func (o *GetAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAccountsReader
- type GetAccountsTooManyRequests
- type GetAccountsUnauthorized
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 accounts API
func (*Client) GetAccounts ¶
func (a *Client) GetAccounts(params *GetAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsOK, error)
GetAccounts gets accounts
func (*Client) GetAccountsAccountID ¶
func (a *Client) GetAccountsAccountID(params *GetAccountsAccountIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDOK, error)
GetAccountsAccountID gets accounts
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetAccounts(params *GetAccountsParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsOK, error) GetAccountsAccountID(params *GetAccountsAccountIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDOK, 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 accounts API client.
type GetAccountsAccountIDBadRequest ¶
type GetAccountsAccountIDBadRequest struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsAccountIDBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAccountsAccountIDBadRequest ¶
func NewGetAccountsAccountIDBadRequest() *GetAccountsAccountIDBadRequest
NewGetAccountsAccountIDBadRequest creates a GetAccountsAccountIDBadRequest with default headers values
func (*GetAccountsAccountIDBadRequest) Error ¶
func (o *GetAccountsAccountIDBadRequest) Error() string
func (*GetAccountsAccountIDBadRequest) GetPayload ¶
func (o *GetAccountsAccountIDBadRequest) GetPayload() *models.OBErrorResponse1
type GetAccountsAccountIDForbidden ¶
type GetAccountsAccountIDForbidden struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsAccountIDForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAccountsAccountIDForbidden ¶
func NewGetAccountsAccountIDForbidden() *GetAccountsAccountIDForbidden
NewGetAccountsAccountIDForbidden creates a GetAccountsAccountIDForbidden with default headers values
func (*GetAccountsAccountIDForbidden) Error ¶
func (o *GetAccountsAccountIDForbidden) Error() string
func (*GetAccountsAccountIDForbidden) GetPayload ¶
func (o *GetAccountsAccountIDForbidden) GetPayload() *models.OBErrorResponse1
type GetAccountsAccountIDInternalServerError ¶
type GetAccountsAccountIDInternalServerError struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsAccountIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAccountsAccountIDInternalServerError ¶
func NewGetAccountsAccountIDInternalServerError() *GetAccountsAccountIDInternalServerError
NewGetAccountsAccountIDInternalServerError creates a GetAccountsAccountIDInternalServerError with default headers values
func (*GetAccountsAccountIDInternalServerError) Error ¶
func (o *GetAccountsAccountIDInternalServerError) Error() string
func (*GetAccountsAccountIDInternalServerError) GetPayload ¶
func (o *GetAccountsAccountIDInternalServerError) GetPayload() *models.OBErrorResponse1
type GetAccountsAccountIDMethodNotAllowed ¶
type GetAccountsAccountIDMethodNotAllowed struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsAccountIDMethodNotAllowed describes a response with status code 405, with default header values.
Method Not Allowed
func NewGetAccountsAccountIDMethodNotAllowed ¶
func NewGetAccountsAccountIDMethodNotAllowed() *GetAccountsAccountIDMethodNotAllowed
NewGetAccountsAccountIDMethodNotAllowed creates a GetAccountsAccountIDMethodNotAllowed with default headers values
func (*GetAccountsAccountIDMethodNotAllowed) Error ¶
func (o *GetAccountsAccountIDMethodNotAllowed) Error() string
type GetAccountsAccountIDNotAcceptable ¶
type GetAccountsAccountIDNotAcceptable struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsAccountIDNotAcceptable describes a response with status code 406, with default header values.
Not Acceptable
func NewGetAccountsAccountIDNotAcceptable ¶
func NewGetAccountsAccountIDNotAcceptable() *GetAccountsAccountIDNotAcceptable
NewGetAccountsAccountIDNotAcceptable creates a GetAccountsAccountIDNotAcceptable with default headers values
func (*GetAccountsAccountIDNotAcceptable) Error ¶
func (o *GetAccountsAccountIDNotAcceptable) Error() string
type GetAccountsAccountIDOK ¶
type GetAccountsAccountIDOK struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBReadAccount6 }
GetAccountsAccountIDOK describes a response with status code 200, with default header values.
Accounts Read
func NewGetAccountsAccountIDOK ¶
func NewGetAccountsAccountIDOK() *GetAccountsAccountIDOK
NewGetAccountsAccountIDOK creates a GetAccountsAccountIDOK with default headers values
func (*GetAccountsAccountIDOK) Error ¶
func (o *GetAccountsAccountIDOK) Error() string
func (*GetAccountsAccountIDOK) GetPayload ¶
func (o *GetAccountsAccountIDOK) GetPayload() *models.OBReadAccount6
type GetAccountsAccountIDParams ¶
type GetAccountsAccountIDParams struct { /* AccountID. AccountId */ AccountID string /* Authorization. An Authorisation Token as per https://tools.ietf.org/html/rfc6750 */ Authorization string /* XCustomerUserAgent. Indicates the user-agent that the PSU is using. */ XCustomerUserAgent *string /* XFapiAuthDate. The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC */ XFapiAuthDate *string /* XFapiCustomerIPAddress. The PSU's IP address if the PSU is currently logged in with the TPP. */ XFapiCustomerIPAddress *string /* XFapiInteractionID. An RFC4122 UID used as a correlation id. */ XFapiInteractionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountsAccountIDParams contains all the parameters to send to the API endpoint
for the get accounts account Id operation. Typically these are written to a http.Request.
func NewGetAccountsAccountIDParams ¶
func NewGetAccountsAccountIDParams() *GetAccountsAccountIDParams
NewGetAccountsAccountIDParams creates a new GetAccountsAccountIDParams 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 NewGetAccountsAccountIDParamsWithContext ¶
func NewGetAccountsAccountIDParamsWithContext(ctx context.Context) *GetAccountsAccountIDParams
NewGetAccountsAccountIDParamsWithContext creates a new GetAccountsAccountIDParams object with the ability to set a context for a request.
func NewGetAccountsAccountIDParamsWithHTTPClient ¶
func NewGetAccountsAccountIDParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDParams
NewGetAccountsAccountIDParamsWithHTTPClient creates a new GetAccountsAccountIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountsAccountIDParamsWithTimeout ¶
func NewGetAccountsAccountIDParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDParams
NewGetAccountsAccountIDParamsWithTimeout creates a new GetAccountsAccountIDParams object with the ability to set a timeout on a request.
func (*GetAccountsAccountIDParams) SetAccountID ¶
func (o *GetAccountsAccountIDParams) SetAccountID(accountID string)
SetAccountID adds the accountId to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetAuthorization ¶
func (o *GetAccountsAccountIDParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetContext ¶
func (o *GetAccountsAccountIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetDefaults ¶
func (o *GetAccountsAccountIDParams) SetDefaults()
SetDefaults hydrates default values in the get accounts account Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsAccountIDParams) SetHTTPClient ¶
func (o *GetAccountsAccountIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetTimeout ¶
func (o *GetAccountsAccountIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetXCustomerUserAgent ¶
func (o *GetAccountsAccountIDParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
SetXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetXFapiAuthDate ¶
func (o *GetAccountsAccountIDParams) SetXFapiAuthDate(xFapiAuthDate *string)
SetXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetXFapiCustomerIPAddress ¶
func (o *GetAccountsAccountIDParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get accounts account Id params
func (*GetAccountsAccountIDParams) SetXFapiInteractionID ¶
func (o *GetAccountsAccountIDParams) SetXFapiInteractionID(xFapiInteractionID *string)
SetXFapiInteractionID adds the xFapiInteractionId to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithAccountID ¶
func (o *GetAccountsAccountIDParams) WithAccountID(accountID string) *GetAccountsAccountIDParams
WithAccountID adds the accountID to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithAuthorization ¶
func (o *GetAccountsAccountIDParams) WithAuthorization(authorization string) *GetAccountsAccountIDParams
WithAuthorization adds the authorization to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithContext ¶
func (o *GetAccountsAccountIDParams) WithContext(ctx context.Context) *GetAccountsAccountIDParams
WithContext adds the context to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithDefaults ¶
func (o *GetAccountsAccountIDParams) WithDefaults() *GetAccountsAccountIDParams
WithDefaults hydrates default values in the get accounts account Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsAccountIDParams) WithHTTPClient ¶
func (o *GetAccountsAccountIDParams) WithHTTPClient(client *http.Client) *GetAccountsAccountIDParams
WithHTTPClient adds the HTTPClient to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithTimeout ¶
func (o *GetAccountsAccountIDParams) WithTimeout(timeout time.Duration) *GetAccountsAccountIDParams
WithTimeout adds the timeout to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithXCustomerUserAgent ¶
func (o *GetAccountsAccountIDParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountsAccountIDParams
WithXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithXFapiAuthDate ¶
func (o *GetAccountsAccountIDParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetAccountsAccountIDParams
WithXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithXFapiCustomerIPAddress ¶
func (o *GetAccountsAccountIDParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountsAccountIDParams
WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get accounts account Id params
func (*GetAccountsAccountIDParams) WithXFapiInteractionID ¶
func (o *GetAccountsAccountIDParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountsAccountIDParams
WithXFapiInteractionID adds the xFapiInteractionID to the get accounts account Id params
func (*GetAccountsAccountIDParams) WriteToRequest ¶
func (o *GetAccountsAccountIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountsAccountIDReader ¶
type GetAccountsAccountIDReader struct {
// contains filtered or unexported fields
}
GetAccountsAccountIDReader is a Reader for the GetAccountsAccountID structure.
func (*GetAccountsAccountIDReader) ReadResponse ¶
func (o *GetAccountsAccountIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountsAccountIDTooManyRequests ¶
type GetAccountsAccountIDTooManyRequests struct { /* Number in seconds to wait */ RetryAfter int64 /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsAccountIDTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAccountsAccountIDTooManyRequests ¶
func NewGetAccountsAccountIDTooManyRequests() *GetAccountsAccountIDTooManyRequests
NewGetAccountsAccountIDTooManyRequests creates a GetAccountsAccountIDTooManyRequests with default headers values
func (*GetAccountsAccountIDTooManyRequests) Error ¶
func (o *GetAccountsAccountIDTooManyRequests) Error() string
type GetAccountsAccountIDUnauthorized ¶
type GetAccountsAccountIDUnauthorized struct { string }XFapiInteractionID
GetAccountsAccountIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccountsAccountIDUnauthorized ¶
func NewGetAccountsAccountIDUnauthorized() *GetAccountsAccountIDUnauthorized
NewGetAccountsAccountIDUnauthorized creates a GetAccountsAccountIDUnauthorized with default headers values
func (*GetAccountsAccountIDUnauthorized) Error ¶
func (o *GetAccountsAccountIDUnauthorized) Error() string
type GetAccountsBadRequest ¶
type GetAccountsBadRequest struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetAccountsBadRequest ¶
func NewGetAccountsBadRequest() *GetAccountsBadRequest
NewGetAccountsBadRequest creates a GetAccountsBadRequest with default headers values
func (*GetAccountsBadRequest) Error ¶
func (o *GetAccountsBadRequest) Error() string
func (*GetAccountsBadRequest) GetPayload ¶
func (o *GetAccountsBadRequest) GetPayload() *models.OBErrorResponse1
type GetAccountsForbidden ¶
type GetAccountsForbidden struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetAccountsForbidden ¶
func NewGetAccountsForbidden() *GetAccountsForbidden
NewGetAccountsForbidden creates a GetAccountsForbidden with default headers values
func (*GetAccountsForbidden) Error ¶
func (o *GetAccountsForbidden) Error() string
func (*GetAccountsForbidden) GetPayload ¶
func (o *GetAccountsForbidden) GetPayload() *models.OBErrorResponse1
type GetAccountsInternalServerError ¶
type GetAccountsInternalServerError struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBErrorResponse1 }
GetAccountsInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetAccountsInternalServerError ¶
func NewGetAccountsInternalServerError() *GetAccountsInternalServerError
NewGetAccountsInternalServerError creates a GetAccountsInternalServerError with default headers values
func (*GetAccountsInternalServerError) Error ¶
func (o *GetAccountsInternalServerError) Error() string
func (*GetAccountsInternalServerError) GetPayload ¶
func (o *GetAccountsInternalServerError) GetPayload() *models.OBErrorResponse1
type GetAccountsMethodNotAllowed ¶
type GetAccountsMethodNotAllowed struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsMethodNotAllowed describes a response with status code 405, with default header values.
Method Not Allowed
func NewGetAccountsMethodNotAllowed ¶
func NewGetAccountsMethodNotAllowed() *GetAccountsMethodNotAllowed
NewGetAccountsMethodNotAllowed creates a GetAccountsMethodNotAllowed with default headers values
func (*GetAccountsMethodNotAllowed) Error ¶
func (o *GetAccountsMethodNotAllowed) Error() string
type GetAccountsNotAcceptable ¶
type GetAccountsNotAcceptable struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsNotAcceptable describes a response with status code 406, with default header values.
Not Acceptable
func NewGetAccountsNotAcceptable ¶
func NewGetAccountsNotAcceptable() *GetAccountsNotAcceptable
NewGetAccountsNotAcceptable creates a GetAccountsNotAcceptable with default headers values
func (*GetAccountsNotAcceptable) Error ¶
func (o *GetAccountsNotAcceptable) Error() string
type GetAccountsOK ¶
type GetAccountsOK struct { /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string Payload *models.OBReadAccount6 }
GetAccountsOK describes a response with status code 200, with default header values.
Accounts Read
func NewGetAccountsOK ¶
func NewGetAccountsOK() *GetAccountsOK
NewGetAccountsOK creates a GetAccountsOK with default headers values
func (*GetAccountsOK) Error ¶
func (o *GetAccountsOK) Error() string
func (*GetAccountsOK) GetPayload ¶
func (o *GetAccountsOK) GetPayload() *models.OBReadAccount6
type GetAccountsParams ¶
type GetAccountsParams struct { /* Authorization. An Authorisation Token as per https://tools.ietf.org/html/rfc6750 */ Authorization string /* XCustomerUserAgent. Indicates the user-agent that the PSU is using. */ XCustomerUserAgent *string /* XFapiAuthDate. The time when the PSU last logged in with the TPP. All dates in the HTTP headers are represented as RFC 7231 Full Dates. An example is below: Sun, 10 Sep 2017 19:43:31 UTC */ XFapiAuthDate *string /* XFapiCustomerIPAddress. The PSU's IP address if the PSU is currently logged in with the TPP. */ XFapiCustomerIPAddress *string /* XFapiInteractionID. An RFC4122 UID used as a correlation id. */ XFapiInteractionID *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAccountsParams contains all the parameters to send to the API endpoint
for the get accounts operation. Typically these are written to a http.Request.
func NewGetAccountsParams ¶
func NewGetAccountsParams() *GetAccountsParams
NewGetAccountsParams creates a new GetAccountsParams 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 NewGetAccountsParamsWithContext ¶
func NewGetAccountsParamsWithContext(ctx context.Context) *GetAccountsParams
NewGetAccountsParamsWithContext creates a new GetAccountsParams object with the ability to set a context for a request.
func NewGetAccountsParamsWithHTTPClient ¶
func NewGetAccountsParamsWithHTTPClient(client *http.Client) *GetAccountsParams
NewGetAccountsParamsWithHTTPClient creates a new GetAccountsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAccountsParamsWithTimeout ¶
func NewGetAccountsParamsWithTimeout(timeout time.Duration) *GetAccountsParams
NewGetAccountsParamsWithTimeout creates a new GetAccountsParams object with the ability to set a timeout on a request.
func (*GetAccountsParams) SetAuthorization ¶
func (o *GetAccountsParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the get accounts params
func (*GetAccountsParams) SetContext ¶
func (o *GetAccountsParams) SetContext(ctx context.Context)
SetContext adds the context to the get accounts params
func (*GetAccountsParams) SetDefaults ¶
func (o *GetAccountsParams) SetDefaults()
SetDefaults hydrates default values in the get accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsParams) SetHTTPClient ¶
func (o *GetAccountsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get accounts params
func (*GetAccountsParams) SetTimeout ¶
func (o *GetAccountsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get accounts params
func (*GetAccountsParams) SetXCustomerUserAgent ¶
func (o *GetAccountsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)
SetXCustomerUserAgent adds the xCustomerUserAgent to the get accounts params
func (*GetAccountsParams) SetXFapiAuthDate ¶
func (o *GetAccountsParams) SetXFapiAuthDate(xFapiAuthDate *string)
SetXFapiAuthDate adds the xFapiAuthDate to the get accounts params
func (*GetAccountsParams) SetXFapiCustomerIPAddress ¶
func (o *GetAccountsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)
SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get accounts params
func (*GetAccountsParams) SetXFapiInteractionID ¶
func (o *GetAccountsParams) SetXFapiInteractionID(xFapiInteractionID *string)
SetXFapiInteractionID adds the xFapiInteractionId to the get accounts params
func (*GetAccountsParams) WithAuthorization ¶
func (o *GetAccountsParams) WithAuthorization(authorization string) *GetAccountsParams
WithAuthorization adds the authorization to the get accounts params
func (*GetAccountsParams) WithContext ¶
func (o *GetAccountsParams) WithContext(ctx context.Context) *GetAccountsParams
WithContext adds the context to the get accounts params
func (*GetAccountsParams) WithDefaults ¶
func (o *GetAccountsParams) WithDefaults() *GetAccountsParams
WithDefaults hydrates default values in the get accounts params (not the query body).
All values with no default are reset to their zero value.
func (*GetAccountsParams) WithHTTPClient ¶
func (o *GetAccountsParams) WithHTTPClient(client *http.Client) *GetAccountsParams
WithHTTPClient adds the HTTPClient to the get accounts params
func (*GetAccountsParams) WithTimeout ¶
func (o *GetAccountsParams) WithTimeout(timeout time.Duration) *GetAccountsParams
WithTimeout adds the timeout to the get accounts params
func (*GetAccountsParams) WithXCustomerUserAgent ¶
func (o *GetAccountsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountsParams
WithXCustomerUserAgent adds the xCustomerUserAgent to the get accounts params
func (*GetAccountsParams) WithXFapiAuthDate ¶
func (o *GetAccountsParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetAccountsParams
WithXFapiAuthDate adds the xFapiAuthDate to the get accounts params
func (*GetAccountsParams) WithXFapiCustomerIPAddress ¶
func (o *GetAccountsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountsParams
WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get accounts params
func (*GetAccountsParams) WithXFapiInteractionID ¶
func (o *GetAccountsParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountsParams
WithXFapiInteractionID adds the xFapiInteractionID to the get accounts params
func (*GetAccountsParams) WriteToRequest ¶
func (o *GetAccountsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAccountsReader ¶
type GetAccountsReader struct {
// contains filtered or unexported fields
}
GetAccountsReader is a Reader for the GetAccounts structure.
func (*GetAccountsReader) ReadResponse ¶
func (o *GetAccountsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAccountsTooManyRequests ¶
type GetAccountsTooManyRequests struct { /* Number in seconds to wait */ RetryAfter int64 /* An RFC4122 UID used as a correlation id. */ XFapiInteractionID string }
GetAccountsTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewGetAccountsTooManyRequests ¶
func NewGetAccountsTooManyRequests() *GetAccountsTooManyRequests
NewGetAccountsTooManyRequests creates a GetAccountsTooManyRequests with default headers values
func (*GetAccountsTooManyRequests) Error ¶
func (o *GetAccountsTooManyRequests) Error() string
type GetAccountsUnauthorized ¶
type GetAccountsUnauthorized struct { string }XFapiInteractionID
GetAccountsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetAccountsUnauthorized ¶
func NewGetAccountsUnauthorized() *GetAccountsUnauthorized
NewGetAccountsUnauthorized creates a GetAccountsUnauthorized with default headers values
func (*GetAccountsUnauthorized) Error ¶
func (o *GetAccountsUnauthorized) Error() string