Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type DeleteNotificationsV1PreferencesPreferenceIDNotFound
- type DeleteNotificationsV1PreferencesPreferenceIDOK
- type DeleteNotificationsV1PreferencesPreferenceIDParams
- func NewDeleteNotificationsV1PreferencesPreferenceIDParams() *DeleteNotificationsV1PreferencesPreferenceIDParams
- func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithContext(ctx context.Context) *DeleteNotificationsV1PreferencesPreferenceIDParams
- func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithHTTPClient(client *http.Client) *DeleteNotificationsV1PreferencesPreferenceIDParams
- func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithTimeout(timeout time.Duration) *DeleteNotificationsV1PreferencesPreferenceIDParams
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetContext(ctx context.Context)
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetDefaults()
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetPreferenceID(preferenceID string)
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithContext(ctx context.Context) *DeleteNotificationsV1PreferencesPreferenceIDParams
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithDefaults() *DeleteNotificationsV1PreferencesPreferenceIDParams
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithHTTPClient(client *http.Client) *DeleteNotificationsV1PreferencesPreferenceIDParams
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithPreferenceID(preferenceID string) *DeleteNotificationsV1PreferencesPreferenceIDParams
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithTimeout(timeout time.Duration) *DeleteNotificationsV1PreferencesPreferenceIDParams
- func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNotificationsV1PreferencesPreferenceIDReader
- type DeleteNotificationsV1PreferencesPreferenceIDUnauthorized
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 preference API
func (*Client) DeleteNotificationsV1PreferencesPreferenceID ¶
func (a *Client) DeleteNotificationsV1PreferencesPreferenceID(params *DeleteNotificationsV1PreferencesPreferenceIDParams, opts ...ClientOption) (*DeleteNotificationsV1PreferencesPreferenceIDOK, error)
DeleteNotificationsV1PreferencesPreferenceID deletes notification preference
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 { DeleteNotificationsV1PreferencesPreferenceID(params *DeleteNotificationsV1PreferencesPreferenceIDParams, opts ...ClientOption) (*DeleteNotificationsV1PreferencesPreferenceIDOK, 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 preference API client.
type DeleteNotificationsV1PreferencesPreferenceIDNotFound ¶
type DeleteNotificationsV1PreferencesPreferenceIDNotFound struct {
Payload *models.ErrrErrorResponse
}
DeleteNotificationsV1PreferencesPreferenceIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewDeleteNotificationsV1PreferencesPreferenceIDNotFound ¶
func NewDeleteNotificationsV1PreferencesPreferenceIDNotFound() *DeleteNotificationsV1PreferencesPreferenceIDNotFound
NewDeleteNotificationsV1PreferencesPreferenceIDNotFound creates a DeleteNotificationsV1PreferencesPreferenceIDNotFound with default headers values
func (*DeleteNotificationsV1PreferencesPreferenceIDNotFound) Error ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDNotFound) Error() string
func (*DeleteNotificationsV1PreferencesPreferenceIDNotFound) GetPayload ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDNotFound) GetPayload() *models.ErrrErrorResponse
type DeleteNotificationsV1PreferencesPreferenceIDOK ¶
type DeleteNotificationsV1PreferencesPreferenceIDOK struct { }
DeleteNotificationsV1PreferencesPreferenceIDOK describes a response with status code 200, with default header values.
DeleteNotificationsV1PreferencesPreferenceIDOK delete notifications v1 preferences preference Id o k
func NewDeleteNotificationsV1PreferencesPreferenceIDOK ¶
func NewDeleteNotificationsV1PreferencesPreferenceIDOK() *DeleteNotificationsV1PreferencesPreferenceIDOK
NewDeleteNotificationsV1PreferencesPreferenceIDOK creates a DeleteNotificationsV1PreferencesPreferenceIDOK with default headers values
func (*DeleteNotificationsV1PreferencesPreferenceIDOK) Error ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDOK) Error() string
type DeleteNotificationsV1PreferencesPreferenceIDParams ¶
type DeleteNotificationsV1PreferencesPreferenceIDParams struct { /* PreferenceID. preference id */ PreferenceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNotificationsV1PreferencesPreferenceIDParams contains all the parameters to send to the API endpoint
for the delete notifications v1 preferences preference ID operation. Typically these are written to a http.Request.
func NewDeleteNotificationsV1PreferencesPreferenceIDParams ¶
func NewDeleteNotificationsV1PreferencesPreferenceIDParams() *DeleteNotificationsV1PreferencesPreferenceIDParams
NewDeleteNotificationsV1PreferencesPreferenceIDParams creates a new DeleteNotificationsV1PreferencesPreferenceIDParams 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 NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithContext ¶
func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithContext(ctx context.Context) *DeleteNotificationsV1PreferencesPreferenceIDParams
NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithContext creates a new DeleteNotificationsV1PreferencesPreferenceIDParams object with the ability to set a context for a request.
func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithHTTPClient ¶
func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithHTTPClient(client *http.Client) *DeleteNotificationsV1PreferencesPreferenceIDParams
NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithHTTPClient creates a new DeleteNotificationsV1PreferencesPreferenceIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithTimeout ¶
func NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithTimeout(timeout time.Duration) *DeleteNotificationsV1PreferencesPreferenceIDParams
NewDeleteNotificationsV1PreferencesPreferenceIDParamsWithTimeout creates a new DeleteNotificationsV1PreferencesPreferenceIDParams object with the ability to set a timeout on a request.
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) SetContext ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) SetDefaults ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetDefaults()
SetDefaults hydrates default values in the delete notifications v1 preferences preference ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) SetHTTPClient ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) SetPreferenceID ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetPreferenceID(preferenceID string)
SetPreferenceID adds the preferenceId to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) SetTimeout ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithContext ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithContext(ctx context.Context) *DeleteNotificationsV1PreferencesPreferenceIDParams
WithContext adds the context to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithDefaults ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithDefaults() *DeleteNotificationsV1PreferencesPreferenceIDParams
WithDefaults hydrates default values in the delete notifications v1 preferences preference ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithHTTPClient ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithHTTPClient(client *http.Client) *DeleteNotificationsV1PreferencesPreferenceIDParams
WithHTTPClient adds the HTTPClient to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithPreferenceID ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithPreferenceID(preferenceID string) *DeleteNotificationsV1PreferencesPreferenceIDParams
WithPreferenceID adds the preferenceID to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithTimeout ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WithTimeout(timeout time.Duration) *DeleteNotificationsV1PreferencesPreferenceIDParams
WithTimeout adds the timeout to the delete notifications v1 preferences preference ID params
func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WriteToRequest ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNotificationsV1PreferencesPreferenceIDReader ¶
type DeleteNotificationsV1PreferencesPreferenceIDReader struct {
// contains filtered or unexported fields
}
DeleteNotificationsV1PreferencesPreferenceIDReader is a Reader for the DeleteNotificationsV1PreferencesPreferenceID structure.
func (*DeleteNotificationsV1PreferencesPreferenceIDReader) ReadResponse ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNotificationsV1PreferencesPreferenceIDUnauthorized ¶
type DeleteNotificationsV1PreferencesPreferenceIDUnauthorized struct {
}DeleteNotificationsV1PreferencesPreferenceIDUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteNotificationsV1PreferencesPreferenceIDUnauthorized ¶
func NewDeleteNotificationsV1PreferencesPreferenceIDUnauthorized() *DeleteNotificationsV1PreferencesPreferenceIDUnauthorized
NewDeleteNotificationsV1PreferencesPreferenceIDUnauthorized creates a DeleteNotificationsV1PreferencesPreferenceIDUnauthorized with default headers values
func (*DeleteNotificationsV1PreferencesPreferenceIDUnauthorized) Error ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDUnauthorized) Error() string
func (*DeleteNotificationsV1PreferencesPreferenceIDUnauthorized) GetPayload ¶
func (o *DeleteNotificationsV1PreferencesPreferenceIDUnauthorized) GetPayload() *models.ErrrErrorResponse