Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetNotificationsV1SubscribersSubscriberIDNotificationsOK
- type GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParams() *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func NewGetNotificationsV1SubscribersSubscriberIDNotificationsParamsWithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetContext(ctx context.Context)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetDefaults()
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetHTTPClient(client *http.Client)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageColumn(pageColumn *string)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageOrder(pageOrder *string)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageSize(pageSize *int64)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageToken(pageToken *string)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetSubscriberID(subscriberID string)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetTimeout(timeout time.Duration)
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithDefaults() *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageColumn(pageColumn *string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageOrder(pageOrder *string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageSize(pageSize *int64) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageToken(pageToken *string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithSubscriberID(subscriberID string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNotificationsV1SubscribersSubscriberIDNotificationsReader
- type GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized
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 (o *GetNotificationsV1SubscribersSubscriberIDNotificationsOK) Error() string
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsOK) GetPayload ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsOK) GetPayload() []*models.DtoNotification
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 ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetDefaults ¶
func (o *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 ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageColumn ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageColumn(pageColumn *string)
SetPageColumn adds the pageColumn to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageOrder ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageOrder(pageOrder *string)
SetPageOrder adds the pageOrder to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageSize ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageToken ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetPageToken(pageToken *string)
SetPageToken adds the pageToken to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetSubscriberID ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetSubscriberID(subscriberID string)
SetSubscriberID adds the subscriberId to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetTimeout ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithContext ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithContext adds the context to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithDefaults ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithDefaults() *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
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 ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithHTTPClient adds the HTTPClient to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageColumn ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageColumn(pageColumn *string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithPageColumn adds the pageColumn to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageOrder ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageOrder(pageOrder *string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithPageOrder adds the pageOrder to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageSize ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageSize(pageSize *int64) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithPageSize adds the pageSize to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageToken ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithPageToken(pageToken *string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithPageToken adds the pageToken to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithSubscriberID ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithSubscriberID(subscriberID string) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithSubscriberID adds the subscriberID to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithTimeout ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDNotificationsParams
WithTimeout adds the timeout to the get notifications v1 subscribers subscriber ID notifications params
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WriteToRequest ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized ¶
type GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized struct {
}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 (o *GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized) Error() string
func (*GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized) GetPayload ¶
func (o *GetNotificationsV1SubscribersSubscriberIDNotificationsUnauthorized) GetPayload() *models.ErrrErrorResponse