Documentation
¶
Index ¶
- type Client
- func (a *Client) DeleteV1IncidentsIncidentIDAlertsIncidentAlertID(params *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams, ...) (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent, error)
- func (a *Client) GetV1Alerts(params *GetV1AlertsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1AlertsOK, error)
- func (a *Client) GetV1AlertsAlertID(params *GetV1AlertsAlertIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1AlertsAlertIDOK, error)
- func (a *Client) GetV1IncidentsIncidentIDAlerts(params *GetV1IncidentsIncidentIDAlertsParams, ...) (*GetV1IncidentsIncidentIDAlertsOK, error)
- func (a *Client) GetV1ProcessingLogEntries(params *GetV1ProcessingLogEntriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1ProcessingLogEntriesOK, error)
- func (a *Client) PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(params *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams, ...) (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK, error)
- func (a *Client) PostV1IncidentsIncidentIDAlerts(params *PostV1IncidentsIncidentIDAlertsParams, ...) (*PostV1IncidentsIncidentIDAlertsNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) Error() string
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsClientError() bool
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsCode(code int) bool
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsRedirect() bool
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsServerError() bool
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsSuccess() bool
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) String() string
- type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams() *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetContext(ctx context.Context)
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetDefaults()
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetIncidentAlertID(incidentAlertID string)
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetIncidentID(incidentID string)
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithDefaults() *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentAlertID(incidentAlertID string) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentID(incidentID string) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
- func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDReader
- type GetV1AlertsAlertIDOK
- func (o *GetV1AlertsAlertIDOK) Error() string
- func (o *GetV1AlertsAlertIDOK) GetPayload() *models.AlertsAlertEntity
- func (o *GetV1AlertsAlertIDOK) IsClientError() bool
- func (o *GetV1AlertsAlertIDOK) IsCode(code int) bool
- func (o *GetV1AlertsAlertIDOK) IsRedirect() bool
- func (o *GetV1AlertsAlertIDOK) IsServerError() bool
- func (o *GetV1AlertsAlertIDOK) IsSuccess() bool
- func (o *GetV1AlertsAlertIDOK) String() string
- type GetV1AlertsAlertIDParams
- func NewGetV1AlertsAlertIDParams() *GetV1AlertsAlertIDParams
- func NewGetV1AlertsAlertIDParamsWithContext(ctx context.Context) *GetV1AlertsAlertIDParams
- func NewGetV1AlertsAlertIDParamsWithHTTPClient(client *http.Client) *GetV1AlertsAlertIDParams
- func NewGetV1AlertsAlertIDParamsWithTimeout(timeout time.Duration) *GetV1AlertsAlertIDParams
- func (o *GetV1AlertsAlertIDParams) SetAlertID(alertID string)
- func (o *GetV1AlertsAlertIDParams) SetContext(ctx context.Context)
- func (o *GetV1AlertsAlertIDParams) SetDefaults()
- func (o *GetV1AlertsAlertIDParams) SetHTTPClient(client *http.Client)
- func (o *GetV1AlertsAlertIDParams) SetTimeout(timeout time.Duration)
- func (o *GetV1AlertsAlertIDParams) WithAlertID(alertID string) *GetV1AlertsAlertIDParams
- func (o *GetV1AlertsAlertIDParams) WithContext(ctx context.Context) *GetV1AlertsAlertIDParams
- func (o *GetV1AlertsAlertIDParams) WithDefaults() *GetV1AlertsAlertIDParams
- func (o *GetV1AlertsAlertIDParams) WithHTTPClient(client *http.Client) *GetV1AlertsAlertIDParams
- func (o *GetV1AlertsAlertIDParams) WithTimeout(timeout time.Duration) *GetV1AlertsAlertIDParams
- func (o *GetV1AlertsAlertIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1AlertsAlertIDReader
- type GetV1AlertsOK
- func (o *GetV1AlertsOK) Error() string
- func (o *GetV1AlertsOK) GetPayload() *models.AlertsAlertEntityPaginated
- func (o *GetV1AlertsOK) IsClientError() bool
- func (o *GetV1AlertsOK) IsCode(code int) bool
- func (o *GetV1AlertsOK) IsRedirect() bool
- func (o *GetV1AlertsOK) IsServerError() bool
- func (o *GetV1AlertsOK) IsSuccess() bool
- func (o *GetV1AlertsOK) String() string
- type GetV1AlertsParams
- func (o *GetV1AlertsParams) SetContext(ctx context.Context)
- func (o *GetV1AlertsParams) SetDefaults()
- func (o *GetV1AlertsParams) SetEnvironments(environments *string)
- func (o *GetV1AlertsParams) SetFunctionalities(functionalities *string)
- func (o *GetV1AlertsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1AlertsParams) SetPage(page *int32)
- func (o *GetV1AlertsParams) SetPerPage(perPage *int32)
- func (o *GetV1AlertsParams) SetQuery(query *string)
- func (o *GetV1AlertsParams) SetServices(services *string)
- func (o *GetV1AlertsParams) SetSignalRules(signalRules *string)
- func (o *GetV1AlertsParams) SetStatuses(statuses *string)
- func (o *GetV1AlertsParams) SetTagMatchStrategy(tagMatchStrategy *string)
- func (o *GetV1AlertsParams) SetTags(tags *string)
- func (o *GetV1AlertsParams) SetTeams(teams *string)
- func (o *GetV1AlertsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1AlertsParams) SetUsers(users *string)
- func (o *GetV1AlertsParams) WithContext(ctx context.Context) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithDefaults() *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithEnvironments(environments *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithFunctionalities(functionalities *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithHTTPClient(client *http.Client) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithPage(page *int32) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithPerPage(perPage *int32) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithQuery(query *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithServices(services *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithSignalRules(signalRules *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithStatuses(statuses *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithTagMatchStrategy(tagMatchStrategy *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithTags(tags *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithTeams(teams *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithTimeout(timeout time.Duration) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WithUsers(users *string) *GetV1AlertsParams
- func (o *GetV1AlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1AlertsReader
- type GetV1IncidentsIncidentIDAlertsOK
- func (o *GetV1IncidentsIncidentIDAlertsOK) Error() string
- func (o *GetV1IncidentsIncidentIDAlertsOK) GetPayload() *models.IncidentsAlertEntityPaginated
- func (o *GetV1IncidentsIncidentIDAlertsOK) IsClientError() bool
- func (o *GetV1IncidentsIncidentIDAlertsOK) IsCode(code int) bool
- func (o *GetV1IncidentsIncidentIDAlertsOK) IsRedirect() bool
- func (o *GetV1IncidentsIncidentIDAlertsOK) IsServerError() bool
- func (o *GetV1IncidentsIncidentIDAlertsOK) IsSuccess() bool
- func (o *GetV1IncidentsIncidentIDAlertsOK) String() string
- type GetV1IncidentsIncidentIDAlertsParams
- func NewGetV1IncidentsIncidentIDAlertsParams() *GetV1IncidentsIncidentIDAlertsParams
- func NewGetV1IncidentsIncidentIDAlertsParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDAlertsParams
- func NewGetV1IncidentsIncidentIDAlertsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDAlertsParams
- func NewGetV1IncidentsIncidentIDAlertsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDAlertsParams
- func (o *GetV1IncidentsIncidentIDAlertsParams) SetContext(ctx context.Context)
- func (o *GetV1IncidentsIncidentIDAlertsParams) SetDefaults()
- func (o *GetV1IncidentsIncidentIDAlertsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1IncidentsIncidentIDAlertsParams) SetIncidentID(incidentID string)
- func (o *GetV1IncidentsIncidentIDAlertsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1IncidentsIncidentIDAlertsParams) WithContext(ctx context.Context) *GetV1IncidentsIncidentIDAlertsParams
- func (o *GetV1IncidentsIncidentIDAlertsParams) WithDefaults() *GetV1IncidentsIncidentIDAlertsParams
- func (o *GetV1IncidentsIncidentIDAlertsParams) WithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDAlertsParams
- func (o *GetV1IncidentsIncidentIDAlertsParams) WithIncidentID(incidentID string) *GetV1IncidentsIncidentIDAlertsParams
- func (o *GetV1IncidentsIncidentIDAlertsParams) WithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDAlertsParams
- func (o *GetV1IncidentsIncidentIDAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1IncidentsIncidentIDAlertsReader
- type GetV1ProcessingLogEntriesOK
- func (o *GetV1ProcessingLogEntriesOK) Error() string
- func (o *GetV1ProcessingLogEntriesOK) GetPayload() *models.AlertsProcessingLogEntryEntityPaginated
- func (o *GetV1ProcessingLogEntriesOK) IsClientError() bool
- func (o *GetV1ProcessingLogEntriesOK) IsCode(code int) bool
- func (o *GetV1ProcessingLogEntriesOK) IsRedirect() bool
- func (o *GetV1ProcessingLogEntriesOK) IsServerError() bool
- func (o *GetV1ProcessingLogEntriesOK) IsSuccess() bool
- func (o *GetV1ProcessingLogEntriesOK) String() string
- type GetV1ProcessingLogEntriesParams
- func NewGetV1ProcessingLogEntriesParams() *GetV1ProcessingLogEntriesParams
- func NewGetV1ProcessingLogEntriesParamsWithContext(ctx context.Context) *GetV1ProcessingLogEntriesParams
- func NewGetV1ProcessingLogEntriesParamsWithHTTPClient(client *http.Client) *GetV1ProcessingLogEntriesParams
- func NewGetV1ProcessingLogEntriesParamsWithTimeout(timeout time.Duration) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) SetConnectionID(connectionID *string)
- func (o *GetV1ProcessingLogEntriesParams) SetContext(ctx context.Context)
- func (o *GetV1ProcessingLogEntriesParams) SetDefaults()
- func (o *GetV1ProcessingLogEntriesParams) SetExactLevel(exactLevel *string)
- func (o *GetV1ProcessingLogEntriesParams) SetHTTPClient(client *http.Client)
- func (o *GetV1ProcessingLogEntriesParams) SetIntegrationSlug(integrationSlug *string)
- func (o *GetV1ProcessingLogEntriesParams) SetOfLevel(ofLevel *string)
- func (o *GetV1ProcessingLogEntriesParams) SetPage(page *int32)
- func (o *GetV1ProcessingLogEntriesParams) SetPerPage(perPage *int32)
- func (o *GetV1ProcessingLogEntriesParams) SetTimeout(timeout time.Duration)
- func (o *GetV1ProcessingLogEntriesParams) WithConnectionID(connectionID *string) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithContext(ctx context.Context) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithDefaults() *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithExactLevel(exactLevel *string) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithHTTPClient(client *http.Client) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithIntegrationSlug(integrationSlug *string) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithOfLevel(ofLevel *string) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithPage(page *int32) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithPerPage(perPage *int32) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WithTimeout(timeout time.Duration) *GetV1ProcessingLogEntriesParams
- func (o *GetV1ProcessingLogEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1ProcessingLogEntriesReader
- type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) Error() string
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) GetPayload() *models.IncidentsAlertEntity
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsClientError() bool
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsCode(code int) bool
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsRedirect() bool
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsServerError() bool
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsSuccess() bool
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) String() string
- type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams() *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetContext(ctx context.Context)
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetDefaults()
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetIncidentAlertID(incidentAlertID string)
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetIncidentID(incidentID string)
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(...)
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithContext(ctx context.Context) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithDefaults() *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentAlertID(incidentAlertID string) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentID(incidentID string) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(...) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
- func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryReader
- type PostV1IncidentsIncidentIDAlertsNoContent
- func (o *PostV1IncidentsIncidentIDAlertsNoContent) Error() string
- func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsClientError() bool
- func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsCode(code int) bool
- func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsRedirect() bool
- func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsServerError() bool
- func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsSuccess() bool
- func (o *PostV1IncidentsIncidentIDAlertsNoContent) String() string
- type PostV1IncidentsIncidentIDAlertsParams
- func NewPostV1IncidentsIncidentIDAlertsParams() *PostV1IncidentsIncidentIDAlertsParams
- func NewPostV1IncidentsIncidentIDAlertsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDAlertsParams
- func NewPostV1IncidentsIncidentIDAlertsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDAlertsParams
- func NewPostV1IncidentsIncidentIDAlertsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDAlertsParams
- func (o *PostV1IncidentsIncidentIDAlertsParams) SetAlertIds(alertIds []string)
- func (o *PostV1IncidentsIncidentIDAlertsParams) SetContext(ctx context.Context)
- func (o *PostV1IncidentsIncidentIDAlertsParams) SetDefaults()
- func (o *PostV1IncidentsIncidentIDAlertsParams) SetHTTPClient(client *http.Client)
- func (o *PostV1IncidentsIncidentIDAlertsParams) SetIncidentID(incidentID string)
- func (o *PostV1IncidentsIncidentIDAlertsParams) SetTimeout(timeout time.Duration)
- func (o *PostV1IncidentsIncidentIDAlertsParams) WithAlertIds(alertIds []string) *PostV1IncidentsIncidentIDAlertsParams
- func (o *PostV1IncidentsIncidentIDAlertsParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDAlertsParams
- func (o *PostV1IncidentsIncidentIDAlertsParams) WithDefaults() *PostV1IncidentsIncidentIDAlertsParams
- func (o *PostV1IncidentsIncidentIDAlertsParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDAlertsParams
- func (o *PostV1IncidentsIncidentIDAlertsParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDAlertsParams
- func (o *PostV1IncidentsIncidentIDAlertsParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDAlertsParams
- func (o *PostV1IncidentsIncidentIDAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostV1IncidentsIncidentIDAlertsReader
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 alerts API
func (*Client) DeleteV1IncidentsIncidentIDAlertsIncidentAlertID ¶
func (a *Client) DeleteV1IncidentsIncidentIDAlertsIncidentAlertID(params *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent, error)
DeleteV1IncidentsIncidentIDAlertsIncidentAlertID removes an alert from an incident
Remove an alert from an incident
func (*Client) GetV1Alerts ¶
func (a *Client) GetV1Alerts(params *GetV1AlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AlertsOK, error)
GetV1Alerts lists alerts
Retrieve all alerts from third parties
func (*Client) GetV1AlertsAlertID ¶
func (a *Client) GetV1AlertsAlertID(params *GetV1AlertsAlertIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AlertsAlertIDOK, error)
GetV1AlertsAlertID gets an alert
Retrieve a single alert
func (*Client) GetV1IncidentsIncidentIDAlerts ¶
func (a *Client) GetV1IncidentsIncidentIDAlerts(params *GetV1IncidentsIncidentIDAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDAlertsOK, error)
GetV1IncidentsIncidentIDAlerts lists alerts for an incident
List alerts that have been attached to an incident
func (*Client) GetV1ProcessingLogEntries ¶
func (a *Client) GetV1ProcessingLogEntries(params *GetV1ProcessingLogEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ProcessingLogEntriesOK, error)
GetV1ProcessingLogEntries lists alert processing log entries
Processing Log Entries for a specific alert
func (*Client) PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary ¶
func (a *Client) PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(params *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK, error)
PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary sets an alert as primary for an incident
Setting an alert as primary will overwrite milestone times in the FireHydrant incident with times included in the primary alert. Services attached to the primary alert will also be automatically added to the incident.
func (*Client) PostV1IncidentsIncidentIDAlerts ¶
func (a *Client) PostV1IncidentsIncidentIDAlerts(params *PostV1IncidentsIncidentIDAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDAlertsNoContent, error)
PostV1IncidentsIncidentIDAlerts attaches an alert to an incident
Add an alert to an incident. FireHydrant needs to have ingested the alert from a third party system in order to attach it to the incident.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface {
DeleteV1IncidentsIncidentIDAlertsIncidentAlertID(params *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent, error)
GetV1Alerts(params *GetV1AlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AlertsOK, error)
GetV1AlertsAlertID(params *GetV1AlertsAlertIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AlertsAlertIDOK, error)
GetV1IncidentsIncidentIDAlerts(params *GetV1IncidentsIncidentIDAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDAlertsOK, error)
GetV1ProcessingLogEntries(params *GetV1ProcessingLogEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1ProcessingLogEntriesOK, error)
PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(params *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK, error)
PostV1IncidentsIncidentIDAlerts(params *PostV1IncidentsIncidentIDAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDAlertsNoContent, 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 alerts API client.
type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent ¶
type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent struct {
}
DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent describes a response with status code 204, with default header values.
Remove an alert from an incident
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent ¶
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent() *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent
NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent creates a DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent with default headers values
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) Error ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) Error() string
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsClientError ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsClientError() bool
IsClientError returns true when this delete v1 incidents incident Id alerts incident alert Id no content response has a 4xx status code
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsCode ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsCode(code int) bool
IsCode returns true when this delete v1 incidents incident Id alerts incident alert Id no content response a status code equal to that given
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsRedirect ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete v1 incidents incident Id alerts incident alert Id no content response has a 3xx status code
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsServerError ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsServerError() bool
IsServerError returns true when this delete v1 incidents incident Id alerts incident alert Id no content response has a 5xx status code
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsSuccess ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete v1 incidents incident Id alerts incident alert Id no content response has a 2xx status code
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) String ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) String() string
type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams ¶
type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams struct {
// IncidentAlertID.
IncidentAlertID string
// IncidentID.
IncidentID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams contains all the parameters to send to the API endpoint
for the delete v1 incidents incident Id alerts incident alert Id operation. Typically these are written to a http.Request.
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams ¶
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams() *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams creates a new DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams 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 NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithContext ¶
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams object with the ability to set a context for a request.
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithHTTPClient ¶
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithTimeout ¶
func NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
NewDeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams object with the ability to set a timeout on a request.
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetContext ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetDefaults ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetDefaults()
SetDefaults hydrates default values in the delete v1 incidents incident Id alerts incident alert Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetHTTPClient ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetIncidentAlertID ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetIncidentAlertID(incidentAlertID string)
SetIncidentAlertID adds the incidentAlertId to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetIncidentID ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetTimeout ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithContext ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
WithContext adds the context to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithDefaults ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithDefaults() *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
WithDefaults hydrates default values in the delete v1 incidents incident Id alerts incident alert Id params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithHTTPClient ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentAlertID ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentAlertID(incidentAlertID string) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
WithIncidentAlertID adds the incidentAlertID to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentID ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentID(incidentID string) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
WithIncidentID adds the incidentID to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithTimeout ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams
WithTimeout adds the timeout to the delete v1 incidents incident Id alerts incident alert Id params
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WriteToRequest ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDReader ¶
type DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDReader struct {
// contains filtered or unexported fields
}
DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDReader is a Reader for the DeleteV1IncidentsIncidentIDAlertsIncidentAlertID structure.
func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDReader) ReadResponse ¶
func (o *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1AlertsAlertIDOK ¶
type GetV1AlertsAlertIDOK struct {
Payload *models.AlertsAlertEntity
}
GetV1AlertsAlertIDOK describes a response with status code 200, with default header values.
Retrieve a single alert
func NewGetV1AlertsAlertIDOK ¶
func NewGetV1AlertsAlertIDOK() *GetV1AlertsAlertIDOK
NewGetV1AlertsAlertIDOK creates a GetV1AlertsAlertIDOK with default headers values
func (*GetV1AlertsAlertIDOK) Error ¶
func (o *GetV1AlertsAlertIDOK) Error() string
func (*GetV1AlertsAlertIDOK) GetPayload ¶
func (o *GetV1AlertsAlertIDOK) GetPayload() *models.AlertsAlertEntity
func (*GetV1AlertsAlertIDOK) IsClientError ¶
func (o *GetV1AlertsAlertIDOK) IsClientError() bool
IsClientError returns true when this get v1 alerts alert Id o k response has a 4xx status code
func (*GetV1AlertsAlertIDOK) IsCode ¶
func (o *GetV1AlertsAlertIDOK) IsCode(code int) bool
IsCode returns true when this get v1 alerts alert Id o k response a status code equal to that given
func (*GetV1AlertsAlertIDOK) IsRedirect ¶
func (o *GetV1AlertsAlertIDOK) IsRedirect() bool
IsRedirect returns true when this get v1 alerts alert Id o k response has a 3xx status code
func (*GetV1AlertsAlertIDOK) IsServerError ¶
func (o *GetV1AlertsAlertIDOK) IsServerError() bool
IsServerError returns true when this get v1 alerts alert Id o k response has a 5xx status code
func (*GetV1AlertsAlertIDOK) IsSuccess ¶
func (o *GetV1AlertsAlertIDOK) IsSuccess() bool
IsSuccess returns true when this get v1 alerts alert Id o k response has a 2xx status code
func (*GetV1AlertsAlertIDOK) String ¶
func (o *GetV1AlertsAlertIDOK) String() string
type GetV1AlertsAlertIDParams ¶
type GetV1AlertsAlertIDParams struct {
// AlertID.
AlertID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1AlertsAlertIDParams contains all the parameters to send to the API endpoint
for the get v1 alerts alert Id operation. Typically these are written to a http.Request.
func NewGetV1AlertsAlertIDParams ¶
func NewGetV1AlertsAlertIDParams() *GetV1AlertsAlertIDParams
NewGetV1AlertsAlertIDParams creates a new GetV1AlertsAlertIDParams 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 NewGetV1AlertsAlertIDParamsWithContext ¶
func NewGetV1AlertsAlertIDParamsWithContext(ctx context.Context) *GetV1AlertsAlertIDParams
NewGetV1AlertsAlertIDParamsWithContext creates a new GetV1AlertsAlertIDParams object with the ability to set a context for a request.
func NewGetV1AlertsAlertIDParamsWithHTTPClient ¶
func NewGetV1AlertsAlertIDParamsWithHTTPClient(client *http.Client) *GetV1AlertsAlertIDParams
NewGetV1AlertsAlertIDParamsWithHTTPClient creates a new GetV1AlertsAlertIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1AlertsAlertIDParamsWithTimeout ¶
func NewGetV1AlertsAlertIDParamsWithTimeout(timeout time.Duration) *GetV1AlertsAlertIDParams
NewGetV1AlertsAlertIDParamsWithTimeout creates a new GetV1AlertsAlertIDParams object with the ability to set a timeout on a request.
func (*GetV1AlertsAlertIDParams) SetAlertID ¶
func (o *GetV1AlertsAlertIDParams) SetAlertID(alertID string)
SetAlertID adds the alertId to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) SetContext ¶
func (o *GetV1AlertsAlertIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) SetDefaults ¶
func (o *GetV1AlertsAlertIDParams) SetDefaults()
SetDefaults hydrates default values in the get v1 alerts alert Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1AlertsAlertIDParams) SetHTTPClient ¶
func (o *GetV1AlertsAlertIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) SetTimeout ¶
func (o *GetV1AlertsAlertIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) WithAlertID ¶
func (o *GetV1AlertsAlertIDParams) WithAlertID(alertID string) *GetV1AlertsAlertIDParams
WithAlertID adds the alertID to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) WithContext ¶
func (o *GetV1AlertsAlertIDParams) WithContext(ctx context.Context) *GetV1AlertsAlertIDParams
WithContext adds the context to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) WithDefaults ¶
func (o *GetV1AlertsAlertIDParams) WithDefaults() *GetV1AlertsAlertIDParams
WithDefaults hydrates default values in the get v1 alerts alert Id params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1AlertsAlertIDParams) WithHTTPClient ¶
func (o *GetV1AlertsAlertIDParams) WithHTTPClient(client *http.Client) *GetV1AlertsAlertIDParams
WithHTTPClient adds the HTTPClient to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) WithTimeout ¶
func (o *GetV1AlertsAlertIDParams) WithTimeout(timeout time.Duration) *GetV1AlertsAlertIDParams
WithTimeout adds the timeout to the get v1 alerts alert Id params
func (*GetV1AlertsAlertIDParams) WriteToRequest ¶
func (o *GetV1AlertsAlertIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1AlertsAlertIDReader ¶
type GetV1AlertsAlertIDReader struct {
// contains filtered or unexported fields
}
GetV1AlertsAlertIDReader is a Reader for the GetV1AlertsAlertID structure.
func (*GetV1AlertsAlertIDReader) ReadResponse ¶
func (o *GetV1AlertsAlertIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1AlertsOK ¶
type GetV1AlertsOK struct {
Payload *models.AlertsAlertEntityPaginated
}
GetV1AlertsOK describes a response with status code 200, with default header values.
Retrieve all alerts from third parties
func NewGetV1AlertsOK ¶
func NewGetV1AlertsOK() *GetV1AlertsOK
NewGetV1AlertsOK creates a GetV1AlertsOK with default headers values
func (*GetV1AlertsOK) Error ¶
func (o *GetV1AlertsOK) Error() string
func (*GetV1AlertsOK) GetPayload ¶
func (o *GetV1AlertsOK) GetPayload() *models.AlertsAlertEntityPaginated
func (*GetV1AlertsOK) IsClientError ¶
func (o *GetV1AlertsOK) IsClientError() bool
IsClientError returns true when this get v1 alerts o k response has a 4xx status code
func (*GetV1AlertsOK) IsCode ¶
func (o *GetV1AlertsOK) IsCode(code int) bool
IsCode returns true when this get v1 alerts o k response a status code equal to that given
func (*GetV1AlertsOK) IsRedirect ¶
func (o *GetV1AlertsOK) IsRedirect() bool
IsRedirect returns true when this get v1 alerts o k response has a 3xx status code
func (*GetV1AlertsOK) IsServerError ¶
func (o *GetV1AlertsOK) IsServerError() bool
IsServerError returns true when this get v1 alerts o k response has a 5xx status code
func (*GetV1AlertsOK) IsSuccess ¶
func (o *GetV1AlertsOK) IsSuccess() bool
IsSuccess returns true when this get v1 alerts o k response has a 2xx status code
func (*GetV1AlertsOK) String ¶
func (o *GetV1AlertsOK) String() string
type GetV1AlertsParams ¶
type GetV1AlertsParams struct {
/* Environments.
A comma separated list of environment IDs. This currently only works for Signals alerts.
*/
Environments *string
/* Functionalities.
A comma separated list of functionality IDs. This currently only works for Signals alerts.
*/
Functionalities *string
// Page.
//
// Format: int32
Page *int32
// PerPage.
//
// Format: int32
PerPage *int32
/* Query.
A text query for alerts
*/
Query *string
/* Services.
A comma separated list of service IDs. This currently only works for Signals alerts.
*/
Services *string
/* SignalRules.
A comma separated list of signals rule IDs. This currently only works for Signals alerts.
*/
SignalRules *string
/* Statuses.
A comma separated list of statuses to filter by. Valid statuses are: opened, acknowledged, resolved, ignored, expired, or linked
*/
Statuses *string
/* TagMatchStrategy.
The strategy to match tags. `any` will return alerts that have at least one of the supplied tags, `match_all` will return only alerts that have all of the supplied tags, and `exclude` will only return alerts that have none of the supplied tags. This currently only works for Signals alerts.
*/
TagMatchStrategy *string
/* Tags.
A comma separated list of tags. This currently only works for Signals alerts.
*/
Tags *string
/* Teams.
A comma separated list of team IDs. This currently only works for Signals alerts.
*/
Teams *string
/* Users.
A comma separated list of user IDs. This currently only works for Signals alerts.
*/
Users *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1AlertsParams contains all the parameters to send to the API endpoint
for the get v1 alerts operation. Typically these are written to a http.Request.
func NewGetV1AlertsParams ¶
func NewGetV1AlertsParams() *GetV1AlertsParams
NewGetV1AlertsParams creates a new GetV1AlertsParams 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 NewGetV1AlertsParamsWithContext ¶
func NewGetV1AlertsParamsWithContext(ctx context.Context) *GetV1AlertsParams
NewGetV1AlertsParamsWithContext creates a new GetV1AlertsParams object with the ability to set a context for a request.
func NewGetV1AlertsParamsWithHTTPClient ¶
func NewGetV1AlertsParamsWithHTTPClient(client *http.Client) *GetV1AlertsParams
NewGetV1AlertsParamsWithHTTPClient creates a new GetV1AlertsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1AlertsParamsWithTimeout ¶
func NewGetV1AlertsParamsWithTimeout(timeout time.Duration) *GetV1AlertsParams
NewGetV1AlertsParamsWithTimeout creates a new GetV1AlertsParams object with the ability to set a timeout on a request.
func (*GetV1AlertsParams) SetContext ¶
func (o *GetV1AlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 alerts params
func (*GetV1AlertsParams) SetDefaults ¶
func (o *GetV1AlertsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 alerts params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1AlertsParams) SetEnvironments ¶
func (o *GetV1AlertsParams) SetEnvironments(environments *string)
SetEnvironments adds the environments to the get v1 alerts params
func (*GetV1AlertsParams) SetFunctionalities ¶
func (o *GetV1AlertsParams) SetFunctionalities(functionalities *string)
SetFunctionalities adds the functionalities to the get v1 alerts params
func (*GetV1AlertsParams) SetHTTPClient ¶
func (o *GetV1AlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 alerts params
func (*GetV1AlertsParams) SetPage ¶
func (o *GetV1AlertsParams) SetPage(page *int32)
SetPage adds the page to the get v1 alerts params
func (*GetV1AlertsParams) SetPerPage ¶
func (o *GetV1AlertsParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v1 alerts params
func (*GetV1AlertsParams) SetQuery ¶
func (o *GetV1AlertsParams) SetQuery(query *string)
SetQuery adds the query to the get v1 alerts params
func (*GetV1AlertsParams) SetServices ¶
func (o *GetV1AlertsParams) SetServices(services *string)
SetServices adds the services to the get v1 alerts params
func (*GetV1AlertsParams) SetSignalRules ¶
func (o *GetV1AlertsParams) SetSignalRules(signalRules *string)
SetSignalRules adds the signalRules to the get v1 alerts params
func (*GetV1AlertsParams) SetStatuses ¶
func (o *GetV1AlertsParams) SetStatuses(statuses *string)
SetStatuses adds the statuses to the get v1 alerts params
func (*GetV1AlertsParams) SetTagMatchStrategy ¶
func (o *GetV1AlertsParams) SetTagMatchStrategy(tagMatchStrategy *string)
SetTagMatchStrategy adds the tagMatchStrategy to the get v1 alerts params
func (*GetV1AlertsParams) SetTags ¶
func (o *GetV1AlertsParams) SetTags(tags *string)
SetTags adds the tags to the get v1 alerts params
func (*GetV1AlertsParams) SetTeams ¶
func (o *GetV1AlertsParams) SetTeams(teams *string)
SetTeams adds the teams to the get v1 alerts params
func (*GetV1AlertsParams) SetTimeout ¶
func (o *GetV1AlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 alerts params
func (*GetV1AlertsParams) SetUsers ¶
func (o *GetV1AlertsParams) SetUsers(users *string)
SetUsers adds the users to the get v1 alerts params
func (*GetV1AlertsParams) WithContext ¶
func (o *GetV1AlertsParams) WithContext(ctx context.Context) *GetV1AlertsParams
WithContext adds the context to the get v1 alerts params
func (*GetV1AlertsParams) WithDefaults ¶
func (o *GetV1AlertsParams) WithDefaults() *GetV1AlertsParams
WithDefaults hydrates default values in the get v1 alerts params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1AlertsParams) WithEnvironments ¶
func (o *GetV1AlertsParams) WithEnvironments(environments *string) *GetV1AlertsParams
WithEnvironments adds the environments to the get v1 alerts params
func (*GetV1AlertsParams) WithFunctionalities ¶
func (o *GetV1AlertsParams) WithFunctionalities(functionalities *string) *GetV1AlertsParams
WithFunctionalities adds the functionalities to the get v1 alerts params
func (*GetV1AlertsParams) WithHTTPClient ¶
func (o *GetV1AlertsParams) WithHTTPClient(client *http.Client) *GetV1AlertsParams
WithHTTPClient adds the HTTPClient to the get v1 alerts params
func (*GetV1AlertsParams) WithPage ¶
func (o *GetV1AlertsParams) WithPage(page *int32) *GetV1AlertsParams
WithPage adds the page to the get v1 alerts params
func (*GetV1AlertsParams) WithPerPage ¶
func (o *GetV1AlertsParams) WithPerPage(perPage *int32) *GetV1AlertsParams
WithPerPage adds the perPage to the get v1 alerts params
func (*GetV1AlertsParams) WithQuery ¶
func (o *GetV1AlertsParams) WithQuery(query *string) *GetV1AlertsParams
WithQuery adds the query to the get v1 alerts params
func (*GetV1AlertsParams) WithServices ¶
func (o *GetV1AlertsParams) WithServices(services *string) *GetV1AlertsParams
WithServices adds the services to the get v1 alerts params
func (*GetV1AlertsParams) WithSignalRules ¶
func (o *GetV1AlertsParams) WithSignalRules(signalRules *string) *GetV1AlertsParams
WithSignalRules adds the signalRules to the get v1 alerts params
func (*GetV1AlertsParams) WithStatuses ¶
func (o *GetV1AlertsParams) WithStatuses(statuses *string) *GetV1AlertsParams
WithStatuses adds the statuses to the get v1 alerts params
func (*GetV1AlertsParams) WithTagMatchStrategy ¶
func (o *GetV1AlertsParams) WithTagMatchStrategy(tagMatchStrategy *string) *GetV1AlertsParams
WithTagMatchStrategy adds the tagMatchStrategy to the get v1 alerts params
func (*GetV1AlertsParams) WithTags ¶
func (o *GetV1AlertsParams) WithTags(tags *string) *GetV1AlertsParams
WithTags adds the tags to the get v1 alerts params
func (*GetV1AlertsParams) WithTeams ¶
func (o *GetV1AlertsParams) WithTeams(teams *string) *GetV1AlertsParams
WithTeams adds the teams to the get v1 alerts params
func (*GetV1AlertsParams) WithTimeout ¶
func (o *GetV1AlertsParams) WithTimeout(timeout time.Duration) *GetV1AlertsParams
WithTimeout adds the timeout to the get v1 alerts params
func (*GetV1AlertsParams) WithUsers ¶
func (o *GetV1AlertsParams) WithUsers(users *string) *GetV1AlertsParams
WithUsers adds the users to the get v1 alerts params
func (*GetV1AlertsParams) WriteToRequest ¶
func (o *GetV1AlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1AlertsReader ¶
type GetV1AlertsReader struct {
// contains filtered or unexported fields
}
GetV1AlertsReader is a Reader for the GetV1Alerts structure.
func (*GetV1AlertsReader) ReadResponse ¶
func (o *GetV1AlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1IncidentsIncidentIDAlertsOK ¶
type GetV1IncidentsIncidentIDAlertsOK struct {
Payload *models.IncidentsAlertEntityPaginated
}
GetV1IncidentsIncidentIDAlertsOK describes a response with status code 200, with default header values.
List alerts that have been attached to an incident
func NewGetV1IncidentsIncidentIDAlertsOK ¶
func NewGetV1IncidentsIncidentIDAlertsOK() *GetV1IncidentsIncidentIDAlertsOK
NewGetV1IncidentsIncidentIDAlertsOK creates a GetV1IncidentsIncidentIDAlertsOK with default headers values
func (*GetV1IncidentsIncidentIDAlertsOK) Error ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) Error() string
func (*GetV1IncidentsIncidentIDAlertsOK) GetPayload ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) GetPayload() *models.IncidentsAlertEntityPaginated
func (*GetV1IncidentsIncidentIDAlertsOK) IsClientError ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) IsClientError() bool
IsClientError returns true when this get v1 incidents incident Id alerts o k response has a 4xx status code
func (*GetV1IncidentsIncidentIDAlertsOK) IsCode ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) IsCode(code int) bool
IsCode returns true when this get v1 incidents incident Id alerts o k response a status code equal to that given
func (*GetV1IncidentsIncidentIDAlertsOK) IsRedirect ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) IsRedirect() bool
IsRedirect returns true when this get v1 incidents incident Id alerts o k response has a 3xx status code
func (*GetV1IncidentsIncidentIDAlertsOK) IsServerError ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) IsServerError() bool
IsServerError returns true when this get v1 incidents incident Id alerts o k response has a 5xx status code
func (*GetV1IncidentsIncidentIDAlertsOK) IsSuccess ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) IsSuccess() bool
IsSuccess returns true when this get v1 incidents incident Id alerts o k response has a 2xx status code
func (*GetV1IncidentsIncidentIDAlertsOK) String ¶
func (o *GetV1IncidentsIncidentIDAlertsOK) String() string
type GetV1IncidentsIncidentIDAlertsParams ¶
type GetV1IncidentsIncidentIDAlertsParams struct {
// IncidentID.
IncidentID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1IncidentsIncidentIDAlertsParams contains all the parameters to send to the API endpoint
for the get v1 incidents incident Id alerts operation. Typically these are written to a http.Request.
func NewGetV1IncidentsIncidentIDAlertsParams ¶
func NewGetV1IncidentsIncidentIDAlertsParams() *GetV1IncidentsIncidentIDAlertsParams
NewGetV1IncidentsIncidentIDAlertsParams creates a new GetV1IncidentsIncidentIDAlertsParams 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 NewGetV1IncidentsIncidentIDAlertsParamsWithContext ¶
func NewGetV1IncidentsIncidentIDAlertsParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDAlertsParams
NewGetV1IncidentsIncidentIDAlertsParamsWithContext creates a new GetV1IncidentsIncidentIDAlertsParams object with the ability to set a context for a request.
func NewGetV1IncidentsIncidentIDAlertsParamsWithHTTPClient ¶
func NewGetV1IncidentsIncidentIDAlertsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDAlertsParams
NewGetV1IncidentsIncidentIDAlertsParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDAlertsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1IncidentsIncidentIDAlertsParamsWithTimeout ¶
func NewGetV1IncidentsIncidentIDAlertsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDAlertsParams
NewGetV1IncidentsIncidentIDAlertsParamsWithTimeout creates a new GetV1IncidentsIncidentIDAlertsParams object with the ability to set a timeout on a request.
func (*GetV1IncidentsIncidentIDAlertsParams) SetContext ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) SetDefaults ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 incidents incident Id alerts params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1IncidentsIncidentIDAlertsParams) SetHTTPClient ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) SetIncidentID ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) SetTimeout ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) WithContext ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) WithContext(ctx context.Context) *GetV1IncidentsIncidentIDAlertsParams
WithContext adds the context to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) WithDefaults ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) WithDefaults() *GetV1IncidentsIncidentIDAlertsParams
WithDefaults hydrates default values in the get v1 incidents incident Id alerts params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1IncidentsIncidentIDAlertsParams) WithHTTPClient ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) WithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDAlertsParams
WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) WithIncidentID ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) WithIncidentID(incidentID string) *GetV1IncidentsIncidentIDAlertsParams
WithIncidentID adds the incidentID to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) WithTimeout ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) WithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDAlertsParams
WithTimeout adds the timeout to the get v1 incidents incident Id alerts params
func (*GetV1IncidentsIncidentIDAlertsParams) WriteToRequest ¶
func (o *GetV1IncidentsIncidentIDAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1IncidentsIncidentIDAlertsReader ¶
type GetV1IncidentsIncidentIDAlertsReader struct {
// contains filtered or unexported fields
}
GetV1IncidentsIncidentIDAlertsReader is a Reader for the GetV1IncidentsIncidentIDAlerts structure.
func (*GetV1IncidentsIncidentIDAlertsReader) ReadResponse ¶
func (o *GetV1IncidentsIncidentIDAlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1ProcessingLogEntriesOK ¶
type GetV1ProcessingLogEntriesOK struct {
Payload *models.AlertsProcessingLogEntryEntityPaginated
}
GetV1ProcessingLogEntriesOK describes a response with status code 200, with default header values.
Processing Log Entries for a specific alert
func NewGetV1ProcessingLogEntriesOK ¶
func NewGetV1ProcessingLogEntriesOK() *GetV1ProcessingLogEntriesOK
NewGetV1ProcessingLogEntriesOK creates a GetV1ProcessingLogEntriesOK with default headers values
func (*GetV1ProcessingLogEntriesOK) Error ¶
func (o *GetV1ProcessingLogEntriesOK) Error() string
func (*GetV1ProcessingLogEntriesOK) GetPayload ¶
func (o *GetV1ProcessingLogEntriesOK) GetPayload() *models.AlertsProcessingLogEntryEntityPaginated
func (*GetV1ProcessingLogEntriesOK) IsClientError ¶
func (o *GetV1ProcessingLogEntriesOK) IsClientError() bool
IsClientError returns true when this get v1 processing log entries o k response has a 4xx status code
func (*GetV1ProcessingLogEntriesOK) IsCode ¶
func (o *GetV1ProcessingLogEntriesOK) IsCode(code int) bool
IsCode returns true when this get v1 processing log entries o k response a status code equal to that given
func (*GetV1ProcessingLogEntriesOK) IsRedirect ¶
func (o *GetV1ProcessingLogEntriesOK) IsRedirect() bool
IsRedirect returns true when this get v1 processing log entries o k response has a 3xx status code
func (*GetV1ProcessingLogEntriesOK) IsServerError ¶
func (o *GetV1ProcessingLogEntriesOK) IsServerError() bool
IsServerError returns true when this get v1 processing log entries o k response has a 5xx status code
func (*GetV1ProcessingLogEntriesOK) IsSuccess ¶
func (o *GetV1ProcessingLogEntriesOK) IsSuccess() bool
IsSuccess returns true when this get v1 processing log entries o k response has a 2xx status code
func (*GetV1ProcessingLogEntriesOK) String ¶
func (o *GetV1ProcessingLogEntriesOK) String() string
type GetV1ProcessingLogEntriesParams ¶
type GetV1ProcessingLogEntriesParams struct {
/* ConnectionID.
Scopes returned log entries to a specific connection ID
*/
ConnectionID *string
/* ExactLevel.
Returns log entries of all levels equal to the provided level
*/
ExactLevel *string
/* IntegrationSlug.
Scopes returned log entries to a specific integration ID
*/
IntegrationSlug *string
/* OfLevel.
Returns logs of all levels equal to or above the provided level
*/
OfLevel *string
// Page.
//
// Format: int32
Page *int32
// PerPage.
//
// Format: int32
PerPage *int32
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1ProcessingLogEntriesParams contains all the parameters to send to the API endpoint
for the get v1 processing log entries operation. Typically these are written to a http.Request.
func NewGetV1ProcessingLogEntriesParams ¶
func NewGetV1ProcessingLogEntriesParams() *GetV1ProcessingLogEntriesParams
NewGetV1ProcessingLogEntriesParams creates a new GetV1ProcessingLogEntriesParams 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 NewGetV1ProcessingLogEntriesParamsWithContext ¶
func NewGetV1ProcessingLogEntriesParamsWithContext(ctx context.Context) *GetV1ProcessingLogEntriesParams
NewGetV1ProcessingLogEntriesParamsWithContext creates a new GetV1ProcessingLogEntriesParams object with the ability to set a context for a request.
func NewGetV1ProcessingLogEntriesParamsWithHTTPClient ¶
func NewGetV1ProcessingLogEntriesParamsWithHTTPClient(client *http.Client) *GetV1ProcessingLogEntriesParams
NewGetV1ProcessingLogEntriesParamsWithHTTPClient creates a new GetV1ProcessingLogEntriesParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1ProcessingLogEntriesParamsWithTimeout ¶
func NewGetV1ProcessingLogEntriesParamsWithTimeout(timeout time.Duration) *GetV1ProcessingLogEntriesParams
NewGetV1ProcessingLogEntriesParamsWithTimeout creates a new GetV1ProcessingLogEntriesParams object with the ability to set a timeout on a request.
func (*GetV1ProcessingLogEntriesParams) SetConnectionID ¶
func (o *GetV1ProcessingLogEntriesParams) SetConnectionID(connectionID *string)
SetConnectionID adds the connectionId to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetContext ¶
func (o *GetV1ProcessingLogEntriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetDefaults ¶
func (o *GetV1ProcessingLogEntriesParams) SetDefaults()
SetDefaults hydrates default values in the get v1 processing log entries params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ProcessingLogEntriesParams) SetExactLevel ¶
func (o *GetV1ProcessingLogEntriesParams) SetExactLevel(exactLevel *string)
SetExactLevel adds the exactLevel to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetHTTPClient ¶
func (o *GetV1ProcessingLogEntriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetIntegrationSlug ¶
func (o *GetV1ProcessingLogEntriesParams) SetIntegrationSlug(integrationSlug *string)
SetIntegrationSlug adds the integrationSlug to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetOfLevel ¶
func (o *GetV1ProcessingLogEntriesParams) SetOfLevel(ofLevel *string)
SetOfLevel adds the ofLevel to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetPage ¶
func (o *GetV1ProcessingLogEntriesParams) SetPage(page *int32)
SetPage adds the page to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetPerPage ¶
func (o *GetV1ProcessingLogEntriesParams) SetPerPage(perPage *int32)
SetPerPage adds the perPage to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) SetTimeout ¶
func (o *GetV1ProcessingLogEntriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithConnectionID ¶
func (o *GetV1ProcessingLogEntriesParams) WithConnectionID(connectionID *string) *GetV1ProcessingLogEntriesParams
WithConnectionID adds the connectionID to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithContext ¶
func (o *GetV1ProcessingLogEntriesParams) WithContext(ctx context.Context) *GetV1ProcessingLogEntriesParams
WithContext adds the context to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithDefaults ¶
func (o *GetV1ProcessingLogEntriesParams) WithDefaults() *GetV1ProcessingLogEntriesParams
WithDefaults hydrates default values in the get v1 processing log entries params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1ProcessingLogEntriesParams) WithExactLevel ¶
func (o *GetV1ProcessingLogEntriesParams) WithExactLevel(exactLevel *string) *GetV1ProcessingLogEntriesParams
WithExactLevel adds the exactLevel to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithHTTPClient ¶
func (o *GetV1ProcessingLogEntriesParams) WithHTTPClient(client *http.Client) *GetV1ProcessingLogEntriesParams
WithHTTPClient adds the HTTPClient to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithIntegrationSlug ¶
func (o *GetV1ProcessingLogEntriesParams) WithIntegrationSlug(integrationSlug *string) *GetV1ProcessingLogEntriesParams
WithIntegrationSlug adds the integrationSlug to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithOfLevel ¶
func (o *GetV1ProcessingLogEntriesParams) WithOfLevel(ofLevel *string) *GetV1ProcessingLogEntriesParams
WithOfLevel adds the ofLevel to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithPage ¶
func (o *GetV1ProcessingLogEntriesParams) WithPage(page *int32) *GetV1ProcessingLogEntriesParams
WithPage adds the page to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithPerPage ¶
func (o *GetV1ProcessingLogEntriesParams) WithPerPage(perPage *int32) *GetV1ProcessingLogEntriesParams
WithPerPage adds the perPage to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WithTimeout ¶
func (o *GetV1ProcessingLogEntriesParams) WithTimeout(timeout time.Duration) *GetV1ProcessingLogEntriesParams
WithTimeout adds the timeout to the get v1 processing log entries params
func (*GetV1ProcessingLogEntriesParams) WriteToRequest ¶
func (o *GetV1ProcessingLogEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1ProcessingLogEntriesReader ¶
type GetV1ProcessingLogEntriesReader struct {
// contains filtered or unexported fields
}
GetV1ProcessingLogEntriesReader is a Reader for the GetV1ProcessingLogEntries structure.
func (*GetV1ProcessingLogEntriesReader) ReadResponse ¶
func (o *GetV1ProcessingLogEntriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK ¶
type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK struct {
Payload *models.IncidentsAlertEntity
}
PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK describes a response with status code 200, with default header values.
Setting an alert as primary will overwrite milestone times in the FireHydrant incident with times included in the primary alert. Services attached to the primary alert will also be automatically added to the incident.
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK ¶
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK() *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK
NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK creates a PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK with default headers values
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) Error ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) Error() string
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) GetPayload ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) GetPayload() *models.IncidentsAlertEntity
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsClientError ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsClientError() bool
IsClientError returns true when this patch v1 incidents incident Id alerts incident alert Id primary o k response has a 4xx status code
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsCode ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsCode(code int) bool
IsCode returns true when this patch v1 incidents incident Id alerts incident alert Id primary o k response a status code equal to that given
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsRedirect ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsRedirect() bool
IsRedirect returns true when this patch v1 incidents incident Id alerts incident alert Id primary o k response has a 3xx status code
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsServerError ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsServerError() bool
IsServerError returns true when this patch v1 incidents incident Id alerts incident alert Id primary o k response has a 5xx status code
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsSuccess ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsSuccess() bool
IsSuccess returns true when this patch v1 incidents incident Id alerts incident alert Id primary o k response has a 2xx status code
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) String ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) String() string
type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams ¶
type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams struct {
// IncidentAlertID.
IncidentAlertID string
// IncidentID.
IncidentID string
// PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary.
PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary *models.PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams contains all the parameters to send to the API endpoint
for the patch v1 incidents incident Id alerts incident alert Id primary operation. Typically these are written to a http.Request.
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams ¶
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams() *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams creates a new PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams 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 NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithContext ¶
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithContext creates a new PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams object with the ability to set a context for a request.
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithHTTPClient ¶
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams object with the ability to set a custom HTTPClient for a request.
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithTimeout ¶
func NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
NewPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParamsWithTimeout creates a new PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams object with the ability to set a timeout on a request.
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetContext ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetContext(ctx context.Context)
SetContext adds the context to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetDefaults ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetDefaults()
SetDefaults hydrates default values in the patch v1 incidents incident Id alerts incident alert Id primary params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetHTTPClient ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetIncidentAlertID ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetIncidentAlertID(incidentAlertID string)
SetIncidentAlertID adds the incidentAlertId to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetIncidentID ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(patchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary *models.PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary)
SetPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary adds the patchV1IncidentsIncidentIdAlertsIncidentAlertIdPrimary to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetTimeout ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithContext ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithContext(ctx context.Context) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
WithContext adds the context to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithDefaults ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithDefaults() *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
WithDefaults hydrates default values in the patch v1 incidents incident Id alerts incident alert Id primary params (not the query body).
All values with no default are reset to their zero value.
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithHTTPClient ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentAlertID ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentAlertID(incidentAlertID string) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
WithIncidentAlertID adds the incidentAlertID to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentID ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentID(incidentID string) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
WithIncidentID adds the incidentID to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(patchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary *models.PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
WithPatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary adds the patchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithTimeout ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams
WithTimeout adds the timeout to the patch v1 incidents incident Id alerts incident alert Id primary params
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WriteToRequest ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryReader ¶
type PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryReader struct {
// contains filtered or unexported fields
}
PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryReader is a Reader for the PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary structure.
func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryReader) ReadResponse ¶
func (o *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostV1IncidentsIncidentIDAlertsNoContent ¶
type PostV1IncidentsIncidentIDAlertsNoContent struct {
}
PostV1IncidentsIncidentIDAlertsNoContent describes a response with status code 204, with default header values.
Add an alert to an incident. FireHydrant needs to have ingested the alert from a third party system in order to attach it to the incident.
func NewPostV1IncidentsIncidentIDAlertsNoContent ¶
func NewPostV1IncidentsIncidentIDAlertsNoContent() *PostV1IncidentsIncidentIDAlertsNoContent
NewPostV1IncidentsIncidentIDAlertsNoContent creates a PostV1IncidentsIncidentIDAlertsNoContent with default headers values
func (*PostV1IncidentsIncidentIDAlertsNoContent) Error ¶
func (o *PostV1IncidentsIncidentIDAlertsNoContent) Error() string
func (*PostV1IncidentsIncidentIDAlertsNoContent) IsClientError ¶
func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsClientError() bool
IsClientError returns true when this post v1 incidents incident Id alerts no content response has a 4xx status code
func (*PostV1IncidentsIncidentIDAlertsNoContent) IsCode ¶
func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsCode(code int) bool
IsCode returns true when this post v1 incidents incident Id alerts no content response a status code equal to that given
func (*PostV1IncidentsIncidentIDAlertsNoContent) IsRedirect ¶
func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsRedirect() bool
IsRedirect returns true when this post v1 incidents incident Id alerts no content response has a 3xx status code
func (*PostV1IncidentsIncidentIDAlertsNoContent) IsServerError ¶
func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsServerError() bool
IsServerError returns true when this post v1 incidents incident Id alerts no content response has a 5xx status code
func (*PostV1IncidentsIncidentIDAlertsNoContent) IsSuccess ¶
func (o *PostV1IncidentsIncidentIDAlertsNoContent) IsSuccess() bool
IsSuccess returns true when this post v1 incidents incident Id alerts no content response has a 2xx status code
func (*PostV1IncidentsIncidentIDAlertsNoContent) String ¶
func (o *PostV1IncidentsIncidentIDAlertsNoContent) String() string
type PostV1IncidentsIncidentIDAlertsParams ¶
type PostV1IncidentsIncidentIDAlertsParams struct {
/* AlertIds.
Array of alert IDs to be assigned to the incident
*/
AlertIds []string
// IncidentID.
IncidentID string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDAlertsParams contains all the parameters to send to the API endpoint
for the post v1 incidents incident Id alerts operation. Typically these are written to a http.Request.
func NewPostV1IncidentsIncidentIDAlertsParams ¶
func NewPostV1IncidentsIncidentIDAlertsParams() *PostV1IncidentsIncidentIDAlertsParams
NewPostV1IncidentsIncidentIDAlertsParams creates a new PostV1IncidentsIncidentIDAlertsParams 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 NewPostV1IncidentsIncidentIDAlertsParamsWithContext ¶
func NewPostV1IncidentsIncidentIDAlertsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDAlertsParams
NewPostV1IncidentsIncidentIDAlertsParamsWithContext creates a new PostV1IncidentsIncidentIDAlertsParams object with the ability to set a context for a request.
func NewPostV1IncidentsIncidentIDAlertsParamsWithHTTPClient ¶
func NewPostV1IncidentsIncidentIDAlertsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDAlertsParams
NewPostV1IncidentsIncidentIDAlertsParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDAlertsParams object with the ability to set a custom HTTPClient for a request.
func NewPostV1IncidentsIncidentIDAlertsParamsWithTimeout ¶
func NewPostV1IncidentsIncidentIDAlertsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDAlertsParams
NewPostV1IncidentsIncidentIDAlertsParamsWithTimeout creates a new PostV1IncidentsIncidentIDAlertsParams object with the ability to set a timeout on a request.
func (*PostV1IncidentsIncidentIDAlertsParams) SetAlertIds ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) SetAlertIds(alertIds []string)
SetAlertIds adds the alertIds to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) SetContext ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) SetContext(ctx context.Context)
SetContext adds the context to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) SetDefaults ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) SetDefaults()
SetDefaults hydrates default values in the post v1 incidents incident Id alerts params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDAlertsParams) SetHTTPClient ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) SetIncidentID ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) SetIncidentID(incidentID string)
SetIncidentID adds the incidentId to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) SetTimeout ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) WithAlertIds ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) WithAlertIds(alertIds []string) *PostV1IncidentsIncidentIDAlertsParams
WithAlertIds adds the alertIds to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) WithContext ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) WithContext(ctx context.Context) *PostV1IncidentsIncidentIDAlertsParams
WithContext adds the context to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) WithDefaults ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) WithDefaults() *PostV1IncidentsIncidentIDAlertsParams
WithDefaults hydrates default values in the post v1 incidents incident Id alerts params (not the query body).
All values with no default are reset to their zero value.
func (*PostV1IncidentsIncidentIDAlertsParams) WithHTTPClient ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) WithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDAlertsParams
WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) WithIncidentID ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) WithIncidentID(incidentID string) *PostV1IncidentsIncidentIDAlertsParams
WithIncidentID adds the incidentID to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) WithTimeout ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) WithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDAlertsParams
WithTimeout adds the timeout to the post v1 incidents incident Id alerts params
func (*PostV1IncidentsIncidentIDAlertsParams) WriteToRequest ¶
func (o *PostV1IncidentsIncidentIDAlertsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostV1IncidentsIncidentIDAlertsReader ¶
type PostV1IncidentsIncidentIDAlertsReader struct {
// contains filtered or unexported fields
}
PostV1IncidentsIncidentIDAlertsReader is a Reader for the PostV1IncidentsIncidentIDAlerts structure.
func (*PostV1IncidentsIncidentIDAlertsReader) ReadResponse ¶
func (o *PostV1IncidentsIncidentIDAlertsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- alerts_client.go
- delete_v1_incidents_incident_id_alerts_incident_alert_id_parameters.go
- delete_v1_incidents_incident_id_alerts_incident_alert_id_responses.go
- get_v1_alerts_alert_id_parameters.go
- get_v1_alerts_alert_id_responses.go
- get_v1_alerts_parameters.go
- get_v1_alerts_responses.go
- get_v1_incidents_incident_id_alerts_parameters.go
- get_v1_incidents_incident_id_alerts_responses.go
- get_v1_processing_log_entries_parameters.go
- get_v1_processing_log_entries_responses.go
- patch_v1_incidents_incident_id_alerts_incident_alert_id_primary_parameters.go
- patch_v1_incidents_incident_id_alerts_incident_alert_id_primary_responses.go
- post_v1_incidents_incident_id_alerts_parameters.go
- post_v1_incidents_incident_id_alerts_responses.go