notification

package
v0.0.0-...-14d5a85 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 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 notification API

func (*Client) NotificationResourceDeleteDelete

NotificationResourceDeleteDelete deletes a notification configuration

func (*Client) NotificationResourceGetGet

func (a *Client) NotificationResourceGetGet(params *NotificationResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationResourceGetGetOK, error)

NotificationResourceGetGet gets a notification configuration

func (*Client) NotificationResourcePostPost

func (a *Client) NotificationResourcePostPost(params *NotificationResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationResourcePostPostOK, error)

NotificationResourcePostPost updates a notification configuration

func (*Client) NotificationsResourceGetGet

func (a *Client) NotificationsResourceGetGet(params *NotificationsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationsResourceGetGetOK, error)

NotificationsResourceGetGet gets all notifications attached to your account

func (*Client) NotificationsResourcePutPut

func (a *Client) NotificationsResourcePutPut(params *NotificationsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationsResourcePutPutOK, error)

NotificationsResourcePutPut creates a notification configuration

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 {
	NotificationResourceDeleteDelete(params *NotificationResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationResourceDeleteDeleteNoContent, error)

	NotificationResourceGetGet(params *NotificationResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationResourceGetGetOK, error)

	NotificationResourcePostPost(params *NotificationResourcePostPostParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationResourcePostPostOK, error)

	NotificationsResourceGetGet(params *NotificationsResourceGetGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationsResourceGetGetOK, error)

	NotificationsResourcePutPut(params *NotificationsResourcePutPutParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationsResourcePutPutOK, 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 notification API client.

type NotificationResourceDeleteDeleteForbidden

type NotificationResourceDeleteDeleteForbidden struct {
}

NotificationResourceDeleteDeleteForbidden describes a response with status code 403, with default header values.

Forbidden

func NewNotificationResourceDeleteDeleteForbidden

func NewNotificationResourceDeleteDeleteForbidden() *NotificationResourceDeleteDeleteForbidden

NewNotificationResourceDeleteDeleteForbidden creates a NotificationResourceDeleteDeleteForbidden with default headers values

func (*NotificationResourceDeleteDeleteForbidden) Code

Code gets the status code for the notification resource delete delete forbidden response

func (*NotificationResourceDeleteDeleteForbidden) Error

func (*NotificationResourceDeleteDeleteForbidden) IsClientError

IsClientError returns true when this notification resource delete delete forbidden response has a 4xx status code

func (*NotificationResourceDeleteDeleteForbidden) IsCode

IsCode returns true when this notification resource delete delete forbidden response a status code equal to that given

func (*NotificationResourceDeleteDeleteForbidden) IsRedirect

IsRedirect returns true when this notification resource delete delete forbidden response has a 3xx status code

func (*NotificationResourceDeleteDeleteForbidden) IsServerError

IsServerError returns true when this notification resource delete delete forbidden response has a 5xx status code

func (*NotificationResourceDeleteDeleteForbidden) IsSuccess

IsSuccess returns true when this notification resource delete delete forbidden response has a 2xx status code

func (*NotificationResourceDeleteDeleteForbidden) String

type NotificationResourceDeleteDeleteMethodNotAllowed

type NotificationResourceDeleteDeleteMethodNotAllowed struct {
}

NotificationResourceDeleteDeleteMethodNotAllowed describes a response with status code 405, with default header values.

Not allowed

func NewNotificationResourceDeleteDeleteMethodNotAllowed

func NewNotificationResourceDeleteDeleteMethodNotAllowed() *NotificationResourceDeleteDeleteMethodNotAllowed

NewNotificationResourceDeleteDeleteMethodNotAllowed creates a NotificationResourceDeleteDeleteMethodNotAllowed with default headers values

func (*NotificationResourceDeleteDeleteMethodNotAllowed) Code

Code gets the status code for the notification resource delete delete method not allowed response

func (*NotificationResourceDeleteDeleteMethodNotAllowed) Error

func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsClientError

IsClientError returns true when this notification resource delete delete method not allowed response has a 4xx status code

func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsCode

IsCode returns true when this notification resource delete delete method not allowed response a status code equal to that given

func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsRedirect

IsRedirect returns true when this notification resource delete delete method not allowed response has a 3xx status code

func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsServerError

IsServerError returns true when this notification resource delete delete method not allowed response has a 5xx status code

func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsSuccess

IsSuccess returns true when this notification resource delete delete method not allowed response has a 2xx status code

func (*NotificationResourceDeleteDeleteMethodNotAllowed) String

type NotificationResourceDeleteDeleteNoContent

type NotificationResourceDeleteDeleteNoContent struct {
}

NotificationResourceDeleteDeleteNoContent describes a response with status code 204, with default header values.

Ok

func NewNotificationResourceDeleteDeleteNoContent

func NewNotificationResourceDeleteDeleteNoContent() *NotificationResourceDeleteDeleteNoContent

NewNotificationResourceDeleteDeleteNoContent creates a NotificationResourceDeleteDeleteNoContent with default headers values

func (*NotificationResourceDeleteDeleteNoContent) Code

Code gets the status code for the notification resource delete delete no content response

func (*NotificationResourceDeleteDeleteNoContent) Error

func (*NotificationResourceDeleteDeleteNoContent) IsClientError

IsClientError returns true when this notification resource delete delete no content response has a 4xx status code

func (*NotificationResourceDeleteDeleteNoContent) IsCode

IsCode returns true when this notification resource delete delete no content response a status code equal to that given

func (*NotificationResourceDeleteDeleteNoContent) IsRedirect

IsRedirect returns true when this notification resource delete delete no content response has a 3xx status code

func (*NotificationResourceDeleteDeleteNoContent) IsServerError

IsServerError returns true when this notification resource delete delete no content response has a 5xx status code

func (*NotificationResourceDeleteDeleteNoContent) IsSuccess

IsSuccess returns true when this notification resource delete delete no content response has a 2xx status code

func (*NotificationResourceDeleteDeleteNoContent) String

type NotificationResourceDeleteDeleteParams

type NotificationResourceDeleteDeleteParams struct {

	/* NotificationID.

	   The unique notification ID
	*/
	NotificationID string

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

NotificationResourceDeleteDeleteParams contains all the parameters to send to the API endpoint

for the notification resource delete delete operation.

Typically these are written to a http.Request.

func NewNotificationResourceDeleteDeleteParams

func NewNotificationResourceDeleteDeleteParams() *NotificationResourceDeleteDeleteParams

NewNotificationResourceDeleteDeleteParams creates a new NotificationResourceDeleteDeleteParams 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 NewNotificationResourceDeleteDeleteParamsWithContext

func NewNotificationResourceDeleteDeleteParamsWithContext(ctx context.Context) *NotificationResourceDeleteDeleteParams

NewNotificationResourceDeleteDeleteParamsWithContext creates a new NotificationResourceDeleteDeleteParams object with the ability to set a context for a request.

func NewNotificationResourceDeleteDeleteParamsWithHTTPClient

func NewNotificationResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *NotificationResourceDeleteDeleteParams

NewNotificationResourceDeleteDeleteParamsWithHTTPClient creates a new NotificationResourceDeleteDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewNotificationResourceDeleteDeleteParamsWithTimeout

func NewNotificationResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *NotificationResourceDeleteDeleteParams

NewNotificationResourceDeleteDeleteParamsWithTimeout creates a new NotificationResourceDeleteDeleteParams object with the ability to set a timeout on a request.

func (*NotificationResourceDeleteDeleteParams) SetContext

SetContext adds the context to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) SetDefaults

func (o *NotificationResourceDeleteDeleteParams) SetDefaults()

SetDefaults hydrates default values in the notification resource delete delete params (not the query body).

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

func (*NotificationResourceDeleteDeleteParams) SetHTTPClient

func (o *NotificationResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) SetNotificationID

func (o *NotificationResourceDeleteDeleteParams) SetNotificationID(notificationID string)

SetNotificationID adds the notificationId to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) SetTimeout

func (o *NotificationResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) WithContext

WithContext adds the context to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) WithDefaults

