report_notifications

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

type CreateReportNotificationBadRequest struct {
	Payload *models.Errors
}

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

Code gets the status code for the create report notification bad request response

func (*CreateReportNotificationBadRequest) Error

func (*CreateReportNotificationBadRequest) GetPayload

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

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

IsSuccess returns true when this create report notification bad request response has a 2xx status code

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

Code gets the status code for the create report notification created response

func (*CreateReportNotificationCreated) Error

func (*CreateReportNotificationCreated) GetPayload

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

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

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

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

WithHTTPClient adds the HTTPClient to the create report notification params

func (*CreateReportNotificationParams) WithTimeout

WithTimeout adds the timeout to the create report notification params

func (*CreateReportNotificationParams) WriteToRequest

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

type CreateReportNotificationUnprocessableEntity struct {
	Payload *models.Errors
}

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

Code gets the status code for the create report notification unprocessable entity response

func (*CreateReportNotificationUnprocessableEntity) Error

func (*CreateReportNotificationUnprocessableEntity) GetPayload

func (*CreateReportNotificationUnprocessableEntity) IsClientError

IsClientError returns true when this create report notification unprocessable entity response has a 4xx status code

func (*CreateReportNotificationUnprocessableEntity) IsCode

IsCode returns true when this create report notification unprocessable entity response a status code equal to that given

func (*CreateReportNotificationUnprocessableEntity) IsRedirect

IsRedirect returns true when this create report notification unprocessable entity response has a 3xx status code

func (*CreateReportNotificationUnprocessableEntity) IsServerError

IsServerError returns true when this create report notification unprocessable entity response has a 5xx status code

func (*CreateReportNotificationUnprocessableEntity) IsSuccess

IsSuccess returns true when this create report notification unprocessable entity response has a 2xx status code

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

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

func (*DeleteReportNotificationNoContent) Error

func (*DeleteReportNotificationNoContent) GetPayload

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

type DeleteReportNotificationNotFound

type DeleteReportNotificationNotFound struct {
	Payload *models.Errors
}

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

Code gets the status code for the delete report notification not found response

func (*DeleteReportNotificationNotFound) Error

func (*DeleteReportNotificationNotFound) GetPayload

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

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

WithContext adds the context to the delete report notification params

func (*DeleteReportNotificationParams) WithDefaults

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

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

WithTimeout adds the timeout to the delete report notification params

func (*DeleteReportNotificationParams) WriteToRequest

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

type GetReportNotificationNotFound struct {
	Payload *models.Errors
}

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

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

func (*GetReportNotificationNotFound) Error

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

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

WithContext adds the context to the get report notification params

func (*GetReportNotificationParams) WithDefaults

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

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

WithTimeout adds the timeout to the get report notification params

func (*GetReportNotificationParams) WriteToRequest

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

WithContext adds the context to the get report notifications params

func (*GetReportNotificationsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get report notifications params

func (*GetReportNotificationsParams) WithLimit

WithLimit adds the limit to the get report notifications params

func (*GetReportNotificationsParams) WithPage

WithPage adds the page to the get report notifications params

func (*GetReportNotificationsParams) WithTimeout

WithTimeout adds the timeout to the get report notifications params

func (*GetReportNotificationsParams) WriteToRequest

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

type UpdateReportNotificationBadRequest struct {
	Payload *models.Errors
}

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

Code gets the status code for the update report notification bad request response

func (*UpdateReportNotificationBadRequest) Error

func (*UpdateReportNotificationBadRequest) GetPayload

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

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

IsSuccess returns true when this update report notification bad request response has a 2xx status code

func (*UpdateReportNotificationBadRequest) String

type UpdateReportNotificationNotFound

type UpdateReportNotificationNotFound struct {
	Payload *models.Errors
}

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

Code gets the status code for the update report notification not found response

func (*UpdateReportNotificationNotFound) Error

func (*UpdateReportNotificationNotFound) GetPayload

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

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

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

WithContext adds the context to the update report notification params

func (*UpdateReportNotificationParams) WithDefaults

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

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

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

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.

Jump to

Keyboard shortcuts

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