Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK
- type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams() *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetContext(ctx context.Context)
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetDefaults()
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetHTTPClient(client *http.Client)
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetSubscriberID(subscriberID string)
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetTimeout(timeout time.Duration)
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithDefaults() *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithSubscriberID(subscriberID string) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
- func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsReader
- type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized
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 subscribers channel email API
func (*Client) GetNotificationsV1SubscribersSubscriberIDChannelsEmails ¶
func (a *Client) GetNotificationsV1SubscribersSubscriberIDChannelsEmails(params *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams, opts ...ClientOption) (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK, error)
GetNotificationsV1SubscribersSubscriberIDChannelsEmails lists email notification channels for 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 { GetNotificationsV1SubscribersSubscriberIDChannelsEmails(params *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams, opts ...ClientOption) (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK, 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 subscribers channel email API client.
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK ¶
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK struct {
Payload []*models.DtoChannelEmail
}
GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK describes a response with status code 200, with default header values.
OK
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK ¶
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK() *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK
NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK creates a GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK with default headers values
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK) Error ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK) Error() string
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK) GetPayload ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsOK) GetPayload() []*models.DtoChannelEmail
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams ¶
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams struct { /* SubscriberID. subscriber id i.e. user id */ SubscriberID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams contains all the parameters to send to the API endpoint
for the get notifications v1 subscribers subscriber ID channels emails operation. Typically these are written to a http.Request.
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams ¶
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams() *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams creates a new GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams 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 NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithContext ¶
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithContext creates a new GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams object with the ability to set a context for a request.
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithHTTPClient ¶
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithHTTPClient creates a new GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithTimeout ¶
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithTimeout creates a new GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams object with the ability to set a timeout on a request.
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetContext ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetContext(ctx context.Context)
SetContext adds the context to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetDefaults ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetDefaults()
SetDefaults hydrates default values in the get notifications v1 subscribers subscriber ID channels emails params (not the query body).
All values with no default are reset to their zero value.
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetHTTPClient ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetSubscriberID ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetSubscriberID(subscriberID string)
SetSubscriberID adds the subscriberId to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetTimeout ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithContext ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithContext(ctx context.Context) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
WithContext adds the context to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithDefaults ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithDefaults() *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
WithDefaults hydrates default values in the get notifications v1 subscribers subscriber ID channels emails params (not the query body).
All values with no default are reset to their zero value.
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithHTTPClient ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithHTTPClient(client *http.Client) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
WithHTTPClient adds the HTTPClient to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithSubscriberID ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithSubscriberID(subscriberID string) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
WithSubscriberID adds the subscriberID to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithTimeout ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithTimeout(timeout time.Duration) *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams
WithTimeout adds the timeout to the get notifications v1 subscribers subscriber ID channels emails params
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WriteToRequest ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsReader ¶
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsReader struct {
// contains filtered or unexported fields
}
GetNotificationsV1SubscribersSubscriberIDChannelsEmailsReader is a Reader for the GetNotificationsV1SubscribersSubscriberIDChannelsEmails structure.
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsReader) ReadResponse ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized ¶
type GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized struct {
}GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized ¶
func NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized() *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized
NewGetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized creates a GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized with default headers values
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized) Error ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized) Error() string
func (*GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized) GetPayload ¶
func (o *GetNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized) GetPayload() *models.ErrrErrorResponse