WithDefaults hydrates default values in the notification resource delete delete params (not the query body).

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

func (*NotificationResourceDeleteDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) WithNotificationID

WithNotificationID adds the notificationID to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) WithTimeout

WithTimeout adds the timeout to the notification resource delete delete params

func (*NotificationResourceDeleteDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotificationResourceDeleteDeleteReader

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

NotificationResourceDeleteDeleteReader is a Reader for the NotificationResourceDeleteDelete structure.

func (*NotificationResourceDeleteDeleteReader) ReadResponse

func (o *NotificationResourceDeleteDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NotificationResourceDeleteDeleteUnauthorized

type NotificationResourceDeleteDeleteUnauthorized struct {
}

NotificationResourceDeleteDeleteUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewNotificationResourceDeleteDeleteUnauthorized

func NewNotificationResourceDeleteDeleteUnauthorized() *NotificationResourceDeleteDeleteUnauthorized

NewNotificationResourceDeleteDeleteUnauthorized creates a NotificationResourceDeleteDeleteUnauthorized with default headers values

func (*NotificationResourceDeleteDeleteUnauthorized) Code

Code gets the status code for the notification resource delete delete unauthorized response

func (*NotificationResourceDeleteDeleteUnauthorized) Error

func (*NotificationResourceDeleteDeleteUnauthorized) IsClientError

IsClientError returns true when this notification resource delete delete unauthorized response has a 4xx status code

func (*NotificationResourceDeleteDeleteUnauthorized) IsCode

IsCode returns true when this notification resource delete delete unauthorized response a status code equal to that given

func (*NotificationResourceDeleteDeleteUnauthorized) IsRedirect

IsRedirect returns true when this notification resource delete delete unauthorized response has a 3xx status code

func (*NotificationResourceDeleteDeleteUnauthorized) IsServerError

IsServerError returns true when this notification resource delete delete unauthorized response has a 5xx status code

func (*NotificationResourceDeleteDeleteUnauthorized) IsSuccess

IsSuccess returns true when this notification resource delete delete unauthorized response has a 2xx status code

func (*NotificationResourceDeleteDeleteUnauthorized) String

type NotificationResourceGetGetForbidden

type NotificationResourceGetGetForbidden struct {
}

NotificationResourceGetGetForbidden describes a response with status code 403, with default header values.

Forbidden

func NewNotificationResourceGetGetForbidden

func NewNotificationResourceGetGetForbidden() *NotificationResourceGetGetForbidden

NewNotificationResourceGetGetForbidden creates a NotificationResourceGetGetForbidden with default headers values

func (*NotificationResourceGetGetForbidden) Code

Code gets the status code for the notification resource get get forbidden response

func (*NotificationResourceGetGetForbidden) Error

func (*NotificationResourceGetGetForbidden) IsClientError

func (o *NotificationResourceGetGetForbidden) IsClientError() bool

IsClientError returns true when this notification resource get get forbidden response has a 4xx status code

func (*NotificationResourceGetGetForbidden) IsCode

IsCode returns true when this notification resource get get forbidden response a status code equal to that given

func (*NotificationResourceGetGetForbidden) IsRedirect

func (o *NotificationResourceGetGetForbidden) IsRedirect() bool

IsRedirect returns true when this notification resource get get forbidden response has a 3xx status code

func (*NotificationResourceGetGetForbidden) IsServerError

func (o *NotificationResourceGetGetForbidden) IsServerError() bool

IsServerError returns true when this notification resource get get forbidden response has a 5xx status code

func (*NotificationResourceGetGetForbidden) IsSuccess

IsSuccess returns true when this notification resource get get forbidden response has a 2xx status code

func (*NotificationResourceGetGetForbidden) String

type NotificationResourceGetGetNotFound

type NotificationResourceGetGetNotFound struct {
}

NotificationResourceGetGetNotFound describes a response with status code 404, with default header values.

Not found

func NewNotificationResourceGetGetNotFound

func NewNotificationResourceGetGetNotFound() *NotificationResourceGetGetNotFound

NewNotificationResourceGetGetNotFound creates a NotificationResourceGetGetNotFound with default headers values

func (*NotificationResourceGetGetNotFound) Code

Code gets the status code for the notification resource get get not found response

func (*NotificationResourceGetGetNotFound) Error

func (*NotificationResourceGetGetNotFound) IsClientError

func (o *NotificationResourceGetGetNotFound) IsClientError() bool

IsClientError returns true when this notification resource get get not found response has a 4xx status code

func (*NotificationResourceGetGetNotFound) IsCode

IsCode returns true when this notification resource get get not found response a status code equal to that given

func (*NotificationResourceGetGetNotFound) IsRedirect

func (o *NotificationResourceGetGetNotFound) IsRedirect() bool

IsRedirect returns true when this notification resource get get not found response has a 3xx status code

func (*NotificationResourceGetGetNotFound) IsServerError

func (o *NotificationResourceGetGetNotFound) IsServerError() bool

IsServerError returns true when this notification resource get get not found response has a 5xx status code

func (*NotificationResourceGetGetNotFound) IsSuccess

IsSuccess returns true when this notification resource get get not found response has a 2xx status code

func (*NotificationResourceGetGetNotFound) String

type NotificationResourceGetGetOK

type NotificationResourceGetGetOK struct {
	Payload *models.Notification
}

NotificationResourceGetGetOK describes a response with status code 200, with default header values.

successful operation

func NewNotificationResourceGetGetOK

func NewNotificationResourceGetGetOK() *NotificationResourceGetGetOK

NewNotificationResourceGetGetOK creates a NotificationResourceGetGetOK with default headers values

func (*NotificationResourceGetGetOK) Code

Code gets the status code for the notification resource get get o k response

func (*NotificationResourceGetGetOK) Error

func (*NotificationResourceGetGetOK) GetPayload

func (*NotificationResourceGetGetOK) IsClientError

func (o *NotificationResourceGetGetOK) IsClientError() bool

IsClientError returns true when this notification resource get get o k response has a 4xx status code

func (*NotificationResourceGetGetOK) IsCode

func (o *NotificationResourceGetGetOK) IsCode(code int) bool

IsCode returns true when this notification resource get get o k response a status code equal to that given

func (*NotificationResourceGetGetOK) IsRedirect

func (o *NotificationResourceGetGetOK) IsRedirect() bool

IsRedirect returns true when this notification resource get get o k response has a 3xx status code

func (*NotificationResourceGetGetOK) IsServerError

func (o *NotificationResourceGetGetOK) IsServerError() bool

IsServerError returns true when this notification resource get get o k response has a 5xx status code

func (*NotificationResourceGetGetOK) IsSuccess

func (o *NotificationResourceGetGetOK) IsSuccess() bool

IsSuccess returns true when this notification resource get get o k response has a 2xx status code

func (*NotificationResourceGetGetOK) String

type NotificationResourceGetGetParams

type NotificationResourceGetGetParams struct {

	/* NotificationID.

	   The unique notification ID
	*/
	NotificationID string

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

NotificationResourceGetGetParams contains all the parameters to send to the API endpoint

for the notification resource get get operation.

Typically these are written to a http.Request.

func NewNotificationResourceGetGetParams

func NewNotificationResourceGetGetParams() *NotificationResourceGetGetParams

NewNotificationResourceGetGetParams creates a new NotificationResourceGetGetParams 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 NewNotificationResourceGetGetParamsWithContext

func NewNotificationResourceGetGetParamsWithContext(ctx context.Context) *NotificationResourceGetGetParams

NewNotificationResourceGetGetParamsWithContext creates a new NotificationResourceGetGetParams object with the ability to set a context for a request.

func NewNotificationResourceGetGetParamsWithHTTPClient

func NewNotificationResourceGetGetParamsWithHTTPClient(client *http.Client) *NotificationResourceGetGetParams

NewNotificationResourceGetGetParamsWithHTTPClient creates a new NotificationResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewNotificationResourceGetGetParamsWithTimeout

func NewNotificationResourceGetGetParamsWithTimeout(timeout time.Duration) *NotificationResourceGetGetParams

NewNotificationResourceGetGetParamsWithTimeout creates a new NotificationResourceGetGetParams object with the ability to set a timeout on a request.

func (*NotificationResourceGetGetParams) SetContext

SetContext adds the context to the notification resource get get params

func (*NotificationResourceGetGetParams) SetDefaults

func (o *NotificationResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the notification resource get get params (not the query body).

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

func (*NotificationResourceGetGetParams) SetHTTPClient

func (o *NotificationResourceGetGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the notification resource get get params

func (*NotificationResourceGetGetParams) SetNotificationID

func (o *NotificationResourceGetGetParams) SetNotificationID(notificationID string)

SetNotificationID adds the notificationId to the notification resource get get params

func (*NotificationResourceGetGetParams) SetTimeout

func (o *NotificationResourceGetGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the notification resource get get params

func (*NotificationResourceGetGetParams) WithContext

WithContext adds the context to the notification resource get get params

func (*NotificationResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the notification resource get get params (not the query body).

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

func (*NotificationResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notification resource get get params

func (*NotificationResourceGetGetParams) WithNotificationID

func (o *NotificationResourceGetGetParams) WithNotificationID(notificationID string) *NotificationResourceGetGetParams

WithNotificationID adds the notificationID to the notification resource get get params

func (*NotificationResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the notification resource get get params

func (*NotificationResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotificationResourceGetGetReader

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

NotificationResourceGetGetReader is a Reader for the NotificationResourceGetGet structure.

func (*NotificationResourceGetGetReader) ReadResponse

func (o *NotificationResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NotificationResourceGetGetUnauthorized

type NotificationResourceGetGetUnauthorized struct {
}

NotificationResourceGetGetUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewNotificationResourceGetGetUnauthorized

func NewNotificationResourceGetGetUnauthorized() *NotificationResourceGetGetUnauthorized

NewNotificationResourceGetGetUnauthorized creates a NotificationResourceGetGetUnauthorized with default headers values

func (*NotificationResourceGetGetUnauthorized) Code

Code gets the status code for the notification resource get get unauthorized response

func (*NotificationResourceGetGetUnauthorized) Error

func (*NotificationResourceGetGetUnauthorized) IsClientError

func (o *NotificationResourceGetGetUnauthorized) IsClientError() bool

IsClientError returns true when this notification resource get get unauthorized response has a 4xx status code

func (*NotificationResourceGetGetUnauthorized) IsCode

IsCode returns true when this notification resource get get unauthorized response a status code equal to that given

func (*NotificationResourceGetGetUnauthorized) IsRedirect

IsRedirect returns true when this notification resource get get unauthorized response has a 3xx status code

func (*NotificationResourceGetGetUnauthorized) IsServerError

func (o *NotificationResourceGetGetUnauthorized) IsServerError() bool

IsServerError returns true when this notification resource get get unauthorized response has a 5xx status code

func (*NotificationResourceGetGetUnauthorized) IsSuccess

IsSuccess returns true when this notification resource get get unauthorized response has a 2xx status code

func (*NotificationResourceGetGetUnauthorized) String

type NotificationResourcePostPostBadRequest

type NotificationResourcePostPostBadRequest struct {
}

NotificationResourcePostPostBadRequest describes a response with status code 400, with default header values.

Invalid parameter given

func NewNotificationResourcePostPostBadRequest

func NewNotificationResourcePostPostBadRequest() *NotificationResourcePostPostBadRequest

NewNotificationResourcePostPostBadRequest creates a NotificationResourcePostPostBadRequest with default headers values

func (*NotificationResourcePostPostBadRequest) Code

Code gets the status code for the notification resource post post bad request response

func (*NotificationResourcePostPostBadRequest) Error

func (*NotificationResourcePostPostBadRequest) IsClientError

func (o *NotificationResourcePostPostBadRequest) IsClientError() bool

IsClientError returns true when this notification resource post post bad request response has a 4xx status code

func (*NotificationResourcePostPostBadRequest) IsCode

IsCode returns true when this notification resource post post bad request response a status code equal to that given

func (*NotificationResourcePostPostBadRequest) IsRedirect

IsRedirect returns true when this notification resource post post bad request response has a 3xx status code

func (*NotificationResourcePostPostBadRequest) IsServerError

func (o *NotificationResourcePostPostBadRequest) IsServerError() bool

IsServerError returns true when this notification resource post post bad request response has a 5xx status code

func (*NotificationResourcePostPostBadRequest) IsSuccess

IsSuccess returns true when this notification resource post post bad request response has a 2xx status code

func (*NotificationResourcePostPostBadRequest) String

type NotificationResourcePostPostForbidden

type NotificationResourcePostPostForbidden struct {
}

NotificationResourcePostPostForbidden describes a response with status code 403, with default header values.

Forbidden

func NewNotificationResourcePostPostForbidden

func NewNotificationResourcePostPostForbidden() *NotificationResourcePostPostForbidden

NewNotificationResourcePostPostForbidden creates a NotificationResourcePostPostForbidden with default headers values

func (*NotificationResourcePostPostForbidden) Code

Code gets the status code for the notification resource post post forbidden response

func (*NotificationResourcePostPostForbidden) Error

func (*NotificationResourcePostPostForbidden) IsClientError

func (o *NotificationResourcePostPostForbidden) IsClientError() bool

IsClientError returns true when this notification resource post post forbidden response has a 4xx status code

func (*NotificationResourcePostPostForbidden) IsCode

IsCode returns true when this notification resource post post forbidden response a status code equal to that given

func (*NotificationResourcePostPostForbidden) IsRedirect

IsRedirect returns true when this notification resource post post forbidden response has a 3xx status code

func (*NotificationResourcePostPostForbidden) IsServerError

func (o *NotificationResourcePostPostForbidden) IsServerError() bool

IsServerError returns true when this notification resource post post forbidden response has a 5xx status code

func (*NotificationResourcePostPostForbidden) IsSuccess

IsSuccess returns true when this notification resource post post forbidden response has a 2xx status code

func (*NotificationResourcePostPostForbidden) String

type NotificationResourcePostPostOK

type NotificationResourcePostPostOK struct {
	Payload *models.Notification
}

NotificationResourcePostPostOK describes a response with status code 200, with default header values.

successful operation

func NewNotificationResourcePostPostOK

func NewNotificationResourcePostPostOK() *NotificationResourcePostPostOK

NewNotificationResourcePostPostOK creates a NotificationResourcePostPostOK with default headers values

func (*NotificationResourcePostPostOK) Code

Code gets the status code for the notification resource post post o k response

func (*NotificationResourcePostPostOK) Error

func (*NotificationResourcePostPostOK) GetPayload

func (*NotificationResourcePostPostOK) IsClientError

func (o *NotificationResourcePostPostOK) IsClientError() bool

IsClientError returns true when this notification resource post post o k response has a 4xx status code

func (*NotificationResourcePostPostOK) IsCode

func (o *NotificationResourcePostPostOK) IsCode(code int) bool

IsCode returns true when this notification resource post post o k response a status code equal to that given

func (*NotificationResourcePostPostOK) IsRedirect

func (o *NotificationResourcePostPostOK) IsRedirect() bool

IsRedirect returns true when this notification resource post post o k response has a 3xx status code

func (*NotificationResourcePostPostOK) IsServerError

func (o *NotificationResourcePostPostOK) IsServerError() bool

IsServerError returns true when this notification resource post post o k response has a 5xx status code

func (*NotificationResourcePostPostOK) IsSuccess

func (o *NotificationResourcePostPostOK) IsSuccess() bool

IsSuccess returns true when this notification resource post post o k response has a 2xx status code

func (*NotificationResourcePostPostOK) String

type NotificationResourcePostPostParams

type NotificationResourcePostPostParams struct {

	/* Body.

	   Notification update representation
	*/
	Body *models.Notification

	/* NotificationID.

	   The unique notification ID
	*/
	NotificationID string

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

NotificationResourcePostPostParams contains all the parameters to send to the API endpoint

for the notification resource post post operation.

Typically these are written to a http.Request.

func NewNotificationResourcePostPostParams

func NewNotificationResourcePostPostParams() *NotificationResourcePostPostParams

NewNotificationResourcePostPostParams creates a new NotificationResourcePostPostParams 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 NewNotificationResourcePostPostParamsWithContext

func NewNotificationResourcePostPostParamsWithContext(ctx context.Context) *NotificationResourcePostPostParams

NewNotificationResourcePostPostParamsWithContext creates a new NotificationResourcePostPostParams object with the ability to set a context for a request.

func NewNotificationResourcePostPostParamsWithHTTPClient

func NewNotificationResourcePostPostParamsWithHTTPClient(client *http.Client) *NotificationResourcePostPostParams

NewNotificationResourcePostPostParamsWithHTTPClient creates a new NotificationResourcePostPostParams object with the ability to set a custom HTTPClient for a request.

func NewNotificationResourcePostPostParamsWithTimeout

func NewNotificationResourcePostPostParamsWithTimeout(timeout time.Duration) *NotificationResourcePostPostParams

NewNotificationResourcePostPostParamsWithTimeout creates a new NotificationResourcePostPostParams object with the ability to set a timeout on a request.

func (*NotificationResourcePostPostParams) SetBody

SetBody adds the body to the notification resource post post params

func (*NotificationResourcePostPostParams) SetContext

SetContext adds the context to the notification resource post post params

func (*NotificationResourcePostPostParams) SetDefaults

func (o *NotificationResourcePostPostParams) SetDefaults()

SetDefaults hydrates default values in the notification resource post post params (not the query body).

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

func (*NotificationResourcePostPostParams) SetHTTPClient

func (o *NotificationResourcePostPostParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the notification resource post post params

func (*NotificationResourcePostPostParams) SetNotificationID

func (o *NotificationResourcePostPostParams) SetNotificationID(notificationID string)

SetNotificationID adds the notificationId to the notification resource post post params

func (*NotificationResourcePostPostParams) SetTimeout

func (o *NotificationResourcePostPostParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the notification resource post post params

func (*NotificationResourcePostPostParams) WithBody

WithBody adds the body to the notification resource post post params

func (*NotificationResourcePostPostParams) WithContext

WithContext adds the context to the notification resource post post params

func (*NotificationResourcePostPostParams) WithDefaults

WithDefaults hydrates default values in the notification resource post post params (not the query body).

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

func (*NotificationResourcePostPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notification resource post post params

func (*NotificationResourcePostPostParams) WithNotificationID

func (o *NotificationResourcePostPostParams) WithNotificationID(notificationID string) *NotificationResourcePostPostParams

WithNotificationID adds the notificationID to the notification resource post post params

func (*NotificationResourcePostPostParams) WithTimeout

WithTimeout adds the timeout to the notification resource post post params

func (*NotificationResourcePostPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotificationResourcePostPostReader

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

NotificationResourcePostPostReader is a Reader for the NotificationResourcePostPost structure.

func (*NotificationResourcePostPostReader) ReadResponse

func (o *NotificationResourcePostPostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NotificationResourcePostPostUnauthorized

type NotificationResourcePostPostUnauthorized struct {
}

NotificationResourcePostPostUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewNotificationResourcePostPostUnauthorized

func NewNotificationResourcePostPostUnauthorized() *NotificationResourcePostPostUnauthorized

NewNotificationResourcePostPostUnauthorized creates a NotificationResourcePostPostUnauthorized with default headers values

func (*NotificationResourcePostPostUnauthorized) Code

Code gets the status code for the notification resource post post unauthorized response

func (*NotificationResourcePostPostUnauthorized) Error

func (*NotificationResourcePostPostUnauthorized) IsClientError

IsClientError returns true when this notification resource post post unauthorized response has a 4xx status code

func (*NotificationResourcePostPostUnauthorized) IsCode

IsCode returns true when this notification resource post post unauthorized response a status code equal to that given

func (*NotificationResourcePostPostUnauthorized) IsRedirect

IsRedirect returns true when this notification resource post post unauthorized response has a 3xx status code

func (*NotificationResourcePostPostUnauthorized) IsServerError

IsServerError returns true when this notification resource post post unauthorized response has a 5xx status code

func (*NotificationResourcePostPostUnauthorized) IsSuccess

IsSuccess returns true when this notification resource post post unauthorized response has a 2xx status code

func (*NotificationResourcePostPostUnauthorized) String

type NotificationsResourceGetGetOK

type NotificationsResourceGetGetOK struct {
	Payload []*models.Notification
}

NotificationsResourceGetGetOK describes a response with status code 200, with default header values.

successful operation

func NewNotificationsResourceGetGetOK

func NewNotificationsResourceGetGetOK() *NotificationsResourceGetGetOK

NewNotificationsResourceGetGetOK creates a NotificationsResourceGetGetOK with default headers values

func (*NotificationsResourceGetGetOK) Code

Code gets the status code for the notifications resource get get o k response

func (*NotificationsResourceGetGetOK) Error

func (*NotificationsResourceGetGetOK) GetPayload

func (*NotificationsResourceGetGetOK) IsClientError

func (o *NotificationsResourceGetGetOK) IsClientError() bool

IsClientError returns true when this notifications resource get get o k response has a 4xx status code

func (*NotificationsResourceGetGetOK) IsCode

func (o *NotificationsResourceGetGetOK) IsCode(code int) bool

IsCode returns true when this notifications resource get get o k response a status code equal to that given

func (*NotificationsResourceGetGetOK) IsRedirect

func (o *NotificationsResourceGetGetOK) IsRedirect() bool

IsRedirect returns true when this notifications resource get get o k response has a 3xx status code

func (*NotificationsResourceGetGetOK) IsServerError

func (o *NotificationsResourceGetGetOK) IsServerError() bool

IsServerError returns true when this notifications resource get get o k response has a 5xx status code

func (*NotificationsResourceGetGetOK) IsSuccess

func (o *NotificationsResourceGetGetOK) IsSuccess() bool

IsSuccess returns true when this notifications resource get get o k response has a 2xx status code

func (*NotificationsResourceGetGetOK) String

type NotificationsResourceGetGetParams

type NotificationsResourceGetGetParams struct {

	/* ReferenceID.

	   The reference ID to the third party system
	*/
	ReferenceID *string

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

NotificationsResourceGetGetParams contains all the parameters to send to the API endpoint

for the notifications resource get get operation.

Typically these are written to a http.Request.

func NewNotificationsResourceGetGetParams

func NewNotificationsResourceGetGetParams() *NotificationsResourceGetGetParams

NewNotificationsResourceGetGetParams creates a new NotificationsResourceGetGetParams 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 NewNotificationsResourceGetGetParamsWithContext

func NewNotificationsResourceGetGetParamsWithContext(ctx context.Context) *NotificationsResourceGetGetParams

NewNotificationsResourceGetGetParamsWithContext creates a new NotificationsResourceGetGetParams object with the ability to set a context for a request.

func NewNotificationsResourceGetGetParamsWithHTTPClient

func NewNotificationsResourceGetGetParamsWithHTTPClient(client *http.Client) *NotificationsResourceGetGetParams

NewNotificationsResourceGetGetParamsWithHTTPClient creates a new NotificationsResourceGetGetParams object with the ability to set a custom HTTPClient for a request.

func NewNotificationsResourceGetGetParamsWithTimeout

func NewNotificationsResourceGetGetParamsWithTimeout(timeout time.Duration) *NotificationsResourceGetGetParams

NewNotificationsResourceGetGetParamsWithTimeout creates a new NotificationsResourceGetGetParams object with the ability to set a timeout on a request.

func (*NotificationsResourceGetGetParams) SetContext

SetContext adds the context to the notifications resource get get params

func (*NotificationsResourceGetGetParams) SetDefaults

func (o *NotificationsResourceGetGetParams) SetDefaults()

SetDefaults hydrates default values in the notifications resource get get params (not the query body).

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

func (*NotificationsResourceGetGetParams) SetHTTPClient

func (o *NotificationsResourceGetGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the notifications resource get get params

func (*NotificationsResourceGetGetParams) SetReferenceID

func (o *NotificationsResourceGetGetParams) SetReferenceID(referenceID *string)

SetReferenceID adds the referenceId to the notifications resource get get params

func (*NotificationsResourceGetGetParams) SetTimeout

func (o *NotificationsResourceGetGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the notifications resource get get params

func (*NotificationsResourceGetGetParams) WithContext

WithContext adds the context to the notifications resource get get params

func (*NotificationsResourceGetGetParams) WithDefaults

WithDefaults hydrates default values in the notifications resource get get params (not the query body).

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

func (*NotificationsResourceGetGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notifications resource get get params

func (*NotificationsResourceGetGetParams) WithReferenceID

WithReferenceID adds the referenceID to the notifications resource get get params

func (*NotificationsResourceGetGetParams) WithTimeout

WithTimeout adds the timeout to the notifications resource get get params

func (*NotificationsResourceGetGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotificationsResourceGetGetReader

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

NotificationsResourceGetGetReader is a Reader for the NotificationsResourceGetGet structure.

func (*NotificationsResourceGetGetReader) ReadResponse

func (o *NotificationsResourceGetGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NotificationsResourceGetGetUnauthorized

type NotificationsResourceGetGetUnauthorized struct {
}

NotificationsResourceGetGetUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewNotificationsResourceGetGetUnauthorized

func NewNotificationsResourceGetGetUnauthorized() *NotificationsResourceGetGetUnauthorized

NewNotificationsResourceGetGetUnauthorized creates a NotificationsResourceGetGetUnauthorized with default headers values

func (*NotificationsResourceGetGetUnauthorized) Code

Code gets the status code for the notifications resource get get unauthorized response

func (*NotificationsResourceGetGetUnauthorized) Error

func (*NotificationsResourceGetGetUnauthorized) IsClientError

func (o *NotificationsResourceGetGetUnauthorized) IsClientError() bool

IsClientError returns true when this notifications resource get get unauthorized response has a 4xx status code

func (*NotificationsResourceGetGetUnauthorized) IsCode

IsCode returns true when this notifications resource get get unauthorized response a status code equal to that given

func (*NotificationsResourceGetGetUnauthorized) IsRedirect

IsRedirect returns true when this notifications resource get get unauthorized response has a 3xx status code

func (*NotificationsResourceGetGetUnauthorized) IsServerError

func (o *NotificationsResourceGetGetUnauthorized) IsServerError() bool

IsServerError returns true when this notifications resource get get unauthorized response has a 5xx status code

func (*NotificationsResourceGetGetUnauthorized) IsSuccess

IsSuccess returns true when this notifications resource get get unauthorized response has a 2xx status code

func (*NotificationsResourceGetGetUnauthorized) String

type NotificationsResourcePutPutBadRequest

type NotificationsResourcePutPutBadRequest struct {
}

NotificationsResourcePutPutBadRequest describes a response with status code 400, with default header values.

Bad Parameter

func NewNotificationsResourcePutPutBadRequest

func NewNotificationsResourcePutPutBadRequest() *NotificationsResourcePutPutBadRequest

NewNotificationsResourcePutPutBadRequest creates a NotificationsResourcePutPutBadRequest with default headers values

func (*NotificationsResourcePutPutBadRequest) Code

Code gets the status code for the notifications resource put put bad request response

func (*NotificationsResourcePutPutBadRequest) Error

func (*NotificationsResourcePutPutBadRequest) IsClientError

func (o *NotificationsResourcePutPutBadRequest) IsClientError() bool

IsClientError returns true when this notifications resource put put bad request response has a 4xx status code

func (*NotificationsResourcePutPutBadRequest) IsCode

IsCode returns true when this notifications resource put put bad request response a status code equal to that given

func (*NotificationsResourcePutPutBadRequest) IsRedirect

IsRedirect returns true when this notifications resource put put bad request response has a 3xx status code

func (*NotificationsResourcePutPutBadRequest) IsServerError

func (o *NotificationsResourcePutPutBadRequest) IsServerError() bool

IsServerError returns true when this notifications resource put put bad request response has a 5xx status code

func (*NotificationsResourcePutPutBadRequest) IsSuccess

IsSuccess returns true when this notifications resource put put bad request response has a 2xx status code

func (*NotificationsResourcePutPutBadRequest) String

type NotificationsResourcePutPutForbidden

type NotificationsResourcePutPutForbidden struct {
}

NotificationsResourcePutPutForbidden describes a response with status code 403, with default header values.

Forbidden

func NewNotificationsResourcePutPutForbidden

func NewNotificationsResourcePutPutForbidden() *NotificationsResourcePutPutForbidden

NewNotificationsResourcePutPutForbidden creates a NotificationsResourcePutPutForbidden with default headers values

func (*NotificationsResourcePutPutForbidden) Code

Code gets the status code for the notifications resource put put forbidden response

func (*NotificationsResourcePutPutForbidden) Error

func (*NotificationsResourcePutPutForbidden) IsClientError

func (o *NotificationsResourcePutPutForbidden) IsClientError() bool

IsClientError returns true when this notifications resource put put forbidden response has a 4xx status code

func (*NotificationsResourcePutPutForbidden) IsCode

IsCode returns true when this notifications resource put put forbidden response a status code equal to that given

func (*NotificationsResourcePutPutForbidden) IsRedirect

IsRedirect returns true when this notifications resource put put forbidden response has a 3xx status code

func (*NotificationsResourcePutPutForbidden) IsServerError

func (o *NotificationsResourcePutPutForbidden) IsServerError() bool

IsServerError returns true when this notifications resource put put forbidden response has a 5xx status code

func (*NotificationsResourcePutPutForbidden) IsSuccess

IsSuccess returns true when this notifications resource put put forbidden response has a 2xx status code

func (*NotificationsResourcePutPutForbidden) String

type NotificationsResourcePutPutOK

type NotificationsResourcePutPutOK struct {
	Payload *models.Notification
}

NotificationsResourcePutPutOK describes a response with status code 200, with default header values.

successful operation

func NewNotificationsResourcePutPutOK

func NewNotificationsResourcePutPutOK() *NotificationsResourcePutPutOK

NewNotificationsResourcePutPutOK creates a NotificationsResourcePutPutOK with default headers values

func (*NotificationsResourcePutPutOK) Code

Code gets the status code for the notifications resource put put o k response

func (*NotificationsResourcePutPutOK) Error

func (*NotificationsResourcePutPutOK) GetPayload

func (*NotificationsResourcePutPutOK) IsClientError

func (o *NotificationsResourcePutPutOK) IsClientError() bool

IsClientError returns true when this notifications resource put put o k response has a 4xx status code

func (*NotificationsResourcePutPutOK) IsCode

func (o *NotificationsResourcePutPutOK) IsCode(code int) bool

IsCode returns true when this notifications resource put put o k response a status code equal to that given

func (*NotificationsResourcePutPutOK) IsRedirect

func (o *NotificationsResourcePutPutOK) IsRedirect() bool

IsRedirect returns true when this notifications resource put put o k response has a 3xx status code

func (*NotificationsResourcePutPutOK) IsServerError

func (o *NotificationsResourcePutPutOK) IsServerError() bool

IsServerError returns true when this notifications resource put put o k response has a 5xx status code

func (*NotificationsResourcePutPutOK) IsSuccess

func (o *NotificationsResourcePutPutOK) IsSuccess() bool

IsSuccess returns true when this notifications resource put put o k response has a 2xx status code

func (*NotificationsResourcePutPutOK) String

type NotificationsResourcePutPutParams

type NotificationsResourcePutPutParams struct {

	/* Body.

	   Notification representation
	*/
	Body *models.Notification

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

NotificationsResourcePutPutParams contains all the parameters to send to the API endpoint

for the notifications resource put put operation.

Typically these are written to a http.Request.

func NewNotificationsResourcePutPutParams

func NewNotificationsResourcePutPutParams() *NotificationsResourcePutPutParams

NewNotificationsResourcePutPutParams creates a new NotificationsResourcePutPutParams 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 NewNotificationsResourcePutPutParamsWithContext

func NewNotificationsResourcePutPutParamsWithContext(ctx context.Context) *NotificationsResourcePutPutParams

NewNotificationsResourcePutPutParamsWithContext creates a new NotificationsResourcePutPutParams object with the ability to set a context for a request.

func NewNotificationsResourcePutPutParamsWithHTTPClient

func NewNotificationsResourcePutPutParamsWithHTTPClient(client *http.Client) *NotificationsResourcePutPutParams

NewNotificationsResourcePutPutParamsWithHTTPClient creates a new NotificationsResourcePutPutParams object with the ability to set a custom HTTPClient for a request.

func NewNotificationsResourcePutPutParamsWithTimeout

func NewNotificationsResourcePutPutParamsWithTimeout(timeout time.Duration) *NotificationsResourcePutPutParams

NewNotificationsResourcePutPutParamsWithTimeout creates a new NotificationsResourcePutPutParams object with the ability to set a timeout on a request.

func (*NotificationsResourcePutPutParams) SetBody

SetBody adds the body to the notifications resource put put params

func (*NotificationsResourcePutPutParams) SetContext

SetContext adds the context to the notifications resource put put params

func (*NotificationsResourcePutPutParams) SetDefaults

func (o *NotificationsResourcePutPutParams) SetDefaults()

SetDefaults hydrates default values in the notifications resource put put params (not the query body).

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

func (*NotificationsResourcePutPutParams) SetHTTPClient

func (o *NotificationsResourcePutPutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the notifications resource put put params

func (*NotificationsResourcePutPutParams) SetTimeout

func (o *NotificationsResourcePutPutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the notifications resource put put params

func (*NotificationsResourcePutPutParams) WithBody

WithBody adds the body to the notifications resource put put params

func (*NotificationsResourcePutPutParams) WithContext

WithContext adds the context to the notifications resource put put params

func (*NotificationsResourcePutPutParams) WithDefaults

WithDefaults hydrates default values in the notifications resource put put params (not the query body).

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

func (*NotificationsResourcePutPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the notifications resource put put params

func (*NotificationsResourcePutPutParams) WithTimeout

WithTimeout adds the timeout to the notifications resource put put params

func (*NotificationsResourcePutPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type NotificationsResourcePutPutReader

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

NotificationsResourcePutPutReader is a Reader for the NotificationsResourcePutPut structure.

func (*NotificationsResourcePutPutReader) ReadResponse

func (o *NotificationsResourcePutPutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type NotificationsResourcePutPutUnauthorized

type NotificationsResourcePutPutUnauthorized struct {
}

NotificationsResourcePutPutUnauthorized describes a response with status code 401, with default header values.

Not authorized

func NewNotificationsResourcePutPutUnauthorized

func NewNotificationsResourcePutPutUnauthorized() *NotificationsResourcePutPutUnauthorized

NewNotificationsResourcePutPutUnauthorized creates a NotificationsResourcePutPutUnauthorized with default headers values

func (*NotificationsResourcePutPutUnauthorized) Code

Code gets the status code for the notifications resource put put unauthorized response

func (*NotificationsResourcePutPutUnauthorized) Error

func (*NotificationsResourcePutPutUnauthorized) IsClientError

func (o *NotificationsResourcePutPutUnauthorized) IsClientError() bool

IsClientError returns true when this notifications resource put put unauthorized response has a 4xx status code

func (*NotificationsResourcePutPutUnauthorized) IsCode

IsCode returns true when this notifications resource put put unauthorized response a status code equal to that given

func (*NotificationsResourcePutPutUnauthorized) IsRedirect

IsRedirect returns true when this notifications resource put put unauthorized response has a 3xx status code

func (*NotificationsResourcePutPutUnauthorized) IsServerError

func (o *NotificationsResourcePutPutUnauthorized) IsServerError() bool

IsServerError returns true when this notifications resource put put unauthorized response has a 5xx status code

func (*NotificationsResourcePutPutUnauthorized) IsSuccess

IsSuccess returns true when this notifications resource put put unauthorized response has a 2xx status code

func (*NotificationsResourcePutPutUnauthorized) String

Jump to

Keyboard shortcuts

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