get_notifications

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 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 get notifications API

func (*Client) GetNotificationsV1SubscribersSubscriberIDNotifications

func (a *Client) GetNotificationsV1SubscribersSubscriberIDNotifications(params *GetNotificationsV1SubscribersSubscriberIDNotificationsParams, opts ...ClientOption) (*GetNotificationsV1SubscribersSubscriberIDNotificationsOK, error)

GetNotificationsV1SubscribersSubscriberIDNotifications gets notifications of a subscriber

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 {
	GetNotificationsV1SubscribersSubscriberIDNotifications(params *GetNotificationsV1SubscribersSubscriberIDNotificationsParams, opts ...ClientOption) (*GetNotificationsV1SubscribersSubscriberIDNotificationsOK, 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 get notifications API client.

type GetNotificationsV1SubscribersSubscriberIDNotificationsOK

type GetNotificationsV1SubscribersSubscriberIDNotificationsOK struct {

	/* Page token to fetch next page
	 */
	XSkySQLPageTokenNext string

	/* Page token to fetch previous page
	 */
	XSkySQLPageTokenPrevious string

	Payload []*models.DtoNotification
}
GetNotificationsV1SubscribersSubscriberIDNotificationsOK describes a response with status code 200, with default header values.

OK

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsOK

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsOK() *GetNotificationsV1SubscribersSubscriberIDNotificationsOK

NewGetNotificationsV1SubscribersSubscriberIDNotificationsOK creates a GetNotificationsV1SubscribersSubscriberIDNotificationsOK with default headers values

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsOK) Error

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsOK) GetPayload

type GetNotificationsV1SubscribersSubscriberIDNotificationsParams

type GetNotificationsV1SubscribersSubscriberIDNotificationsParams struct {

	/* PageColumn.

	   Field on which the records are sorted.
	*/
	PageColumn *string

	/* PageOrder.

	   ASC/DESC
	*/
	PageOrder *string

	/* PageSize.

	   Number of records per page.
	*/
	PageSize *int64

	/* PageToken.

	   Page token to fetch next or previous page.
	*/
	PageToken *string

	/* SubscriberID.

	   subscriber id i.e. user id
	*/
	SubscriberID string

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

GetNotificationsV1SubscribersSubscriberIDNotificationsParams contains all the parameters to send to the API endpoint

for the get notifications v1 subscribers subscriber ID notifications operation.

Typically these are written to a http.Request.

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParams

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParams() *GetNotificationsV1SubscribersSubscriberIDNotificationsParams

NewGetNotificationsV1SubscribersSubscriberIDNotificationsParams creates a new GetNotificationsV1SubscribersSubscriberIDNotificationsParams 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 NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithContext

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams

NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithContext creates a new GetNotificationsV1SubscribersSubscriberIDNotificationsParams object with the ability to set a context for a request.

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithHTTPClient

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams

NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithHTTPClient creates a new GetNotificationsV1SubscribersSubscriberIDNotificationsParams object with the ability to set a custom HTTPClient for a request.

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithTimeout

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams

NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithTimeout creates a new GetNotificationsV1SubscribersSubscriberIDNotificationsParams object with the ability to set a timeout on a request.

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetContext

SetContext adds the context to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetDefaults

SetDefaults hydrates default values in the get notifications v1 subscribers subscriber ID notifications params (not the query body).

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

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageColumn

SetPageColumn adds the pageColumn to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageOrder

SetPageOrder adds the pageOrder to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageSize

SetPageSize adds the pageSize to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageToken

SetPageToken adds the pageToken to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetSubscriberID

SetSubscriberID adds the subscriberId to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetTimeout

SetTimeout adds the timeout to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithContext

WithContext adds the context to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithDefaults

WithDefaults hydrates default values in the get notifications v1 subscribers subscriber ID notifications params (not the query body).

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

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageColumn

WithPageColumn adds the pageColumn to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageOrder

WithPageOrder adds the pageOrder to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageSize

WithPageSize adds the pageSize to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageToken

WithPageToken adds the pageToken to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithSubscriberID

WithSubscriberID adds the subscriberID to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithTimeout

WithTimeout adds the timeout to the get notifications v1 subscribers subscriber ID notifications params

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetNotificationsV1SubscribersSubscriberIDNotificationsReader

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

GetNotificationsV1SubscribersSubscriberIDNotificationsReader is a Reader for the GetNotificationsV1SubscribersSubscriberIDNotifications structure.

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized

type GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized struct {
	Payload *models.ErrrErrorResponse
}
GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized

func NewGetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized() *GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized

NewGetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized creates a GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized with default headers values

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized) Error

func (*GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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