delete_preference

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

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

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

SetContext adds the context to the delete notifications v1 preferences preference ID params

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

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

SetTimeout adds the timeout to the delete notifications v1 preferences preference ID params

func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithContext

WithContext adds the context to the delete notifications v1 preferences preference ID params

func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete notifications v1 preferences preference ID params

func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithPreferenceID

WithPreferenceID adds the preferenceID to the delete notifications v1 preferences preference ID params

func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WithTimeout

WithTimeout adds the timeout to the delete notifications v1 preferences preference ID params

func (*DeleteNotificationsV1PreferencesPreferenceIDParams) WriteToRequest

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

Jump to

Keyboard shortcuts

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