Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetNotificationsV1ChannelsEmailsChannelIDOK
- type GetNotificationsV1ChannelsEmailsChannelIDParams
- func NewGetNotificationsV1ChannelsEmailsChannelIDParams() *GetNotificationsV1ChannelsEmailsChannelIDParams
- func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithContext(ctx context.Context) *GetNotificationsV1ChannelsEmailsChannelIDParams
- func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient(client *http.Client) *GetNotificationsV1ChannelsEmailsChannelIDParams
- func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout(timeout time.Duration) *GetNotificationsV1ChannelsEmailsChannelIDParams
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID(channelID string)
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetContext(ctx context.Context)
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults()
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient(client *http.Client)
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout(timeout time.Duration)
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID(channelID string) *GetNotificationsV1ChannelsEmailsChannelIDParams
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithContext(ctx context.Context) *GetNotificationsV1ChannelsEmailsChannelIDParams
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults() *GetNotificationsV1ChannelsEmailsChannelIDParams
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient(client *http.Client) *GetNotificationsV1ChannelsEmailsChannelIDParams
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout(timeout time.Duration) *GetNotificationsV1ChannelsEmailsChannelIDParams
- func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNotificationsV1ChannelsEmailsChannelIDReader
- type GetNotificationsV1ChannelsEmailsChannelIDUnauthorized
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 channel email API
func (*Client) GetNotificationsV1ChannelsEmailsChannelID ¶
func (a *Client) GetNotificationsV1ChannelsEmailsChannelID(params *GetNotificationsV1ChannelsEmailsChannelIDParams, opts ...ClientOption) (*GetNotificationsV1ChannelsEmailsChannelIDOK, error)
GetNotificationsV1ChannelsEmailsChannelID gets email notification channel
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 { GetNotificationsV1ChannelsEmailsChannelID(params *GetNotificationsV1ChannelsEmailsChannelIDParams, opts ...ClientOption) (*GetNotificationsV1ChannelsEmailsChannelIDOK, 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 channel email API client.
type GetNotificationsV1ChannelsEmailsChannelIDOK ¶
type GetNotificationsV1ChannelsEmailsChannelIDOK struct {
Payload *models.DtoChannelEmail
}
GetNotificationsV1ChannelsEmailsChannelIDOK describes a response with status code 200, with default header values.
OK
func NewGetNotificationsV1ChannelsEmailsChannelIDOK ¶
func NewGetNotificationsV1ChannelsEmailsChannelIDOK() *GetNotificationsV1ChannelsEmailsChannelIDOK
NewGetNotificationsV1ChannelsEmailsChannelIDOK creates a GetNotificationsV1ChannelsEmailsChannelIDOK with default headers values
func (*GetNotificationsV1ChannelsEmailsChannelIDOK) Error ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDOK) Error() string
func (*GetNotificationsV1ChannelsEmailsChannelIDOK) GetPayload ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDOK) GetPayload() *models.DtoChannelEmail
type GetNotificationsV1ChannelsEmailsChannelIDParams ¶
type GetNotificationsV1ChannelsEmailsChannelIDParams struct { /* ChannelID. channel id */ ChannelID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNotificationsV1ChannelsEmailsChannelIDParams contains all the parameters to send to the API endpoint
for the get notifications v1 channels emails channel ID operation. Typically these are written to a http.Request.
func NewGetNotificationsV1ChannelsEmailsChannelIDParams ¶
func NewGetNotificationsV1ChannelsEmailsChannelIDParams() *GetNotificationsV1ChannelsEmailsChannelIDParams
NewGetNotificationsV1ChannelsEmailsChannelIDParams creates a new GetNotificationsV1ChannelsEmailsChannelIDParams 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 NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithContext ¶
func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithContext(ctx context.Context) *GetNotificationsV1ChannelsEmailsChannelIDParams
NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithContext creates a new GetNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a context for a request.
func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient ¶
func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient(client *http.Client) *GetNotificationsV1ChannelsEmailsChannelIDParams
NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient creates a new GetNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout ¶
func NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout(timeout time.Duration) *GetNotificationsV1ChannelsEmailsChannelIDParams
NewGetNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout creates a new GetNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a timeout on a request.
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) SetContext ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults()
SetDefaults hydrates default values in the get notifications v1 channels emails channel ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID(channelID string) *GetNotificationsV1ChannelsEmailsChannelIDParams
WithChannelID adds the channelID to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithContext ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithContext(ctx context.Context) *GetNotificationsV1ChannelsEmailsChannelIDParams
WithContext adds the context to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults() *GetNotificationsV1ChannelsEmailsChannelIDParams
WithDefaults hydrates default values in the get notifications v1 channels emails channel ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient(client *http.Client) *GetNotificationsV1ChannelsEmailsChannelIDParams
WithHTTPClient adds the HTTPClient to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout(timeout time.Duration) *GetNotificationsV1ChannelsEmailsChannelIDParams
WithTimeout adds the timeout to the get notifications v1 channels emails channel ID params
func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNotificationsV1ChannelsEmailsChannelIDReader ¶
type GetNotificationsV1ChannelsEmailsChannelIDReader struct {
// contains filtered or unexported fields
}
GetNotificationsV1ChannelsEmailsChannelIDReader is a Reader for the GetNotificationsV1ChannelsEmailsChannelID structure.
func (*GetNotificationsV1ChannelsEmailsChannelIDReader) ReadResponse ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNotificationsV1ChannelsEmailsChannelIDUnauthorized ¶
type GetNotificationsV1ChannelsEmailsChannelIDUnauthorized struct {
}GetNotificationsV1ChannelsEmailsChannelIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetNotificationsV1ChannelsEmailsChannelIDUnauthorized ¶
func NewGetNotificationsV1ChannelsEmailsChannelIDUnauthorized() *GetNotificationsV1ChannelsEmailsChannelIDUnauthorized
NewGetNotificationsV1ChannelsEmailsChannelIDUnauthorized creates a GetNotificationsV1ChannelsEmailsChannelIDUnauthorized with default headers values
func (*GetNotificationsV1ChannelsEmailsChannelIDUnauthorized) Error ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDUnauthorized) Error() string
func (*GetNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload ¶
func (o *GetNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload() *models.ErrrErrorResponse