Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateReportNotification(params *CreateReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateReportNotificationCreated, error)
- func (a *Client) DeleteReportNotification(params *DeleteReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteReportNotificationNoContent, error)
- func (a *Client) GetReportNotification(params *GetReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReportNotificationOK, error)
- func (a *Client) GetReportNotifications(params *GetReportNotificationsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetReportNotificationsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateReportNotification(params *UpdateReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateReportNotificationOK, error)
- type ClientOption
- type ClientService
- type CreateReportNotificationBadRequest
- func (o *CreateReportNotificationBadRequest) Code() int
- func (o *CreateReportNotificationBadRequest) Error() string
- func (o *CreateReportNotificationBadRequest) GetPayload() *models.Errors
- func (o *CreateReportNotificationBadRequest) IsClientError() bool
- func (o *CreateReportNotificationBadRequest) IsCode(code int) bool
- func (o *CreateReportNotificationBadRequest) IsRedirect() bool
- func (o *CreateReportNotificationBadRequest) IsServerError() bool
- func (o *CreateReportNotificationBadRequest) IsSuccess() bool
- func (o *CreateReportNotificationBadRequest) String() string
- type CreateReportNotificationCreated
- func (o *CreateReportNotificationCreated) Code() int
- func (o *CreateReportNotificationCreated) Error() string
- func (o *CreateReportNotificationCreated) GetPayload() *models.ReportNotification
- func (o *CreateReportNotificationCreated) IsClientError() bool
- func (o *CreateReportNotificationCreated) IsCode(code int) bool
- func (o *CreateReportNotificationCreated) IsRedirect() bool
- func (o *CreateReportNotificationCreated) IsServerError() bool
- func (o *CreateReportNotificationCreated) IsSuccess() bool
- func (o *CreateReportNotificationCreated) String() string
- type CreateReportNotificationParams
- func NewCreateReportNotificationParams() *CreateReportNotificationParams
- func NewCreateReportNotificationParamsWithContext(ctx context.Context) *CreateReportNotificationParams
- func NewCreateReportNotificationParamsWithHTTPClient(client *http.Client) *CreateReportNotificationParams
- func NewCreateReportNotificationParamsWithTimeout(timeout time.Duration) *CreateReportNotificationParams
- func (o *CreateReportNotificationParams) SetContext(ctx context.Context)
- func (o *CreateReportNotificationParams) SetCreateReportNotification(createReportNotification *models.CreateReportNotification)
- func (o *CreateReportNotificationParams) SetDefaults()
- func (o *CreateReportNotificationParams) SetHTTPClient(client *http.Client)
- func (o *CreateReportNotificationParams) SetTimeout(timeout time.Duration)
- func (o *CreateReportNotificationParams) WithContext(ctx context.Context) *CreateReportNotificationParams
- func (o *CreateReportNotificationParams) WithCreateReportNotification(createReportNotification *models.CreateReportNotification) *CreateReportNotificationParams
- func (o *CreateReportNotificationParams) WithDefaults() *CreateReportNotificationParams
- func (o *CreateReportNotificationParams) WithHTTPClient(client *http.Client) *CreateReportNotificationParams
- func (o *CreateReportNotificationParams) WithTimeout(timeout time.Duration) *CreateReportNotificationParams
- func (o *CreateReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReportNotificationReader
- type CreateReportNotificationUnprocessableEntity
- func (o *CreateReportNotificationUnprocessableEntity) Code() int
- func (o *CreateReportNotificationUnprocessableEntity) Error() string
- func (o *CreateReportNotificationUnprocessableEntity) GetPayload() *models.Errors
- func (o *CreateReportNotificationUnprocessableEntity) IsClientError() bool
- func (o *CreateReportNotificationUnprocessableEntity) IsCode(code int) bool
- func (o *CreateReportNotificationUnprocessableEntity) IsRedirect() bool
- func (o *CreateReportNotificationUnprocessableEntity) IsServerError() bool
- func (o *CreateReportNotificationUnprocessableEntity) IsSuccess() bool
- func (o *CreateReportNotificationUnprocessableEntity) String() string
- type DeleteReportNotificationNoContent
- func (o *DeleteReportNotificationNoContent) Code() int
- func (o *DeleteReportNotificationNoContent) Error() string
- func (o *DeleteReportNotificationNoContent) GetPayload() *models.ReportNotification
- func (o *DeleteReportNotificationNoContent) IsClientError() bool
- func (o *DeleteReportNotificationNoContent) IsCode(code int) bool
- func (o *DeleteReportNotificationNoContent) IsRedirect() bool
- func (o *DeleteReportNotificationNoContent) IsServerError() bool
- func (o *DeleteReportNotificationNoContent) IsSuccess() bool
- func (o *DeleteReportNotificationNoContent) String() string
- type DeleteReportNotificationNotFound
- func (o *DeleteReportNotificationNotFound) Code() int
- func (o *DeleteReportNotificationNotFound) Error() string
- func (o *DeleteReportNotificationNotFound) GetPayload() *models.Errors
- func (o *DeleteReportNotificationNotFound) IsClientError() bool
- func (o *DeleteReportNotificationNotFound) IsCode(code int) bool
- func (o *DeleteReportNotificationNotFound) IsRedirect() bool
- func (o *DeleteReportNotificationNotFound) IsServerError() bool
- func (o *DeleteReportNotificationNotFound) IsSuccess() bool
- func (o *DeleteReportNotificationNotFound) String() string
- type DeleteReportNotificationParams
- func NewDeleteReportNotificationParams() *DeleteReportNotificationParams
- func NewDeleteReportNotificationParamsWithContext(ctx context.Context) *DeleteReportNotificationParams
- func NewDeleteReportNotificationParamsWithHTTPClient(client *http.Client) *DeleteReportNotificationParams
- func NewDeleteReportNotificationParamsWithTimeout(timeout time.Duration) *DeleteReportNotificationParams
- func (o *DeleteReportNotificationParams) SetContext(ctx context.Context)
- func (o *DeleteReportNotificationParams) SetDefaults()
- func (o *DeleteReportNotificationParams) SetHTTPClient(client *http.Client)
- func (o *DeleteReportNotificationParams) SetReportNotificationToken(reportNotificationToken string)
- func (o *DeleteReportNotificationParams) SetTimeout(timeout time.Duration)
- func (o *DeleteReportNotificationParams) WithContext(ctx context.Context) *DeleteReportNotificationParams
- func (o *DeleteReportNotificationParams) WithDefaults() *DeleteReportNotificationParams
- func (o *DeleteReportNotificationParams) WithHTTPClient(client *http.Client) *DeleteReportNotificationParams
- func (o *DeleteReportNotificationParams) WithReportNotificationToken(reportNotificationToken string) *DeleteReportNotificationParams
- func (o *DeleteReportNotificationParams) WithTimeout(timeout time.Duration) *DeleteReportNotificationParams
- func (o *DeleteReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReportNotificationReader
- type GetReportNotificationNotFound
- func (o *GetReportNotificationNotFound) Code() int
- func (o *GetReportNotificationNotFound) Error() string
- func (o *GetReportNotificationNotFound) GetPayload() *models.Errors
- func (o *GetReportNotificationNotFound) IsClientError() bool
- func (o *GetReportNotificationNotFound) IsCode(code int) bool
- func (o *GetReportNotificationNotFound) IsRedirect() bool
- func (o *GetReportNotificationNotFound) IsServerError() bool
- func (o *GetReportNotificationNotFound) IsSuccess() bool
- func (o *GetReportNotificationNotFound) String() string
- type GetReportNotificationOK
- func (o *GetReportNotificationOK) Code() int
- func (o *GetReportNotificationOK) Error() string
- func (o *GetReportNotificationOK) GetPayload() *models.ReportNotification
- func (o *GetReportNotificationOK) IsClientError() bool
- func (o *GetReportNotificationOK) IsCode(code int) bool
- func (o *GetReportNotificationOK) IsRedirect() bool
- func (o *GetReportNotificationOK) IsServerError() bool
- func (o *GetReportNotificationOK) IsSuccess() bool
- func (o *GetReportNotificationOK) String() string
- type GetReportNotificationParams
- func NewGetReportNotificationParams() *GetReportNotificationParams
- func NewGetReportNotificationParamsWithContext(ctx context.Context) *GetReportNotificationParams
- func NewGetReportNotificationParamsWithHTTPClient(client *http.Client) *GetReportNotificationParams
- func NewGetReportNotificationParamsWithTimeout(timeout time.Duration) *GetReportNotificationParams
- func (o *GetReportNotificationParams) SetContext(ctx context.Context)
- func (o *GetReportNotificationParams) SetDefaults()
- func (o *GetReportNotificationParams) SetHTTPClient(client *http.Client)
- func (o *GetReportNotificationParams) SetReportNotificationToken(reportNotificationToken string)
- func (o *GetReportNotificationParams) SetTimeout(timeout time.Duration)
- func (o *GetReportNotificationParams) WithContext(ctx context.Context) *GetReportNotificationParams
- func (o *GetReportNotificationParams) WithDefaults() *GetReportNotificationParams
- func (o *GetReportNotificationParams) WithHTTPClient(client *http.Client) *GetReportNotificationParams
- func (o *GetReportNotificationParams) WithReportNotificationToken(reportNotificationToken string) *GetReportNotificationParams
- func (o *GetReportNotificationParams) WithTimeout(timeout time.Duration) *GetReportNotificationParams
- func (o *GetReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportNotificationReader
- type GetReportNotificationsOK
- func (o *GetReportNotificationsOK) Code() int
- func (o *GetReportNotificationsOK) Error() string
- func (o *GetReportNotificationsOK) GetPayload() *models.ReportNotifications
- func (o *GetReportNotificationsOK) IsClientError() bool
- func (o *GetReportNotificationsOK) IsCode(code int) bool
- func (o *GetReportNotificationsOK) IsRedirect() bool
- func (o *GetReportNotificationsOK) IsServerError() bool
- func (o *GetReportNotificationsOK) IsSuccess() bool
- func (o *GetReportNotificationsOK) String() string
- type GetReportNotificationsParams
- func NewGetReportNotificationsParams() *GetReportNotificationsParams
- func NewGetReportNotificationsParamsWithContext(ctx context.Context) *GetReportNotificationsParams
- func NewGetReportNotificationsParamsWithHTTPClient(client *http.Client) *GetReportNotificationsParams
- func NewGetReportNotificationsParamsWithTimeout(timeout time.Duration) *GetReportNotificationsParams
- func (o *GetReportNotificationsParams) SetContext(ctx context.Context)
- func (o *GetReportNotificationsParams) SetDefaults()
- func (o *GetReportNotificationsParams) SetHTTPClient(client *http.Client)
- func (o *GetReportNotificationsParams) SetLimit(limit *int32)
- func (o *GetReportNotificationsParams) SetPage(page *int32)
- func (o *GetReportNotificationsParams) SetTimeout(timeout time.Duration)
- func (o *GetReportNotificationsParams) WithContext(ctx context.Context) *GetReportNotificationsParams
- func (o *GetReportNotificationsParams) WithDefaults() *GetReportNotificationsParams
- func (o *GetReportNotificationsParams) WithHTTPClient(client *http.Client) *GetReportNotificationsParams
- func (o *GetReportNotificationsParams) WithLimit(limit *int32) *GetReportNotificationsParams
- func (o *GetReportNotificationsParams) WithPage(page *int32) *GetReportNotificationsParams
- func (o *GetReportNotificationsParams) WithTimeout(timeout time.Duration) *GetReportNotificationsParams
- func (o *GetReportNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReportNotificationsReader
- type UpdateReportNotificationBadRequest
- func (o *UpdateReportNotificationBadRequest) Code() int
- func (o *UpdateReportNotificationBadRequest) Error() string
- func (o *UpdateReportNotificationBadRequest) GetPayload() *models.Errors
- func (o *UpdateReportNotificationBadRequest) IsClientError() bool
- func (o *UpdateReportNotificationBadRequest) IsCode(code int) bool
- func (o *UpdateReportNotificationBadRequest) IsRedirect() bool
- func (o *UpdateReportNotificationBadRequest) IsServerError() bool
- func (o *UpdateReportNotificationBadRequest) IsSuccess() bool
- func (o *UpdateReportNotificationBadRequest) String() string
- type UpdateReportNotificationNotFound
- func (o *UpdateReportNotificationNotFound) Code() int
- func (o *UpdateReportNotificationNotFound) Error() string
- func (o *UpdateReportNotificationNotFound) GetPayload() *models.Errors
- func (o *UpdateReportNotificationNotFound) IsClientError() bool
- func (o *UpdateReportNotificationNotFound) IsCode(code int) bool
- func (o *UpdateReportNotificationNotFound) IsRedirect() bool
- func (o *UpdateReportNotificationNotFound) IsServerError() bool
- func (o *UpdateReportNotificationNotFound) IsSuccess() bool
- func (o *UpdateReportNotificationNotFound) String() string
- type UpdateReportNotificationOK
- func (o *UpdateReportNotificationOK) Code() int
- func (o *UpdateReportNotificationOK) Error() string
- func (o *UpdateReportNotificationOK) GetPayload() *models.ReportNotification
- func (o *UpdateReportNotificationOK) IsClientError() bool
- func (o *UpdateReportNotificationOK) IsCode(code int) bool
- func (o *UpdateReportNotificationOK) IsRedirect() bool
- func (o *UpdateReportNotificationOK) IsServerError() bool
- func (o *UpdateReportNotificationOK) IsSuccess() bool
- func (o *UpdateReportNotificationOK) String() string
- type UpdateReportNotificationParams
- func NewUpdateReportNotificationParams() *UpdateReportNotificationParams
- func NewUpdateReportNotificationParamsWithContext(ctx context.Context) *UpdateReportNotificationParams
- func NewUpdateReportNotificationParamsWithHTTPClient(client *http.Client) *UpdateReportNotificationParams
- func NewUpdateReportNotificationParamsWithTimeout(timeout time.Duration) *UpdateReportNotificationParams
- func (o *UpdateReportNotificationParams) SetContext(ctx context.Context)
- func (o *UpdateReportNotificationParams) SetDefaults()
- func (o *UpdateReportNotificationParams) SetHTTPClient(client *http.Client)
- func (o *UpdateReportNotificationParams) SetReportNotificationToken(reportNotificationToken string)
- func (o *UpdateReportNotificationParams) SetTimeout(timeout time.Duration)
- func (o *UpdateReportNotificationParams) SetUpdateReportNotification(updateReportNotification *models.UpdateReportNotification)
- func (o *UpdateReportNotificationParams) WithContext(ctx context.Context) *UpdateReportNotificationParams
- func (o *UpdateReportNotificationParams) WithDefaults() *UpdateReportNotificationParams
- func (o *UpdateReportNotificationParams) WithHTTPClient(client *http.Client) *UpdateReportNotificationParams
- func (o *UpdateReportNotificationParams) WithReportNotificationToken(reportNotificationToken string) *UpdateReportNotificationParams
- func (o *UpdateReportNotificationParams) WithTimeout(timeout time.Duration) *UpdateReportNotificationParams
- func (o *UpdateReportNotificationParams) WithUpdateReportNotification(updateReportNotification *models.UpdateReportNotification) *UpdateReportNotificationParams
- func (o *UpdateReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReportNotificationReader
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 report notifications API
func (*Client) CreateReportNotification ¶
func (a *Client) CreateReportNotification(params *CreateReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportNotificationCreated, error)
CreateReportNotification Create a ReportNotification.
func (*Client) DeleteReportNotification ¶
func (a *Client) DeleteReportNotification(params *DeleteReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReportNotificationNoContent, error)
DeleteReportNotification Delete a ReportNotification.
func (*Client) GetReportNotification ¶
func (a *Client) GetReportNotification(params *GetReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportNotificationOK, error)
GetReportNotification Return a ReportNotification.
func (*Client) GetReportNotifications ¶
func (a *Client) GetReportNotifications(params *GetReportNotificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportNotificationsOK, error)
GetReportNotifications Return all ReportNotifications.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateReportNotification ¶
func (a *Client) UpdateReportNotification(params *UpdateReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReportNotificationOK, error)
UpdateReportNotification Update a ReportNotification.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateReportNotification(params *CreateReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateReportNotificationCreated, error) DeleteReportNotification(params *DeleteReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteReportNotificationNoContent, error) GetReportNotification(params *GetReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportNotificationOK, error) GetReportNotifications(params *GetReportNotificationsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetReportNotificationsOK, error) UpdateReportNotification(params *UpdateReportNotificationParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateReportNotificationOK, 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 report notifications API client.
type CreateReportNotificationBadRequest ¶
CreateReportNotificationBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewCreateReportNotificationBadRequest ¶
func NewCreateReportNotificationBadRequest() *CreateReportNotificationBadRequest
NewCreateReportNotificationBadRequest creates a CreateReportNotificationBadRequest with default headers values
func (*CreateReportNotificationBadRequest) Code ¶
func (o *CreateReportNotificationBadRequest) Code() int
Code gets the status code for the create report notification bad request response
func (*CreateReportNotificationBadRequest) Error ¶
func (o *CreateReportNotificationBadRequest) Error() string
func (*CreateReportNotificationBadRequest) GetPayload ¶
func (o *CreateReportNotificationBadRequest) GetPayload() *models.Errors
func (*CreateReportNotificationBadRequest) IsClientError ¶
func (o *CreateReportNotificationBadRequest) IsClientError() bool
IsClientError returns true when this create report notification bad request response has a 4xx status code
func (*CreateReportNotificationBadRequest) IsCode ¶
func (o *CreateReportNotificationBadRequest) IsCode(code int) bool
IsCode returns true when this create report notification bad request response a status code equal to that given
func (*CreateReportNotificationBadRequest) IsRedirect ¶
func (o *CreateReportNotificationBadRequest) IsRedirect() bool
IsRedirect returns true when this create report notification bad request response has a 3xx status code
func (*CreateReportNotificationBadRequest) IsServerError ¶
func (o *CreateReportNotificationBadRequest) IsServerError() bool
IsServerError returns true when this create report notification bad request response has a 5xx status code
func (*CreateReportNotificationBadRequest) IsSuccess ¶
func (o *CreateReportNotificationBadRequest) IsSuccess() bool
IsSuccess returns true when this create report notification bad request response has a 2xx status code
func (*CreateReportNotificationBadRequest) String ¶
func (o *CreateReportNotificationBadRequest) String() string
type CreateReportNotificationCreated ¶
type CreateReportNotificationCreated struct {
Payload *models.ReportNotification
}
CreateReportNotificationCreated describes a response with status code 201, with default header values.
CreateReportNotificationCreated create report notification created
func NewCreateReportNotificationCreated ¶
func NewCreateReportNotificationCreated() *CreateReportNotificationCreated
NewCreateReportNotificationCreated creates a CreateReportNotificationCreated with default headers values
func (*CreateReportNotificationCreated) Code ¶
func (o *CreateReportNotificationCreated) Code() int
Code gets the status code for the create report notification created response
func (*CreateReportNotificationCreated) Error ¶
func (o *CreateReportNotificationCreated) Error() string
func (*CreateReportNotificationCreated) GetPayload ¶
func (o *CreateReportNotificationCreated) GetPayload() *models.ReportNotification
func (*CreateReportNotificationCreated) IsClientError ¶
func (o *CreateReportNotificationCreated) IsClientError() bool
IsClientError returns true when this create report notification created response has a 4xx status code
func (*CreateReportNotificationCreated) IsCode ¶
func (o *CreateReportNotificationCreated) IsCode(code int) bool
IsCode returns true when this create report notification created response a status code equal to that given
func (*CreateReportNotificationCreated) IsRedirect ¶
func (o *CreateReportNotificationCreated) IsRedirect() bool
IsRedirect returns true when this create report notification created response has a 3xx status code
func (*CreateReportNotificationCreated) IsServerError ¶
func (o *CreateReportNotificationCreated) IsServerError() bool
IsServerError returns true when this create report notification created response has a 5xx status code
func (*CreateReportNotificationCreated) IsSuccess ¶
func (o *CreateReportNotificationCreated) IsSuccess() bool
IsSuccess returns true when this create report notification created response has a 2xx status code
func (*CreateReportNotificationCreated) String ¶
func (o *CreateReportNotificationCreated) String() string
type CreateReportNotificationParams ¶
type CreateReportNotificationParams struct { // CreateReportNotification. CreateReportNotification *models.CreateReportNotification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateReportNotificationParams contains all the parameters to send to the API endpoint
for the create report notification operation. Typically these are written to a http.Request.
func NewCreateReportNotificationParams ¶
func NewCreateReportNotificationParams() *CreateReportNotificationParams
NewCreateReportNotificationParams creates a new CreateReportNotificationParams 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 NewCreateReportNotificationParamsWithContext ¶
func NewCreateReportNotificationParamsWithContext(ctx context.Context) *CreateReportNotificationParams
NewCreateReportNotificationParamsWithContext creates a new CreateReportNotificationParams object with the ability to set a context for a request.
func NewCreateReportNotificationParamsWithHTTPClient ¶
func NewCreateReportNotificationParamsWithHTTPClient(client *http.Client) *CreateReportNotificationParams
NewCreateReportNotificationParamsWithHTTPClient creates a new CreateReportNotificationParams object with the ability to set a custom HTTPClient for a request.
func NewCreateReportNotificationParamsWithTimeout ¶
func NewCreateReportNotificationParamsWithTimeout(timeout time.Duration) *CreateReportNotificationParams
NewCreateReportNotificationParamsWithTimeout creates a new CreateReportNotificationParams object with the ability to set a timeout on a request.
func (*CreateReportNotificationParams) SetContext ¶
func (o *CreateReportNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the create report notification params
func (*CreateReportNotificationParams) SetCreateReportNotification ¶
func (o *CreateReportNotificationParams) SetCreateReportNotification(createReportNotification *models.CreateReportNotification)
SetCreateReportNotification adds the createReportNotification to the create report notification params
func (*CreateReportNotificationParams) SetDefaults ¶
func (o *CreateReportNotificationParams) SetDefaults()
SetDefaults hydrates default values in the create report notification params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReportNotificationParams) SetHTTPClient ¶
func (o *CreateReportNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create report notification params
func (*CreateReportNotificationParams) SetTimeout ¶
func (o *CreateReportNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create report notification params
func (*CreateReportNotificationParams) WithContext ¶
func (o *CreateReportNotificationParams) WithContext(ctx context.Context) *CreateReportNotificationParams
WithContext adds the context to the create report notification params
func (*CreateReportNotificationParams) WithCreateReportNotification ¶
func (o *CreateReportNotificationParams) WithCreateReportNotification(createReportNotification *models.CreateReportNotification) *CreateReportNotificationParams
WithCreateReportNotification adds the createReportNotification to the create report notification params
func (*CreateReportNotificationParams) WithDefaults ¶
func (o *CreateReportNotificationParams) WithDefaults() *CreateReportNotificationParams
WithDefaults hydrates default values in the create report notification params (not the query body).
All values with no default are reset to their zero value.
func (*CreateReportNotificationParams) WithHTTPClient ¶
func (o *CreateReportNotificationParams) WithHTTPClient(client *http.Client) *CreateReportNotificationParams
WithHTTPClient adds the HTTPClient to the create report notification params
func (*CreateReportNotificationParams) WithTimeout ¶
func (o *CreateReportNotificationParams) WithTimeout(timeout time.Duration) *CreateReportNotificationParams
WithTimeout adds the timeout to the create report notification params
func (*CreateReportNotificationParams) WriteToRequest ¶
func (o *CreateReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReportNotificationReader ¶
type CreateReportNotificationReader struct {
// contains filtered or unexported fields
}
CreateReportNotificationReader is a Reader for the CreateReportNotification structure.
func (*CreateReportNotificationReader) ReadResponse ¶
func (o *CreateReportNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateReportNotificationUnprocessableEntity ¶
CreateReportNotificationUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewCreateReportNotificationUnprocessableEntity ¶
func NewCreateReportNotificationUnprocessableEntity() *CreateReportNotificationUnprocessableEntity
NewCreateReportNotificationUnprocessableEntity creates a CreateReportNotificationUnprocessableEntity with default headers values
func (*CreateReportNotificationUnprocessableEntity) Code ¶
func (o *CreateReportNotificationUnprocessableEntity) Code() int
Code gets the status code for the create report notification unprocessable entity response
func (*CreateReportNotificationUnprocessableEntity) Error ¶
func (o *CreateReportNotificationUnprocessableEntity) Error() string
func (*CreateReportNotificationUnprocessableEntity) GetPayload ¶
func (o *CreateReportNotificationUnprocessableEntity) GetPayload() *models.Errors
func (*CreateReportNotificationUnprocessableEntity) IsClientError ¶
func (o *CreateReportNotificationUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create report notification unprocessable entity response has a 4xx status code
func (*CreateReportNotificationUnprocessableEntity) IsCode ¶
func (o *CreateReportNotificationUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create report notification unprocessable entity response a status code equal to that given
func (*CreateReportNotificationUnprocessableEntity) IsRedirect ¶
func (o *CreateReportNotificationUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create report notification unprocessable entity response has a 3xx status code
func (*CreateReportNotificationUnprocessableEntity) IsServerError ¶
func (o *CreateReportNotificationUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create report notification unprocessable entity response has a 5xx status code
func (*CreateReportNotificationUnprocessableEntity) IsSuccess ¶
func (o *CreateReportNotificationUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create report notification unprocessable entity response has a 2xx status code
func (*CreateReportNotificationUnprocessableEntity) String ¶
func (o *CreateReportNotificationUnprocessableEntity) String() string
type DeleteReportNotificationNoContent ¶
type DeleteReportNotificationNoContent struct {
Payload *models.ReportNotification
}
DeleteReportNotificationNoContent describes a response with status code 204, with default header values.
DeleteReportNotificationNoContent delete report notification no content
func NewDeleteReportNotificationNoContent ¶
func NewDeleteReportNotificationNoContent() *DeleteReportNotificationNoContent
NewDeleteReportNotificationNoContent creates a DeleteReportNotificationNoContent with default headers values
func (*DeleteReportNotificationNoContent) Code ¶
func (o *DeleteReportNotificationNoContent) Code() int
Code gets the status code for the delete report notification no content response
func (*DeleteReportNotificationNoContent) Error ¶
func (o *DeleteReportNotificationNoContent) Error() string
func (*DeleteReportNotificationNoContent) GetPayload ¶
func (o *DeleteReportNotificationNoContent) GetPayload() *models.ReportNotification
func (*DeleteReportNotificationNoContent) IsClientError ¶
func (o *DeleteReportNotificationNoContent) IsClientError() bool
IsClientError returns true when this delete report notification no content response has a 4xx status code
func (*DeleteReportNotificationNoContent) IsCode ¶
func (o *DeleteReportNotificationNoContent) IsCode(code int) bool
IsCode returns true when this delete report notification no content response a status code equal to that given
func (*DeleteReportNotificationNoContent) IsRedirect ¶
func (o *DeleteReportNotificationNoContent) IsRedirect() bool
IsRedirect returns true when this delete report notification no content response has a 3xx status code
func (*DeleteReportNotificationNoContent) IsServerError ¶
func (o *DeleteReportNotificationNoContent) IsServerError() bool
IsServerError returns true when this delete report notification no content response has a 5xx status code
func (*DeleteReportNotificationNoContent) IsSuccess ¶
func (o *DeleteReportNotificationNoContent) IsSuccess() bool
IsSuccess returns true when this delete report notification no content response has a 2xx status code
func (*DeleteReportNotificationNoContent) String ¶
func (o *DeleteReportNotificationNoContent) String() string
type DeleteReportNotificationNotFound ¶
DeleteReportNotificationNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteReportNotificationNotFound ¶
func NewDeleteReportNotificationNotFound() *DeleteReportNotificationNotFound
NewDeleteReportNotificationNotFound creates a DeleteReportNotificationNotFound with default headers values
func (*DeleteReportNotificationNotFound) Code ¶
func (o *DeleteReportNotificationNotFound) Code() int
Code gets the status code for the delete report notification not found response
func (*DeleteReportNotificationNotFound) Error ¶
func (o *DeleteReportNotificationNotFound) Error() string
func (*DeleteReportNotificationNotFound) GetPayload ¶
func (o *DeleteReportNotificationNotFound) GetPayload() *models.Errors
func (*DeleteReportNotificationNotFound) IsClientError ¶
func (o *DeleteReportNotificationNotFound) IsClientError() bool
IsClientError returns true when this delete report notification not found response has a 4xx status code
func (*DeleteReportNotificationNotFound) IsCode ¶
func (o *DeleteReportNotificationNotFound) IsCode(code int) bool
IsCode returns true when this delete report notification not found response a status code equal to that given
func (*DeleteReportNotificationNotFound) IsRedirect ¶
func (o *DeleteReportNotificationNotFound) IsRedirect() bool
IsRedirect returns true when this delete report notification not found response has a 3xx status code
func (*DeleteReportNotificationNotFound) IsServerError ¶
func (o *DeleteReportNotificationNotFound) IsServerError() bool
IsServerError returns true when this delete report notification not found response has a 5xx status code
func (*DeleteReportNotificationNotFound) IsSuccess ¶
func (o *DeleteReportNotificationNotFound) IsSuccess() bool
IsSuccess returns true when this delete report notification not found response has a 2xx status code
func (*DeleteReportNotificationNotFound) String ¶
func (o *DeleteReportNotificationNotFound) String() string
type DeleteReportNotificationParams ¶
type DeleteReportNotificationParams struct { // ReportNotificationToken. ReportNotificationToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteReportNotificationParams contains all the parameters to send to the API endpoint
for the delete report notification operation. Typically these are written to a http.Request.
func NewDeleteReportNotificationParams ¶
func NewDeleteReportNotificationParams() *DeleteReportNotificationParams
NewDeleteReportNotificationParams creates a new DeleteReportNotificationParams 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 NewDeleteReportNotificationParamsWithContext ¶
func NewDeleteReportNotificationParamsWithContext(ctx context.Context) *DeleteReportNotificationParams
NewDeleteReportNotificationParamsWithContext creates a new DeleteReportNotificationParams object with the ability to set a context for a request.
func NewDeleteReportNotificationParamsWithHTTPClient ¶
func NewDeleteReportNotificationParamsWithHTTPClient(client *http.Client) *DeleteReportNotificationParams
NewDeleteReportNotificationParamsWithHTTPClient creates a new DeleteReportNotificationParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteReportNotificationParamsWithTimeout ¶
func NewDeleteReportNotificationParamsWithTimeout(timeout time.Duration) *DeleteReportNotificationParams
NewDeleteReportNotificationParamsWithTimeout creates a new DeleteReportNotificationParams object with the ability to set a timeout on a request.
func (*DeleteReportNotificationParams) SetContext ¶
func (o *DeleteReportNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the delete report notification params
func (*DeleteReportNotificationParams) SetDefaults ¶
func (o *DeleteReportNotificationParams) SetDefaults()
SetDefaults hydrates default values in the delete report notification params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReportNotificationParams) SetHTTPClient ¶
func (o *DeleteReportNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete report notification params
func (*DeleteReportNotificationParams) SetReportNotificationToken ¶
func (o *DeleteReportNotificationParams) SetReportNotificationToken(reportNotificationToken string)
SetReportNotificationToken adds the reportNotificationToken to the delete report notification params
func (*DeleteReportNotificationParams) SetTimeout ¶
func (o *DeleteReportNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete report notification params
func (*DeleteReportNotificationParams) WithContext ¶
func (o *DeleteReportNotificationParams) WithContext(ctx context.Context) *DeleteReportNotificationParams
WithContext adds the context to the delete report notification params
func (*DeleteReportNotificationParams) WithDefaults ¶
func (o *DeleteReportNotificationParams) WithDefaults() *DeleteReportNotificationParams
WithDefaults hydrates default values in the delete report notification params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteReportNotificationParams) WithHTTPClient ¶
func (o *DeleteReportNotificationParams) WithHTTPClient(client *http.Client) *DeleteReportNotificationParams
WithHTTPClient adds the HTTPClient to the delete report notification params
func (*DeleteReportNotificationParams) WithReportNotificationToken ¶
func (o *DeleteReportNotificationParams) WithReportNotificationToken(reportNotificationToken string) *DeleteReportNotificationParams
WithReportNotificationToken adds the reportNotificationToken to the delete report notification params
func (*DeleteReportNotificationParams) WithTimeout ¶
func (o *DeleteReportNotificationParams) WithTimeout(timeout time.Duration) *DeleteReportNotificationParams
WithTimeout adds the timeout to the delete report notification params
func (*DeleteReportNotificationParams) WriteToRequest ¶
func (o *DeleteReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReportNotificationReader ¶
type DeleteReportNotificationReader struct {
// contains filtered or unexported fields
}
DeleteReportNotificationReader is a Reader for the DeleteReportNotification structure.
func (*DeleteReportNotificationReader) ReadResponse ¶
func (o *DeleteReportNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportNotificationNotFound ¶
GetReportNotificationNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetReportNotificationNotFound ¶
func NewGetReportNotificationNotFound() *GetReportNotificationNotFound
NewGetReportNotificationNotFound creates a GetReportNotificationNotFound with default headers values
func (*GetReportNotificationNotFound) Code ¶
func (o *GetReportNotificationNotFound) Code() int
Code gets the status code for the get report notification not found response
func (*GetReportNotificationNotFound) Error ¶
func (o *GetReportNotificationNotFound) Error() string
func (*GetReportNotificationNotFound) GetPayload ¶
func (o *GetReportNotificationNotFound) GetPayload() *models.Errors
func (*GetReportNotificationNotFound) IsClientError ¶
func (o *GetReportNotificationNotFound) IsClientError() bool
IsClientError returns true when this get report notification not found response has a 4xx status code
func (*GetReportNotificationNotFound) IsCode ¶
func (o *GetReportNotificationNotFound) IsCode(code int) bool
IsCode returns true when this get report notification not found response a status code equal to that given
func (*GetReportNotificationNotFound) IsRedirect ¶
func (o *GetReportNotificationNotFound) IsRedirect() bool
IsRedirect returns true when this get report notification not found response has a 3xx status code
func (*GetReportNotificationNotFound) IsServerError ¶
func (o *GetReportNotificationNotFound) IsServerError() bool
IsServerError returns true when this get report notification not found response has a 5xx status code
func (*GetReportNotificationNotFound) IsSuccess ¶
func (o *GetReportNotificationNotFound) IsSuccess() bool
IsSuccess returns true when this get report notification not found response has a 2xx status code
func (*GetReportNotificationNotFound) String ¶
func (o *GetReportNotificationNotFound) String() string
type GetReportNotificationOK ¶
type GetReportNotificationOK struct {
Payload *models.ReportNotification
}
GetReportNotificationOK describes a response with status code 200, with default header values.
GetReportNotificationOK get report notification o k
func NewGetReportNotificationOK ¶
func NewGetReportNotificationOK() *GetReportNotificationOK
NewGetReportNotificationOK creates a GetReportNotificationOK with default headers values
func (*GetReportNotificationOK) Code ¶
func (o *GetReportNotificationOK) Code() int
Code gets the status code for the get report notification o k response
func (*GetReportNotificationOK) Error ¶
func (o *GetReportNotificationOK) Error() string
func (*GetReportNotificationOK) GetPayload ¶
func (o *GetReportNotificationOK) GetPayload() *models.ReportNotification
func (*GetReportNotificationOK) IsClientError ¶
func (o *GetReportNotificationOK) IsClientError() bool
IsClientError returns true when this get report notification o k response has a 4xx status code
func (*GetReportNotificationOK) IsCode ¶
func (o *GetReportNotificationOK) IsCode(code int) bool
IsCode returns true when this get report notification o k response a status code equal to that given
func (*GetReportNotificationOK) IsRedirect ¶
func (o *GetReportNotificationOK) IsRedirect() bool
IsRedirect returns true when this get report notification o k response has a 3xx status code
func (*GetReportNotificationOK) IsServerError ¶
func (o *GetReportNotificationOK) IsServerError() bool
IsServerError returns true when this get report notification o k response has a 5xx status code
func (*GetReportNotificationOK) IsSuccess ¶
func (o *GetReportNotificationOK) IsSuccess() bool
IsSuccess returns true when this get report notification o k response has a 2xx status code
func (*GetReportNotificationOK) String ¶
func (o *GetReportNotificationOK) String() string
type GetReportNotificationParams ¶
type GetReportNotificationParams struct { // ReportNotificationToken. ReportNotificationToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportNotificationParams contains all the parameters to send to the API endpoint
for the get report notification operation. Typically these are written to a http.Request.
func NewGetReportNotificationParams ¶
func NewGetReportNotificationParams() *GetReportNotificationParams
NewGetReportNotificationParams creates a new GetReportNotificationParams 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 NewGetReportNotificationParamsWithContext ¶
func NewGetReportNotificationParamsWithContext(ctx context.Context) *GetReportNotificationParams
NewGetReportNotificationParamsWithContext creates a new GetReportNotificationParams object with the ability to set a context for a request.
func NewGetReportNotificationParamsWithHTTPClient ¶
func NewGetReportNotificationParamsWithHTTPClient(client *http.Client) *GetReportNotificationParams
NewGetReportNotificationParamsWithHTTPClient creates a new GetReportNotificationParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportNotificationParamsWithTimeout ¶
func NewGetReportNotificationParamsWithTimeout(timeout time.Duration) *GetReportNotificationParams
NewGetReportNotificationParamsWithTimeout creates a new GetReportNotificationParams object with the ability to set a timeout on a request.
func (*GetReportNotificationParams) SetContext ¶
func (o *GetReportNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the get report notification params
func (*GetReportNotificationParams) SetDefaults ¶
func (o *GetReportNotificationParams) SetDefaults()
SetDefaults hydrates default values in the get report notification params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportNotificationParams) SetHTTPClient ¶
func (o *GetReportNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report notification params
func (*GetReportNotificationParams) SetReportNotificationToken ¶
func (o *GetReportNotificationParams) SetReportNotificationToken(reportNotificationToken string)
SetReportNotificationToken adds the reportNotificationToken to the get report notification params
func (*GetReportNotificationParams) SetTimeout ¶
func (o *GetReportNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report notification params
func (*GetReportNotificationParams) WithContext ¶
func (o *GetReportNotificationParams) WithContext(ctx context.Context) *GetReportNotificationParams
WithContext adds the context to the get report notification params
func (*GetReportNotificationParams) WithDefaults ¶
func (o *GetReportNotificationParams) WithDefaults() *GetReportNotificationParams
WithDefaults hydrates default values in the get report notification params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportNotificationParams) WithHTTPClient ¶
func (o *GetReportNotificationParams) WithHTTPClient(client *http.Client) *GetReportNotificationParams
WithHTTPClient adds the HTTPClient to the get report notification params
func (*GetReportNotificationParams) WithReportNotificationToken ¶
func (o *GetReportNotificationParams) WithReportNotificationToken(reportNotificationToken string) *GetReportNotificationParams
WithReportNotificationToken adds the reportNotificationToken to the get report notification params
func (*GetReportNotificationParams) WithTimeout ¶
func (o *GetReportNotificationParams) WithTimeout(timeout time.Duration) *GetReportNotificationParams
WithTimeout adds the timeout to the get report notification params
func (*GetReportNotificationParams) WriteToRequest ¶
func (o *GetReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportNotificationReader ¶
type GetReportNotificationReader struct {
// contains filtered or unexported fields
}
GetReportNotificationReader is a Reader for the GetReportNotification structure.
func (*GetReportNotificationReader) ReadResponse ¶
func (o *GetReportNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetReportNotificationsOK ¶
type GetReportNotificationsOK struct {
Payload *models.ReportNotifications
}
GetReportNotificationsOK describes a response with status code 200, with default header values.
GetReportNotificationsOK get report notifications o k
func NewGetReportNotificationsOK ¶
func NewGetReportNotificationsOK() *GetReportNotificationsOK
NewGetReportNotificationsOK creates a GetReportNotificationsOK with default headers values
func (*GetReportNotificationsOK) Code ¶
func (o *GetReportNotificationsOK) Code() int
Code gets the status code for the get report notifications o k response
func (*GetReportNotificationsOK) Error ¶
func (o *GetReportNotificationsOK) Error() string
func (*GetReportNotificationsOK) GetPayload ¶
func (o *GetReportNotificationsOK) GetPayload() *models.ReportNotifications
func (*GetReportNotificationsOK) IsClientError ¶
func (o *GetReportNotificationsOK) IsClientError() bool
IsClientError returns true when this get report notifications o k response has a 4xx status code
func (*GetReportNotificationsOK) IsCode ¶
func (o *GetReportNotificationsOK) IsCode(code int) bool
IsCode returns true when this get report notifications o k response a status code equal to that given
func (*GetReportNotificationsOK) IsRedirect ¶
func (o *GetReportNotificationsOK) IsRedirect() bool
IsRedirect returns true when this get report notifications o k response has a 3xx status code
func (*GetReportNotificationsOK) IsServerError ¶
func (o *GetReportNotificationsOK) IsServerError() bool
IsServerError returns true when this get report notifications o k response has a 5xx status code
func (*GetReportNotificationsOK) IsSuccess ¶
func (o *GetReportNotificationsOK) IsSuccess() bool
IsSuccess returns true when this get report notifications o k response has a 2xx status code
func (*GetReportNotificationsOK) String ¶
func (o *GetReportNotificationsOK) String() string
type GetReportNotificationsParams ¶
type GetReportNotificationsParams struct { /* Limit. The amount of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetReportNotificationsParams contains all the parameters to send to the API endpoint
for the get report notifications operation. Typically these are written to a http.Request.
func NewGetReportNotificationsParams ¶
func NewGetReportNotificationsParams() *GetReportNotificationsParams
NewGetReportNotificationsParams creates a new GetReportNotificationsParams 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 NewGetReportNotificationsParamsWithContext ¶
func NewGetReportNotificationsParamsWithContext(ctx context.Context) *GetReportNotificationsParams
NewGetReportNotificationsParamsWithContext creates a new GetReportNotificationsParams object with the ability to set a context for a request.
func NewGetReportNotificationsParamsWithHTTPClient ¶
func NewGetReportNotificationsParamsWithHTTPClient(client *http.Client) *GetReportNotificationsParams
NewGetReportNotificationsParamsWithHTTPClient creates a new GetReportNotificationsParams object with the ability to set a custom HTTPClient for a request.
func NewGetReportNotificationsParamsWithTimeout ¶
func NewGetReportNotificationsParamsWithTimeout(timeout time.Duration) *GetReportNotificationsParams
NewGetReportNotificationsParamsWithTimeout creates a new GetReportNotificationsParams object with the ability to set a timeout on a request.
func (*GetReportNotificationsParams) SetContext ¶
func (o *GetReportNotificationsParams) SetContext(ctx context.Context)
SetContext adds the context to the get report notifications params
func (*GetReportNotificationsParams) SetDefaults ¶
func (o *GetReportNotificationsParams) SetDefaults()
SetDefaults hydrates default values in the get report notifications params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportNotificationsParams) SetHTTPClient ¶
func (o *GetReportNotificationsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get report notifications params
func (*GetReportNotificationsParams) SetLimit ¶
func (o *GetReportNotificationsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get report notifications params
func (*GetReportNotificationsParams) SetPage ¶
func (o *GetReportNotificationsParams) SetPage(page *int32)
SetPage adds the page to the get report notifications params
func (*GetReportNotificationsParams) SetTimeout ¶
func (o *GetReportNotificationsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get report notifications params
func (*GetReportNotificationsParams) WithContext ¶
func (o *GetReportNotificationsParams) WithContext(ctx context.Context) *GetReportNotificationsParams
WithContext adds the context to the get report notifications params
func (*GetReportNotificationsParams) WithDefaults ¶
func (o *GetReportNotificationsParams) WithDefaults() *GetReportNotificationsParams
WithDefaults hydrates default values in the get report notifications params (not the query body).
All values with no default are reset to their zero value.
func (*GetReportNotificationsParams) WithHTTPClient ¶
func (o *GetReportNotificationsParams) WithHTTPClient(client *http.Client) *GetReportNotificationsParams
WithHTTPClient adds the HTTPClient to the get report notifications params
func (*GetReportNotificationsParams) WithLimit ¶
func (o *GetReportNotificationsParams) WithLimit(limit *int32) *GetReportNotificationsParams
WithLimit adds the limit to the get report notifications params
func (*GetReportNotificationsParams) WithPage ¶
func (o *GetReportNotificationsParams) WithPage(page *int32) *GetReportNotificationsParams
WithPage adds the page to the get report notifications params
func (*GetReportNotificationsParams) WithTimeout ¶
func (o *GetReportNotificationsParams) WithTimeout(timeout time.Duration) *GetReportNotificationsParams
WithTimeout adds the timeout to the get report notifications params
func (*GetReportNotificationsParams) WriteToRequest ¶
func (o *GetReportNotificationsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetReportNotificationsReader ¶
type GetReportNotificationsReader struct {
// contains filtered or unexported fields
}
GetReportNotificationsReader is a Reader for the GetReportNotifications structure.
func (*GetReportNotificationsReader) ReadResponse ¶
func (o *GetReportNotificationsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateReportNotificationBadRequest ¶
UpdateReportNotificationBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateReportNotificationBadRequest ¶
func NewUpdateReportNotificationBadRequest() *UpdateReportNotificationBadRequest
NewUpdateReportNotificationBadRequest creates a UpdateReportNotificationBadRequest with default headers values
func (*UpdateReportNotificationBadRequest) Code ¶
func (o *UpdateReportNotificationBadRequest) Code() int
Code gets the status code for the update report notification bad request response
func (*UpdateReportNotificationBadRequest) Error ¶
func (o *UpdateReportNotificationBadRequest) Error() string
func (*UpdateReportNotificationBadRequest) GetPayload ¶
func (o *UpdateReportNotificationBadRequest) GetPayload() *models.Errors
func (*UpdateReportNotificationBadRequest) IsClientError ¶
func (o *UpdateReportNotificationBadRequest) IsClientError() bool
IsClientError returns true when this update report notification bad request response has a 4xx status code
func (*UpdateReportNotificationBadRequest) IsCode ¶
func (o *UpdateReportNotificationBadRequest) IsCode(code int) bool
IsCode returns true when this update report notification bad request response a status code equal to that given
func (*UpdateReportNotificationBadRequest) IsRedirect ¶
func (o *UpdateReportNotificationBadRequest) IsRedirect() bool
IsRedirect returns true when this update report notification bad request response has a 3xx status code
func (*UpdateReportNotificationBadRequest) IsServerError ¶
func (o *UpdateReportNotificationBadRequest) IsServerError() bool
IsServerError returns true when this update report notification bad request response has a 5xx status code
func (*UpdateReportNotificationBadRequest) IsSuccess ¶
func (o *UpdateReportNotificationBadRequest) IsSuccess() bool
IsSuccess returns true when this update report notification bad request response has a 2xx status code
func (*UpdateReportNotificationBadRequest) String ¶
func (o *UpdateReportNotificationBadRequest) String() string
type UpdateReportNotificationNotFound ¶
UpdateReportNotificationNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateReportNotificationNotFound ¶
func NewUpdateReportNotificationNotFound() *UpdateReportNotificationNotFound
NewUpdateReportNotificationNotFound creates a UpdateReportNotificationNotFound with default headers values
func (*UpdateReportNotificationNotFound) Code ¶
func (o *UpdateReportNotificationNotFound) Code() int
Code gets the status code for the update report notification not found response
func (*UpdateReportNotificationNotFound) Error ¶
func (o *UpdateReportNotificationNotFound) Error() string
func (*UpdateReportNotificationNotFound) GetPayload ¶
func (o *UpdateReportNotificationNotFound) GetPayload() *models.Errors
func (*UpdateReportNotificationNotFound) IsClientError ¶
func (o *UpdateReportNotificationNotFound) IsClientError() bool
IsClientError returns true when this update report notification not found response has a 4xx status code
func (*UpdateReportNotificationNotFound) IsCode ¶
func (o *UpdateReportNotificationNotFound) IsCode(code int) bool
IsCode returns true when this update report notification not found response a status code equal to that given
func (*UpdateReportNotificationNotFound) IsRedirect ¶
func (o *UpdateReportNotificationNotFound) IsRedirect() bool
IsRedirect returns true when this update report notification not found response has a 3xx status code
func (*UpdateReportNotificationNotFound) IsServerError ¶
func (o *UpdateReportNotificationNotFound) IsServerError() bool
IsServerError returns true when this update report notification not found response has a 5xx status code
func (*UpdateReportNotificationNotFound) IsSuccess ¶
func (o *UpdateReportNotificationNotFound) IsSuccess() bool
IsSuccess returns true when this update report notification not found response has a 2xx status code
func (*UpdateReportNotificationNotFound) String ¶
func (o *UpdateReportNotificationNotFound) String() string
type UpdateReportNotificationOK ¶
type UpdateReportNotificationOK struct {
Payload *models.ReportNotification
}
UpdateReportNotificationOK describes a response with status code 200, with default header values.
UpdateReportNotificationOK update report notification o k
func NewUpdateReportNotificationOK ¶
func NewUpdateReportNotificationOK() *UpdateReportNotificationOK
NewUpdateReportNotificationOK creates a UpdateReportNotificationOK with default headers values
func (*UpdateReportNotificationOK) Code ¶
func (o *UpdateReportNotificationOK) Code() int
Code gets the status code for the update report notification o k response
func (*UpdateReportNotificationOK) Error ¶
func (o *UpdateReportNotificationOK) Error() string
func (*UpdateReportNotificationOK) GetPayload ¶
func (o *UpdateReportNotificationOK) GetPayload() *models.ReportNotification
func (*UpdateReportNotificationOK) IsClientError ¶
func (o *UpdateReportNotificationOK) IsClientError() bool
IsClientError returns true when this update report notification o k response has a 4xx status code
func (*UpdateReportNotificationOK) IsCode ¶
func (o *UpdateReportNotificationOK) IsCode(code int) bool
IsCode returns true when this update report notification o k response a status code equal to that given
func (*UpdateReportNotificationOK) IsRedirect ¶
func (o *UpdateReportNotificationOK) IsRedirect() bool
IsRedirect returns true when this update report notification o k response has a 3xx status code
func (*UpdateReportNotificationOK) IsServerError ¶
func (o *UpdateReportNotificationOK) IsServerError() bool
IsServerError returns true when this update report notification o k response has a 5xx status code
func (*UpdateReportNotificationOK) IsSuccess ¶
func (o *UpdateReportNotificationOK) IsSuccess() bool
IsSuccess returns true when this update report notification o k response has a 2xx status code
func (*UpdateReportNotificationOK) String ¶
func (o *UpdateReportNotificationOK) String() string
type UpdateReportNotificationParams ¶
type UpdateReportNotificationParams struct { // ReportNotificationToken. ReportNotificationToken string // UpdateReportNotification. UpdateReportNotification *models.UpdateReportNotification Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateReportNotificationParams contains all the parameters to send to the API endpoint
for the update report notification operation. Typically these are written to a http.Request.
func NewUpdateReportNotificationParams ¶
func NewUpdateReportNotificationParams() *UpdateReportNotificationParams
NewUpdateReportNotificationParams creates a new UpdateReportNotificationParams 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 NewUpdateReportNotificationParamsWithContext ¶
func NewUpdateReportNotificationParamsWithContext(ctx context.Context) *UpdateReportNotificationParams
NewUpdateReportNotificationParamsWithContext creates a new UpdateReportNotificationParams object with the ability to set a context for a request.
func NewUpdateReportNotificationParamsWithHTTPClient ¶
func NewUpdateReportNotificationParamsWithHTTPClient(client *http.Client) *UpdateReportNotificationParams
NewUpdateReportNotificationParamsWithHTTPClient creates a new UpdateReportNotificationParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateReportNotificationParamsWithTimeout ¶
func NewUpdateReportNotificationParamsWithTimeout(timeout time.Duration) *UpdateReportNotificationParams
NewUpdateReportNotificationParamsWithTimeout creates a new UpdateReportNotificationParams object with the ability to set a timeout on a request.
func (*UpdateReportNotificationParams) SetContext ¶
func (o *UpdateReportNotificationParams) SetContext(ctx context.Context)
SetContext adds the context to the update report notification params
func (*UpdateReportNotificationParams) SetDefaults ¶
func (o *UpdateReportNotificationParams) SetDefaults()
SetDefaults hydrates default values in the update report notification params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateReportNotificationParams) SetHTTPClient ¶
func (o *UpdateReportNotificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update report notification params
func (*UpdateReportNotificationParams) SetReportNotificationToken ¶
func (o *UpdateReportNotificationParams) SetReportNotificationToken(reportNotificationToken string)
SetReportNotificationToken adds the reportNotificationToken to the update report notification params
func (*UpdateReportNotificationParams) SetTimeout ¶
func (o *UpdateReportNotificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update report notification params
func (*UpdateReportNotificationParams) SetUpdateReportNotification ¶
func (o *UpdateReportNotificationParams) SetUpdateReportNotification(updateReportNotification *models.UpdateReportNotification)
SetUpdateReportNotification adds the updateReportNotification to the update report notification params
func (*UpdateReportNotificationParams) WithContext ¶
func (o *UpdateReportNotificationParams) WithContext(ctx context.Context) *UpdateReportNotificationParams
WithContext adds the context to the update report notification params
func (*UpdateReportNotificationParams) WithDefaults ¶
func (o *UpdateReportNotificationParams) WithDefaults() *UpdateReportNotificationParams
WithDefaults hydrates default values in the update report notification params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateReportNotificationParams) WithHTTPClient ¶
func (o *UpdateReportNotificationParams) WithHTTPClient(client *http.Client) *UpdateReportNotificationParams
WithHTTPClient adds the HTTPClient to the update report notification params
func (*UpdateReportNotificationParams) WithReportNotificationToken ¶
func (o *UpdateReportNotificationParams) WithReportNotificationToken(reportNotificationToken string) *UpdateReportNotificationParams
WithReportNotificationToken adds the reportNotificationToken to the update report notification params
func (*UpdateReportNotificationParams) WithTimeout ¶
func (o *UpdateReportNotificationParams) WithTimeout(timeout time.Duration) *UpdateReportNotificationParams
WithTimeout adds the timeout to the update report notification params
func (*UpdateReportNotificationParams) WithUpdateReportNotification ¶
func (o *UpdateReportNotificationParams) WithUpdateReportNotification(updateReportNotification *models.UpdateReportNotification) *UpdateReportNotificationParams
WithUpdateReportNotification adds the updateReportNotification to the update report notification params
func (*UpdateReportNotificationParams) WriteToRequest ¶
func (o *UpdateReportNotificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateReportNotificationReader ¶
type UpdateReportNotificationReader struct {
// contains filtered or unexported fields
}
UpdateReportNotificationReader is a Reader for the UpdateReportNotification structure.
func (*UpdateReportNotificationReader) ReadResponse ¶
func (o *UpdateReportNotificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_report_notification_parameters.go
- create_report_notification_responses.go
- delete_report_notification_parameters.go
- delete_report_notification_responses.go
- get_report_notification_parameters.go
- get_report_notification_responses.go
- get_report_notifications_parameters.go
- get_report_notifications_responses.go
- report_notifications_client.go
- update_report_notification_parameters.go
- update_report_notification_responses.go