Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type PatchNotificationsV1ChannelsEmailsChannelIDNotFound
- type PatchNotificationsV1ChannelsEmailsChannelIDOK
- type PatchNotificationsV1ChannelsEmailsChannelIDParams
- func NewPatchNotificationsV1ChannelsEmailsChannelIDParams() *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithContext(ctx context.Context) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithHTTPClient(client *http.Client) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func NewPatchNotificationsV1ChannelsEmailsChannelIDParamsWithTimeout(timeout time.Duration) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetChannelID(channelID string)
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetContext(ctx context.Context)
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults()
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetRequest(request *models.DtoUpdateChannelEmail)
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID(channelID string) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithContext(ctx context.Context) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults() *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient(client *http.Client) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithRequest(request *models.DtoUpdateChannelEmail) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout(timeout time.Duration) *PatchNotificationsV1ChannelsEmailsChannelIDParams
- func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchNotificationsV1ChannelsEmailsChannelIDReader
- type PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized
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 (o *PatchNotificationsV1ChannelsEmailsChannelIDNotFound) Error() string
func (*PatchNotificationsV1ChannelsEmailsChannelIDNotFound) GetPayload ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDNotFound) GetPayload() *models.ErrrErrorResponse
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 ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDOK) Error() string
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 ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetDefaults ¶
func (o *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 ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetRequest ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetRequest(request *models.DtoUpdateChannelEmail)
SetRequest adds the request to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithChannelID(channelID string) *PatchNotificationsV1ChannelsEmailsChannelIDParams
WithChannelID adds the channelID to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithContext ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithContext(ctx context.Context) *PatchNotificationsV1ChannelsEmailsChannelIDParams
WithContext adds the context to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithDefaults() *PatchNotificationsV1ChannelsEmailsChannelIDParams
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 ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithHTTPClient(client *http.Client) *PatchNotificationsV1ChannelsEmailsChannelIDParams
WithHTTPClient adds the HTTPClient to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithRequest ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithRequest(request *models.DtoUpdateChannelEmail) *PatchNotificationsV1ChannelsEmailsChannelIDParams
WithRequest adds the request to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WithTimeout(timeout time.Duration) *PatchNotificationsV1ChannelsEmailsChannelIDParams
WithTimeout adds the timeout to the patch notifications v1 channels emails channel ID params
func (*PatchNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized) Error() string
func (*PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload ¶
func (o *PatchNotificationsV1ChannelsEmailsChannelIDUnauthorized) GetPayload() *models.ErrrErrorResponse