update_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 update channel email API

func (*Client) PatchNotificationsV1ChannelsEmailsChannelID

func (a *Client) PatchNotificationsV1ChannelsEmailsChannelID(params *PatchNotificationsV1ChannelsEmailsChannelIDParams, opts ...ClientOption) (*PatchNotificationsV1ChannelsEmailsChannelIDOK, error)

PatchNotificationsV1ChannelsEmailsChannelID updates 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 {
	PatchNotificationsV1ChannelsEmailsChannelID(params *PatchNotificationsV1ChannelsEmailsChannelIDParams, opts ...ClientOption) (*PatchNotificationsV1ChannelsEmailsChannelIDOK, 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 update channel email API client.

type PatchNotificationsV1ChannelsEmailsChannelIDNotFound

type PatchNotificationsV1ChannelsEmailsChannelIDNotFound struct {
	Payload *models.ErrrErrorResponse
}
PatchNotificationsV1ChannelsEmailsChannelIDNotFound describes a response with status code 404, with default header values.

Not Found

func NewPatchNotificationsV1ChannelsEmailsChannelIDNotFound

func NewPatchNotificationsV1ChannelsEmailsChannelIDNotFound() *PatchNotificationsV1ChannelsEmailsChannelIDNotFound

NewPatchNotificationsV1ChannelsEmailsChannelIDNotFound creates a PatchNotificationsV1ChannelsEmailsChannelIDNotFound with default headers values

func (*PatchNotificationsV1ChannelsEmailsChannelIDNotFound) Error

func (*PatchNotificationsV1ChannelsEmailsChannelIDNotFound) GetPayload

type PatchNotificationsV1ChannelsEmailsChannelIDOK

type PatchNotificationsV1ChannelsEmailsChannelIDOK struct {
}
PatchNotificationsV1ChannelsEmailsChannelIDOK describes a response with status code 200, with default header values.

PatchNotificationsV1ChannelsEmailsChannelIDOK patch notifications v1 channels emails channel Id o k

func NewPatchNotificationsV1ChannelsEmailsChannelIDOK

func NewPatchNotificationsV1ChannelsEmailsChannelIDOK() *PatchNotificationsV1ChannelsEmailsChannelIDOK

NewPatchNotificationsV1ChannelsEmailsChannelIDOK creates a PatchNotificationsV1ChannelsEmailsChannelIDOK with default headers values

func (*PatchNotificationsV1ChannelsEmailsChannelIDOK) Error

type PatchNotificationsV1ChannelsEmailsChannelIDParams

type PatchNotificationsV1ChannelsEmailsChannelIDParams struct {

	/* ChannelID.

	   channel id
	*/
	ChannelID string

	/* Request.

	   Request Body
	*/
	Request *models.DtoUpdateChannelEmail

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchNotificationsV1ChannelsEmailsChannelIDParams contains all the parameters to send to the API endpoint

for the patch notifications v1 channels emails channel ID operation.

Typically these are written to a http.Request.

func NewPatchNotificationsV1ChannelsEmailsChannelIDParams

func NewPatchNotificationsV1ChannelsEmailsChannelIDParams() *PatchNotificationsV1ChannelsEmailsChannelIDParams

NewPatchNotificationsV1ChannelsEmailsChannelIDParams creates a new PatchNotificationsV1ChannelsEmailsChannelIDParams 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 NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithContext

func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithContext(ctx context.Context) *PatchNotificationsV1ChannelsEmailsChannelIDParams

NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithContext creates a new PatchNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a context for a request.

func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient

func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient(client *http.Client) *PatchNotificationsV1ChannelsEmailsChannelIDParams

NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient creates a new PatchNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout

func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout(timeout time.Duration) *PatchNotificationsV1ChannelsEmailsChannelIDParams

NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout creates a new PatchNotificationsV1ChannelsEmailsChannelIDParams object with the ability to set a timeout on a request.

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID

func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID(channelID string)

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetContext

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults

SetDefaults hydrates default values in the patch notifications v1 channels emails channel ID params (not the query body).

All values with no default are reset to their zero value.

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetRequest

SetRequest adds the request to the patch notifications v1 channels emails channel ID params

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithContext

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults

WithDefaults hydrates default values in the patch notifications v1 channels emails channel ID params (not the query body).

All values with no default are reset to their zero value.

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithRequest

WithRequest adds the request to the patch notifications v1 channels emails channel ID params

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout

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

func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchNotificationsV1ChannelsEmailsChannelIDReader

type PatchNotificationsV1ChannelsEmailsChannelIDReader struct {
	// contains filtered or unexported fields
}

PatchNotificationsV1ChannelsEmailsChannelIDReader is a Reader for the PatchNotificationsV1ChannelsEmailsChannelID structure.

func (*PatchNotificationsV1ChannelsEmailsChannelIDReader) ReadResponse

func (o *PatchNotificationsV1ChannelsEmailsChannelIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized

type PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized struct {
	Payload *models.ErrrErrorResponse
}
PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewPatchNotificationsV1ChannelsEmailsChannelIDUnauthorized

func NewPatchNotificationsV1ChannelsEmailsChannelIDUnauthorized() *PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized

NewPatchNotificationsV1ChannelsEmailsChannelIDUnauthorized creates a PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized with default headers values

func (*PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized) Error

func (*PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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