get_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 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 (*GetNotificationsV1ChannelsEmailsChannelIDOK) GetPayload

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

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

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

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

func (*GetNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout

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

func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID

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

func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithContext

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

func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults

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

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

func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout

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

func (*GetNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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