products

package
v0.0.0-...-3f933f0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 11 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 products API

func (*Client) GetAccountsAccountIDProduct

func (a *Client) GetAccountsAccountIDProduct(params *GetAccountsAccountIDProductParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDProductOK, error)

GetAccountsAccountIDProduct gets products

func (*Client) GetProducts

func (a *Client) GetProducts(params *GetProductsParams, authInfo runtime.ClientAuthInfoWriter) (*GetProductsOK, error)

GetProducts gets products

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetAccountsAccountIDProduct(params *GetAccountsAccountIDProductParams, authInfo runtime.ClientAuthInfoWriter) (*GetAccountsAccountIDProductOK, error)

	GetProducts(params *GetProductsParams, authInfo runtime.ClientAuthInfoWriter) (*GetProductsOK, 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 products API client.

type GetAccountsAccountIDProductBadRequest

type GetAccountsAccountIDProductBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDProductBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetAccountsAccountIDProductBadRequest

func NewGetAccountsAccountIDProductBadRequest() *GetAccountsAccountIDProductBadRequest

NewGetAccountsAccountIDProductBadRequest creates a GetAccountsAccountIDProductBadRequest with default headers values

func (*GetAccountsAccountIDProductBadRequest) Error

func (*GetAccountsAccountIDProductBadRequest) GetPayload

type GetAccountsAccountIDProductForbidden

type GetAccountsAccountIDProductForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDProductForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAccountsAccountIDProductForbidden

func NewGetAccountsAccountIDProductForbidden() *GetAccountsAccountIDProductForbidden

NewGetAccountsAccountIDProductForbidden creates a GetAccountsAccountIDProductForbidden with default headers values

func (*GetAccountsAccountIDProductForbidden) Error

func (*GetAccountsAccountIDProductForbidden) GetPayload

type GetAccountsAccountIDProductInternalServerError

type GetAccountsAccountIDProductInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetAccountsAccountIDProductInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetAccountsAccountIDProductInternalServerError

func NewGetAccountsAccountIDProductInternalServerError() *GetAccountsAccountIDProductInternalServerError

NewGetAccountsAccountIDProductInternalServerError creates a GetAccountsAccountIDProductInternalServerError with default headers values

func (*GetAccountsAccountIDProductInternalServerError) Error

func (*GetAccountsAccountIDProductInternalServerError) GetPayload

type GetAccountsAccountIDProductMethodNotAllowed

type GetAccountsAccountIDProductMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDProductMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetAccountsAccountIDProductMethodNotAllowed

func NewGetAccountsAccountIDProductMethodNotAllowed() *GetAccountsAccountIDProductMethodNotAllowed

NewGetAccountsAccountIDProductMethodNotAllowed creates a GetAccountsAccountIDProductMethodNotAllowed with default headers values

func (*GetAccountsAccountIDProductMethodNotAllowed) Error

type GetAccountsAccountIDProductNotAcceptable

type GetAccountsAccountIDProductNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDProductNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetAccountsAccountIDProductNotAcceptable

func NewGetAccountsAccountIDProductNotAcceptable() *GetAccountsAccountIDProductNotAcceptable

NewGetAccountsAccountIDProductNotAcceptable creates a GetAccountsAccountIDProductNotAcceptable with default headers values

func (*GetAccountsAccountIDProductNotAcceptable) Error

type GetAccountsAccountIDProductNotFound

type GetAccountsAccountIDProductNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDProductNotFound describes a response with status code 404, with default header values.

Not found

func NewGetAccountsAccountIDProductNotFound

func NewGetAccountsAccountIDProductNotFound() *GetAccountsAccountIDProductNotFound

NewGetAccountsAccountIDProductNotFound creates a GetAccountsAccountIDProductNotFound with default headers values

func (*GetAccountsAccountIDProductNotFound) Error

type GetAccountsAccountIDProductOK

type GetAccountsAccountIDProductOK struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBReadProduct2
}
GetAccountsAccountIDProductOK describes a response with status code 200, with default header values.

Products Read

func NewGetAccountsAccountIDProductOK

func NewGetAccountsAccountIDProductOK() *GetAccountsAccountIDProductOK

NewGetAccountsAccountIDProductOK creates a GetAccountsAccountIDProductOK with default headers values

func (*GetAccountsAccountIDProductOK) Error

