reminder

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 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 reminder API

func (*Client) ReminderGet

func (a *Client) ReminderGet(params *ReminderGetParams, authInfo runtime.ClientAuthInfoWriter) (*ReminderGetOK, error)

ReminderGet gets reminder by ID

func (*Client) ReminderSearch

func (a *Client) ReminderSearch(params *ReminderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ReminderSearchOK, error)

ReminderSearch finds reminders corresponding with sent data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ReminderGet(params *ReminderGetParams, authInfo runtime.ClientAuthInfoWriter) (*ReminderGetOK, error)

	ReminderSearch(params *ReminderSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ReminderSearchOK, 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 reminder API client.

type ReminderGetOK

type ReminderGetOK struct {
	Payload *models.ResponseWrapperReminder
}

ReminderGetOK handles this case with default header values.

successful operation

func NewReminderGetOK

func NewReminderGetOK() *ReminderGetOK

NewReminderGetOK creates a ReminderGetOK with default headers values

func (*ReminderGetOK) Error

func (o *ReminderGetOK) Error() string

func (*ReminderGetOK) GetPayload

func (o *ReminderGetOK) GetPayload() *models.ResponseWrapperReminder

type ReminderGetParams

type ReminderGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

ReminderGetParams contains all the parameters to send to the API endpoint for the reminder get operation typically these are written to a http.Request

func NewReminderGetParams

func NewReminderGetParams() *ReminderGetParams

NewReminderGetParams creates a new ReminderGetParams object with the default values initialized.

func NewReminderGetParamsWithContext

func NewReminderGetParamsWithContext(ctx context.Context) *ReminderGetParams

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

func NewReminderGetParamsWithHTTPClient

func NewReminderGetParamsWithHTTPClient(client *http.Client) *ReminderGetParams

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

func NewReminderGetParamsWithTimeout

func NewReminderGetParamsWithTimeout(timeout time.Duration) *ReminderGetParams

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

func (*ReminderGetParams) SetContext

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

SetContext adds the context to the reminder get params

func (*ReminderGetParams) SetFields

func (o *ReminderGetParams) SetFields(fields *string)

SetFields adds the fields to the reminder get params

func (*ReminderGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reminder get params

func (*ReminderGetParams) SetID

func (o *ReminderGetParams) SetID(id int32)

SetID adds the id to the reminder get params

func (*ReminderGetParams) SetTimeout

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

SetTimeout adds the timeout to the reminder get params

func (*ReminderGetParams) WithContext

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

WithContext adds the context to the reminder get params

func (*ReminderGetParams) WithFields

func (o *ReminderGetParams) WithFields(fields *string) *ReminderGetParams

WithFields adds the fields to the reminder get params

func (*ReminderGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reminder get params

func (*ReminderGetParams) WithID

func (o *ReminderGetParams) WithID(id int32) *ReminderGetParams

WithID adds the id to the reminder get params

func (*ReminderGetParams) WithTimeout

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

WithTimeout adds the timeout to the reminder get params

func (*ReminderGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReminderGetReader

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

ReminderGetReader is a Reader for the ReminderGet structure.

func (*ReminderGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReminderSearchOK

type ReminderSearchOK struct {
	Payload *models.ListResponseReminder
}

ReminderSearchOK handles this case with default header values.

successful operation

func NewReminderSearchOK

func NewReminderSearchOK() *ReminderSearchOK

NewReminderSearchOK creates a ReminderSearchOK with default headers values

func (*ReminderSearchOK) Error

func (o *ReminderSearchOK) Error() string

func (*ReminderSearchOK) GetPayload

func (o *ReminderSearchOK) GetPayload() *models.ListResponseReminder

type ReminderSearchParams

type ReminderSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*CustomerID
	  Equals

	*/
	CustomerID *int32
	/*DateFrom
	  From and including

	*/
	DateFrom string
	/*DateTo
	  To and excluding

	*/
	DateTo string
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*InvoiceID
	  Equals

	*/
	InvoiceID *int32
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*TermOfPaymentFrom
	  From and including

	*/
	TermOfPaymentFrom *string
	/*TermOfPaymentTo
	  To and excluding

	*/
	TermOfPaymentTo *string

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

ReminderSearchParams contains all the parameters to send to the API endpoint for the reminder search operation typically these are written to a http.Request

func NewReminderSearchParams

func NewReminderSearchParams() *ReminderSearchParams

NewReminderSearchParams creates a new ReminderSearchParams object with the default values initialized.

func NewReminderSearchParamsWithContext

func NewReminderSearchParamsWithContext(ctx context.Context) *ReminderSearchParams

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

func NewReminderSearchParamsWithHTTPClient

func NewReminderSearchParamsWithHTTPClient(client *http.Client) *ReminderSearchParams

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

func NewReminderSearchParamsWithTimeout

func NewReminderSearchParamsWithTimeout(timeout time.Duration) *ReminderSearchParams

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

func (*ReminderSearchParams) SetContext

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

SetContext adds the context to the reminder search params

func (*ReminderSearchParams) SetCount

func (o *ReminderSearchParams) SetCount(count *int64)

SetCount adds the count to the reminder search params

func (*ReminderSearchParams) SetCustomerID

func (o *ReminderSearchParams) SetCustomerID(customerID *int32)

SetCustomerID adds the customerId to the reminder search params

func (*ReminderSearchParams) SetDateFrom

func (o *ReminderSearchParams) SetDateFrom(dateFrom string)

SetDateFrom adds the dateFrom to the reminder search params

func (*ReminderSearchParams) SetDateTo

func (o *ReminderSearchParams) SetDateTo(dateTo string)

SetDateTo adds the dateTo to the reminder search params

func (*ReminderSearchParams) SetFields

func (o *ReminderSearchParams) SetFields(fields *string)

SetFields adds the fields to the reminder search params

func (*ReminderSearchParams) SetFrom

func (o *ReminderSearchParams) SetFrom(from *int64)

SetFrom adds the from to the reminder search params

func (*ReminderSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the reminder search params

func (*ReminderSearchParams) SetID

func (o *ReminderSearchParams) SetID(id *string)

SetID adds the id to the reminder search params

func (*ReminderSearchParams) SetInvoiceID

func (o *ReminderSearchParams) SetInvoiceID(invoiceID *int32)

SetInvoiceID adds the invoiceId to the reminder search params

func (*ReminderSearchParams) SetSorting

func (o *ReminderSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the reminder search params

func (*ReminderSearchParams) SetTermOfPaymentFrom

func (o *ReminderSearchParams) SetTermOfPaymentFrom(termOfPaymentFrom *string)

SetTermOfPaymentFrom adds the termOfPaymentFrom to the reminder search params

func (*ReminderSearchParams) SetTermOfPaymentTo

func (o *ReminderSearchParams) SetTermOfPaymentTo(termOfPaymentTo *string)

SetTermOfPaymentTo adds the termOfPaymentTo to the reminder search params

func (*ReminderSearchParams) SetTimeout

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

SetTimeout adds the timeout to the reminder search params

func (*ReminderSearchParams) WithContext

WithContext adds the context to the reminder search params

func (*ReminderSearchParams) WithCount

func (o *ReminderSearchParams) WithCount(count *int64) *ReminderSearchParams

WithCount adds the count to the reminder search params

func (*ReminderSearchParams) WithCustomerID

func (o *ReminderSearchParams) WithCustomerID(customerID *int32) *ReminderSearchParams

WithCustomerID adds the customerID to the reminder search params

func (*ReminderSearchParams) WithDateFrom

func (o *ReminderSearchParams) WithDateFrom(dateFrom string) *ReminderSearchParams

WithDateFrom adds the dateFrom to the reminder search params

func (*ReminderSearchParams) WithDateTo

func (o *ReminderSearchParams) WithDateTo(dateTo string) *ReminderSearchParams

WithDateTo adds the dateTo to the reminder search params

func (*ReminderSearchParams) WithFields

func (o *ReminderSearchParams) WithFields(fields *string) *ReminderSearchParams

WithFields adds the fields to the reminder search params

func (*ReminderSearchParams) WithFrom

func (o *ReminderSearchParams) WithFrom(from *int64) *ReminderSearchParams

WithFrom adds the from to the reminder search params

func (*ReminderSearchParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the reminder search params

func (*ReminderSearchParams) WithID

WithID adds the id to the reminder search params

func (*ReminderSearchParams) WithInvoiceID

func (o *ReminderSearchParams) WithInvoiceID(invoiceID *int32) *ReminderSearchParams

WithInvoiceID adds the invoiceID to the reminder search params

func (*ReminderSearchParams) WithSorting

func (o *ReminderSearchParams) WithSorting(sorting *string) *ReminderSearchParams

WithSorting adds the sorting to the reminder search params

func (*ReminderSearchParams) WithTermOfPaymentFrom

func (o *ReminderSearchParams) WithTermOfPaymentFrom(termOfPaymentFrom *string) *ReminderSearchParams

WithTermOfPaymentFrom adds the termOfPaymentFrom to the reminder search params

func (*ReminderSearchParams) WithTermOfPaymentTo

func (o *ReminderSearchParams) WithTermOfPaymentTo(termOfPaymentTo *string) *ReminderSearchParams

WithTermOfPaymentTo adds the termOfPaymentTo to the reminder search params

func (*ReminderSearchParams) WithTimeout

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

WithTimeout adds the timeout to the reminder search params

func (*ReminderSearchParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ReminderSearchReader

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

ReminderSearchReader is a Reader for the ReminderSearch structure.

func (*ReminderSearchReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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