data_extracts

package
v0.0.0-...-5f4f26f Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT 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 data extracts API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new data extracts API client.

func (*Client) GetDataExtractsEvents

func (a *Client) GetDataExtractsEvents(params *GetDataExtractsEventsParams) (*GetDataExtractsEventsOK, error)

GetDataExtractsEvents gets events

The get extracts events service is used to learn about occurrences of data extract related events. This service currently supports only the DATA_UPDATES event.<br>Passing the event name as DATA_UPDATES provides information about users for whom data has been modified in the system for the specified time range. To learn more, please refer to the dataExtracts page.<br>The fromDate or the toDate parameters value cannot be less than 7 days. The time difference between these fields cannot be more than 60 minutes.<br>Cobrand session only has to be passed to invoke this service.<br>

func (*Client) GetDataExtractsUserData

func (a *Client) GetDataExtractsUserData(params *GetDataExtractsUserDataParams) (*GetDataExtractsUserDataOK, error)

GetDataExtractsUserData gets user data

The get user data service is used to get a user's modified data for a particular period of time for accounts, transactions, holdings, and provider account information.<br>Cobrand session only has to be passed to invoke this service. The time difference between fromDate and toDate fields cannot be more than 60 minutes.<br>

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetDataExtractsEventsBadRequest

type GetDataExtractsEventsBadRequest struct {
	Payload *models.YodleeError
}

GetDataExtractsEventsBadRequest handles this case with default header values.

Y800 : Invalid value for fromDate.fromDate cannot be greater than current time<br>Y800 : Invalid value for toDate.toDate cannot be greater than current time<br>Y800 : Invalid value for fromDate or toDate.fromDate and toDate cannot be older than 7 days<br>Y800 : Invalid value for fromDate.fromDate cannot be greater than toDate.

func NewGetDataExtractsEventsBadRequest

func NewGetDataExtractsEventsBadRequest() *GetDataExtractsEventsBadRequest

NewGetDataExtractsEventsBadRequest creates a GetDataExtractsEventsBadRequest with default headers values

func (*GetDataExtractsEventsBadRequest) Error

func (*GetDataExtractsEventsBadRequest) GetPayload

type GetDataExtractsEventsNotFound

type GetDataExtractsEventsNotFound struct {
}

GetDataExtractsEventsNotFound handles this case with default header values.

Not Found

func NewGetDataExtractsEventsNotFound

func NewGetDataExtractsEventsNotFound() *GetDataExtractsEventsNotFound

NewGetDataExtractsEventsNotFound creates a GetDataExtractsEventsNotFound with default headers values

func (*GetDataExtractsEventsNotFound) Error

type GetDataExtractsEventsOK

type GetDataExtractsEventsOK struct {
	Payload *models.DataExtractsEventResponse
}

GetDataExtractsEventsOK handles this case with default header values.

OK

func NewGetDataExtractsEventsOK

func NewGetDataExtractsEventsOK() *GetDataExtractsEventsOK

NewGetDataExtractsEventsOK creates a GetDataExtractsEventsOK with default headers values

func (*GetDataExtractsEventsOK) Error

func (o *GetDataExtractsEventsOK) Error() string

func (*GetDataExtractsEventsOK) GetPayload

type GetDataExtractsEventsParams

type GetDataExtractsEventsParams struct {

	/*EventName
	  Event Name

	*/
	EventName string
	/*FromDate
	  From DateTime (YYYY-MM-DDThh:mm:ssZ)

	*/
	FromDate string
	/*ToDate
	  To DateTime (YYYY-MM-DDThh:mm:ssZ)

	*/
	ToDate string

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

GetDataExtractsEventsParams contains all the parameters to send to the API endpoint for the get data extracts events operation typically these are written to a http.Request

func NewGetDataExtractsEventsParams

func NewGetDataExtractsEventsParams() *GetDataExtractsEventsParams

NewGetDataExtractsEventsParams creates a new GetDataExtractsEventsParams object with the default values initialized.

func NewGetDataExtractsEventsParamsWithContext

func NewGetDataExtractsEventsParamsWithContext(ctx context.Context) *GetDataExtractsEventsParams

NewGetDataExtractsEventsParamsWithContext creates a new GetDataExtractsEventsParams object with the default values initialized, and the ability to set a context for a request

func NewGetDataExtractsEventsParamsWithHTTPClient

func NewGetDataExtractsEventsParamsWithHTTPClient(client *http.Client) *GetDataExtractsEventsParams

NewGetDataExtractsEventsParamsWithHTTPClient creates a new GetDataExtractsEventsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDataExtractsEventsParamsWithTimeout

func NewGetDataExtractsEventsParamsWithTimeout(timeout time.Duration) *GetDataExtractsEventsParams

NewGetDataExtractsEventsParamsWithTimeout creates a new GetDataExtractsEventsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDataExtractsEventsParams) SetContext

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