func (*GetAccountsAccountIDProductOK) GetPayload

type GetAccountsAccountIDProductParams

type GetAccountsAccountIDProductParams 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
}

GetAccountsAccountIDProductParams contains all the parameters to send to the API endpoint

for the get accounts account Id product operation.

Typically these are written to a http.Request.

func NewGetAccountsAccountIDProductParams

func NewGetAccountsAccountIDProductParams() *GetAccountsAccountIDProductParams

NewGetAccountsAccountIDProductParams creates a new GetAccountsAccountIDProductParams 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 NewGetAccountsAccountIDProductParamsWithContext

func NewGetAccountsAccountIDProductParamsWithContext(ctx context.Context) *GetAccountsAccountIDProductParams

NewGetAccountsAccountIDProductParamsWithContext creates a new GetAccountsAccountIDProductParams object with the ability to set a context for a request.

func NewGetAccountsAccountIDProductParamsWithHTTPClient

func NewGetAccountsAccountIDProductParamsWithHTTPClient(client *http.Client) *GetAccountsAccountIDProductParams

NewGetAccountsAccountIDProductParamsWithHTTPClient creates a new GetAccountsAccountIDProductParams object with the ability to set a custom HTTPClient for a request.

func NewGetAccountsAccountIDProductParamsWithTimeout

func NewGetAccountsAccountIDProductParamsWithTimeout(timeout time.Duration) *GetAccountsAccountIDProductParams

NewGetAccountsAccountIDProductParamsWithTimeout creates a new GetAccountsAccountIDProductParams object with the ability to set a timeout on a request.

func (*GetAccountsAccountIDProductParams) SetAccountID

func (o *GetAccountsAccountIDProductParams) SetAccountID(accountID string)

SetAccountID adds the accountId to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetAuthorization

func (o *GetAccountsAccountIDProductParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetContext

SetContext adds the context to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetDefaults

func (o *GetAccountsAccountIDProductParams) SetDefaults()

SetDefaults hydrates default values in the get accounts account Id product params (not the query body).

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

func (*GetAccountsAccountIDProductParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetTimeout

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

SetTimeout adds the timeout to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetXCustomerUserAgent

func (o *GetAccountsAccountIDProductParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetXFapiAuthDate

func (o *GetAccountsAccountIDProductParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetXFapiCustomerIPAddress

func (o *GetAccountsAccountIDProductParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) SetXFapiInteractionID

func (o *GetAccountsAccountIDProductParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithAccountID

WithAccountID adds the accountID to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithAuthorization

func (o *GetAccountsAccountIDProductParams) WithAuthorization(authorization string) *GetAccountsAccountIDProductParams

WithAuthorization adds the authorization to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithContext

WithContext adds the context to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithDefaults

WithDefaults hydrates default values in the get accounts account Id product params (not the query body).

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

func (*GetAccountsAccountIDProductParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithTimeout

WithTimeout adds the timeout to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithXCustomerUserAgent

func (o *GetAccountsAccountIDProductParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetAccountsAccountIDProductParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithXFapiAuthDate

func (o *GetAccountsAccountIDProductParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetAccountsAccountIDProductParams

WithXFapiAuthDate adds the xFapiAuthDate to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithXFapiCustomerIPAddress

func (o *GetAccountsAccountIDProductParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetAccountsAccountIDProductParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WithXFapiInteractionID

func (o *GetAccountsAccountIDProductParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetAccountsAccountIDProductParams

WithXFapiInteractionID adds the xFapiInteractionID to the get accounts account Id product params

func (*GetAccountsAccountIDProductParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAccountsAccountIDProductReader

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

GetAccountsAccountIDProductReader is a Reader for the GetAccountsAccountIDProduct structure.

func (*GetAccountsAccountIDProductReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAccountsAccountIDProductTooManyRequests

type GetAccountsAccountIDProductTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDProductTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetAccountsAccountIDProductTooManyRequests

func NewGetAccountsAccountIDProductTooManyRequests() *GetAccountsAccountIDProductTooManyRequests

NewGetAccountsAccountIDProductTooManyRequests creates a GetAccountsAccountIDProductTooManyRequests with default headers values

func (*GetAccountsAccountIDProductTooManyRequests) Error

type GetAccountsAccountIDProductUnauthorized

type GetAccountsAccountIDProductUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetAccountsAccountIDProductUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetAccountsAccountIDProductUnauthorized

func NewGetAccountsAccountIDProductUnauthorized() *GetAccountsAccountIDProductUnauthorized

NewGetAccountsAccountIDProductUnauthorized creates a GetAccountsAccountIDProductUnauthorized with default headers values

func (*GetAccountsAccountIDProductUnauthorized) Error

type GetProductsBadRequest

type GetProductsBadRequest struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetProductsBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetProductsBadRequest

func NewGetProductsBadRequest() *GetProductsBadRequest

NewGetProductsBadRequest creates a GetProductsBadRequest with default headers values

func (*GetProductsBadRequest) Error

func (o *GetProductsBadRequest) Error() string

func (*GetProductsBadRequest) GetPayload

type GetProductsForbidden

type GetProductsForbidden struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetProductsForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetProductsForbidden

func NewGetProductsForbidden() *GetProductsForbidden

NewGetProductsForbidden creates a GetProductsForbidden with default headers values

func (*GetProductsForbidden) Error

func (o *GetProductsForbidden) Error() string

func (*GetProductsForbidden) GetPayload

func (o *GetProductsForbidden) GetPayload() *models.OBErrorResponse1

type GetProductsInternalServerError

type GetProductsInternalServerError struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBErrorResponse1
}
GetProductsInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewGetProductsInternalServerError

func NewGetProductsInternalServerError() *GetProductsInternalServerError

NewGetProductsInternalServerError creates a GetProductsInternalServerError with default headers values

func (*GetProductsInternalServerError) Error

func (*GetProductsInternalServerError) GetPayload

type GetProductsMethodNotAllowed

type GetProductsMethodNotAllowed struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetProductsMethodNotAllowed describes a response with status code 405, with default header values.

Method Not Allowed

func NewGetProductsMethodNotAllowed

func NewGetProductsMethodNotAllowed() *GetProductsMethodNotAllowed

NewGetProductsMethodNotAllowed creates a GetProductsMethodNotAllowed with default headers values

func (*GetProductsMethodNotAllowed) Error

type GetProductsNotAcceptable

type GetProductsNotAcceptable struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetProductsNotAcceptable describes a response with status code 406, with default header values.

Not Acceptable

func NewGetProductsNotAcceptable

func NewGetProductsNotAcceptable() *GetProductsNotAcceptable

NewGetProductsNotAcceptable creates a GetProductsNotAcceptable with default headers values

func (*GetProductsNotAcceptable) Error

func (o *GetProductsNotAcceptable) Error() string

type GetProductsNotFound

type GetProductsNotFound struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetProductsNotFound describes a response with status code 404, with default header values.

Not found

func NewGetProductsNotFound

func NewGetProductsNotFound() *GetProductsNotFound

NewGetProductsNotFound creates a GetProductsNotFound with default headers values

func (*GetProductsNotFound) Error

func (o *GetProductsNotFound) Error() string

type GetProductsOK

type GetProductsOK struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string

	Payload *models.OBReadProduct2
}
GetProductsOK describes a response with status code 200, with default header values.

Products Read

func NewGetProductsOK

func NewGetProductsOK() *GetProductsOK

NewGetProductsOK creates a GetProductsOK with default headers values

func (*GetProductsOK) Error

func (o *GetProductsOK) Error() string

func (*GetProductsOK) GetPayload

func (o *GetProductsOK) GetPayload() *models.OBReadProduct2

type GetProductsParams

type GetProductsParams 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
}

GetProductsParams contains all the parameters to send to the API endpoint

for the get products operation.

Typically these are written to a http.Request.

func NewGetProductsParams

func NewGetProductsParams() *GetProductsParams

NewGetProductsParams creates a new GetProductsParams 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 NewGetProductsParamsWithContext

func NewGetProductsParamsWithContext(ctx context.Context) *GetProductsParams

NewGetProductsParamsWithContext creates a new GetProductsParams object with the ability to set a context for a request.

func NewGetProductsParamsWithHTTPClient

func NewGetProductsParamsWithHTTPClient(client *http.Client) *GetProductsParams

NewGetProductsParamsWithHTTPClient creates a new GetProductsParams object with the ability to set a custom HTTPClient for a request.

func NewGetProductsParamsWithTimeout

func NewGetProductsParamsWithTimeout(timeout time.Duration) *GetProductsParams

NewGetProductsParamsWithTimeout creates a new GetProductsParams object with the ability to set a timeout on a request.

func (*GetProductsParams) SetAuthorization

func (o *GetProductsParams) SetAuthorization(authorization string)

SetAuthorization adds the authorization to the get products params

func (*GetProductsParams) SetContext

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

SetContext adds the context to the get products params

func (*GetProductsParams) SetDefaults

func (o *GetProductsParams) SetDefaults()

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

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

func (*GetProductsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get products params

func (*GetProductsParams) SetTimeout

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

SetTimeout adds the timeout to the get products params

func (*GetProductsParams) SetXCustomerUserAgent

func (o *GetProductsParams) SetXCustomerUserAgent(xCustomerUserAgent *string)

SetXCustomerUserAgent adds the xCustomerUserAgent to the get products params

func (*GetProductsParams) SetXFapiAuthDate

func (o *GetProductsParams) SetXFapiAuthDate(xFapiAuthDate *string)

SetXFapiAuthDate adds the xFapiAuthDate to the get products params

func (*GetProductsParams) SetXFapiCustomerIPAddress

func (o *GetProductsParams) SetXFapiCustomerIPAddress(xFapiCustomerIPAddress *string)

SetXFapiCustomerIPAddress adds the xFapiCustomerIpAddress to the get products params

func (*GetProductsParams) SetXFapiInteractionID

func (o *GetProductsParams) SetXFapiInteractionID(xFapiInteractionID *string)

SetXFapiInteractionID adds the xFapiInteractionId to the get products params

func (*GetProductsParams) WithAuthorization

func (o *GetProductsParams) WithAuthorization(authorization string) *GetProductsParams

WithAuthorization adds the authorization to the get products params

func (*GetProductsParams) WithContext

func (o *GetProductsParams) WithContext(ctx context.Context) *GetProductsParams

WithContext adds the context to the get products params

func (*GetProductsParams) WithDefaults

func (o *GetProductsParams) WithDefaults() *GetProductsParams

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

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

func (*GetProductsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get products params

func (*GetProductsParams) WithTimeout

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

WithTimeout adds the timeout to the get products params

func (*GetProductsParams) WithXCustomerUserAgent

func (o *GetProductsParams) WithXCustomerUserAgent(xCustomerUserAgent *string) *GetProductsParams

WithXCustomerUserAgent adds the xCustomerUserAgent to the get products params

func (*GetProductsParams) WithXFapiAuthDate

func (o *GetProductsParams) WithXFapiAuthDate(xFapiAuthDate *string) *GetProductsParams

WithXFapiAuthDate adds the xFapiAuthDate to the get products params

func (*GetProductsParams) WithXFapiCustomerIPAddress

func (o *GetProductsParams) WithXFapiCustomerIPAddress(xFapiCustomerIPAddress *string) *GetProductsParams

WithXFapiCustomerIPAddress adds the xFapiCustomerIPAddress to the get products params

func (*GetProductsParams) WithXFapiInteractionID

func (o *GetProductsParams) WithXFapiInteractionID(xFapiInteractionID *string) *GetProductsParams

WithXFapiInteractionID adds the xFapiInteractionID to the get products params

func (*GetProductsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetProductsReader

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

GetProductsReader is a Reader for the GetProducts structure.

func (*GetProductsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetProductsTooManyRequests

type GetProductsTooManyRequests struct {

	/* Number in seconds to wait
	 */
	RetryAfter int64

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetProductsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetProductsTooManyRequests

func NewGetProductsTooManyRequests() *GetProductsTooManyRequests

NewGetProductsTooManyRequests creates a GetProductsTooManyRequests with default headers values

func (*GetProductsTooManyRequests) Error

type GetProductsUnauthorized

type GetProductsUnauthorized struct {

	/* An RFC4122 UID used as a correlation id.
	 */
	XFapiInteractionID string
}
GetProductsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetProductsUnauthorized

func NewGetProductsUnauthorized() *GetProductsUnauthorized

NewGetProductsUnauthorized creates a GetProductsUnauthorized with default headers values

func (*GetProductsUnauthorized) Error

func (o *GetProductsUnauthorized) Error() string

Jump to

Keyboard shortcuts

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