create_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 create channel email API

func (*Client) PostNotificationsV1SubscribersSubscriberIDChannelsEmails

PostNotificationsV1SubscribersSubscriberIDChannelsEmails creates email notification channel for a subscriber

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 {
	PostNotificationsV1SubscribersSubscriberIDChannelsEmails(params *PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams, opts ...ClientOption) (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated, 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 create channel email API client.

type PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated

type PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated struct {
	Payload *models.DtoChannelEmail
}
PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated describes a response with status code 201, with default header values.

Created

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated() *PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated

NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated creates a PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated with default headers values

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated) Error

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsCreated) GetPayload

type PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams

type PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams struct {

	/* Request.

	   Request Body
	*/
	Request *models.DtoCreateChannelEmail

	/* SubscriberID.

	   subscriber id i.e. user id
	*/
	SubscriberID string

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

PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams contains all the parameters to send to the API endpoint

for the post notifications v1 subscribers subscriber ID channels emails operation.

Typically these are written to a http.Request.

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams() *PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams

NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams creates a new PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams 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 NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithContext

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithContext(ctx context.Context) *PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams

NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithContext creates a new PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams object with the ability to set a context for a request.

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithHTTPClient

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithHTTPClient(client *http.Client) *PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams

NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithHTTPClient creates a new PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams object with the ability to set a custom HTTPClient for a request.

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithTimeout

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithTimeout(timeout time.Duration) *PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams

NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsParamsWithTimeout creates a new PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams object with the ability to set a timeout on a request.

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetContext

SetContext adds the context to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetDefaults

SetDefaults hydrates default values in the post notifications v1 subscribers subscriber ID channels emails params (not the query body).

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

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetRequest

SetRequest adds the request to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetSubscriberID

SetSubscriberID adds the subscriberId to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) SetTimeout

SetTimeout adds the timeout to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithContext

WithContext adds the context to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithDefaults

WithDefaults hydrates default values in the post notifications v1 subscribers subscriber ID channels emails params (not the query body).

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

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithRequest

WithRequest adds the request to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithSubscriberID

WithSubscriberID adds the subscriberID to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WithTimeout

WithTimeout adds the timeout to the post notifications v1 subscribers subscriber ID channels emails params

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostNotificationsV1SubscribersSubscriberIDChannelsEmailsReader

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

PostNotificationsV1SubscribersSubscriberIDChannelsEmailsReader is a Reader for the PostNotificationsV1SubscribersSubscriberIDChannelsEmails structure.

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsReader) ReadResponse

ReadResponse reads a server response into the received o.

type PostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized

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

Unauthorized

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized

func NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized() *PostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized

NewPostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized creates a PostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized with default headers values

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized) Error

func (*PostNotificationsV1SubscribersSubscriberIDChannelsEmailsUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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