Documentation ¶
Index ¶
- type Client
- func (a *Client) NotificationResourceDeleteDelete(params *NotificationResourceDeleteDeleteParams, ...) (*NotificationResourceDeleteDeleteNoContent, error)
- func (a *Client) NotificationResourceGetGet(params *NotificationResourceGetGetParams, ...) (*NotificationResourceGetGetOK, error)
- func (a *Client) NotificationResourcePostPost(params *NotificationResourcePostPostParams, ...) (*NotificationResourcePostPostOK, error)
- func (a *Client) NotificationsResourceGetGet(params *NotificationsResourceGetGetParams, ...) (*NotificationsResourceGetGetOK, error)
- func (a *Client) NotificationsResourcePutPut(params *NotificationsResourcePutPutParams, ...) (*NotificationsResourcePutPutOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type NotificationResourceDeleteDeleteForbidden
- func (o *NotificationResourceDeleteDeleteForbidden) Code() int
- func (o *NotificationResourceDeleteDeleteForbidden) Error() string
- func (o *NotificationResourceDeleteDeleteForbidden) IsClientError() bool
- func (o *NotificationResourceDeleteDeleteForbidden) IsCode(code int) bool
- func (o *NotificationResourceDeleteDeleteForbidden) IsRedirect() bool
- func (o *NotificationResourceDeleteDeleteForbidden) IsServerError() bool
- func (o *NotificationResourceDeleteDeleteForbidden) IsSuccess() bool
- func (o *NotificationResourceDeleteDeleteForbidden) String() string
- type NotificationResourceDeleteDeleteMethodNotAllowed
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) Code() int
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) Error() string
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsClientError() bool
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsCode(code int) bool
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsRedirect() bool
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsServerError() bool
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsSuccess() bool
- func (o *NotificationResourceDeleteDeleteMethodNotAllowed) String() string
- type NotificationResourceDeleteDeleteNoContent
- func (o *NotificationResourceDeleteDeleteNoContent) Code() int
- func (o *NotificationResourceDeleteDeleteNoContent) Error() string
- func (o *NotificationResourceDeleteDeleteNoContent) IsClientError() bool
- func (o *NotificationResourceDeleteDeleteNoContent) IsCode(code int) bool
- func (o *NotificationResourceDeleteDeleteNoContent) IsRedirect() bool
- func (o *NotificationResourceDeleteDeleteNoContent) IsServerError() bool
- func (o *NotificationResourceDeleteDeleteNoContent) IsSuccess() bool
- func (o *NotificationResourceDeleteDeleteNoContent) String() string
- type NotificationResourceDeleteDeleteParams
- func NewNotificationResourceDeleteDeleteParams() *NotificationResourceDeleteDeleteParams
- func NewNotificationResourceDeleteDeleteParamsWithContext(ctx context.Context) *NotificationResourceDeleteDeleteParams
- func NewNotificationResourceDeleteDeleteParamsWithHTTPClient(client *http.Client) *NotificationResourceDeleteDeleteParams
- func NewNotificationResourceDeleteDeleteParamsWithTimeout(timeout time.Duration) *NotificationResourceDeleteDeleteParams
- func (o *NotificationResourceDeleteDeleteParams) SetContext(ctx context.Context)
- func (o *NotificationResourceDeleteDeleteParams) SetDefaults()
- func (o *NotificationResourceDeleteDeleteParams) SetHTTPClient(client *http.Client)
- func (o *NotificationResourceDeleteDeleteParams) SetNotificationID(notificationID string)
- func (o *NotificationResourceDeleteDeleteParams) SetTimeout(timeout time.Duration)
- func (o *NotificationResourceDeleteDeleteParams) WithContext(ctx context.Context) *NotificationResourceDeleteDeleteParams
- func (o *NotificationResourceDeleteDeleteParams) WithDefaults() *NotificationResourceDeleteDeleteParams
- func (o *NotificationResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *NotificationResourceDeleteDeleteParams
- func (o *NotificationResourceDeleteDeleteParams) WithNotificationID(notificationID string) *NotificationResourceDeleteDeleteParams
- func (o *NotificationResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *NotificationResourceDeleteDeleteParams
- func (o *NotificationResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotificationResourceDeleteDeleteReader
- type NotificationResourceDeleteDeleteUnauthorized
- func (o *NotificationResourceDeleteDeleteUnauthorized) Code() int
- func (o *NotificationResourceDeleteDeleteUnauthorized) Error() string
- func (o *NotificationResourceDeleteDeleteUnauthorized) IsClientError() bool
- func (o *NotificationResourceDeleteDeleteUnauthorized) IsCode(code int) bool
- func (o *NotificationResourceDeleteDeleteUnauthorized) IsRedirect() bool
- func (o *NotificationResourceDeleteDeleteUnauthorized) IsServerError() bool
- func (o *NotificationResourceDeleteDeleteUnauthorized) IsSuccess() bool
- func (o *NotificationResourceDeleteDeleteUnauthorized) String() string
- type NotificationResourceGetGetForbidden
- func (o *NotificationResourceGetGetForbidden) Code() int
- func (o *NotificationResourceGetGetForbidden) Error() string
- func (o *NotificationResourceGetGetForbidden) IsClientError() bool
- func (o *NotificationResourceGetGetForbidden) IsCode(code int) bool
- func (o *NotificationResourceGetGetForbidden) IsRedirect() bool
- func (o *NotificationResourceGetGetForbidden) IsServerError() bool
- func (o *NotificationResourceGetGetForbidden) IsSuccess() bool
- func (o *NotificationResourceGetGetForbidden) String() string
- type NotificationResourceGetGetNotFound
- func (o *NotificationResourceGetGetNotFound) Code() int
- func (o *NotificationResourceGetGetNotFound) Error() string
- func (o *NotificationResourceGetGetNotFound) IsClientError() bool
- func (o *NotificationResourceGetGetNotFound) IsCode(code int) bool
- func (o *NotificationResourceGetGetNotFound) IsRedirect() bool
- func (o *NotificationResourceGetGetNotFound) IsServerError() bool
- func (o *NotificationResourceGetGetNotFound) IsSuccess() bool
- func (o *NotificationResourceGetGetNotFound) String() string
- type NotificationResourceGetGetOK
- func (o *NotificationResourceGetGetOK) Code() int
- func (o *NotificationResourceGetGetOK) Error() string
- func (o *NotificationResourceGetGetOK) GetPayload() *models.Notification
- func (o *NotificationResourceGetGetOK) IsClientError() bool
- func (o *NotificationResourceGetGetOK) IsCode(code int) bool
- func (o *NotificationResourceGetGetOK) IsRedirect() bool
- func (o *NotificationResourceGetGetOK) IsServerError() bool
- func (o *NotificationResourceGetGetOK) IsSuccess() bool
- func (o *NotificationResourceGetGetOK) String() string
- type NotificationResourceGetGetParams
- func NewNotificationResourceGetGetParams() *NotificationResourceGetGetParams
- func NewNotificationResourceGetGetParamsWithContext(ctx context.Context) *NotificationResourceGetGetParams
- func NewNotificationResourceGetGetParamsWithHTTPClient(client *http.Client) *NotificationResourceGetGetParams
- func NewNotificationResourceGetGetParamsWithTimeout(timeout time.Duration) *NotificationResourceGetGetParams
- func (o *NotificationResourceGetGetParams) SetContext(ctx context.Context)
- func (o *NotificationResourceGetGetParams) SetDefaults()
- func (o *NotificationResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *NotificationResourceGetGetParams) SetNotificationID(notificationID string)
- func (o *NotificationResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *NotificationResourceGetGetParams) WithContext(ctx context.Context) *NotificationResourceGetGetParams
- func (o *NotificationResourceGetGetParams) WithDefaults() *NotificationResourceGetGetParams
- func (o *NotificationResourceGetGetParams) WithHTTPClient(client *http.Client) *NotificationResourceGetGetParams
- func (o *NotificationResourceGetGetParams) WithNotificationID(notificationID string) *NotificationResourceGetGetParams
- func (o *NotificationResourceGetGetParams) WithTimeout(timeout time.Duration) *NotificationResourceGetGetParams
- func (o *NotificationResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotificationResourceGetGetReader
- type NotificationResourceGetGetUnauthorized
- func (o *NotificationResourceGetGetUnauthorized) Code() int
- func (o *NotificationResourceGetGetUnauthorized) Error() string
- func (o *NotificationResourceGetGetUnauthorized) IsClientError() bool
- func (o *NotificationResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *NotificationResourceGetGetUnauthorized) IsRedirect() bool
- func (o *NotificationResourceGetGetUnauthorized) IsServerError() bool
- func (o *NotificationResourceGetGetUnauthorized) IsSuccess() bool
- func (o *NotificationResourceGetGetUnauthorized) String() string
- type NotificationResourcePostPostBadRequest
- func (o *NotificationResourcePostPostBadRequest) Code() int
- func (o *NotificationResourcePostPostBadRequest) Error() string
- func (o *NotificationResourcePostPostBadRequest) IsClientError() bool
- func (o *NotificationResourcePostPostBadRequest) IsCode(code int) bool
- func (o *NotificationResourcePostPostBadRequest) IsRedirect() bool
- func (o *NotificationResourcePostPostBadRequest) IsServerError() bool
- func (o *NotificationResourcePostPostBadRequest) IsSuccess() bool
- func (o *NotificationResourcePostPostBadRequest) String() string
- type NotificationResourcePostPostForbidden
- func (o *NotificationResourcePostPostForbidden) Code() int
- func (o *NotificationResourcePostPostForbidden) Error() string
- func (o *NotificationResourcePostPostForbidden) IsClientError() bool
- func (o *NotificationResourcePostPostForbidden) IsCode(code int) bool
- func (o *NotificationResourcePostPostForbidden) IsRedirect() bool
- func (o *NotificationResourcePostPostForbidden) IsServerError() bool
- func (o *NotificationResourcePostPostForbidden) IsSuccess() bool
- func (o *NotificationResourcePostPostForbidden) String() string
- type NotificationResourcePostPostOK
- func (o *NotificationResourcePostPostOK) Code() int
- func (o *NotificationResourcePostPostOK) Error() string
- func (o *NotificationResourcePostPostOK) GetPayload() *models.Notification
- func (o *NotificationResourcePostPostOK) IsClientError() bool
- func (o *NotificationResourcePostPostOK) IsCode(code int) bool
- func (o *NotificationResourcePostPostOK) IsRedirect() bool
- func (o *NotificationResourcePostPostOK) IsServerError() bool
- func (o *NotificationResourcePostPostOK) IsSuccess() bool
- func (o *NotificationResourcePostPostOK) String() string
- type NotificationResourcePostPostParams
- func NewNotificationResourcePostPostParams() *NotificationResourcePostPostParams
- func NewNotificationResourcePostPostParamsWithContext(ctx context.Context) *NotificationResourcePostPostParams
- func NewNotificationResourcePostPostParamsWithHTTPClient(client *http.Client) *NotificationResourcePostPostParams
- func NewNotificationResourcePostPostParamsWithTimeout(timeout time.Duration) *NotificationResourcePostPostParams
- func (o *NotificationResourcePostPostParams) SetBody(body *models.Notification)
- func (o *NotificationResourcePostPostParams) SetContext(ctx context.Context)
- func (o *NotificationResourcePostPostParams) SetDefaults()
- func (o *NotificationResourcePostPostParams) SetHTTPClient(client *http.Client)
- func (o *NotificationResourcePostPostParams) SetNotificationID(notificationID string)
- func (o *NotificationResourcePostPostParams) SetTimeout(timeout time.Duration)
- func (o *NotificationResourcePostPostParams) WithBody(body *models.Notification) *NotificationResourcePostPostParams
- func (o *NotificationResourcePostPostParams) WithContext(ctx context.Context) *NotificationResourcePostPostParams
- func (o *NotificationResourcePostPostParams) WithDefaults() *NotificationResourcePostPostParams
- func (o *NotificationResourcePostPostParams) WithHTTPClient(client *http.Client) *NotificationResourcePostPostParams
- func (o *NotificationResourcePostPostParams) WithNotificationID(notificationID string) *NotificationResourcePostPostParams
- func (o *NotificationResourcePostPostParams) WithTimeout(timeout time.Duration) *NotificationResourcePostPostParams
- func (o *NotificationResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotificationResourcePostPostReader
- type NotificationResourcePostPostUnauthorized
- func (o *NotificationResourcePostPostUnauthorized) Code() int
- func (o *NotificationResourcePostPostUnauthorized) Error() string
- func (o *NotificationResourcePostPostUnauthorized) IsClientError() bool
- func (o *NotificationResourcePostPostUnauthorized) IsCode(code int) bool
- func (o *NotificationResourcePostPostUnauthorized) IsRedirect() bool
- func (o *NotificationResourcePostPostUnauthorized) IsServerError() bool
- func (o *NotificationResourcePostPostUnauthorized) IsSuccess() bool
- func (o *NotificationResourcePostPostUnauthorized) String() string
- type NotificationsResourceGetGetOK
- func (o *NotificationsResourceGetGetOK) Code() int
- func (o *NotificationsResourceGetGetOK) Error() string
- func (o *NotificationsResourceGetGetOK) GetPayload() []*models.Notification
- func (o *NotificationsResourceGetGetOK) IsClientError() bool
- func (o *NotificationsResourceGetGetOK) IsCode(code int) bool
- func (o *NotificationsResourceGetGetOK) IsRedirect() bool
- func (o *NotificationsResourceGetGetOK) IsServerError() bool
- func (o *NotificationsResourceGetGetOK) IsSuccess() bool
- func (o *NotificationsResourceGetGetOK) String() string
- type NotificationsResourceGetGetParams
- func NewNotificationsResourceGetGetParams() *NotificationsResourceGetGetParams
- func NewNotificationsResourceGetGetParamsWithContext(ctx context.Context) *NotificationsResourceGetGetParams
- func NewNotificationsResourceGetGetParamsWithHTTPClient(client *http.Client) *NotificationsResourceGetGetParams
- func NewNotificationsResourceGetGetParamsWithTimeout(timeout time.Duration) *NotificationsResourceGetGetParams
- func (o *NotificationsResourceGetGetParams) SetContext(ctx context.Context)
- func (o *NotificationsResourceGetGetParams) SetDefaults()
- func (o *NotificationsResourceGetGetParams) SetHTTPClient(client *http.Client)
- func (o *NotificationsResourceGetGetParams) SetReferenceID(referenceID *string)
- func (o *NotificationsResourceGetGetParams) SetTimeout(timeout time.Duration)
- func (o *NotificationsResourceGetGetParams) WithContext(ctx context.Context) *NotificationsResourceGetGetParams
- func (o *NotificationsResourceGetGetParams) WithDefaults() *NotificationsResourceGetGetParams
- func (o *NotificationsResourceGetGetParams) WithHTTPClient(client *http.Client) *NotificationsResourceGetGetParams
- func (o *NotificationsResourceGetGetParams) WithReferenceID(referenceID *string) *NotificationsResourceGetGetParams
- func (o *NotificationsResourceGetGetParams) WithTimeout(timeout time.Duration) *NotificationsResourceGetGetParams
- func (o *NotificationsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotificationsResourceGetGetReader
- type NotificationsResourceGetGetUnauthorized
- func (o *NotificationsResourceGetGetUnauthorized) Code() int
- func (o *NotificationsResourceGetGetUnauthorized) Error() string
- func (o *NotificationsResourceGetGetUnauthorized) IsClientError() bool
- func (o *NotificationsResourceGetGetUnauthorized) IsCode(code int) bool
- func (o *NotificationsResourceGetGetUnauthorized) IsRedirect() bool
- func (o *NotificationsResourceGetGetUnauthorized) IsServerError() bool
- func (o *NotificationsResourceGetGetUnauthorized) IsSuccess() bool
- func (o *NotificationsResourceGetGetUnauthorized) String() string
- type NotificationsResourcePutPutBadRequest
- func (o *NotificationsResourcePutPutBadRequest) Code() int
- func (o *NotificationsResourcePutPutBadRequest) Error() string
- func (o *NotificationsResourcePutPutBadRequest) IsClientError() bool
- func (o *NotificationsResourcePutPutBadRequest) IsCode(code int) bool
- func (o *NotificationsResourcePutPutBadRequest) IsRedirect() bool
- func (o *NotificationsResourcePutPutBadRequest) IsServerError() bool
- func (o *NotificationsResourcePutPutBadRequest) IsSuccess() bool
- func (o *NotificationsResourcePutPutBadRequest) String() string
- type NotificationsResourcePutPutForbidden
- func (o *NotificationsResourcePutPutForbidden) Code() int
- func (o *NotificationsResourcePutPutForbidden) Error() string
- func (o *NotificationsResourcePutPutForbidden) IsClientError() bool
- func (o *NotificationsResourcePutPutForbidden) IsCode(code int) bool
- func (o *NotificationsResourcePutPutForbidden) IsRedirect() bool
- func (o *NotificationsResourcePutPutForbidden) IsServerError() bool
- func (o *NotificationsResourcePutPutForbidden) IsSuccess() bool
- func (o *NotificationsResourcePutPutForbidden) String() string
- type NotificationsResourcePutPutOK
- func (o *NotificationsResourcePutPutOK) Code() int
- func (o *NotificationsResourcePutPutOK) Error() string
- func (o *NotificationsResourcePutPutOK) GetPayload() *models.Notification
- func (o *NotificationsResourcePutPutOK) IsClientError() bool
- func (o *NotificationsResourcePutPutOK) IsCode(code int) bool
- func (o *NotificationsResourcePutPutOK) IsRedirect() bool
- func (o *NotificationsResourcePutPutOK) IsServerError() bool
- func (o *NotificationsResourcePutPutOK) IsSuccess() bool
- func (o *NotificationsResourcePutPutOK) String() string
- type NotificationsResourcePutPutParams
- func NewNotificationsResourcePutPutParams() *NotificationsResourcePutPutParams
- func NewNotificationsResourcePutPutParamsWithContext(ctx context.Context) *NotificationsResourcePutPutParams
- func NewNotificationsResourcePutPutParamsWithHTTPClient(client *http.Client) *NotificationsResourcePutPutParams
- func NewNotificationsResourcePutPutParamsWithTimeout(timeout time.Duration) *NotificationsResourcePutPutParams
- func (o *NotificationsResourcePutPutParams) SetBody(body *models.Notification)
- func (o *NotificationsResourcePutPutParams) SetContext(ctx context.Context)
- func (o *NotificationsResourcePutPutParams) SetDefaults()
- func (o *NotificationsResourcePutPutParams) SetHTTPClient(client *http.Client)
- func (o *NotificationsResourcePutPutParams) SetTimeout(timeout time.Duration)
- func (o *NotificationsResourcePutPutParams) WithBody(body *models.Notification) *NotificationsResourcePutPutParams
- func (o *NotificationsResourcePutPutParams) WithContext(ctx context.Context) *NotificationsResourcePutPutParams
- func (o *NotificationsResourcePutPutParams) WithDefaults() *NotificationsResourcePutPutParams
- func (o *NotificationsResourcePutPutParams) WithHTTPClient(client *http.Client) *NotificationsResourcePutPutParams
- func (o *NotificationsResourcePutPutParams) WithTimeout(timeout time.Duration) *NotificationsResourcePutPutParams
- func (o *NotificationsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type NotificationsResourcePutPutReader
- type NotificationsResourcePutPutUnauthorized
- func (o *NotificationsResourcePutPutUnauthorized) Code() int
- func (o *NotificationsResourcePutPutUnauthorized) Error() string
- func (o *NotificationsResourcePutPutUnauthorized) IsClientError() bool
- func (o *NotificationsResourcePutPutUnauthorized) IsCode(code int) bool
- func (o *NotificationsResourcePutPutUnauthorized) IsRedirect() bool
- func (o *NotificationsResourcePutPutUnauthorized) IsServerError() bool
- func (o *NotificationsResourcePutPutUnauthorized) IsSuccess() bool
- func (o *NotificationsResourcePutPutUnauthorized) String() string
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 ¶
func (a *Client) NotificationResourceDeleteDelete(params *NotificationResourceDeleteDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*NotificationResourceDeleteDeleteNoContent, error)
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 ¶
func (o *NotificationResourceDeleteDeleteForbidden) Code() int
Code gets the status code for the notification resource delete delete forbidden response
func (*NotificationResourceDeleteDeleteForbidden) Error ¶
func (o *NotificationResourceDeleteDeleteForbidden) Error() string
func (*NotificationResourceDeleteDeleteForbidden) IsClientError ¶
func (o *NotificationResourceDeleteDeleteForbidden) IsClientError() bool
IsClientError returns true when this notification resource delete delete forbidden response has a 4xx status code
func (*NotificationResourceDeleteDeleteForbidden) IsCode ¶
func (o *NotificationResourceDeleteDeleteForbidden) IsCode(code int) bool
IsCode returns true when this notification resource delete delete forbidden response a status code equal to that given
func (*NotificationResourceDeleteDeleteForbidden) IsRedirect ¶
func (o *NotificationResourceDeleteDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this notification resource delete delete forbidden response has a 3xx status code
func (*NotificationResourceDeleteDeleteForbidden) IsServerError ¶
func (o *NotificationResourceDeleteDeleteForbidden) IsServerError() bool
IsServerError returns true when this notification resource delete delete forbidden response has a 5xx status code
func (*NotificationResourceDeleteDeleteForbidden) IsSuccess ¶
func (o *NotificationResourceDeleteDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this notification resource delete delete forbidden response has a 2xx status code
func (*NotificationResourceDeleteDeleteForbidden) String ¶
func (o *NotificationResourceDeleteDeleteForbidden) String() 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 ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) Code() int
Code gets the status code for the notification resource delete delete method not allowed response
func (*NotificationResourceDeleteDeleteMethodNotAllowed) Error ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) Error() string
func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsClientError ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsClientError() bool
IsClientError returns true when this notification resource delete delete method not allowed response has a 4xx status code
func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsCode ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsCode(code int) bool
IsCode returns true when this notification resource delete delete method not allowed response a status code equal to that given
func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsRedirect ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsRedirect() bool
IsRedirect returns true when this notification resource delete delete method not allowed response has a 3xx status code
func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsServerError ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsServerError() bool
IsServerError returns true when this notification resource delete delete method not allowed response has a 5xx status code
func (*NotificationResourceDeleteDeleteMethodNotAllowed) IsSuccess ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) IsSuccess() bool
IsSuccess returns true when this notification resource delete delete method not allowed response has a 2xx status code
func (*NotificationResourceDeleteDeleteMethodNotAllowed) String ¶
func (o *NotificationResourceDeleteDeleteMethodNotAllowed) String() 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 ¶
func (o *NotificationResourceDeleteDeleteNoContent) Code() int
Code gets the status code for the notification resource delete delete no content response
func (*NotificationResourceDeleteDeleteNoContent) Error ¶
func (o *NotificationResourceDeleteDeleteNoContent) Error() string
func (*NotificationResourceDeleteDeleteNoContent) IsClientError ¶
func (o *NotificationResourceDeleteDeleteNoContent) IsClientError() bool
IsClientError returns true when this notification resource delete delete no content response has a 4xx status code
func (*NotificationResourceDeleteDeleteNoContent) IsCode ¶
func (o *NotificationResourceDeleteDeleteNoContent) IsCode(code int) bool
IsCode returns true when this notification resource delete delete no content response a status code equal to that given
func (*NotificationResourceDeleteDeleteNoContent) IsRedirect ¶
func (o *NotificationResourceDeleteDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this notification resource delete delete no content response has a 3xx status code
func (*NotificationResourceDeleteDeleteNoContent) IsServerError ¶
func (o *NotificationResourceDeleteDeleteNoContent) IsServerError() bool
IsServerError returns true when this notification resource delete delete no content response has a 5xx status code
func (*NotificationResourceDeleteDeleteNoContent) IsSuccess ¶
func (o *NotificationResourceDeleteDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this notification resource delete delete no content response has a 2xx status code
func (*NotificationResourceDeleteDeleteNoContent) String ¶
func (o *NotificationResourceDeleteDeleteNoContent) String() 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 ¶
func (o *NotificationResourceDeleteDeleteParams) SetContext(ctx context.Context)
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 ¶
func (o *NotificationResourceDeleteDeleteParams) WithContext(ctx context.Context) *NotificationResourceDeleteDeleteParams
WithContext adds the context to the notification resource delete delete params
func (*NotificationResourceDeleteDeleteParams) WithDefaults ¶
func (o *NotificationResourceDeleteDeleteParams) WithDefaults() *NotificationResourceDeleteDeleteParams
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 ¶
func (o *NotificationResourceDeleteDeleteParams) WithHTTPClient(client *http.Client) *NotificationResourceDeleteDeleteParams
WithHTTPClient adds the HTTPClient to the notification resource delete delete params
func (*NotificationResourceDeleteDeleteParams) WithNotificationID ¶
func (o *NotificationResourceDeleteDeleteParams) WithNotificationID(notificationID string) *NotificationResourceDeleteDeleteParams
WithNotificationID adds the notificationID to the notification resource delete delete params
func (*NotificationResourceDeleteDeleteParams) WithTimeout ¶
func (o *NotificationResourceDeleteDeleteParams) WithTimeout(timeout time.Duration) *NotificationResourceDeleteDeleteParams
WithTimeout adds the timeout to the notification resource delete delete params
func (*NotificationResourceDeleteDeleteParams) WriteToRequest ¶
func (o *NotificationResourceDeleteDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) Code() int
Code gets the status code for the notification resource delete delete unauthorized response
func (*NotificationResourceDeleteDeleteUnauthorized) Error ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) Error() string
func (*NotificationResourceDeleteDeleteUnauthorized) IsClientError ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) IsClientError() bool
IsClientError returns true when this notification resource delete delete unauthorized response has a 4xx status code
func (*NotificationResourceDeleteDeleteUnauthorized) IsCode ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) IsCode(code int) bool
IsCode returns true when this notification resource delete delete unauthorized response a status code equal to that given
func (*NotificationResourceDeleteDeleteUnauthorized) IsRedirect ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) IsRedirect() bool
IsRedirect returns true when this notification resource delete delete unauthorized response has a 3xx status code
func (*NotificationResourceDeleteDeleteUnauthorized) IsServerError ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) IsServerError() bool
IsServerError returns true when this notification resource delete delete unauthorized response has a 5xx status code
func (*NotificationResourceDeleteDeleteUnauthorized) IsSuccess ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) IsSuccess() bool
IsSuccess returns true when this notification resource delete delete unauthorized response has a 2xx status code
func (*NotificationResourceDeleteDeleteUnauthorized) String ¶
func (o *NotificationResourceDeleteDeleteUnauthorized) String() 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 ¶
func (o *NotificationResourceGetGetForbidden) Code() int
Code gets the status code for the notification resource get get forbidden response
func (*NotificationResourceGetGetForbidden) Error ¶
func (o *NotificationResourceGetGetForbidden) Error() string
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 ¶
func (o *NotificationResourceGetGetForbidden) IsCode(code int) bool
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 ¶
func (o *NotificationResourceGetGetForbidden) IsSuccess() bool
IsSuccess returns true when this notification resource get get forbidden response has a 2xx status code
func (*NotificationResourceGetGetForbidden) String ¶
func (o *NotificationResourceGetGetForbidden) String() 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 ¶
func (o *NotificationResourceGetGetNotFound) Code() int
Code gets the status code for the notification resource get get not found response
func (*NotificationResourceGetGetNotFound) Error ¶
func (o *NotificationResourceGetGetNotFound) Error() string
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 ¶
func (o *NotificationResourceGetGetNotFound) IsCode(code int) bool
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 ¶
func (o *NotificationResourceGetGetNotFound) IsSuccess() bool
IsSuccess returns true when this notification resource get get not found response has a 2xx status code
func (*NotificationResourceGetGetNotFound) String ¶
func (o *NotificationResourceGetGetNotFound) String() 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 ¶
func (o *NotificationResourceGetGetOK) Code() int
Code gets the status code for the notification resource get get o k response
func (*NotificationResourceGetGetOK) Error ¶
func (o *NotificationResourceGetGetOK) Error() string
func (*NotificationResourceGetGetOK) GetPayload ¶
func (o *NotificationResourceGetGetOK) GetPayload() *models.Notification
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 ¶
func (o *NotificationResourceGetGetOK) String() 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 ¶
func (o *NotificationResourceGetGetParams) SetContext(ctx context.Context)
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 ¶
func (o *NotificationResourceGetGetParams) WithContext(ctx context.Context) *NotificationResourceGetGetParams
WithContext adds the context to the notification resource get get params
func (*NotificationResourceGetGetParams) WithDefaults ¶
func (o *NotificationResourceGetGetParams) WithDefaults() *NotificationResourceGetGetParams
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 ¶
func (o *NotificationResourceGetGetParams) WithHTTPClient(client *http.Client) *NotificationResourceGetGetParams
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 ¶
func (o *NotificationResourceGetGetParams) WithTimeout(timeout time.Duration) *NotificationResourceGetGetParams
WithTimeout adds the timeout to the notification resource get get params
func (*NotificationResourceGetGetParams) WriteToRequest ¶
func (o *NotificationResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *NotificationResourceGetGetUnauthorized) Code() int
Code gets the status code for the notification resource get get unauthorized response
func (*NotificationResourceGetGetUnauthorized) Error ¶
func (o *NotificationResourceGetGetUnauthorized) Error() string
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 ¶
func (o *NotificationResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this notification resource get get unauthorized response a status code equal to that given
func (*NotificationResourceGetGetUnauthorized) IsRedirect ¶
func (o *NotificationResourceGetGetUnauthorized) IsRedirect() bool
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 ¶
func (o *NotificationResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this notification resource get get unauthorized response has a 2xx status code
func (*NotificationResourceGetGetUnauthorized) String ¶
func (o *NotificationResourceGetGetUnauthorized) String() 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 ¶
func (o *NotificationResourcePostPostBadRequest) Code() int
Code gets the status code for the notification resource post post bad request response
func (*NotificationResourcePostPostBadRequest) Error ¶
func (o *NotificationResourcePostPostBadRequest) Error() string
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 ¶
func (o *NotificationResourcePostPostBadRequest) IsCode(code int) bool
IsCode returns true when this notification resource post post bad request response a status code equal to that given
func (*NotificationResourcePostPostBadRequest) IsRedirect ¶
func (o *NotificationResourcePostPostBadRequest) IsRedirect() bool
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 ¶
func (o *NotificationResourcePostPostBadRequest) IsSuccess() bool
IsSuccess returns true when this notification resource post post bad request response has a 2xx status code
func (*NotificationResourcePostPostBadRequest) String ¶
func (o *NotificationResourcePostPostBadRequest) String() 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 ¶
func (o *NotificationResourcePostPostForbidden) Code() int
Code gets the status code for the notification resource post post forbidden response
func (*NotificationResourcePostPostForbidden) Error ¶
func (o *NotificationResourcePostPostForbidden) Error() string
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 ¶
func (o *NotificationResourcePostPostForbidden) IsCode(code int) bool
IsCode returns true when this notification resource post post forbidden response a status code equal to that given
func (*NotificationResourcePostPostForbidden) IsRedirect ¶
func (o *NotificationResourcePostPostForbidden) IsRedirect() bool
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 ¶
func (o *NotificationResourcePostPostForbidden) IsSuccess() bool
IsSuccess returns true when this notification resource post post forbidden response has a 2xx status code
func (*NotificationResourcePostPostForbidden) String ¶
func (o *NotificationResourcePostPostForbidden) String() 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 ¶
func (o *NotificationResourcePostPostOK) Code() int
Code gets the status code for the notification resource post post o k response
func (*NotificationResourcePostPostOK) Error ¶
func (o *NotificationResourcePostPostOK) Error() string
func (*NotificationResourcePostPostOK) GetPayload ¶
func (o *NotificationResourcePostPostOK) GetPayload() *models.Notification
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 ¶
func (o *NotificationResourcePostPostOK) String() 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 ¶
func (o *NotificationResourcePostPostParams) SetBody(body *models.Notification)
SetBody adds the body to the notification resource post post params
func (*NotificationResourcePostPostParams) SetContext ¶
func (o *NotificationResourcePostPostParams) SetContext(ctx context.Context)
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 ¶
func (o *NotificationResourcePostPostParams) WithBody(body *models.Notification) *NotificationResourcePostPostParams
WithBody adds the body to the notification resource post post params
func (*NotificationResourcePostPostParams) WithContext ¶
func (o *NotificationResourcePostPostParams) WithContext(ctx context.Context) *NotificationResourcePostPostParams
WithContext adds the context to the notification resource post post params
func (*NotificationResourcePostPostParams) WithDefaults ¶
func (o *NotificationResourcePostPostParams) WithDefaults() *NotificationResourcePostPostParams
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 ¶
func (o *NotificationResourcePostPostParams) WithHTTPClient(client *http.Client) *NotificationResourcePostPostParams
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 ¶
func (o *NotificationResourcePostPostParams) WithTimeout(timeout time.Duration) *NotificationResourcePostPostParams
WithTimeout adds the timeout to the notification resource post post params
func (*NotificationResourcePostPostParams) WriteToRequest ¶
func (o *NotificationResourcePostPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *NotificationResourcePostPostUnauthorized) Code() int
Code gets the status code for the notification resource post post unauthorized response
func (*NotificationResourcePostPostUnauthorized) Error ¶
func (o *NotificationResourcePostPostUnauthorized) Error() string
func (*NotificationResourcePostPostUnauthorized) IsClientError ¶
func (o *NotificationResourcePostPostUnauthorized) IsClientError() bool
IsClientError returns true when this notification resource post post unauthorized response has a 4xx status code
func (*NotificationResourcePostPostUnauthorized) IsCode ¶
func (o *NotificationResourcePostPostUnauthorized) IsCode(code int) bool
IsCode returns true when this notification resource post post unauthorized response a status code equal to that given
func (*NotificationResourcePostPostUnauthorized) IsRedirect ¶
func (o *NotificationResourcePostPostUnauthorized) IsRedirect() bool
IsRedirect returns true when this notification resource post post unauthorized response has a 3xx status code
func (*NotificationResourcePostPostUnauthorized) IsServerError ¶
func (o *NotificationResourcePostPostUnauthorized) IsServerError() bool
IsServerError returns true when this notification resource post post unauthorized response has a 5xx status code
func (*NotificationResourcePostPostUnauthorized) IsSuccess ¶
func (o *NotificationResourcePostPostUnauthorized) IsSuccess() bool
IsSuccess returns true when this notification resource post post unauthorized response has a 2xx status code
func (*NotificationResourcePostPostUnauthorized) String ¶
func (o *NotificationResourcePostPostUnauthorized) String() 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 ¶
func (o *NotificationsResourceGetGetOK) Code() int
Code gets the status code for the notifications resource get get o k response
func (*NotificationsResourceGetGetOK) Error ¶
func (o *NotificationsResourceGetGetOK) Error() string
func (*NotificationsResourceGetGetOK) GetPayload ¶
func (o *NotificationsResourceGetGetOK) GetPayload() []*models.Notification
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 ¶
func (o *NotificationsResourceGetGetOK) String() 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 ¶
func (o *NotificationsResourceGetGetParams) SetContext(ctx context.Context)
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 ¶
func (o *NotificationsResourceGetGetParams) WithContext(ctx context.Context) *NotificationsResourceGetGetParams
WithContext adds the context to the notifications resource get get params
func (*NotificationsResourceGetGetParams) WithDefaults ¶
func (o *NotificationsResourceGetGetParams) WithDefaults() *NotificationsResourceGetGetParams
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 ¶
func (o *NotificationsResourceGetGetParams) WithHTTPClient(client *http.Client) *NotificationsResourceGetGetParams
WithHTTPClient adds the HTTPClient to the notifications resource get get params
func (*NotificationsResourceGetGetParams) WithReferenceID ¶
func (o *NotificationsResourceGetGetParams) WithReferenceID(referenceID *string) *NotificationsResourceGetGetParams
WithReferenceID adds the referenceID to the notifications resource get get params
func (*NotificationsResourceGetGetParams) WithTimeout ¶
func (o *NotificationsResourceGetGetParams) WithTimeout(timeout time.Duration) *NotificationsResourceGetGetParams
WithTimeout adds the timeout to the notifications resource get get params
func (*NotificationsResourceGetGetParams) WriteToRequest ¶
func (o *NotificationsResourceGetGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *NotificationsResourceGetGetUnauthorized) Code() int
Code gets the status code for the notifications resource get get unauthorized response
func (*NotificationsResourceGetGetUnauthorized) Error ¶
func (o *NotificationsResourceGetGetUnauthorized) Error() string
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 ¶
func (o *NotificationsResourceGetGetUnauthorized) IsCode(code int) bool
IsCode returns true when this notifications resource get get unauthorized response a status code equal to that given
func (*NotificationsResourceGetGetUnauthorized) IsRedirect ¶
func (o *NotificationsResourceGetGetUnauthorized) IsRedirect() bool
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 ¶
func (o *NotificationsResourceGetGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this notifications resource get get unauthorized response has a 2xx status code
func (*NotificationsResourceGetGetUnauthorized) String ¶
func (o *NotificationsResourceGetGetUnauthorized) String() 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 ¶
func (o *NotificationsResourcePutPutBadRequest) Code() int
Code gets the status code for the notifications resource put put bad request response
func (*NotificationsResourcePutPutBadRequest) Error ¶
func (o *NotificationsResourcePutPutBadRequest) Error() string
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 ¶
func (o *NotificationsResourcePutPutBadRequest) IsCode(code int) bool
IsCode returns true when this notifications resource put put bad request response a status code equal to that given
func (*NotificationsResourcePutPutBadRequest) IsRedirect ¶
func (o *NotificationsResourcePutPutBadRequest) IsRedirect() bool
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 ¶
func (o *NotificationsResourcePutPutBadRequest) IsSuccess() bool
IsSuccess returns true when this notifications resource put put bad request response has a 2xx status code
func (*NotificationsResourcePutPutBadRequest) String ¶
func (o *NotificationsResourcePutPutBadRequest) String() 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 ¶
func (o *NotificationsResourcePutPutForbidden) Code() int
Code gets the status code for the notifications resource put put forbidden response
func (*NotificationsResourcePutPutForbidden) Error ¶
func (o *NotificationsResourcePutPutForbidden) Error() string
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 ¶
func (o *NotificationsResourcePutPutForbidden) IsCode(code int) bool
IsCode returns true when this notifications resource put put forbidden response a status code equal to that given
func (*NotificationsResourcePutPutForbidden) IsRedirect ¶
func (o *NotificationsResourcePutPutForbidden) IsRedirect() bool
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 ¶
func (o *NotificationsResourcePutPutForbidden) IsSuccess() bool
IsSuccess returns true when this notifications resource put put forbidden response has a 2xx status code
func (*NotificationsResourcePutPutForbidden) String ¶
func (o *NotificationsResourcePutPutForbidden) String() 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 ¶
func (o *NotificationsResourcePutPutOK) Code() int
Code gets the status code for the notifications resource put put o k response
func (*NotificationsResourcePutPutOK) Error ¶
func (o *NotificationsResourcePutPutOK) Error() string
func (*NotificationsResourcePutPutOK) GetPayload ¶
func (o *NotificationsResourcePutPutOK) GetPayload() *models.Notification
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 ¶
func (o *NotificationsResourcePutPutOK) String() 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 ¶
func (o *NotificationsResourcePutPutParams) SetBody(body *models.Notification)
SetBody adds the body to the notifications resource put put params
func (*NotificationsResourcePutPutParams) SetContext ¶
func (o *NotificationsResourcePutPutParams) SetContext(ctx context.Context)
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 ¶
func (o *NotificationsResourcePutPutParams) WithBody(body *models.Notification) *NotificationsResourcePutPutParams
WithBody adds the body to the notifications resource put put params
func (*NotificationsResourcePutPutParams) WithContext ¶
func (o *NotificationsResourcePutPutParams) WithContext(ctx context.Context) *NotificationsResourcePutPutParams
WithContext adds the context to the notifications resource put put params
func (*NotificationsResourcePutPutParams) WithDefaults ¶
func (o *NotificationsResourcePutPutParams) WithDefaults() *NotificationsResourcePutPutParams
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 ¶
func (o *NotificationsResourcePutPutParams) WithHTTPClient(client *http.Client) *NotificationsResourcePutPutParams
WithHTTPClient adds the HTTPClient to the notifications resource put put params
func (*NotificationsResourcePutPutParams) WithTimeout ¶
func (o *NotificationsResourcePutPutParams) WithTimeout(timeout time.Duration) *NotificationsResourcePutPutParams
WithTimeout adds the timeout to the notifications resource put put params
func (*NotificationsResourcePutPutParams) WriteToRequest ¶
func (o *NotificationsResourcePutPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *NotificationsResourcePutPutUnauthorized) Code() int
Code gets the status code for the notifications resource put put unauthorized response
func (*NotificationsResourcePutPutUnauthorized) Error ¶
func (o *NotificationsResourcePutPutUnauthorized) Error() string
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 ¶
func (o *NotificationsResourcePutPutUnauthorized) IsCode(code int) bool
IsCode returns true when this notifications resource put put unauthorized response a status code equal to that given
func (*NotificationsResourcePutPutUnauthorized) IsRedirect ¶
func (o *NotificationsResourcePutPutUnauthorized) IsRedirect() bool
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 ¶
func (o *NotificationsResourcePutPutUnauthorized) IsSuccess() bool
IsSuccess returns true when this notifications resource put put unauthorized response has a 2xx status code
func (*NotificationsResourcePutPutUnauthorized) String ¶
func (o *NotificationsResourcePutPutUnauthorized) String() string
Source Files ¶
- notification_client.go
- notification_resource_delete_delete_parameters.go
- notification_resource_delete_delete_responses.go
- notification_resource_get_get_parameters.go
- notification_resource_get_get_responses.go
- notification_resource_post_post_parameters.go
- notification_resource_post_post_responses.go
- notifications_resource_get_get_parameters.go
- notifications_resource_get_get_responses.go
- notifications_resource_put_put_parameters.go
- notifications_resource_put_put_responses.go