delete_channel_email

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: 10 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 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 (*DeleteNotificationsV1ChannelsEmailsChannelIDNotFound) GetPayload

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

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

SetChannelID adds the channelId to the delete notifications v1 channels emails channel ID params

func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetContext

SetContext adds the context to the delete notifications v1 channels emails channel ID params

func (*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

SetHTTPClient adds the HTTPClient to the delete notifications v1 channels emails channel ID params

func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout

SetTimeout adds the timeout to the delete notifications v1 channels emails channel ID params

func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID

WithChannelID adds the channelID to the delete notifications v1 channels emails channel ID params

func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithContext

WithContext adds the context to the delete notifications v1 channels emails channel ID params

func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete notifications v1 channels emails channel ID params

func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout

WithTimeout adds the timeout to the delete notifications v1 channels emails channel ID params

func (*DeleteNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest

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 {
	Payload *models.ErrrErrorResponse
}
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 (*DeleteNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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