SetContext adds the context to the get data extracts events params

func (*GetDataExtractsEventsParams) SetEventName

func (o *GetDataExtractsEventsParams) SetEventName(eventName string)

SetEventName adds the eventName to the get data extracts events params

func (*GetDataExtractsEventsParams) SetFromDate

func (o *GetDataExtractsEventsParams) SetFromDate(fromDate string)

SetFromDate adds the fromDate to the get data extracts events params

func (*GetDataExtractsEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data extracts events params

func (*GetDataExtractsEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get data extracts events params

func (*GetDataExtractsEventsParams) SetToDate

func (o *GetDataExtractsEventsParams) SetToDate(toDate string)

SetToDate adds the toDate to the get data extracts events params

func (*GetDataExtractsEventsParams) WithContext

WithContext adds the context to the get data extracts events params

func (*GetDataExtractsEventsParams) WithEventName

func (o *GetDataExtractsEventsParams) WithEventName(eventName string) *GetDataExtractsEventsParams

WithEventName adds the eventName to the get data extracts events params

func (*GetDataExtractsEventsParams) WithFromDate

WithFromDate adds the fromDate to the get data extracts events params

func (*GetDataExtractsEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get data extracts events params

func (*GetDataExtractsEventsParams) WithTimeout

WithTimeout adds the timeout to the get data extracts events params

func (*GetDataExtractsEventsParams) WithToDate

WithToDate adds the toDate to the get data extracts events params

func (*GetDataExtractsEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataExtractsEventsReader

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

GetDataExtractsEventsReader is a Reader for the GetDataExtractsEvents structure.

func (*GetDataExtractsEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataExtractsEventsUnauthorized

type GetDataExtractsEventsUnauthorized struct {
}

GetDataExtractsEventsUnauthorized handles this case with default header values.

Unauthorized

func NewGetDataExtractsEventsUnauthorized

func NewGetDataExtractsEventsUnauthorized() *GetDataExtractsEventsUnauthorized

NewGetDataExtractsEventsUnauthorized creates a GetDataExtractsEventsUnauthorized with default headers values

func (*GetDataExtractsEventsUnauthorized) Error

type GetDataExtractsUserDataBadRequest

type GetDataExtractsUserDataBadRequest struct {
	Payload *models.YodleeError
}

GetDataExtractsUserDataBadRequest handles this case with default header values.

Y800 : Invalid value for eventName<br>Y821 : Data update event not supported<br>Y800 : Invalid value for fromDate.fromDate cannot be greater than current time<br>Y800 : Invalid value for toDate.toDate cannot be greater than current time<br>.Y800 : Invalid value for fromDate or toDate.fromDate and toDate cannot be older than 7 days<br>Y800 : Invalid value for fromDate.fromDate can not be greater than toDate<br>Y800 : Invalid value for loginName

func NewGetDataExtractsUserDataBadRequest

func NewGetDataExtractsUserDataBadRequest() *GetDataExtractsUserDataBadRequest

NewGetDataExtractsUserDataBadRequest creates a GetDataExtractsUserDataBadRequest with default headers values

func (*GetDataExtractsUserDataBadRequest) Error

func (*GetDataExtractsUserDataBadRequest) GetPayload

type GetDataExtractsUserDataNotFound

type GetDataExtractsUserDataNotFound struct {
}

GetDataExtractsUserDataNotFound handles this case with default header values.

Not Found

func NewGetDataExtractsUserDataNotFound

func NewGetDataExtractsUserDataNotFound() *GetDataExtractsUserDataNotFound

NewGetDataExtractsUserDataNotFound creates a GetDataExtractsUserDataNotFound with default headers values

func (*GetDataExtractsUserDataNotFound) Error

type GetDataExtractsUserDataOK

type GetDataExtractsUserDataOK struct {
	Payload *models.DataExtractsUserDataResponse
}

GetDataExtractsUserDataOK handles this case with default header values.

OK

func NewGetDataExtractsUserDataOK

func NewGetDataExtractsUserDataOK() *GetDataExtractsUserDataOK

NewGetDataExtractsUserDataOK creates a GetDataExtractsUserDataOK with default headers values

func (*GetDataExtractsUserDataOK) Error

func (o *GetDataExtractsUserDataOK) Error() string

func (*GetDataExtractsUserDataOK) GetPayload

type GetDataExtractsUserDataParams

type GetDataExtractsUserDataParams struct {

	/*FromDate
	  From DateTime (YYYY-MM-DDThh:mm:ssZ)

	*/
	FromDate string
	/*LoginName
	  Login Name

	*/
	LoginName string
	/*ToDate
	  To DateTime (YYYY-MM-DDThh:mm:ssZ)

	*/
	ToDate string

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

GetDataExtractsUserDataParams contains all the parameters to send to the API endpoint for the get data extracts user data operation typically these are written to a http.Request

func NewGetDataExtractsUserDataParams

func NewGetDataExtractsUserDataParams() *GetDataExtractsUserDataParams

NewGetDataExtractsUserDataParams creates a new GetDataExtractsUserDataParams object with the default values initialized.

func NewGetDataExtractsUserDataParamsWithContext

func NewGetDataExtractsUserDataParamsWithContext(ctx context.Context) *GetDataExtractsUserDataParams

NewGetDataExtractsUserDataParamsWithContext creates a new GetDataExtractsUserDataParams object with the default values initialized, and the ability to set a context for a request

func NewGetDataExtractsUserDataParamsWithHTTPClient

func NewGetDataExtractsUserDataParamsWithHTTPClient(client *http.Client) *GetDataExtractsUserDataParams

NewGetDataExtractsUserDataParamsWithHTTPClient creates a new GetDataExtractsUserDataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDataExtractsUserDataParamsWithTimeout

func NewGetDataExtractsUserDataParamsWithTimeout(timeout time.Duration) *GetDataExtractsUserDataParams

NewGetDataExtractsUserDataParamsWithTimeout creates a new GetDataExtractsUserDataParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDataExtractsUserDataParams) SetContext

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

SetContext adds the context to the get data extracts user data params

func (*GetDataExtractsUserDataParams) SetFromDate

func (o *GetDataExtractsUserDataParams) SetFromDate(fromDate string)

SetFromDate adds the fromDate to the get data extracts user data params

func (*GetDataExtractsUserDataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get data extracts user data params

func (*GetDataExtractsUserDataParams) SetLoginName

func (o *GetDataExtractsUserDataParams) SetLoginName(loginName string)

SetLoginName adds the loginName to the get data extracts user data params

func (*GetDataExtractsUserDataParams) SetTimeout

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

SetTimeout adds the timeout to the get data extracts user data params

func (*GetDataExtractsUserDataParams) SetToDate

func (o *GetDataExtractsUserDataParams) SetToDate(toDate string)

SetToDate adds the toDate to the get data extracts user data params

func (*GetDataExtractsUserDataParams) WithContext

WithContext adds the context to the get data extracts user data params

func (*GetDataExtractsUserDataParams) WithFromDate

WithFromDate adds the fromDate to the get data extracts user data params

func (*GetDataExtractsUserDataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get data extracts user data params

func (*GetDataExtractsUserDataParams) WithLoginName

WithLoginName adds the loginName to the get data extracts user data params

func (*GetDataExtractsUserDataParams) WithTimeout

WithTimeout adds the timeout to the get data extracts user data params

func (*GetDataExtractsUserDataParams) WithToDate

WithToDate adds the toDate to the get data extracts user data params

func (*GetDataExtractsUserDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDataExtractsUserDataReader

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

GetDataExtractsUserDataReader is a Reader for the GetDataExtractsUserData structure.

func (*GetDataExtractsUserDataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDataExtractsUserDataUnauthorized

type GetDataExtractsUserDataUnauthorized struct {
}

GetDataExtractsUserDataUnauthorized handles this case with default header values.

Unauthorized

func NewGetDataExtractsUserDataUnauthorized

func NewGetDataExtractsUserDataUnauthorized() *GetDataExtractsUserDataUnauthorized

NewGetDataExtractsUserDataUnauthorized creates a GetDataExtractsUserDataUnauthorized with default headers values

func (*GetDataExtractsUserDataUnauthorized) Error

Jump to

Keyboard shortcuts

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