Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type DeleteNotificationsV1ChannelsEmailsChannelIDNotFound
- type DeleteNotificationsV1ChannelsEmailsChannelIDOK
- type DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func NewDeleteNotificationsV1ChannelsEmailsChannelIDParams() *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithContext(ctx context.Context) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient(client *http.Client) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout(timeout time.Duration) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID(channelID string)
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetContext(ctx context.Context)
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults()
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID(channelID string) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithContext(ctx context.Context) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults() *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient(client *http.Client) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout(timeout time.Duration) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
- func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNotificationsV1ChannelsEmailsChannelIDReader
- type DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized
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 delete channel email API
func (*Client) DeleteNotificationsV1ChannelsEmailsChannelID ¶
func (a *Client) DeleteNotificationsV1ChannelsEmailsChannelID(params *DeleteNotificationsV1ChannelsEmailsChannelIDParams, opts ...ClientOption) (*DeleteNotificationsV1ChannelsEmailsChannelIDOK, error)
DeleteNotificationsV1ChannelsEmailsChannelID deletes 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 { DeleteNotificationsV1ChannelsEmailsChannelID(params *DeleteNotificationsV1ChannelsEmailsChannelIDParams, opts ...ClientOption) (*DeleteNotificationsV1ChannelsEmailsChannelIDOK, 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 delete channel email API client.
type DeleteNotificationsV1ChannelsEmailsChannelIDNotFound ¶
type DeleteNotificationsV1ChannelsEmailsChannelIDNotFound struct {
Payload *models.ErrrErrorResponse
}
DeleteNotificationsV1ChannelsEmailsChannelIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteNotificationsV1ChannelsEmailsChannelIDNotFound ¶
func NewDeleteNotificationsV1ChannelsEmailsChannelIDNotFound() *DeleteNotificationsV1ChannelsEmailsChannelIDNotFound
NewDeleteNotificationsV1ChannelsEmailsChannelIDNotFound creates a DeleteNotificationsV1ChannelsEmailsChannelIDNotFound with default headers values
func (*DeleteNotificationsV1ChannelsEmailsChannelIDNotFound) Error ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDNotFound) Error() string
func (*DeleteNotificationsV1ChannelsEmailsChannelIDNotFound) GetPayload ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDNotFound) GetPayload() *models.ErrrErrorResponse
type DeleteNotificationsV1ChannelsEmailsChannelIDOK ¶
type DeleteNotificationsV1ChannelsEmailsChannelIDOK struct { }
DeleteNotificationsV1ChannelsEmailsChannelIDOK describes a response with status code 200, with default header values.
DeleteNotificationsV1ChannelsEmailsChannelIDOK delete notifications v1 channels emails channel Id o k
func NewDeleteNotificationsV1ChannelsEmailsChannelIDOK ¶
func NewDeleteNotificationsV1ChannelsEmailsChannelIDOK() *DeleteNotificationsV1ChannelsEmailsChannelIDOK
NewDeleteNotificationsV1ChannelsEmailsChannelIDOK creates a DeleteNotificationsV1ChannelsEmailsChannelIDOK with default headers values
func (*DeleteNotificationsV1ChannelsEmailsChannelIDOK) Error ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDOK) Error() string
type DeleteNotificationsV1ChannelsEmailsChannelIDParams ¶
type DeleteNotificationsV1ChannelsEmailsChannelIDParams struct { /* ChannelID. channel id */ ChannelID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNotificationsV1ChannelsEmailsChannelIDParams contains all the parameters to send to the API endpoint
for the delete notifications v1 channels emails channel ID operation. Typically these are written to a http.Request.
func NewDeleteNotificationsV1ChannelsEmailsChannelIDParams ¶
func NewDeleteNotificationsV1ChannelsEmailsChannelIDParams() *DeleteNotificationsV1ChannelsEmailsChannelIDParams
NewDeleteNotificationsV1ChannelsEmailsChannelIDParams creates a new DeleteNotificationsV1ChannelsEmailsChannelIDParams 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 NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithContext ¶
func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithContext(ctx context.Context) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithContext creates a new DeleteNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a context for a request.
func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient ¶
func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient(client *http.Client) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient creates a new DeleteNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout ¶
func NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout(timeout time.Duration) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
NewDeleteNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout creates a new DeleteNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a timeout on a request.
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID(channelID string)
SetChannelID adds the channelId to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetContext ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults()
SetDefaults hydrates default values in the delete notifications v1 channels emails channel ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID(channelID string) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
WithChannelID adds the channelID to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithContext ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithContext(ctx context.Context) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
WithContext adds the context to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults() *DeleteNotificationsV1ChannelsEmailsChannelIDParams
WithDefaults hydrates default values in the delete notifications v1 channels emails channel ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient(client *http.Client) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
WithHTTPClient adds the HTTPClient to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout(timeout time.Duration) *DeleteNotificationsV1ChannelsEmailsChannelIDParams
WithTimeout adds the timeout to the delete notifications v1 channels emails channel ID params
func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNotificationsV1ChannelsEmailsChannelIDReader ¶
type DeleteNotificationsV1ChannelsEmailsChannelIDReader struct {
// contains filtered or unexported fields
}
DeleteNotificationsV1ChannelsEmailsChannelIDReader is a Reader for the DeleteNotificationsV1ChannelsEmailsChannelID structure.
func (*DeleteNotificationsV1ChannelsEmailsChannelIDReader) ReadResponse ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized ¶
type DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized struct {
}DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized ¶
func NewDeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized() *DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized
NewDeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized creates a DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized with default headers values
func (*DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized) Error ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized) Error() string
func (*DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload ¶
func (o *DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload() *models.ErrrErrorResponse