incidents

package
v0.0.0-...-2bc0d39 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for incidents API

func (*Client) DeleteV1IncidentsIncidentID

func (a *Client) DeleteV1IncidentsIncidentID(params *DeleteV1IncidentsIncidentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDOK, error)

DeleteV1IncidentsIncidentID archives an incident

Archives an incident which will hide it from lists and metrics

func (*Client) DeleteV1IncidentsIncidentIDAlertsIncidentAlertID

DeleteV1IncidentsIncidentIDAlertsIncidentAlertID removes an alert

Remove an alert from an incident

func (*Client) DeleteV1IncidentsIncidentIDEventsEventID

DeleteV1IncidentsIncidentIDEventsEventID deletes a single event for an incident

Delete a single event for an incident

func (*Client) DeleteV1IncidentsIncidentIDGenericChatMessagesMessageID

DeleteV1IncidentsIncidentIDGenericChatMessagesMessageID deletes an existing generic chat message on an incident

Delete an existing generic chat message on an incident.

func (*Client) DeleteV1IncidentsIncidentIDImpactTypeID

DeleteV1IncidentsIncidentIDImpactTypeID removes impacted infrastructure on an incident

Remove impacted infrastructure on an incident

func (*Client) DeleteV1IncidentsIncidentIDLinksLinkID

DeleteV1IncidentsIncidentIDLinksLinkID deletes the external incident link

Deletes the external incident link

func (*Client) DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentID

DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentID unassigns a role

Unassign a role from a user

func (*Client) DeleteV1IncidentsIncidentIDStatusPagesStatusPageID

DeleteV1IncidentsIncidentIDStatusPagesStatusPageID removes a status page incident attached to an incident

Remove a status page incident attached to an incident

func (*Client) DeleteV1IncidentsIncidentIDTasksTaskID

DeleteV1IncidentsIncidentIDTasksTaskID deletes a task

Delete a task

func (*Client) DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentID

DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentID unassigns a team

Unassign a team from an incident

func (*Client) DeleteV1IncidentsIncidentIDTranscriptTranscriptID

DeleteV1IncidentsIncidentIDTranscriptTranscriptID delete v1 incidents incident Id transcript transcript Id API

func (*Client) GetV1Incidents

func (a *Client) GetV1Incidents(params *GetV1IncidentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsOK, error)

GetV1Incidents lists all incidents

List all of the incidents in the organization

func (*Client) GetV1IncidentsIncidentID

func (a *Client) GetV1IncidentsIncidentID(params *GetV1IncidentsIncidentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDOK, error)

GetV1IncidentsIncidentID retrieves an incident

Retrieve a single incident from its ID

func (*Client) GetV1IncidentsIncidentIDAlerts

func (a *Client) GetV1IncidentsIncidentIDAlerts(params *GetV1IncidentsIncidentIDAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDAlertsOK, error)

GetV1IncidentsIncidentIDAlerts lists alerts on an incident

List alerts that have been attached to an incident

func (*Client) GetV1IncidentsIncidentIDAttachments

func (a *Client) GetV1IncidentsIncidentIDAttachments(params *GetV1IncidentsIncidentIDAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDAttachmentsOK, error)

GetV1IncidentsIncidentIDAttachments get v1 incidents incident Id attachments API

func (*Client) GetV1IncidentsIncidentIDChannel

func (a *Client) GetV1IncidentsIncidentIDChannel(params *GetV1IncidentsIncidentIDChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDChannelOK, error)

GetV1IncidentsIncidentIDChannel retrieves chat channel information for an incident

Gives chat channel information for the specified incident

func (*Client) GetV1IncidentsIncidentIDEvents

func (a *Client) GetV1IncidentsIncidentIDEvents(params *GetV1IncidentsIncidentIDEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDEventsOK, error)

GetV1IncidentsIncidentIDEvents lists events for an incident

List all events for an incident. An event is a timeline entry. This can be filtered with params to retrieve events of a certain type.

func (*Client) GetV1IncidentsIncidentIDEventsEventID

func (a *Client) GetV1IncidentsIncidentIDEventsEventID(params *GetV1IncidentsIncidentIDEventsEventIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDEventsEventIDOK, error)

GetV1IncidentsIncidentIDEventsEventID retrieves a single event for an incident

Retrieve a single event for an incident

func (*Client) GetV1IncidentsIncidentIDEventsEventIDVotesStatus

GetV1IncidentsIncidentIDEventsEventIDVotesStatus returns the current vote counts for an object

Returns the current vote counts for an object

func (*Client) GetV1IncidentsIncidentIDImpactType

func (a *Client) GetV1IncidentsIncidentIDImpactType(params *GetV1IncidentsIncidentIDImpactTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDImpactTypeOK, error)

GetV1IncidentsIncidentIDImpactType lists impacted infrastructure

List impacted infrastructure on an incident by specifying type

func (a *Client) GetV1IncidentsIncidentIDLinks(params *GetV1IncidentsIncidentIDLinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDLinksOK, error)

GetV1IncidentsIncidentIDLinks lists all the editable links on an incident

List all the editable, external incident links attached to an incident

func (*Client) GetV1IncidentsIncidentIDMilestones

func (a *Client) GetV1IncidentsIncidentIDMilestones(params *GetV1IncidentsIncidentIDMilestonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDMilestonesOK, error)

GetV1IncidentsIncidentIDMilestones lists milestones on an incident

List times and durations for each milestone on an incident

func (*Client) GetV1IncidentsIncidentIDRelatedChangeEvents

GetV1IncidentsIncidentIDRelatedChangeEvents lists related changes on an incident

List related changes that have been attached to an incident

func (*Client) GetV1IncidentsIncidentIDRelationships

func (a *Client) GetV1IncidentsIncidentIDRelationships(params *GetV1IncidentsIncidentIDRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDRelationshipsOK, error)

GetV1IncidentsIncidentIDRelationships lists any parent child relationships for an incident

List any parent/child relationships for an incident

func (*Client) GetV1IncidentsIncidentIDRoleAssignments

GetV1IncidentsIncidentIDRoleAssignments lists all assignees

Retrieve a list of all of the current role assignments for the incident

func (*Client) GetV1IncidentsIncidentIDSimilar

func (a *Client) GetV1IncidentsIncidentIDSimilar(params *GetV1IncidentsIncidentIDSimilarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDSimilarOK, error)

GetV1IncidentsIncidentIDSimilar get v1 incidents incident Id similar API

func (*Client) GetV1IncidentsIncidentIDStatusPages

func (a *Client) GetV1IncidentsIncidentIDStatusPages(params *GetV1IncidentsIncidentIDStatusPagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDStatusPagesOK, error)

GetV1IncidentsIncidentIDStatusPages lists status pages on an incident

List status pages that are attached to an incident

func (*Client) GetV1IncidentsIncidentIDTasks

func (a *Client) GetV1IncidentsIncidentIDTasks(params *GetV1IncidentsIncidentIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksOK, error)

GetV1IncidentsIncidentIDTasks retrieves tasks

Retrieve a list of all tasks for a specific incident

func (*Client) GetV1IncidentsIncidentIDTasksTaskID

func (a *Client) GetV1IncidentsIncidentIDTasksTaskID(params *GetV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksTaskIDOK, error)

GetV1IncidentsIncidentIDTasksTaskID retrieves a single task for an incident

Retrieve a single task for an incident

func (*Client) GetV1IncidentsIncidentIDTranscript

func (a *Client) GetV1IncidentsIncidentIDTranscript(params *GetV1IncidentsIncidentIDTranscriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTranscriptOK, error)

GetV1IncidentsIncidentIDTranscript lists all of the messages in the incident s transcript

Retrieve the transcript for a specific incident

func (*Client) GetV1IncidentsIncidentIDUsersUserID

func (a *Client) GetV1IncidentsIncidentIDUsersUserID(params *GetV1IncidentsIncidentIDUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDUsersUserIDOK, error)

GetV1IncidentsIncidentIDUsersUserID gets current role for user

Retrieve a user with current roles for an incident

func (*Client) PatchV1IncidentsIncidentID

func (a *Client) PatchV1IncidentsIncidentID(params *PatchV1IncidentsIncidentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDOK, error)

PatchV1IncidentsIncidentID updates an incident

Updates an incident with provided parameters

func (*Client) PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary

PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary sets an alert as primary

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) PatchV1IncidentsIncidentIDEventsEventID

PatchV1IncidentsIncidentIDEventsEventID updates a single event for an incident

Update a single event for an incident

func (*Client) PatchV1IncidentsIncidentIDEventsEventIDVotes

PatchV1IncidentsIncidentIDEventsEventIDVotes updates the votes on an object

Allows for upvoting or downvoting an event

func (*Client) PatchV1IncidentsIncidentIDGenericChatMessagesMessageID

PatchV1IncidentsIncidentIDGenericChatMessagesMessageID updates an existing generic chat message on an incident

Update an existing generic chat message on an incident.

func (*Client) PatchV1IncidentsIncidentIDImpact

func (a *Client) PatchV1IncidentsIncidentIDImpact(params *PatchV1IncidentsIncidentIDImpactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDImpactOK, error)
PatchV1IncidentsIncidentIDImpact creates a status update for an incident

Allows updating an incident's impacted infrastructure, with the option to

move the incident into a different milestone and provide a note to update the incident timeline and any attached status pages. If this method is requested with the PUT verb, impacts will be completely replaced with the information in the request body, even if not provided (effectively clearing all impacts). If this method is requested with the PATCH verb, the provided impacts will be added or updated, but no impacts will be removed.

func (*Client) PatchV1IncidentsIncidentIDNotesNoteID

func (a *Client) PatchV1IncidentsIncidentIDNotesNoteID(params *PatchV1IncidentsIncidentIDNotesNoteIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDNotesNoteIDOK, error)

PatchV1IncidentsIncidentIDNotesNoteID updates a note

Updates the body of a note

func (*Client) PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID

PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID updates a change attached to an incident

Update a change attached to an incident

func (*Client) PatchV1IncidentsIncidentIDTasksTaskID

func (a *Client) PatchV1IncidentsIncidentIDTasksTaskID(params *PatchV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDTasksTaskIDOK, error)

PatchV1IncidentsIncidentIDTasksTaskID updates a task

Update a task's attributes

func (*Client) PostV1Incidents

func (a *Client) PostV1Incidents(params *PostV1IncidentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsCreated, error)

PostV1Incidents creates an incident

Create a new incident

func (*Client) PostV1IncidentsIncidentIDAlerts

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) PostV1IncidentsIncidentIDAttachments

PostV1IncidentsIncidentIDAttachments adds an attachment to the incident timeline

Allows adding image attachments to an incident

func (*Client) PostV1IncidentsIncidentIDGenericChatMessages

PostV1IncidentsIncidentIDGenericChatMessages adds a generic chat message to the incident timeline

Create a new generic chat message on an incident timeline. These are independent of any specific chat provider.

func (*Client) PostV1IncidentsIncidentIDImpactType

PostV1IncidentsIncidentIDImpactType adds impacted infrastructure

Add impacted infrastructure to an incident

PostV1IncidentsIncidentIDLinks adds a link to the incident

Allows adding adhoc links to an incident as an attachment

func (*Client) PostV1IncidentsIncidentIDNotes

PostV1IncidentsIncidentIDNotes adds a note to an incident

Create a new note on for an incident. The visibility field on a note determines where it gets posted.

func (*Client) PostV1IncidentsIncidentIDRelatedChangeEvents

PostV1IncidentsIncidentIDRelatedChangeEvents adds a related change to an incident

Add a related change to an incident. Changes added to an incident can be causes, fixes, or suspects. To remove a change from an incident, the type field should be set to dismissed.

func (*Client) PostV1IncidentsIncidentIDRoleAssignments

PostV1IncidentsIncidentIDRoleAssignments assigns a role

Assign a role to a user for this incident

func (*Client) PostV1IncidentsIncidentIDStatusPages

PostV1IncidentsIncidentIDStatusPages adds a status page to an incident

Add a status page to an incident.

func (*Client) PostV1IncidentsIncidentIDTaskLists

PostV1IncidentsIncidentIDTaskLists adds tasks to incident from task list

Add all tasks from list to incident

func (*Client) PostV1IncidentsIncidentIDTasks

PostV1IncidentsIncidentIDTasks creates a new task

Create a task

func (*Client) PostV1IncidentsIncidentIDTasksTaskIDConvert

PostV1IncidentsIncidentIDTasksTaskIDConvert creates a follow up from a task removing the task in the process

Convert a task to a follow-up

func (*Client) PostV1IncidentsIncidentIDTeamAssignments

PostV1IncidentsIncidentIDTeamAssignments assigns a team

Assign a team for this incident

func (*Client) PostV1IncidentsIncidentIDUnarchive

PostV1IncidentsIncidentIDUnarchive unarchives an incident

Unarchives an incident

func (*Client) PutV1IncidentsIncidentIDClose

func (a *Client) PutV1IncidentsIncidentIDClose(params *PutV1IncidentsIncidentIDCloseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDCloseOK, error)

PutV1IncidentsIncidentIDClose closes an incident

Closes an incident and optionally close all children

func (*Client) PutV1IncidentsIncidentIDImpact

func (a *Client) PutV1IncidentsIncidentIDImpact(params *PutV1IncidentsIncidentIDImpactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDImpactOK, error)
PutV1IncidentsIncidentIDImpact creates a status update for an incident

Allows updating an incident's impacted infrastructure, with the option to

move the incident into a different milestone and provide a note to update the incident timeline and any attached status pages. If this method is requested with the PUT verb, impacts will be completely replaced with the information in the request body, even if not provided (effectively clearing all impacts). If this method is requested with the PATCH verb, the provided impacts will be added or updated, but no impacts will be removed.

func (*Client) PutV1IncidentsIncidentIDLinksLinkID

func (a *Client) PutV1IncidentsIncidentIDLinksLinkID(params *PutV1IncidentsIncidentIDLinksLinkIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDLinksLinkIDOK, error)

PutV1IncidentsIncidentIDLinksLinkID updates the external incident link

Updates the external incident link attributes

func (*Client) PutV1IncidentsIncidentIDMilestonesBulkUpdate

PutV1IncidentsIncidentIDMilestonesBulkUpdate updates milestone times

Update milestone times in bulk for a given incident. All milestone

times for an incident must occur in chronological order corresponding to the configured order of milestones. If the result of this request would cause any milestone(s) to appear out of place, a 422 response will instead be returned. This includes milestones not explicitly submitted or updated in this request.

func (*Client) PutV1IncidentsIncidentIDResolve

func (a *Client) PutV1IncidentsIncidentIDResolve(params *PutV1IncidentsIncidentIDResolveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDResolveOK, error)

PutV1IncidentsIncidentIDResolve resolves an active incident

Resolves a currently active 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 {
	DeleteV1IncidentsIncidentID(params *DeleteV1IncidentsIncidentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDOK, error)

	DeleteV1IncidentsIncidentIDAlertsIncidentAlertID(params *DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent, error)

	DeleteV1IncidentsIncidentIDEventsEventID(params *DeleteV1IncidentsIncidentIDEventsEventIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDEventsEventIDOK, error)

	DeleteV1IncidentsIncidentIDGenericChatMessagesMessageID(params *DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK, error)

	DeleteV1IncidentsIncidentIDImpactTypeID(params *DeleteV1IncidentsIncidentIDImpactTypeIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent, error)

	DeleteV1IncidentsIncidentIDLinksLinkID(params *DeleteV1IncidentsIncidentIDLinksLinkIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent, error)

	DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentID(params *DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK, error)

	DeleteV1IncidentsIncidentIDStatusPagesStatusPageID(params *DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent, error)

	DeleteV1IncidentsIncidentIDTasksTaskID(params *DeleteV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent, error)

	DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentID(params *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent, error)

	DeleteV1IncidentsIncidentIDTranscriptTranscriptID(params *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent, error)

	GetV1Incidents(params *GetV1IncidentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsOK, error)

	GetV1IncidentsIncidentID(params *GetV1IncidentsIncidentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDOK, error)

	GetV1IncidentsIncidentIDAlerts(params *GetV1IncidentsIncidentIDAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDAlertsOK, error)

	GetV1IncidentsIncidentIDAttachments(params *GetV1IncidentsIncidentIDAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDAttachmentsOK, error)

	GetV1IncidentsIncidentIDChannel(params *GetV1IncidentsIncidentIDChannelParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDChannelOK, error)

	GetV1IncidentsIncidentIDEvents(params *GetV1IncidentsIncidentIDEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDEventsOK, error)

	GetV1IncidentsIncidentIDEventsEventID(params *GetV1IncidentsIncidentIDEventsEventIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDEventsEventIDOK, error)

	GetV1IncidentsIncidentIDEventsEventIDVotesStatus(params *GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK, error)

	GetV1IncidentsIncidentIDImpactType(params *GetV1IncidentsIncidentIDImpactTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDImpactTypeOK, error)

	GetV1IncidentsIncidentIDLinks(params *GetV1IncidentsIncidentIDLinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDLinksOK, error)

	GetV1IncidentsIncidentIDMilestones(params *GetV1IncidentsIncidentIDMilestonesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDMilestonesOK, error)

	GetV1IncidentsIncidentIDRelatedChangeEvents(params *GetV1IncidentsIncidentIDRelatedChangeEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDRelatedChangeEventsOK, error)

	GetV1IncidentsIncidentIDRelationships(params *GetV1IncidentsIncidentIDRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDRelationshipsOK, error)

	GetV1IncidentsIncidentIDRoleAssignments(params *GetV1IncidentsIncidentIDRoleAssignmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDRoleAssignmentsOK, error)

	GetV1IncidentsIncidentIDSimilar(params *GetV1IncidentsIncidentIDSimilarParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDSimilarOK, error)

	GetV1IncidentsIncidentIDStatusPages(params *GetV1IncidentsIncidentIDStatusPagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDStatusPagesOK, error)

	GetV1IncidentsIncidentIDTasks(params *GetV1IncidentsIncidentIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksOK, error)

	GetV1IncidentsIncidentIDTasksTaskID(params *GetV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTasksTaskIDOK, error)

	GetV1IncidentsIncidentIDTranscript(params *GetV1IncidentsIncidentIDTranscriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDTranscriptOK, error)

	GetV1IncidentsIncidentIDUsersUserID(params *GetV1IncidentsIncidentIDUsersUserIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1IncidentsIncidentIDUsersUserIDOK, error)

	PatchV1IncidentsIncidentID(params *PatchV1IncidentsIncidentIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDOK, error)

	PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimary(params *PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK, error)

	PatchV1IncidentsIncidentIDEventsEventID(params *PatchV1IncidentsIncidentIDEventsEventIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDEventsEventIDOK, error)

	PatchV1IncidentsIncidentIDEventsEventIDVotes(params *PatchV1IncidentsIncidentIDEventsEventIDVotesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK, error)

	PatchV1IncidentsIncidentIDGenericChatMessagesMessageID(params *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK, error)

	PatchV1IncidentsIncidentIDImpact(params *PatchV1IncidentsIncidentIDImpactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDImpactOK, error)

	PatchV1IncidentsIncidentIDNotesNoteID(params *PatchV1IncidentsIncidentIDNotesNoteIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDNotesNoteIDOK, error)

	PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID(params *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK, error)

	PatchV1IncidentsIncidentIDTasksTaskID(params *PatchV1IncidentsIncidentIDTasksTaskIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1IncidentsIncidentIDTasksTaskIDOK, error)

	PostV1Incidents(params *PostV1IncidentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsCreated, error)

	PostV1IncidentsIncidentIDAlerts(params *PostV1IncidentsIncidentIDAlertsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDAlertsNoContent, error)

	PostV1IncidentsIncidentIDAttachments(params *PostV1IncidentsIncidentIDAttachmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDAttachmentsCreated, error)

	PostV1IncidentsIncidentIDGenericChatMessages(params *PostV1IncidentsIncidentIDGenericChatMessagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDGenericChatMessagesCreated, error)

	PostV1IncidentsIncidentIDImpactType(params *PostV1IncidentsIncidentIDImpactTypeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDImpactTypeCreated, error)

	PostV1IncidentsIncidentIDLinks(params *PostV1IncidentsIncidentIDLinksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDLinksCreated, error)

	PostV1IncidentsIncidentIDNotes(params *PostV1IncidentsIncidentIDNotesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDNotesCreated, error)

	PostV1IncidentsIncidentIDRelatedChangeEvents(params *PostV1IncidentsIncidentIDRelatedChangeEventsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated, error)

	PostV1IncidentsIncidentIDRoleAssignments(params *PostV1IncidentsIncidentIDRoleAssignmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDRoleAssignmentsCreated, error)

	PostV1IncidentsIncidentIDStatusPages(params *PostV1IncidentsIncidentIDStatusPagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDStatusPagesCreated, error)

	PostV1IncidentsIncidentIDTaskLists(params *PostV1IncidentsIncidentIDTaskListsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTaskListsCreated, error)

	PostV1IncidentsIncidentIDTasks(params *PostV1IncidentsIncidentIDTasksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTasksCreated, error)

	PostV1IncidentsIncidentIDTasksTaskIDConvert(params *PostV1IncidentsIncidentIDTasksTaskIDConvertParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated, error)

	PostV1IncidentsIncidentIDTeamAssignments(params *PostV1IncidentsIncidentIDTeamAssignmentsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDTeamAssignmentsCreated, error)

	PostV1IncidentsIncidentIDUnarchive(params *PostV1IncidentsIncidentIDUnarchiveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1IncidentsIncidentIDUnarchiveCreated, error)

	PutV1IncidentsIncidentIDClose(params *PutV1IncidentsIncidentIDCloseParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDCloseOK, error)

	PutV1IncidentsIncidentIDImpact(params *PutV1IncidentsIncidentIDImpactParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDImpactOK, error)

	PutV1IncidentsIncidentIDLinksLinkID(params *PutV1IncidentsIncidentIDLinksLinkIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDLinksLinkIDOK, error)

	PutV1IncidentsIncidentIDMilestonesBulkUpdate(params *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK, error)

	PutV1IncidentsIncidentIDResolve(params *PutV1IncidentsIncidentIDResolveParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1IncidentsIncidentIDResolveOK, 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 incidents 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 (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDNoContent) IsClientError

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

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

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

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

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

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

SetContext adds the context to the delete v1 incidents incident Id alerts incident alert Id params

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

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

SetIncidentID adds the incidentId to the delete v1 incidents incident Id alerts incident alert Id params

func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id alerts incident alert Id params

func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id alerts incident alert Id params

func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id alerts incident alert Id params

func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentAlertID

WithIncidentAlertID adds the incidentAlertID to the delete v1 incidents incident Id alerts incident alert Id params

func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id alerts incident alert Id params

func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id alerts incident alert Id params

func (*DeleteV1IncidentsIncidentIDAlertsIncidentAlertIDParams) WriteToRequest

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 DeleteV1IncidentsIncidentIDEventsEventIDOK

type DeleteV1IncidentsIncidentIDEventsEventIDOK struct {
	Payload *models.IncidentEventEntity
}

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

Delete a single event for an incident

func NewDeleteV1IncidentsIncidentIDEventsEventIDOK

func NewDeleteV1IncidentsIncidentIDEventsEventIDOK() *DeleteV1IncidentsIncidentIDEventsEventIDOK

NewDeleteV1IncidentsIncidentIDEventsEventIDOK creates a DeleteV1IncidentsIncidentIDEventsEventIDOK with default headers values

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) Error

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) GetPayload

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) IsClientError

IsClientError returns true when this delete v1 incidents incident Id events event Id o k response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) IsCode

IsCode returns true when this delete v1 incidents incident Id events event Id o k response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id events event Id o k response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) IsServerError

IsServerError returns true when this delete v1 incidents incident Id events event Id o k response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id events event Id o k response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDEventsEventIDOK) String

type DeleteV1IncidentsIncidentIDEventsEventIDParams

type DeleteV1IncidentsIncidentIDEventsEventIDParams struct {

	// EventID.
	EventID string

	// IncidentID.
	IncidentID string

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

DeleteV1IncidentsIncidentIDEventsEventIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id events event Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDEventsEventIDParams

func NewDeleteV1IncidentsIncidentIDEventsEventIDParams() *DeleteV1IncidentsIncidentIDEventsEventIDParams

NewDeleteV1IncidentsIncidentIDEventsEventIDParams creates a new DeleteV1IncidentsIncidentIDEventsEventIDParams 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 NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDEventsEventIDParams

NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDEventsEventIDParams

NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDEventsEventIDParams

NewDeleteV1IncidentsIncidentIDEventsEventIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id events event Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) SetEventID

SetEventID adds the eventId to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) SetIncidentID

func (o *DeleteV1IncidentsIncidentIDEventsEventIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id events event Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) WithEventID

WithEventID adds the eventID to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id events event Id params

func (*DeleteV1IncidentsIncidentIDEventsEventIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDEventsEventIDReader

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

DeleteV1IncidentsIncidentIDEventsEventIDReader is a Reader for the DeleteV1IncidentsIncidentIDEventsEventID structure.

func (*DeleteV1IncidentsIncidentIDEventsEventIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK

type DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK struct {
	Payload *models.EventGenericChatMessageEntity
}

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

Delete an existing generic chat message on an incident.

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK() *DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK

NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK creates a DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK with default headers values

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) Error

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) GetPayload

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsClientError

IsClientError returns true when this delete v1 incidents incident Id generic chat messages message Id o k response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsCode

IsCode returns true when this delete v1 incidents incident Id generic chat messages message Id o k response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id generic chat messages message Id o k response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsServerError

IsServerError returns true when this delete v1 incidents incident Id generic chat messages message Id o k response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id generic chat messages message Id o k response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) String

type DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

type DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams struct {

	// IncidentID.
	IncidentID string

	// MessageID.
	MessageID string

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

DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id generic chat messages message Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams() *DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams creates a new DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams 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 NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewDeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id generic chat messages message Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetIncidentID

SetIncidentID adds the incidentId to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetMessageID

SetMessageID adds the messageId to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id generic chat messages message Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithMessageID

WithMessageID adds the messageID to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id generic chat messages message Id params

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDReader

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

DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDReader is a Reader for the DeleteV1IncidentsIncidentIDGenericChatMessagesMessageID structure.

func (*DeleteV1IncidentsIncidentIDGenericChatMessagesMessageIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest

type DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest struct {
	Payload *models.ErrorEntity
}

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

Bad Request

func NewDeleteV1IncidentsIncidentIDImpactTypeIDBadRequest

func NewDeleteV1IncidentsIncidentIDImpactTypeIDBadRequest() *DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest

NewDeleteV1IncidentsIncidentIDImpactTypeIDBadRequest creates a DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest with default headers values

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) Error

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) GetPayload

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) IsClientError

IsClientError returns true when this delete v1 incidents incident Id impact type Id bad request response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) IsCode

IsCode returns true when this delete v1 incidents incident Id impact type Id bad request response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id impact type Id bad request response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) IsServerError

IsServerError returns true when this delete v1 incidents incident Id impact type Id bad request response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id impact type Id bad request response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDBadRequest) String

type DeleteV1IncidentsIncidentIDImpactTypeIDNoContent

type DeleteV1IncidentsIncidentIDImpactTypeIDNoContent struct {
}

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

Remove impacted infrastructure on an incident

func NewDeleteV1IncidentsIncidentIDImpactTypeIDNoContent

func NewDeleteV1IncidentsIncidentIDImpactTypeIDNoContent() *DeleteV1IncidentsIncidentIDImpactTypeIDNoContent

NewDeleteV1IncidentsIncidentIDImpactTypeIDNoContent creates a DeleteV1IncidentsIncidentIDImpactTypeIDNoContent with default headers values

func (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent) Error

func (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent) IsClientError

IsClientError returns true when this delete v1 incidents incident Id impact type Id no content response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent) IsCode

IsCode returns true when this delete v1 incidents incident Id impact type Id no content response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id impact type Id no content response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent) IsServerError

IsServerError returns true when this delete v1 incidents incident Id impact type Id no content response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id impact type Id no content response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDImpactTypeIDNoContent) String

type DeleteV1IncidentsIncidentIDImpactTypeIDParams

type DeleteV1IncidentsIncidentIDImpactTypeIDParams struct {

	// ID.
	ID string

	// IncidentID.
	IncidentID string

	// Type.
	Type string

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

DeleteV1IncidentsIncidentIDImpactTypeIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id impact type Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDImpactTypeIDParams

func NewDeleteV1IncidentsIncidentIDImpactTypeIDParams() *DeleteV1IncidentsIncidentIDImpactTypeIDParams

NewDeleteV1IncidentsIncidentIDImpactTypeIDParams creates a new DeleteV1IncidentsIncidentIDImpactTypeIDParams 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 NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDImpactTypeIDParams

NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDImpactTypeIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDImpactTypeIDParams

NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDImpactTypeIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDImpactTypeIDParams

NewDeleteV1IncidentsIncidentIDImpactTypeIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDImpactTypeIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id impact type Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetID

SetID adds the id to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetIncidentID

func (o *DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) SetType

SetType adds the type to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id impact type Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WithID

WithID adds the id to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WithType

WithType adds the typeVar to the delete v1 incidents incident Id impact type Id params

func (*DeleteV1IncidentsIncidentIDImpactTypeIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDImpactTypeIDReader

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

DeleteV1IncidentsIncidentIDImpactTypeIDReader is a Reader for the DeleteV1IncidentsIncidentIDImpactTypeID structure.

func (*DeleteV1IncidentsIncidentIDImpactTypeIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDLinksLinkIDNoContent

type DeleteV1IncidentsIncidentIDLinksLinkIDNoContent struct {
}

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

Deletes the external incident link

func NewDeleteV1IncidentsIncidentIDLinksLinkIDNoContent

func NewDeleteV1IncidentsIncidentIDLinksLinkIDNoContent() *DeleteV1IncidentsIncidentIDLinksLinkIDNoContent

NewDeleteV1IncidentsIncidentIDLinksLinkIDNoContent creates a DeleteV1IncidentsIncidentIDLinksLinkIDNoContent with default headers values

func (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent) Error

func (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent) IsClientError

IsClientError returns true when this delete v1 incidents incident Id links link Id no content response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent) IsCode

IsCode returns true when this delete v1 incidents incident Id links link Id no content response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id links link Id no content response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent) IsServerError

IsServerError returns true when this delete v1 incidents incident Id links link Id no content response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id links link Id no content response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDLinksLinkIDNoContent) String

type DeleteV1IncidentsIncidentIDLinksLinkIDParams

type DeleteV1IncidentsIncidentIDLinksLinkIDParams struct {

	// IncidentID.
	IncidentID string

	// LinkID.
	LinkID string

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

DeleteV1IncidentsIncidentIDLinksLinkIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id links link Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDLinksLinkIDParams

func NewDeleteV1IncidentsIncidentIDLinksLinkIDParams() *DeleteV1IncidentsIncidentIDLinksLinkIDParams

NewDeleteV1IncidentsIncidentIDLinksLinkIDParams creates a new DeleteV1IncidentsIncidentIDLinksLinkIDParams 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 NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDLinksLinkIDParams

NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDLinksLinkIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDLinksLinkIDParams

NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDLinksLinkIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDLinksLinkIDParams

NewDeleteV1IncidentsIncidentIDLinksLinkIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDLinksLinkIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id links link Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) SetIncidentID

func (o *DeleteV1IncidentsIncidentIDLinksLinkIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) SetLinkID

SetLinkID adds the linkId to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id links link Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) WithLinkID

WithLinkID adds the linkID to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id links link Id params

func (*DeleteV1IncidentsIncidentIDLinksLinkIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDLinksLinkIDReader

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

DeleteV1IncidentsIncidentIDLinksLinkIDReader is a Reader for the DeleteV1IncidentsIncidentIDLinksLinkID structure.

func (*DeleteV1IncidentsIncidentIDLinksLinkIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDOK

type DeleteV1IncidentsIncidentIDOK struct {
	Payload *models.IncidentEntity
}

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

Archives an incident which will hide it from lists and metrics

func NewDeleteV1IncidentsIncidentIDOK

func NewDeleteV1IncidentsIncidentIDOK() *DeleteV1IncidentsIncidentIDOK

NewDeleteV1IncidentsIncidentIDOK creates a DeleteV1IncidentsIncidentIDOK with default headers values

func (*DeleteV1IncidentsIncidentIDOK) Error

func (*DeleteV1IncidentsIncidentIDOK) GetPayload

func (*DeleteV1IncidentsIncidentIDOK) IsClientError

func (o *DeleteV1IncidentsIncidentIDOK) IsClientError() bool

IsClientError returns true when this delete v1 incidents incident Id o k response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDOK) IsCode

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

IsCode returns true when this delete v1 incidents incident Id o k response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDOK) IsRedirect

func (o *DeleteV1IncidentsIncidentIDOK) IsRedirect() bool

IsRedirect returns true when this delete v1 incidents incident Id o k response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDOK) IsServerError

func (o *DeleteV1IncidentsIncidentIDOK) IsServerError() bool

IsServerError returns true when this delete v1 incidents incident Id o k response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDOK) IsSuccess

func (o *DeleteV1IncidentsIncidentIDOK) IsSuccess() bool

IsSuccess returns true when this delete v1 incidents incident Id o k response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDOK) String

type DeleteV1IncidentsIncidentIDParams

type DeleteV1IncidentsIncidentIDParams struct {

	// IncidentID.
	IncidentID string

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

DeleteV1IncidentsIncidentIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDParams

func NewDeleteV1IncidentsIncidentIDParams() *DeleteV1IncidentsIncidentIDParams

NewDeleteV1IncidentsIncidentIDParams creates a new DeleteV1IncidentsIncidentIDParams 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 NewDeleteV1IncidentsIncidentIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDParams

NewDeleteV1IncidentsIncidentIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDParams

NewDeleteV1IncidentsIncidentIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDParams

NewDeleteV1IncidentsIncidentIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) SetDefaults

func (o *DeleteV1IncidentsIncidentIDParams) SetDefaults()

SetDefaults hydrates default values in the delete v1 incidents incident Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) SetIncidentID

func (o *DeleteV1IncidentsIncidentIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id params

func (*DeleteV1IncidentsIncidentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDReader

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

DeleteV1IncidentsIncidentIDReader is a Reader for the DeleteV1IncidentsIncidentID structure.

func (*DeleteV1IncidentsIncidentIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK

type DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK struct {
	Payload *models.IncidentsRoleAssignmentEntity
}

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

Unassign a role from a user

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK() *DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK

NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK creates a DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK with default headers values

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) Error

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) GetPayload

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) IsClientError

IsClientError returns true when this delete v1 incidents incident Id role assignments role assignment Id o k response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) IsCode

IsCode returns true when this delete v1 incidents incident Id role assignments role assignment Id o k response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id role assignments role assignment Id o k response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) IsServerError

IsServerError returns true when this delete v1 incidents incident Id role assignments role assignment Id o k response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id role assignments role assignment Id o k response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDOK) String

type DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams

type DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams struct {

	// IncidentID.
	IncidentID string

	// RoleAssignmentID.
	RoleAssignmentID string

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

DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id role assignments role assignment Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams() *DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams

NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams creates a new DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams 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 NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams

NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams

NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams

NewDeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id role assignments role assignment Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) SetIncidentID

SetIncidentID adds the incidentId to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) SetRoleAssignmentID

func (o *DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) SetRoleAssignmentID(roleAssignmentID string)

SetRoleAssignmentID adds the roleAssignmentId to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id role assignments role assignment Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) WithRoleAssignmentID

WithRoleAssignmentID adds the roleAssignmentID to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id role assignments role assignment Id params

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDReader

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

DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDReader is a Reader for the DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentID structure.

func (*DeleteV1IncidentsIncidentIDRoleAssignmentsRoleAssignmentIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent

type DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent struct {
}

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

Remove a status page incident attached to an incident

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent() *DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent

NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent creates a DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent with default headers values

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent) Error

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent) IsClientError

IsClientError returns true when this delete v1 incidents incident Id status pages status page Id no content response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent) IsCode

IsCode returns true when this delete v1 incidents incident Id status pages status page Id no content response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id status pages status page Id no content response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent) IsServerError

IsServerError returns true when this delete v1 incidents incident Id status pages status page Id no content response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id status pages status page Id no content response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDNoContent) String

type DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams

type DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams struct {

	// IncidentID.
	IncidentID string

	// StatusPageID.
	StatusPageID string

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

DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id status pages status page Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams() *DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams

NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams creates a new DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams 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 NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams

NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams

NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams

NewDeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id status pages status page Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) SetIncidentID

SetIncidentID adds the incidentId to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) SetStatusPageID

func (o *DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) SetStatusPageID(statusPageID string)

SetStatusPageID adds the statusPageId to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id status pages status page Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) WithStatusPageID

WithStatusPageID adds the statusPageID to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id status pages status page Id params

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDReader

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

DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDReader is a Reader for the DeleteV1IncidentsIncidentIDStatusPagesStatusPageID structure.

func (*DeleteV1IncidentsIncidentIDStatusPagesStatusPageIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDTasksTaskIDNoContent

type DeleteV1IncidentsIncidentIDTasksTaskIDNoContent struct {
}

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

Delete a task

func NewDeleteV1IncidentsIncidentIDTasksTaskIDNoContent

func NewDeleteV1IncidentsIncidentIDTasksTaskIDNoContent() *DeleteV1IncidentsIncidentIDTasksTaskIDNoContent

NewDeleteV1IncidentsIncidentIDTasksTaskIDNoContent creates a DeleteV1IncidentsIncidentIDTasksTaskIDNoContent with default headers values

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) Error

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsClientError

IsClientError returns true when this delete v1 incidents incident Id tasks task Id no content response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsCode

IsCode returns true when this delete v1 incidents incident Id tasks task Id no content response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id tasks task Id no content response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsServerError

IsServerError returns true when this delete v1 incidents incident Id tasks task Id no content response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id tasks task Id no content response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDTasksTaskIDNoContent) String

type DeleteV1IncidentsIncidentIDTasksTaskIDParams

type DeleteV1IncidentsIncidentIDTasksTaskIDParams struct {

	// IncidentID.
	IncidentID string

	// TaskID.
	TaskID string

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

DeleteV1IncidentsIncidentIDTasksTaskIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id tasks task Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDTasksTaskIDParams

func NewDeleteV1IncidentsIncidentIDTasksTaskIDParams() *DeleteV1IncidentsIncidentIDTasksTaskIDParams

NewDeleteV1IncidentsIncidentIDTasksTaskIDParams creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams 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 NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDTasksTaskIDParams

NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDTasksTaskIDParams

NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDTasksTaskIDParams

NewDeleteV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id tasks task Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID

func (o *DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID

SetTaskID adds the taskId to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id tasks task Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID

WithTaskID adds the taskID to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id tasks task Id params

func (*DeleteV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDTasksTaskIDReader

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

DeleteV1IncidentsIncidentIDTasksTaskIDReader is a Reader for the DeleteV1IncidentsIncidentIDTasksTaskID structure.

func (*DeleteV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent

type DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent struct {
}

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

Unassign a team from an incident

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent() *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent

NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent creates a DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent with default headers values

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent) Error

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent) IsClientError

IsClientError returns true when this delete v1 incidents incident Id team assignments team assignment Id no content response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent) IsCode

IsCode returns true when this delete v1 incidents incident Id team assignments team assignment Id no content response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id team assignments team assignment Id no content response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent) IsServerError

IsServerError returns true when this delete v1 incidents incident Id team assignments team assignment Id no content response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id team assignments team assignment Id no content response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDNoContent) String

type DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams

type DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams struct {

	// IncidentID.
	IncidentID string

	/* RoleAssignmentIds.

	   Team role assignments to unassign from the incident
	*/
	RoleAssignmentIds []string

	// TeamAssignmentID.
	TeamAssignmentID string

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

DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id team assignments team assignment Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams() *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams

NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams creates a new DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams 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 NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams

NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams

NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams

NewDeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id team assignments team assignment Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetIncidentID

SetIncidentID adds the incidentId to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetRoleAssignmentIds

func (o *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetRoleAssignmentIds(roleAssignmentIds []string)

SetRoleAssignmentIds adds the roleAssignmentIds to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetTeamAssignmentID

func (o *DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetTeamAssignmentID(teamAssignmentID string)

SetTeamAssignmentID adds the teamAssignmentId to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id team assignments team assignment Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WithRoleAssignmentIds

WithRoleAssignmentIds adds the roleAssignmentIds to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WithTeamAssignmentID

WithTeamAssignmentID adds the teamAssignmentID to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id team assignments team assignment Id params

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDReader

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

DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDReader is a Reader for the DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentID structure.

func (*DeleteV1IncidentsIncidentIDTeamAssignmentsTeamAssignmentIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent

type DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent struct {
}

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

deleted Transcript

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent() *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent

NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent creates a DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent with default headers values

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent) Error

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent) IsClientError

IsClientError returns true when this delete v1 incidents incident Id transcript transcript Id no content response has a 4xx status code

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent) IsCode

IsCode returns true when this delete v1 incidents incident Id transcript transcript Id no content response a status code equal to that given

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 incidents incident Id transcript transcript Id no content response has a 3xx status code

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent) IsServerError

IsServerError returns true when this delete v1 incidents incident Id transcript transcript Id no content response has a 5xx status code

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 incidents incident Id transcript transcript Id no content response has a 2xx status code

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDNoContent) String

type DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams

type DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams struct {

	// IncidentID.
	IncidentID string

	// TranscriptID.
	TranscriptID string

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

DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams contains all the parameters to send to the API endpoint

for the delete v1 incidents incident Id transcript transcript Id operation.

Typically these are written to a http.Request.

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams() *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams

NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams creates a new DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams 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 NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithContext

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithContext(ctx context.Context) *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams

NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithContext creates a new DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams object with the ability to set a context for a request.

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithHTTPClient

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithHTTPClient(client *http.Client) *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams

NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithHTTPClient creates a new DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithTimeout

func NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithTimeout(timeout time.Duration) *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams

NewDeleteV1IncidentsIncidentIDTranscriptTranscriptIDParamsWithTimeout creates a new DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams object with the ability to set a timeout on a request.

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) SetContext

SetContext adds the context to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 incidents incident Id transcript transcript Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) SetIncidentID

SetIncidentID adds the incidentId to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) SetTranscriptID

func (o *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) SetTranscriptID(transcriptID string)

SetTranscriptID adds the transcriptId to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) WithContext

WithContext adds the context to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 incidents incident Id transcript transcript Id params (not the query body).

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

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) WithIncidentID

WithIncidentID adds the incidentID to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) WithTranscriptID

WithTranscriptID adds the transcriptID to the delete v1 incidents incident Id transcript transcript Id params

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1IncidentsIncidentIDTranscriptTranscriptIDReader

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

DeleteV1IncidentsIncidentIDTranscriptTranscriptIDReader is a Reader for the DeleteV1IncidentsIncidentIDTranscriptTranscriptID structure.

func (*DeleteV1IncidentsIncidentIDTranscriptTranscriptIDReader) ReadResponse

func (o *DeleteV1IncidentsIncidentIDTranscriptTranscriptIDReader) 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 (*GetV1IncidentsIncidentIDAlertsOK) GetPayload

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

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

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

WithContext adds the context to the get v1 incidents incident Id alerts params

func (*GetV1IncidentsIncidentIDAlertsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id alerts params

func (*GetV1IncidentsIncidentIDAlertsParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id alerts params

func (*GetV1IncidentsIncidentIDAlertsParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id alerts params

func (*GetV1IncidentsIncidentIDAlertsParams) WriteToRequest

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 GetV1IncidentsIncidentIDAttachmentsOK

type GetV1IncidentsIncidentIDAttachmentsOK struct {
}

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

get Attachment(s)

func NewGetV1IncidentsIncidentIDAttachmentsOK

func NewGetV1IncidentsIncidentIDAttachmentsOK() *GetV1IncidentsIncidentIDAttachmentsOK

NewGetV1IncidentsIncidentIDAttachmentsOK creates a GetV1IncidentsIncidentIDAttachmentsOK with default headers values

func (*GetV1IncidentsIncidentIDAttachmentsOK) Error

func (*GetV1IncidentsIncidentIDAttachmentsOK) IsClientError

func (o *GetV1IncidentsIncidentIDAttachmentsOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id attachments o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDAttachmentsOK) IsCode

IsCode returns true when this get v1 incidents incident Id attachments o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDAttachmentsOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id attachments o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDAttachmentsOK) IsServerError

func (o *GetV1IncidentsIncidentIDAttachmentsOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id attachments o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDAttachmentsOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id attachments o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDAttachmentsOK) String

type GetV1IncidentsIncidentIDAttachmentsParams

type GetV1IncidentsIncidentIDAttachmentsParams struct {

	// AttachableType.
	AttachableType *string

	// IncidentID.
	IncidentID string

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

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

GetV1IncidentsIncidentIDAttachmentsParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id attachments operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDAttachmentsParams

func NewGetV1IncidentsIncidentIDAttachmentsParams() *GetV1IncidentsIncidentIDAttachmentsParams

NewGetV1IncidentsIncidentIDAttachmentsParams creates a new GetV1IncidentsIncidentIDAttachmentsParams 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 NewGetV1IncidentsIncidentIDAttachmentsParamsWithContext

func NewGetV1IncidentsIncidentIDAttachmentsParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDAttachmentsParams

NewGetV1IncidentsIncidentIDAttachmentsParamsWithContext creates a new GetV1IncidentsIncidentIDAttachmentsParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDAttachmentsParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDAttachmentsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDAttachmentsParams

NewGetV1IncidentsIncidentIDAttachmentsParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDAttachmentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDAttachmentsParamsWithTimeout

func NewGetV1IncidentsIncidentIDAttachmentsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDAttachmentsParams

NewGetV1IncidentsIncidentIDAttachmentsParamsWithTimeout creates a new GetV1IncidentsIncidentIDAttachmentsParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetAttachableType

func (o *GetV1IncidentsIncidentIDAttachmentsParams) SetAttachableType(attachableType *string)

SetAttachableType adds the attachableType to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetContext

SetContext adds the context to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id attachments params (not the query body).

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

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDAttachmentsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetPage

SetPage adds the page to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetPerPage

func (o *GetV1IncidentsIncidentIDAttachmentsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithAttachableType

WithAttachableType adds the attachableType to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithContext

WithContext adds the context to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id attachments params (not the query body).

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

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithPage

WithPage adds the page to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithPerPage

WithPerPage adds the perPage to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id attachments params

func (*GetV1IncidentsIncidentIDAttachmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDAttachmentsReader

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

GetV1IncidentsIncidentIDAttachmentsReader is a Reader for the GetV1IncidentsIncidentIDAttachments structure.

func (*GetV1IncidentsIncidentIDAttachmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDChannelOK

type GetV1IncidentsIncidentIDChannelOK struct {
	Payload *models.IncidentsChannelEntity
}

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

Gives chat channel information for the specified incident

func NewGetV1IncidentsIncidentIDChannelOK

func NewGetV1IncidentsIncidentIDChannelOK() *GetV1IncidentsIncidentIDChannelOK

NewGetV1IncidentsIncidentIDChannelOK creates a GetV1IncidentsIncidentIDChannelOK with default headers values

func (*GetV1IncidentsIncidentIDChannelOK) Error

func (*GetV1IncidentsIncidentIDChannelOK) GetPayload

func (*GetV1IncidentsIncidentIDChannelOK) IsClientError

func (o *GetV1IncidentsIncidentIDChannelOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id channel o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDChannelOK) IsCode

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

IsCode returns true when this get v1 incidents incident Id channel o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDChannelOK) IsRedirect

func (o *GetV1IncidentsIncidentIDChannelOK) IsRedirect() bool

IsRedirect returns true when this get v1 incidents incident Id channel o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDChannelOK) IsServerError

func (o *GetV1IncidentsIncidentIDChannelOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id channel o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDChannelOK) IsSuccess

func (o *GetV1IncidentsIncidentIDChannelOK) IsSuccess() bool

IsSuccess returns true when this get v1 incidents incident Id channel o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDChannelOK) String

type GetV1IncidentsIncidentIDChannelParams

type GetV1IncidentsIncidentIDChannelParams struct {

	// IncidentID.
	IncidentID string

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

GetV1IncidentsIncidentIDChannelParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id channel operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDChannelParams

func NewGetV1IncidentsIncidentIDChannelParams() *GetV1IncidentsIncidentIDChannelParams

NewGetV1IncidentsIncidentIDChannelParams creates a new GetV1IncidentsIncidentIDChannelParams 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 NewGetV1IncidentsIncidentIDChannelParamsWithContext

func NewGetV1IncidentsIncidentIDChannelParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDChannelParams

NewGetV1IncidentsIncidentIDChannelParamsWithContext creates a new GetV1IncidentsIncidentIDChannelParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDChannelParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDChannelParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDChannelParams

NewGetV1IncidentsIncidentIDChannelParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDChannelParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDChannelParamsWithTimeout

func NewGetV1IncidentsIncidentIDChannelParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDChannelParams

NewGetV1IncidentsIncidentIDChannelParamsWithTimeout creates a new GetV1IncidentsIncidentIDChannelParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDChannelParams) SetContext

SetContext adds the context to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) SetDefaults

func (o *GetV1IncidentsIncidentIDChannelParams) SetDefaults()

SetDefaults hydrates default values in the get v1 incidents incident Id channel params (not the query body).

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

func (*GetV1IncidentsIncidentIDChannelParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDChannelParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) WithContext

WithContext adds the context to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id channel params (not the query body).

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

func (*GetV1IncidentsIncidentIDChannelParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id channel params

func (*GetV1IncidentsIncidentIDChannelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDChannelReader

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

GetV1IncidentsIncidentIDChannelReader is a Reader for the GetV1IncidentsIncidentIDChannel structure.

func (*GetV1IncidentsIncidentIDChannelReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDEventsEventIDOK

type GetV1IncidentsIncidentIDEventsEventIDOK struct {
	Payload *models.IncidentEventEntity
}

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

Retrieve a single event for an incident

func NewGetV1IncidentsIncidentIDEventsEventIDOK

func NewGetV1IncidentsIncidentIDEventsEventIDOK() *GetV1IncidentsIncidentIDEventsEventIDOK

NewGetV1IncidentsIncidentIDEventsEventIDOK creates a GetV1IncidentsIncidentIDEventsEventIDOK with default headers values

func (*GetV1IncidentsIncidentIDEventsEventIDOK) Error

func (*GetV1IncidentsIncidentIDEventsEventIDOK) GetPayload

func (*GetV1IncidentsIncidentIDEventsEventIDOK) IsClientError

func (o *GetV1IncidentsIncidentIDEventsEventIDOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id events event Id o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDOK) IsCode

IsCode returns true when this get v1 incidents incident Id events event Id o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDEventsEventIDOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id events event Id o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDOK) IsServerError

func (o *GetV1IncidentsIncidentIDEventsEventIDOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id events event Id o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id events event Id o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDOK) String

type GetV1IncidentsIncidentIDEventsEventIDParams

type GetV1IncidentsIncidentIDEventsEventIDParams struct {

	// EventID.
	EventID string

	// IncidentID.
	IncidentID string

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

GetV1IncidentsIncidentIDEventsEventIDParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id events event Id operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDEventsEventIDParams

func NewGetV1IncidentsIncidentIDEventsEventIDParams() *GetV1IncidentsIncidentIDEventsEventIDParams

NewGetV1IncidentsIncidentIDEventsEventIDParams creates a new GetV1IncidentsIncidentIDEventsEventIDParams 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 NewGetV1IncidentsIncidentIDEventsEventIDParamsWithContext

func NewGetV1IncidentsIncidentIDEventsEventIDParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDEventsEventIDParams

NewGetV1IncidentsIncidentIDEventsEventIDParamsWithContext creates a new GetV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDEventsEventIDParams

NewGetV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDEventsEventIDParamsWithTimeout

func NewGetV1IncidentsIncidentIDEventsEventIDParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDEventsEventIDParams

NewGetV1IncidentsIncidentIDEventsEventIDParamsWithTimeout creates a new GetV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDEventsEventIDParams) SetContext

SetContext adds the context to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id events event Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDEventsEventIDParams) SetEventID

func (o *GetV1IncidentsIncidentIDEventsEventIDParams) SetEventID(eventID string)

SetEventID adds the eventId to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDEventsEventIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) WithContext

WithContext adds the context to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id events event Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDEventsEventIDParams) WithEventID

WithEventID adds the eventID to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id events event Id params

func (*GetV1IncidentsIncidentIDEventsEventIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDEventsEventIDReader

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

GetV1IncidentsIncidentIDEventsEventIDReader is a Reader for the GetV1IncidentsIncidentIDEventsEventID structure.

func (*GetV1IncidentsIncidentIDEventsEventIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK

type GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK struct {
	Payload *models.VotesEntity
}

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

Returns the current vote counts for an object

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusOK

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusOK() *GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK

NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusOK creates a GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK with default headers values

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) Error

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) GetPayload

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) IsClientError

IsClientError returns true when this get v1 incidents incident Id events event Id votes status o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) IsCode

IsCode returns true when this get v1 incidents incident Id events event Id votes status o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id events event Id votes status o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) IsServerError

IsServerError returns true when this get v1 incidents incident Id events event Id votes status o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id events event Id votes status o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusOK) String

type GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams

type GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams struct {

	// EventID.
	EventID string

	// IncidentID.
	IncidentID string

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

GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id events event Id votes status operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParams

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParams() *GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams

NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParams creates a new GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams 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 NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithContext

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams

NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithContext creates a new GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams

NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithTimeout

func NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams

NewGetV1IncidentsIncidentIDEventsEventIDVotesStatusParamsWithTimeout creates a new GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) SetContext

SetContext adds the context to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id events event Id votes status params (not the query body).

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

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) SetEventID

SetEventID adds the eventId to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) SetIncidentID

SetIncidentID adds the incidentId to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) WithContext

WithContext adds the context to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id events event Id votes status params (not the query body).

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

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) WithEventID

WithEventID adds the eventID to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id events event Id votes status params

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDEventsEventIDVotesStatusReader

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

GetV1IncidentsIncidentIDEventsEventIDVotesStatusReader is a Reader for the GetV1IncidentsIncidentIDEventsEventIDVotesStatus structure.

func (*GetV1IncidentsIncidentIDEventsEventIDVotesStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDEventsOK

type GetV1IncidentsIncidentIDEventsOK struct {
	Payload *models.IncidentEventEntityPaginated
}

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

List all events for an incident. An event is a timeline entry. This can be filtered with params to retrieve events of a certain type.

func NewGetV1IncidentsIncidentIDEventsOK

func NewGetV1IncidentsIncidentIDEventsOK() *GetV1IncidentsIncidentIDEventsOK

NewGetV1IncidentsIncidentIDEventsOK creates a GetV1IncidentsIncidentIDEventsOK with default headers values

func (*GetV1IncidentsIncidentIDEventsOK) Error

func (*GetV1IncidentsIncidentIDEventsOK) GetPayload

func (*GetV1IncidentsIncidentIDEventsOK) IsClientError

func (o *GetV1IncidentsIncidentIDEventsOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id events o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDEventsOK) IsCode

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

IsCode returns true when this get v1 incidents incident Id events o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDEventsOK) IsRedirect

func (o *GetV1IncidentsIncidentIDEventsOK) IsRedirect() bool

IsRedirect returns true when this get v1 incidents incident Id events o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDEventsOK) IsServerError

func (o *GetV1IncidentsIncidentIDEventsOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id events o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDEventsOK) IsSuccess

func (o *GetV1IncidentsIncidentIDEventsOK) IsSuccess() bool

IsSuccess returns true when this get v1 incidents incident Id events o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDEventsOK) String

type GetV1IncidentsIncidentIDEventsParams

type GetV1IncidentsIncidentIDEventsParams struct {

	// IncidentID.
	IncidentID string

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

	/* Types.

	    A comma separated list of types of events to filter by. Possible values are:
	- `add_task_list`: Task list was added
	- `alert_event`: Someone was paged or took action on a linked alert
	- `alert_linked`: An alert was linked to the incident
	- `bulk_milestone_update`: When a milestone change occurs with no other changes
	- `bulk_update`: When an incident note/update is posted or when impacted components are updated. If other changes occur together with either of these changes (e.g., milestone change), they are all bundled together into a bulk_update
	- `change_type`: Updates to associated change events
	- `chat_message`: Any chat message event in a linked chat app like Slack or MS Teams
	- `children_changed`: When adding or updating child related incidents
	- `external_link`: When an external link is added or updated
	- `general_update`: Currently only describes Runbook stoppage events
	- `generic_chat_message`: When an event or message is manually added to the timeline via the web UI or API
	- `incident_attachment`: When attachments or files are added to the timeline
	- `generic_resource_change`: Any changes to individual fields within the incident, including custom fields
	- `incident_restriction`: When an incident is converted to private
	- `incident_status`: Only used when an incident starts and changes to an `active` state
	- `note`: When a message is posted to a status page directly and not via `/fh update`
	- `role_update`: Any updates to assigned roles
	- `runbook_attachment`: Any updates to a runbook
	- `runbook_step_execution_update`: Any Runbook step events
	- `task_update`: Task update events
	- `team_assignment`: Team assignment events
	- `ticket_update`: Updates to incident and follow-up tickets
	*/
	Types *string

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

GetV1IncidentsIncidentIDEventsParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id events operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDEventsParams

func NewGetV1IncidentsIncidentIDEventsParams() *GetV1IncidentsIncidentIDEventsParams

NewGetV1IncidentsIncidentIDEventsParams creates a new GetV1IncidentsIncidentIDEventsParams 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 NewGetV1IncidentsIncidentIDEventsParamsWithContext

func NewGetV1IncidentsIncidentIDEventsParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDEventsParams

NewGetV1IncidentsIncidentIDEventsParamsWithContext creates a new GetV1IncidentsIncidentIDEventsParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDEventsParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDEventsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDEventsParams

NewGetV1IncidentsIncidentIDEventsParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDEventsParamsWithTimeout

func NewGetV1IncidentsIncidentIDEventsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDEventsParams

NewGetV1IncidentsIncidentIDEventsParamsWithTimeout creates a new GetV1IncidentsIncidentIDEventsParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDEventsParams) SetContext

SetContext adds the context to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) SetDefaults

func (o *GetV1IncidentsIncidentIDEventsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 incidents incident Id events params (not the query body).

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

func (*GetV1IncidentsIncidentIDEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDEventsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) SetPage

func (o *GetV1IncidentsIncidentIDEventsParams) SetPage(page *int32)

SetPage adds the page to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) SetPerPage

func (o *GetV1IncidentsIncidentIDEventsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) SetTypes

func (o *GetV1IncidentsIncidentIDEventsParams) SetTypes(types *string)

SetTypes adds the types to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WithContext

WithContext adds the context to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id events params (not the query body).

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

func (*GetV1IncidentsIncidentIDEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WithPage

WithPage adds the page to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WithPerPage

WithPerPage adds the perPage to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WithTypes

WithTypes adds the types to the get v1 incidents incident Id events params

func (*GetV1IncidentsIncidentIDEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDEventsReader

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

GetV1IncidentsIncidentIDEventsReader is a Reader for the GetV1IncidentsIncidentIDEvents structure.

func (*GetV1IncidentsIncidentIDEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDImpactTypeOK

type GetV1IncidentsIncidentIDImpactTypeOK struct {
	Payload *models.IncidentImpactEntityPaginated
}

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

List impacted infrastructure on an incident by specifying type

func NewGetV1IncidentsIncidentIDImpactTypeOK

func NewGetV1IncidentsIncidentIDImpactTypeOK() *GetV1IncidentsIncidentIDImpactTypeOK

NewGetV1IncidentsIncidentIDImpactTypeOK creates a GetV1IncidentsIncidentIDImpactTypeOK with default headers values

func (*GetV1IncidentsIncidentIDImpactTypeOK) Error

func (*GetV1IncidentsIncidentIDImpactTypeOK) GetPayload

func (*GetV1IncidentsIncidentIDImpactTypeOK) IsClientError

func (o *GetV1IncidentsIncidentIDImpactTypeOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id impact type o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDImpactTypeOK) IsCode

IsCode returns true when this get v1 incidents incident Id impact type o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDImpactTypeOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id impact type o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDImpactTypeOK) IsServerError

func (o *GetV1IncidentsIncidentIDImpactTypeOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id impact type o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDImpactTypeOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id impact type o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDImpactTypeOK) String

type GetV1IncidentsIncidentIDImpactTypeParams

type GetV1IncidentsIncidentIDImpactTypeParams struct {

	// IncidentID.
	IncidentID string

	// Type.
	Type string

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

GetV1IncidentsIncidentIDImpactTypeParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id impact type operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDImpactTypeParams

func NewGetV1IncidentsIncidentIDImpactTypeParams() *GetV1IncidentsIncidentIDImpactTypeParams

NewGetV1IncidentsIncidentIDImpactTypeParams creates a new GetV1IncidentsIncidentIDImpactTypeParams 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 NewGetV1IncidentsIncidentIDImpactTypeParamsWithContext

func NewGetV1IncidentsIncidentIDImpactTypeParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDImpactTypeParams

NewGetV1IncidentsIncidentIDImpactTypeParamsWithContext creates a new GetV1IncidentsIncidentIDImpactTypeParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDImpactTypeParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDImpactTypeParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDImpactTypeParams

NewGetV1IncidentsIncidentIDImpactTypeParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDImpactTypeParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDImpactTypeParamsWithTimeout

func NewGetV1IncidentsIncidentIDImpactTypeParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDImpactTypeParams

NewGetV1IncidentsIncidentIDImpactTypeParamsWithTimeout creates a new GetV1IncidentsIncidentIDImpactTypeParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDImpactTypeParams) SetContext

SetContext adds the context to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id impact type params (not the query body).

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

func (*GetV1IncidentsIncidentIDImpactTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDImpactTypeParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) SetType

SetType adds the type to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) WithContext

WithContext adds the context to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id impact type params (not the query body).

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

func (*GetV1IncidentsIncidentIDImpactTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) WithType

WithType adds the typeVar to the get v1 incidents incident Id impact type params

func (*GetV1IncidentsIncidentIDImpactTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDImpactTypeReader

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

GetV1IncidentsIncidentIDImpactTypeReader is a Reader for the GetV1IncidentsIncidentIDImpactType structure.

func (*GetV1IncidentsIncidentIDImpactTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDLinksOK

type GetV1IncidentsIncidentIDLinksOK struct {
	Payload *models.AttachmentsLinkEntityPaginated
}

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

List all the editable, external incident links attached to an incident

func NewGetV1IncidentsIncidentIDLinksOK

func NewGetV1IncidentsIncidentIDLinksOK() *GetV1IncidentsIncidentIDLinksOK

NewGetV1IncidentsIncidentIDLinksOK creates a GetV1IncidentsIncidentIDLinksOK with default headers values

func (*GetV1IncidentsIncidentIDLinksOK) Error

func (*GetV1IncidentsIncidentIDLinksOK) GetPayload

func (*GetV1IncidentsIncidentIDLinksOK) IsClientError

func (o *GetV1IncidentsIncidentIDLinksOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id links o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDLinksOK) IsCode

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

IsCode returns true when this get v1 incidents incident Id links o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDLinksOK) IsRedirect

func (o *GetV1IncidentsIncidentIDLinksOK) IsRedirect() bool

IsRedirect returns true when this get v1 incidents incident Id links o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDLinksOK) IsServerError

func (o *GetV1IncidentsIncidentIDLinksOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id links o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDLinksOK) IsSuccess

func (o *GetV1IncidentsIncidentIDLinksOK) IsSuccess() bool

IsSuccess returns true when this get v1 incidents incident Id links o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDLinksOK) String

type GetV1IncidentsIncidentIDLinksParams

type GetV1IncidentsIncidentIDLinksParams struct {

	// IncidentID.
	IncidentID string

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

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

GetV1IncidentsIncidentIDLinksParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id links operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDLinksParams

func NewGetV1IncidentsIncidentIDLinksParams() *GetV1IncidentsIncidentIDLinksParams

NewGetV1IncidentsIncidentIDLinksParams creates a new GetV1IncidentsIncidentIDLinksParams 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 NewGetV1IncidentsIncidentIDLinksParamsWithContext

func NewGetV1IncidentsIncidentIDLinksParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDLinksParams

NewGetV1IncidentsIncidentIDLinksParamsWithContext creates a new GetV1IncidentsIncidentIDLinksParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDLinksParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDLinksParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDLinksParams

NewGetV1IncidentsIncidentIDLinksParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDLinksParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDLinksParamsWithTimeout

func NewGetV1IncidentsIncidentIDLinksParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDLinksParams

NewGetV1IncidentsIncidentIDLinksParamsWithTimeout creates a new GetV1IncidentsIncidentIDLinksParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDLinksParams) SetContext

SetContext adds the context to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) SetDefaults

func (o *GetV1IncidentsIncidentIDLinksParams) SetDefaults()

SetDefaults hydrates default values in the get v1 incidents incident Id links params (not the query body).

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

func (*GetV1IncidentsIncidentIDLinksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDLinksParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) SetPage

func (o *GetV1IncidentsIncidentIDLinksParams) SetPage(page *int32)

SetPage adds the page to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) SetPerPage

func (o *GetV1IncidentsIncidentIDLinksParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) WithContext

WithContext adds the context to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id links params (not the query body).

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

func (*GetV1IncidentsIncidentIDLinksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) WithPage

WithPage adds the page to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) WithPerPage

WithPerPage adds the perPage to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id links params

func (*GetV1IncidentsIncidentIDLinksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDLinksReader

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

GetV1IncidentsIncidentIDLinksReader is a Reader for the GetV1IncidentsIncidentIDLinks structure.

func (*GetV1IncidentsIncidentIDLinksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDMilestonesOK

type GetV1IncidentsIncidentIDMilestonesOK struct {
	Payload *models.IncidentsMilestoneEntityPaginated
}

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

List times and durations for each milestone on an incident

func NewGetV1IncidentsIncidentIDMilestonesOK

func NewGetV1IncidentsIncidentIDMilestonesOK() *GetV1IncidentsIncidentIDMilestonesOK

NewGetV1IncidentsIncidentIDMilestonesOK creates a GetV1IncidentsIncidentIDMilestonesOK with default headers values

func (*GetV1IncidentsIncidentIDMilestonesOK) Error

func (*GetV1IncidentsIncidentIDMilestonesOK) GetPayload

func (*GetV1IncidentsIncidentIDMilestonesOK) IsClientError

func (o *GetV1IncidentsIncidentIDMilestonesOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id milestones o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDMilestonesOK) IsCode

IsCode returns true when this get v1 incidents incident Id milestones o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDMilestonesOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id milestones o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDMilestonesOK) IsServerError

func (o *GetV1IncidentsIncidentIDMilestonesOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id milestones o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDMilestonesOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id milestones o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDMilestonesOK) String

type GetV1IncidentsIncidentIDMilestonesParams

type GetV1IncidentsIncidentIDMilestonesParams struct {

	// IncidentID.
	IncidentID string

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

GetV1IncidentsIncidentIDMilestonesParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id milestones operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDMilestonesParams

func NewGetV1IncidentsIncidentIDMilestonesParams() *GetV1IncidentsIncidentIDMilestonesParams

NewGetV1IncidentsIncidentIDMilestonesParams creates a new GetV1IncidentsIncidentIDMilestonesParams 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 NewGetV1IncidentsIncidentIDMilestonesParamsWithContext

func NewGetV1IncidentsIncidentIDMilestonesParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDMilestonesParams

NewGetV1IncidentsIncidentIDMilestonesParamsWithContext creates a new GetV1IncidentsIncidentIDMilestonesParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDMilestonesParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDMilestonesParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDMilestonesParams

NewGetV1IncidentsIncidentIDMilestonesParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDMilestonesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDMilestonesParamsWithTimeout

func NewGetV1IncidentsIncidentIDMilestonesParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDMilestonesParams

NewGetV1IncidentsIncidentIDMilestonesParamsWithTimeout creates a new GetV1IncidentsIncidentIDMilestonesParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDMilestonesParams) SetContext

SetContext adds the context to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id milestones params (not the query body).

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

func (*GetV1IncidentsIncidentIDMilestonesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDMilestonesParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) WithContext

WithContext adds the context to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id milestones params (not the query body).

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

func (*GetV1IncidentsIncidentIDMilestonesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id milestones params

func (*GetV1IncidentsIncidentIDMilestonesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDMilestonesReader

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

GetV1IncidentsIncidentIDMilestonesReader is a Reader for the GetV1IncidentsIncidentIDMilestones structure.

func (*GetV1IncidentsIncidentIDMilestonesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDOK

type GetV1IncidentsIncidentIDOK struct {
	Payload *models.IncidentEntity
}

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

Retrieve a single incident from its ID

func NewGetV1IncidentsIncidentIDOK

func NewGetV1IncidentsIncidentIDOK() *GetV1IncidentsIncidentIDOK

NewGetV1IncidentsIncidentIDOK creates a GetV1IncidentsIncidentIDOK with default headers values

func (*GetV1IncidentsIncidentIDOK) Error

func (*GetV1IncidentsIncidentIDOK) GetPayload

func (*GetV1IncidentsIncidentIDOK) IsClientError

func (o *GetV1IncidentsIncidentIDOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDOK) IsCode

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

IsCode returns true when this get v1 incidents incident Id o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDOK) IsRedirect

func (o *GetV1IncidentsIncidentIDOK) IsRedirect() bool

IsRedirect returns true when this get v1 incidents incident Id o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDOK) IsServerError

func (o *GetV1IncidentsIncidentIDOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDOK) IsSuccess

func (o *GetV1IncidentsIncidentIDOK) IsSuccess() bool

IsSuccess returns true when this get v1 incidents incident Id o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDOK) String

func (o *GetV1IncidentsIncidentIDOK) String() string

type GetV1IncidentsIncidentIDParams

type GetV1IncidentsIncidentIDParams struct {

	// IncidentID.
	IncidentID string

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

GetV1IncidentsIncidentIDParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDParams

func NewGetV1IncidentsIncidentIDParams() *GetV1IncidentsIncidentIDParams

NewGetV1IncidentsIncidentIDParams creates a new GetV1IncidentsIncidentIDParams 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 NewGetV1IncidentsIncidentIDParamsWithContext

func NewGetV1IncidentsIncidentIDParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDParams

NewGetV1IncidentsIncidentIDParamsWithContext creates a new GetV1IncidentsIncidentIDParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDParams

NewGetV1IncidentsIncidentIDParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDParamsWithTimeout

func NewGetV1IncidentsIncidentIDParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDParams

NewGetV1IncidentsIncidentIDParamsWithTimeout creates a new GetV1IncidentsIncidentIDParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDParams) SetContext

func (o *GetV1IncidentsIncidentIDParams) SetContext(ctx context.Context)

SetContext adds the context to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) SetDefaults

func (o *GetV1IncidentsIncidentIDParams) SetDefaults()

SetDefaults hydrates default values in the get v1 incidents incident Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) WithContext

WithContext adds the context to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id params

func (*GetV1IncidentsIncidentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDReader

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

GetV1IncidentsIncidentIDReader is a Reader for the GetV1IncidentsIncidentID structure.

func (*GetV1IncidentsIncidentIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDRelatedChangeEventsOK

type GetV1IncidentsIncidentIDRelatedChangeEventsOK struct {
	Payload *models.IncidentsRelatedChangeEventEntityPaginated
}

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

List related changes that have been attached to an incident

func NewGetV1IncidentsIncidentIDRelatedChangeEventsOK

func NewGetV1IncidentsIncidentIDRelatedChangeEventsOK() *GetV1IncidentsIncidentIDRelatedChangeEventsOK

NewGetV1IncidentsIncidentIDRelatedChangeEventsOK creates a GetV1IncidentsIncidentIDRelatedChangeEventsOK with default headers values

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) Error

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) GetPayload

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) IsClientError

IsClientError returns true when this get v1 incidents incident Id related change events o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) IsCode

IsCode returns true when this get v1 incidents incident Id related change events o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id related change events o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) IsServerError

IsServerError returns true when this get v1 incidents incident Id related change events o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id related change events o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDRelatedChangeEventsOK) String

type GetV1IncidentsIncidentIDRelatedChangeEventsParams

type GetV1IncidentsIncidentIDRelatedChangeEventsParams struct {

	// IncidentID.
	IncidentID string

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

	/* Type.

	   The type of the relation to the incident
	*/
	Type *string

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

GetV1IncidentsIncidentIDRelatedChangeEventsParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id related change events operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDRelatedChangeEventsParams

func NewGetV1IncidentsIncidentIDRelatedChangeEventsParams() *GetV1IncidentsIncidentIDRelatedChangeEventsParams

NewGetV1IncidentsIncidentIDRelatedChangeEventsParams creates a new GetV1IncidentsIncidentIDRelatedChangeEventsParams 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 NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithContext

func NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDRelatedChangeEventsParams

NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithContext creates a new GetV1IncidentsIncidentIDRelatedChangeEventsParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDRelatedChangeEventsParams

NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDRelatedChangeEventsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithTimeout

func NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDRelatedChangeEventsParams

NewGetV1IncidentsIncidentIDRelatedChangeEventsParamsWithTimeout creates a new GetV1IncidentsIncidentIDRelatedChangeEventsParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetContext

SetContext adds the context to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id related change events params (not the query body).

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

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetPage

SetPage adds the page to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetPerPage

SetPerPage adds the perPage to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) SetType

SetType adds the type to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithContext

WithContext adds the context to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id related change events params (not the query body).

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

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithPage

WithPage adds the page to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithPerPage

WithPerPage adds the perPage to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WithType

WithType adds the typeVar to the get v1 incidents incident Id related change events params

func (*GetV1IncidentsIncidentIDRelatedChangeEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDRelatedChangeEventsReader

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

GetV1IncidentsIncidentIDRelatedChangeEventsReader is a Reader for the GetV1IncidentsIncidentIDRelatedChangeEvents structure.

func (*GetV1IncidentsIncidentIDRelatedChangeEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDRelationshipsOK

type GetV1IncidentsIncidentIDRelationshipsOK struct {
	Payload *models.IncidentsRelationshipsEntity
}

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

List any parent/child relationships for an incident

func NewGetV1IncidentsIncidentIDRelationshipsOK

func NewGetV1IncidentsIncidentIDRelationshipsOK() *GetV1IncidentsIncidentIDRelationshipsOK

NewGetV1IncidentsIncidentIDRelationshipsOK creates a GetV1IncidentsIncidentIDRelationshipsOK with default headers values

func (*GetV1IncidentsIncidentIDRelationshipsOK) Error

func (*GetV1IncidentsIncidentIDRelationshipsOK) GetPayload

func (*GetV1IncidentsIncidentIDRelationshipsOK) IsClientError

func (o *GetV1IncidentsIncidentIDRelationshipsOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id relationships o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDRelationshipsOK) IsCode

IsCode returns true when this get v1 incidents incident Id relationships o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDRelationshipsOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id relationships o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDRelationshipsOK) IsServerError

func (o *GetV1IncidentsIncidentIDRelationshipsOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id relationships o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDRelationshipsOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id relationships o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDRelationshipsOK) String

type GetV1IncidentsIncidentIDRelationshipsParams

type GetV1IncidentsIncidentIDRelationshipsParams struct {

	// IncidentID.
	IncidentID string

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

GetV1IncidentsIncidentIDRelationshipsParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id relationships operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDRelationshipsParams

func NewGetV1IncidentsIncidentIDRelationshipsParams() *GetV1IncidentsIncidentIDRelationshipsParams

NewGetV1IncidentsIncidentIDRelationshipsParams creates a new GetV1IncidentsIncidentIDRelationshipsParams 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 NewGetV1IncidentsIncidentIDRelationshipsParamsWithContext

func NewGetV1IncidentsIncidentIDRelationshipsParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDRelationshipsParams

NewGetV1IncidentsIncidentIDRelationshipsParamsWithContext creates a new GetV1IncidentsIncidentIDRelationshipsParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDRelationshipsParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDRelationshipsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDRelationshipsParams

NewGetV1IncidentsIncidentIDRelationshipsParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDRelationshipsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDRelationshipsParamsWithTimeout

func NewGetV1IncidentsIncidentIDRelationshipsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDRelationshipsParams

NewGetV1IncidentsIncidentIDRelationshipsParamsWithTimeout creates a new GetV1IncidentsIncidentIDRelationshipsParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDRelationshipsParams) SetContext

SetContext adds the context to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id relationships params (not the query body).

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

func (*GetV1IncidentsIncidentIDRelationshipsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDRelationshipsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) WithContext

WithContext adds the context to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id relationships params (not the query body).

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

func (*GetV1IncidentsIncidentIDRelationshipsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id relationships params

func (*GetV1IncidentsIncidentIDRelationshipsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDRelationshipsReader

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

GetV1IncidentsIncidentIDRelationshipsReader is a Reader for the GetV1IncidentsIncidentIDRelationships structure.

func (*GetV1IncidentsIncidentIDRelationshipsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDRoleAssignmentsOK

type GetV1IncidentsIncidentIDRoleAssignmentsOK struct {
	Payload *models.IncidentsRoleAssignmentEntityPaginated
}

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

Retrieve a list of all of the current role assignments for the incident

func NewGetV1IncidentsIncidentIDRoleAssignmentsOK

func NewGetV1IncidentsIncidentIDRoleAssignmentsOK() *GetV1IncidentsIncidentIDRoleAssignmentsOK

NewGetV1IncidentsIncidentIDRoleAssignmentsOK creates a GetV1IncidentsIncidentIDRoleAssignmentsOK with default headers values

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) Error

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) GetPayload

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) IsClientError

IsClientError returns true when this get v1 incidents incident Id role assignments o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) IsCode

IsCode returns true when this get v1 incidents incident Id role assignments o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id role assignments o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) IsServerError

IsServerError returns true when this get v1 incidents incident Id role assignments o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id role assignments o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDRoleAssignmentsOK) String

type GetV1IncidentsIncidentIDRoleAssignmentsParams

type GetV1IncidentsIncidentIDRoleAssignmentsParams struct {

	// IncidentID.
	IncidentID string

	/* Status.

	   Filter on status of the role assignment
	*/
	Status *string

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

GetV1IncidentsIncidentIDRoleAssignmentsParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id role assignments operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDRoleAssignmentsParams

func NewGetV1IncidentsIncidentIDRoleAssignmentsParams() *GetV1IncidentsIncidentIDRoleAssignmentsParams

NewGetV1IncidentsIncidentIDRoleAssignmentsParams creates a new GetV1IncidentsIncidentIDRoleAssignmentsParams 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 NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithContext

func NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDRoleAssignmentsParams

NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithContext creates a new GetV1IncidentsIncidentIDRoleAssignmentsParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDRoleAssignmentsParams

NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDRoleAssignmentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithTimeout

func NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDRoleAssignmentsParams

NewGetV1IncidentsIncidentIDRoleAssignmentsParamsWithTimeout creates a new GetV1IncidentsIncidentIDRoleAssignmentsParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) SetContext

SetContext adds the context to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id role assignments params (not the query body).

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

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDRoleAssignmentsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) SetStatus

SetStatus adds the status to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) WithContext

WithContext adds the context to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id role assignments params (not the query body).

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

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) WithStatus

WithStatus adds the status to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id role assignments params

func (*GetV1IncidentsIncidentIDRoleAssignmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDRoleAssignmentsReader

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

GetV1IncidentsIncidentIDRoleAssignmentsReader is a Reader for the GetV1IncidentsIncidentIDRoleAssignments structure.

func (*GetV1IncidentsIncidentIDRoleAssignmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDSimilarOK

type GetV1IncidentsIncidentIDSimilarOK struct {
}

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

get Similar(s)

func NewGetV1IncidentsIncidentIDSimilarOK

func NewGetV1IncidentsIncidentIDSimilarOK() *GetV1IncidentsIncidentIDSimilarOK

NewGetV1IncidentsIncidentIDSimilarOK creates a GetV1IncidentsIncidentIDSimilarOK with default headers values

func (*GetV1IncidentsIncidentIDSimilarOK) Error

func (*GetV1IncidentsIncidentIDSimilarOK) IsClientError

func (o *GetV1IncidentsIncidentIDSimilarOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id similar o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDSimilarOK) IsCode

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

IsCode returns true when this get v1 incidents incident Id similar o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDSimilarOK) IsRedirect

func (o *GetV1IncidentsIncidentIDSimilarOK) IsRedirect() bool

IsRedirect returns true when this get v1 incidents incident Id similar o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDSimilarOK) IsServerError

func (o *GetV1IncidentsIncidentIDSimilarOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id similar o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDSimilarOK) IsSuccess

func (o *GetV1IncidentsIncidentIDSimilarOK) IsSuccess() bool

IsSuccess returns true when this get v1 incidents incident Id similar o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDSimilarOK) String

type GetV1IncidentsIncidentIDSimilarParams

type GetV1IncidentsIncidentIDSimilarParams struct {

	// IncidentID.
	IncidentID string

	// Limit.
	//
	// Format: int32
	// Default: 5
	Limit *int32

	// Threshold.
	//
	// Format: float
	// Default: 0.2
	Threshold *float32

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

GetV1IncidentsIncidentIDSimilarParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id similar operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDSimilarParams

func NewGetV1IncidentsIncidentIDSimilarParams() *GetV1IncidentsIncidentIDSimilarParams

NewGetV1IncidentsIncidentIDSimilarParams creates a new GetV1IncidentsIncidentIDSimilarParams 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 NewGetV1IncidentsIncidentIDSimilarParamsWithContext

func NewGetV1IncidentsIncidentIDSimilarParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDSimilarParams

NewGetV1IncidentsIncidentIDSimilarParamsWithContext creates a new GetV1IncidentsIncidentIDSimilarParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDSimilarParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDSimilarParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDSimilarParams

NewGetV1IncidentsIncidentIDSimilarParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDSimilarParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDSimilarParamsWithTimeout

func NewGetV1IncidentsIncidentIDSimilarParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDSimilarParams

NewGetV1IncidentsIncidentIDSimilarParamsWithTimeout creates a new GetV1IncidentsIncidentIDSimilarParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDSimilarParams) SetContext

SetContext adds the context to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) SetDefaults

func (o *GetV1IncidentsIncidentIDSimilarParams) SetDefaults()

SetDefaults hydrates default values in the get v1 incidents incident Id similar params (not the query body).

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

func (*GetV1IncidentsIncidentIDSimilarParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDSimilarParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) SetLimit

func (o *GetV1IncidentsIncidentIDSimilarParams) SetLimit(limit *int32)

SetLimit adds the limit to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) SetThreshold

func (o *GetV1IncidentsIncidentIDSimilarParams) SetThreshold(threshold *float32)

SetThreshold adds the threshold to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) WithContext

WithContext adds the context to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id similar params (not the query body).

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

func (*GetV1IncidentsIncidentIDSimilarParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) WithLimit

WithLimit adds the limit to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) WithThreshold

WithThreshold adds the threshold to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id similar params

func (*GetV1IncidentsIncidentIDSimilarParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDSimilarReader

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

GetV1IncidentsIncidentIDSimilarReader is a Reader for the GetV1IncidentsIncidentIDSimilar structure.

func (*GetV1IncidentsIncidentIDSimilarReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDStatusPagesOK

type GetV1IncidentsIncidentIDStatusPagesOK struct {
	Payload *models.IncidentsStatusPageEntityPaginated
}

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

List status pages that are attached to an incident

func NewGetV1IncidentsIncidentIDStatusPagesOK

func NewGetV1IncidentsIncidentIDStatusPagesOK() *GetV1IncidentsIncidentIDStatusPagesOK

NewGetV1IncidentsIncidentIDStatusPagesOK creates a GetV1IncidentsIncidentIDStatusPagesOK with default headers values

func (*GetV1IncidentsIncidentIDStatusPagesOK) Error

func (*GetV1IncidentsIncidentIDStatusPagesOK) GetPayload

func (*GetV1IncidentsIncidentIDStatusPagesOK) IsClientError

func (o *GetV1IncidentsIncidentIDStatusPagesOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id status pages o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDStatusPagesOK) IsCode

IsCode returns true when this get v1 incidents incident Id status pages o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDStatusPagesOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id status pages o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDStatusPagesOK) IsServerError

func (o *GetV1IncidentsIncidentIDStatusPagesOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id status pages o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDStatusPagesOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id status pages o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDStatusPagesOK) String

type GetV1IncidentsIncidentIDStatusPagesParams

type GetV1IncidentsIncidentIDStatusPagesParams struct {

	// IncidentID.
	IncidentID string

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

GetV1IncidentsIncidentIDStatusPagesParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id status pages operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDStatusPagesParams

func NewGetV1IncidentsIncidentIDStatusPagesParams() *GetV1IncidentsIncidentIDStatusPagesParams

NewGetV1IncidentsIncidentIDStatusPagesParams creates a new GetV1IncidentsIncidentIDStatusPagesParams 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 NewGetV1IncidentsIncidentIDStatusPagesParamsWithContext

func NewGetV1IncidentsIncidentIDStatusPagesParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDStatusPagesParams

NewGetV1IncidentsIncidentIDStatusPagesParamsWithContext creates a new GetV1IncidentsIncidentIDStatusPagesParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDStatusPagesParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDStatusPagesParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDStatusPagesParams

NewGetV1IncidentsIncidentIDStatusPagesParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDStatusPagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDStatusPagesParamsWithTimeout

func NewGetV1IncidentsIncidentIDStatusPagesParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDStatusPagesParams

NewGetV1IncidentsIncidentIDStatusPagesParamsWithTimeout creates a new GetV1IncidentsIncidentIDStatusPagesParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDStatusPagesParams) SetContext

SetContext adds the context to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id status pages params (not the query body).

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

func (*GetV1IncidentsIncidentIDStatusPagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDStatusPagesParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) WithContext

WithContext adds the context to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id status pages params (not the query body).

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

func (*GetV1IncidentsIncidentIDStatusPagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id status pages params

func (*GetV1IncidentsIncidentIDStatusPagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDStatusPagesReader

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

GetV1IncidentsIncidentIDStatusPagesReader is a Reader for the GetV1IncidentsIncidentIDStatusPages structure.

func (*GetV1IncidentsIncidentIDStatusPagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDTasksOK

type GetV1IncidentsIncidentIDTasksOK struct {
	Payload *models.TaskEntityPaginated
}

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

Retrieve a list of all tasks for a specific incident

func NewGetV1IncidentsIncidentIDTasksOK

func NewGetV1IncidentsIncidentIDTasksOK() *GetV1IncidentsIncidentIDTasksOK

NewGetV1IncidentsIncidentIDTasksOK creates a GetV1IncidentsIncidentIDTasksOK with default headers values

func (*GetV1IncidentsIncidentIDTasksOK) Error

func (*GetV1IncidentsIncidentIDTasksOK) GetPayload

func (*GetV1IncidentsIncidentIDTasksOK) IsClientError

func (o *GetV1IncidentsIncidentIDTasksOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id tasks o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDTasksOK) IsCode

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

IsCode returns true when this get v1 incidents incident Id tasks o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDTasksOK) IsRedirect

func (o *GetV1IncidentsIncidentIDTasksOK) IsRedirect() bool

IsRedirect returns true when this get v1 incidents incident Id tasks o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDTasksOK) IsServerError

func (o *GetV1IncidentsIncidentIDTasksOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id tasks o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDTasksOK) IsSuccess

func (o *GetV1IncidentsIncidentIDTasksOK) IsSuccess() bool

IsSuccess returns true when this get v1 incidents incident Id tasks o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDTasksOK) String

type GetV1IncidentsIncidentIDTasksParams

type GetV1IncidentsIncidentIDTasksParams struct {

	// IncidentID.
	IncidentID string

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

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

GetV1IncidentsIncidentIDTasksParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id tasks operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDTasksParams

func NewGetV1IncidentsIncidentIDTasksParams() *GetV1IncidentsIncidentIDTasksParams

NewGetV1IncidentsIncidentIDTasksParams creates a new GetV1IncidentsIncidentIDTasksParams 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 NewGetV1IncidentsIncidentIDTasksParamsWithContext

func NewGetV1IncidentsIncidentIDTasksParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksParams

NewGetV1IncidentsIncidentIDTasksParamsWithContext creates a new GetV1IncidentsIncidentIDTasksParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDTasksParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDTasksParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksParams

NewGetV1IncidentsIncidentIDTasksParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDTasksParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDTasksParamsWithTimeout

func NewGetV1IncidentsIncidentIDTasksParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksParams

NewGetV1IncidentsIncidentIDTasksParamsWithTimeout creates a new GetV1IncidentsIncidentIDTasksParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDTasksParams) SetContext

SetContext adds the context to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) SetDefaults

func (o *GetV1IncidentsIncidentIDTasksParams) SetDefaults()

SetDefaults hydrates default values in the get v1 incidents incident Id tasks params (not the query body).

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

func (*GetV1IncidentsIncidentIDTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDTasksParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) SetPage

func (o *GetV1IncidentsIncidentIDTasksParams) SetPage(page *int32)

SetPage adds the page to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) SetPerPage

func (o *GetV1IncidentsIncidentIDTasksParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithContext

WithContext adds the context to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id tasks params (not the query body).

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

func (*GetV1IncidentsIncidentIDTasksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithPage

WithPage adds the page to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithPerPage

WithPerPage adds the perPage to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id tasks params

func (*GetV1IncidentsIncidentIDTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDTasksReader

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

GetV1IncidentsIncidentIDTasksReader is a Reader for the GetV1IncidentsIncidentIDTasks structure.

func (*GetV1IncidentsIncidentIDTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDTasksTaskIDOK

type GetV1IncidentsIncidentIDTasksTaskIDOK struct {
}

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

Retrieve a single task for an incident

func NewGetV1IncidentsIncidentIDTasksTaskIDOK

func NewGetV1IncidentsIncidentIDTasksTaskIDOK() *GetV1IncidentsIncidentIDTasksTaskIDOK

NewGetV1IncidentsIncidentIDTasksTaskIDOK creates a GetV1IncidentsIncidentIDTasksTaskIDOK with default headers values

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) Error

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsClientError

func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id tasks task Id o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsCode

IsCode returns true when this get v1 incidents incident Id tasks task Id o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id tasks task Id o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsServerError

func (o *GetV1IncidentsIncidentIDTasksTaskIDOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id tasks task Id o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id tasks task Id o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDTasksTaskIDOK) String

type GetV1IncidentsIncidentIDTasksTaskIDParams

type GetV1IncidentsIncidentIDTasksTaskIDParams struct {

	// IncidentID.
	IncidentID string

	// TaskID.
	TaskID string

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

GetV1IncidentsIncidentIDTasksTaskIDParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id tasks task Id operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDTasksTaskIDParams

func NewGetV1IncidentsIncidentIDTasksTaskIDParams() *GetV1IncidentsIncidentIDTasksTaskIDParams

NewGetV1IncidentsIncidentIDTasksTaskIDParams creates a new GetV1IncidentsIncidentIDTasksTaskIDParams 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 NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithContext

func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDTasksTaskIDParams

NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithContext creates a new GetV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTasksTaskIDParams

NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout

func NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTasksTaskIDParams

NewGetV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout creates a new GetV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetContext

SetContext adds the context to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id tasks task Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID

SetTaskID adds the taskId to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithContext

WithContext adds the context to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id tasks task Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID

WithTaskID adds the taskID to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id tasks task Id params

func (*GetV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDTasksTaskIDReader

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

GetV1IncidentsIncidentIDTasksTaskIDReader is a Reader for the GetV1IncidentsIncidentIDTasksTaskID structure.

func (*GetV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDTranscriptOK

type GetV1IncidentsIncidentIDTranscriptOK struct {
	Payload *models.PublicAPIV1IncidentsTranscriptEntity
}

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

Retrieve the transcript for a specific incident

func NewGetV1IncidentsIncidentIDTranscriptOK

func NewGetV1IncidentsIncidentIDTranscriptOK() *GetV1IncidentsIncidentIDTranscriptOK

NewGetV1IncidentsIncidentIDTranscriptOK creates a GetV1IncidentsIncidentIDTranscriptOK with default headers values

func (*GetV1IncidentsIncidentIDTranscriptOK) Error

func (*GetV1IncidentsIncidentIDTranscriptOK) GetPayload

func (*GetV1IncidentsIncidentIDTranscriptOK) IsClientError

func (o *GetV1IncidentsIncidentIDTranscriptOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id transcript o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDTranscriptOK) IsCode

IsCode returns true when this get v1 incidents incident Id transcript o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDTranscriptOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id transcript o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDTranscriptOK) IsServerError

func (o *GetV1IncidentsIncidentIDTranscriptOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id transcript o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDTranscriptOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id transcript o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDTranscriptOK) String

type GetV1IncidentsIncidentIDTranscriptParams

type GetV1IncidentsIncidentIDTranscriptParams struct {

	/* After.

	   The ID of the transcript entry to start after.
	*/
	After *string

	/* Before.

	   The ID of the transcript entry to start before.
	*/
	Before *string

	// IncidentID.
	IncidentID string

	/* Sort.

	   The order to sort the transcript entries.

	   Default: "asc"
	*/
	Sort *string

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

GetV1IncidentsIncidentIDTranscriptParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id transcript operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDTranscriptParams

func NewGetV1IncidentsIncidentIDTranscriptParams() *GetV1IncidentsIncidentIDTranscriptParams

NewGetV1IncidentsIncidentIDTranscriptParams creates a new GetV1IncidentsIncidentIDTranscriptParams 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 NewGetV1IncidentsIncidentIDTranscriptParamsWithContext

func NewGetV1IncidentsIncidentIDTranscriptParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDTranscriptParams

NewGetV1IncidentsIncidentIDTranscriptParamsWithContext creates a new GetV1IncidentsIncidentIDTranscriptParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDTranscriptParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDTranscriptParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDTranscriptParams

NewGetV1IncidentsIncidentIDTranscriptParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDTranscriptParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDTranscriptParamsWithTimeout

func NewGetV1IncidentsIncidentIDTranscriptParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDTranscriptParams

NewGetV1IncidentsIncidentIDTranscriptParamsWithTimeout creates a new GetV1IncidentsIncidentIDTranscriptParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDTranscriptParams) SetAfter

SetAfter adds the after to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) SetBefore

func (o *GetV1IncidentsIncidentIDTranscriptParams) SetBefore(before *string)

SetBefore adds the before to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) SetContext

SetContext adds the context to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id transcript params (not the query body).

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

func (*GetV1IncidentsIncidentIDTranscriptParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDTranscriptParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) SetSort

SetSort adds the sort to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WithAfter

WithAfter adds the after to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WithBefore

WithBefore adds the before to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WithContext

WithContext adds the context to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id transcript params (not the query body).

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

func (*GetV1IncidentsIncidentIDTranscriptParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WithSort

WithSort adds the sort to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id transcript params

func (*GetV1IncidentsIncidentIDTranscriptParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDTranscriptReader

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

GetV1IncidentsIncidentIDTranscriptReader is a Reader for the GetV1IncidentsIncidentIDTranscript structure.

func (*GetV1IncidentsIncidentIDTranscriptReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsIncidentIDUsersUserIDOK

type GetV1IncidentsIncidentIDUsersUserIDOK struct {
	Payload *models.IncidentsRoleAssignmentEntity
}

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

Retrieve a user with current roles for an incident

func NewGetV1IncidentsIncidentIDUsersUserIDOK

func NewGetV1IncidentsIncidentIDUsersUserIDOK() *GetV1IncidentsIncidentIDUsersUserIDOK

NewGetV1IncidentsIncidentIDUsersUserIDOK creates a GetV1IncidentsIncidentIDUsersUserIDOK with default headers values

func (*GetV1IncidentsIncidentIDUsersUserIDOK) Error

func (*GetV1IncidentsIncidentIDUsersUserIDOK) GetPayload

func (*GetV1IncidentsIncidentIDUsersUserIDOK) IsClientError

func (o *GetV1IncidentsIncidentIDUsersUserIDOK) IsClientError() bool

IsClientError returns true when this get v1 incidents incident Id users user Id o k response has a 4xx status code

func (*GetV1IncidentsIncidentIDUsersUserIDOK) IsCode

IsCode returns true when this get v1 incidents incident Id users user Id o k response a status code equal to that given

func (*GetV1IncidentsIncidentIDUsersUserIDOK) IsRedirect

IsRedirect returns true when this get v1 incidents incident Id users user Id o k response has a 3xx status code

func (*GetV1IncidentsIncidentIDUsersUserIDOK) IsServerError

func (o *GetV1IncidentsIncidentIDUsersUserIDOK) IsServerError() bool

IsServerError returns true when this get v1 incidents incident Id users user Id o k response has a 5xx status code

func (*GetV1IncidentsIncidentIDUsersUserIDOK) IsSuccess

IsSuccess returns true when this get v1 incidents incident Id users user Id o k response has a 2xx status code

func (*GetV1IncidentsIncidentIDUsersUserIDOK) String

type GetV1IncidentsIncidentIDUsersUserIDParams

type GetV1IncidentsIncidentIDUsersUserIDParams struct {

	// IncidentID.
	IncidentID string

	// UserID.
	UserID string

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

GetV1IncidentsIncidentIDUsersUserIDParams contains all the parameters to send to the API endpoint

for the get v1 incidents incident Id users user Id operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsIncidentIDUsersUserIDParams

func NewGetV1IncidentsIncidentIDUsersUserIDParams() *GetV1IncidentsIncidentIDUsersUserIDParams

NewGetV1IncidentsIncidentIDUsersUserIDParams creates a new GetV1IncidentsIncidentIDUsersUserIDParams 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 NewGetV1IncidentsIncidentIDUsersUserIDParamsWithContext

func NewGetV1IncidentsIncidentIDUsersUserIDParamsWithContext(ctx context.Context) *GetV1IncidentsIncidentIDUsersUserIDParams

NewGetV1IncidentsIncidentIDUsersUserIDParamsWithContext creates a new GetV1IncidentsIncidentIDUsersUserIDParams object with the ability to set a context for a request.

func NewGetV1IncidentsIncidentIDUsersUserIDParamsWithHTTPClient

func NewGetV1IncidentsIncidentIDUsersUserIDParamsWithHTTPClient(client *http.Client) *GetV1IncidentsIncidentIDUsersUserIDParams

NewGetV1IncidentsIncidentIDUsersUserIDParamsWithHTTPClient creates a new GetV1IncidentsIncidentIDUsersUserIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsIncidentIDUsersUserIDParamsWithTimeout

func NewGetV1IncidentsIncidentIDUsersUserIDParamsWithTimeout(timeout time.Duration) *GetV1IncidentsIncidentIDUsersUserIDParams

NewGetV1IncidentsIncidentIDUsersUserIDParamsWithTimeout creates a new GetV1IncidentsIncidentIDUsersUserIDParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsIncidentIDUsersUserIDParams) SetContext

SetContext adds the context to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 incidents incident Id users user Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDUsersUserIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) SetIncidentID

func (o *GetV1IncidentsIncidentIDUsersUserIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) SetUserID

SetUserID adds the userId to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) WithContext

WithContext adds the context to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 incidents incident Id users user Id params (not the query body).

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

func (*GetV1IncidentsIncidentIDUsersUserIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) WithUserID

WithUserID adds the userID to the get v1 incidents incident Id users user Id params

func (*GetV1IncidentsIncidentIDUsersUserIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1IncidentsIncidentIDUsersUserIDReader

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

GetV1IncidentsIncidentIDUsersUserIDReader is a Reader for the GetV1IncidentsIncidentIDUsersUserID structure.

func (*GetV1IncidentsIncidentIDUsersUserIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1IncidentsOK

type GetV1IncidentsOK struct {
	Payload *models.IncidentEntityPaginated
}

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

List all of the incidents in the organization

func NewGetV1IncidentsOK

func NewGetV1IncidentsOK() *GetV1IncidentsOK

NewGetV1IncidentsOK creates a GetV1IncidentsOK with default headers values

func (*GetV1IncidentsOK) Error

func (o *GetV1IncidentsOK) Error() string

func (*GetV1IncidentsOK) GetPayload

func (*GetV1IncidentsOK) IsClientError

func (o *GetV1IncidentsOK) IsClientError() bool

IsClientError returns true when this get v1 incidents o k response has a 4xx status code

func (*GetV1IncidentsOK) IsCode

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

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

func (*GetV1IncidentsOK) IsRedirect

func (o *GetV1IncidentsOK) IsRedirect() bool

IsRedirect returns true when this get v1 incidents o k response has a 3xx status code

func (*GetV1IncidentsOK) IsServerError

func (o *GetV1IncidentsOK) IsServerError() bool

IsServerError returns true when this get v1 incidents o k response has a 5xx status code

func (*GetV1IncidentsOK) IsSuccess

func (o *GetV1IncidentsOK) IsSuccess() bool

IsSuccess returns true when this get v1 incidents o k response has a 2xx status code

func (*GetV1IncidentsOK) String

func (o *GetV1IncidentsOK) String() string

type GetV1IncidentsParams

type GetV1IncidentsParams struct {

	/* Archived.

	   Return archived incidents
	*/
	Archived *bool

	/* AssignedTeams.

	   A comma separated list of IDs for assigned teams or 'is_empty' to filter for incidents with no active team assignments
	*/
	AssignedTeams *string

	/* ClosedAtOrAfter.

	   Filters for incidents that were closed at or after this time

	   Format: date-time
	*/
	ClosedAtOrAfter *strfmt.DateTime

	/* ClosedAtOrBefore.

	   Filters for incidents that were closed at or before this time

	   Format: date-time
	*/
	ClosedAtOrBefore *strfmt.DateTime

	/* Conditions.

	   A JSON string that defines 'logic' and 'user_data'
	*/
	Conditions *string

	/* CreatedAtOrAfter.

	   Filters for incidents that were created at or after this time

	   Format: date-time
	*/
	CreatedAtOrAfter *strfmt.DateTime

	/* CreatedAtOrBefore.

	   Filters for incidents that were created at or before this time

	   Format: date-time
	*/
	CreatedAtOrBefore *strfmt.DateTime

	/* CurrentMilestones.

	   A comma separated list of current milestones
	*/
	CurrentMilestones *string

	/* EndDate.

	   Filters for incidents that started on or before this date

	   Format: date
	*/
	EndDate *strfmt.Date

	/* Environments.

	   A comma separated list of environment IDs or 'is_empty' to filter for incidents with no impacted environments
	*/
	Environments *string

	/* ExcludedInfrastructureIds.

	   A comma separated list of infrastructure IDs. Returns incidents that do not have the following infrastructure ids associated with them.
	*/
	ExcludedInfrastructureIds *string

	/* Functionalities.

	   A comma separated list of functionality IDs or 'is_empty' to filter for incidents with no impacted functionalities
	*/
	Functionalities *string

	/* IncidentTypeID.

	   A comma separated list of incident type IDs
	*/
	IncidentTypeID *string

	/* Name.

	   A query to search incidents by their name
	*/
	Name *string

	// Page.
	//
	// Format: int32
	Page *int32

	// PerPage.
	//
	// Format: int32
	PerPage *int32

	/* Priorities.

	   A text value of priority
	*/
	Priorities *string

	/* PriorityNotSet.

	   Flag for including incidents where priority has not been set
	*/
	PriorityNotSet *bool

	/* Query.

	   A text query for an incident that searches on name, summary, and desciption
	*/
	Query *string

	/* ResolvedAtOrAfter.

	   Filters for incidents that were resolved at or after this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.

	   Format: date-time
	*/
	ResolvedAtOrAfter *strfmt.DateTime

	/* ResolvedAtOrBefore.

	   Filters for incidents that were resolved at or before this time. Combine this with the `current_milestones` parameter if you wish to omit incidents that were re-opened and are still active.

	   Format: date-time
	*/
	ResolvedAtOrBefore *strfmt.DateTime

	/* SavedSearchID.

	   The id of a previously saved search.
	*/
	SavedSearchID *string

	/* Services.

	   A comma separated list of service IDs or 'is_empty' to filter for incidents with no impacted services
	*/
	Services *string

	/* Severities.

	   A text value of severity
	*/
	Severities *string

	/* SeverityNotSet.

	   Flag for including incidents where severity has not been set
	*/
	SeverityNotSet *bool

	/* StartDate.

	   Filters for incidents that started on or after this date

	   Format: date
	*/
	StartDate *strfmt.Date

	/* Status.

	   Incident status
	*/
	Status *string

	/* TagMatchStrategy.

	   A matching strategy for the tags provided
	*/
	TagMatchStrategy *string

	/* Tags.

	   A comma separated list of tags
	*/
	Tags *string

	/* Teams.

	   A comma separated list of team IDs
	*/
	Teams *string

	/* UpdatedAfter.

	   Filters for incidents that were updated after this date

	   Format: date-time
	*/
	UpdatedAfter *strfmt.DateTime

	/* UpdatedBefore.

	   Filters for incidents that were updated before this date

	   Format: date-time
	*/
	UpdatedBefore *strfmt.DateTime

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

GetV1IncidentsParams contains all the parameters to send to the API endpoint

for the get v1 incidents operation.

Typically these are written to a http.Request.

func NewGetV1IncidentsParams

func NewGetV1IncidentsParams() *GetV1IncidentsParams

NewGetV1IncidentsParams creates a new GetV1IncidentsParams 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 NewGetV1IncidentsParamsWithContext

func NewGetV1IncidentsParamsWithContext(ctx context.Context) *GetV1IncidentsParams

NewGetV1IncidentsParamsWithContext creates a new GetV1IncidentsParams object with the ability to set a context for a request.

func NewGetV1IncidentsParamsWithHTTPClient

func NewGetV1IncidentsParamsWithHTTPClient(client *http.Client) *GetV1IncidentsParams

NewGetV1IncidentsParamsWithHTTPClient creates a new GetV1IncidentsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1IncidentsParamsWithTimeout

func NewGetV1IncidentsParamsWithTimeout(timeout time.Duration) *GetV1IncidentsParams

NewGetV1IncidentsParamsWithTimeout creates a new GetV1IncidentsParams object with the ability to set a timeout on a request.

func (*GetV1IncidentsParams) SetArchived

func (o *GetV1IncidentsParams) SetArchived(archived *bool)

SetArchived adds the archived to the get v1 incidents params

func (*GetV1IncidentsParams) SetAssignedTeams

func (o *GetV1IncidentsParams) SetAssignedTeams(assignedTeams *string)

SetAssignedTeams adds the assignedTeams to the get v1 incidents params

func (*GetV1IncidentsParams) SetClosedAtOrAfter

func (o *GetV1IncidentsParams) SetClosedAtOrAfter(closedAtOrAfter *strfmt.DateTime)

SetClosedAtOrAfter adds the closedAtOrAfter to the get v1 incidents params

func (*GetV1IncidentsParams) SetClosedAtOrBefore

func (o *GetV1IncidentsParams) SetClosedAtOrBefore(closedAtOrBefore *strfmt.DateTime)

SetClosedAtOrBefore adds the closedAtOrBefore to the get v1 incidents params

func (*GetV1IncidentsParams) SetConditions

func (o *GetV1IncidentsParams) SetConditions(conditions *string)

SetConditions adds the conditions to the get v1 incidents params

func (*GetV1IncidentsParams) SetContext

func (o *GetV1IncidentsParams) SetContext(ctx context.Context)

SetContext adds the context to the get v1 incidents params

func (*GetV1IncidentsParams) SetCreatedAtOrAfter

func (o *GetV1IncidentsParams) SetCreatedAtOrAfter(createdAtOrAfter *strfmt.DateTime)

SetCreatedAtOrAfter adds the createdAtOrAfter to the get v1 incidents params

func (*GetV1IncidentsParams) SetCreatedAtOrBefore

func (o *GetV1IncidentsParams) SetCreatedAtOrBefore(createdAtOrBefore *strfmt.DateTime)

SetCreatedAtOrBefore adds the createdAtOrBefore to the get v1 incidents params

func (*GetV1IncidentsParams) SetCurrentMilestones

func (o *GetV1IncidentsParams) SetCurrentMilestones(currentMilestones *string)

SetCurrentMilestones adds the currentMilestones to the get v1 incidents params

func (*GetV1IncidentsParams) SetDefaults

func (o *GetV1IncidentsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 incidents params (not the query body).

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

func (*GetV1IncidentsParams) SetEndDate

func (o *GetV1IncidentsParams) SetEndDate(endDate *strfmt.Date)

SetEndDate adds the endDate to the get v1 incidents params

func (*GetV1IncidentsParams) SetEnvironments

func (o *GetV1IncidentsParams) SetEnvironments(environments *string)

SetEnvironments adds the environments to the get v1 incidents params

func (*GetV1IncidentsParams) SetExcludedInfrastructureIds

func (o *GetV1IncidentsParams) SetExcludedInfrastructureIds(excludedInfrastructureIds *string)

SetExcludedInfrastructureIds adds the excludedInfrastructureIds to the get v1 incidents params

func (*GetV1IncidentsParams) SetFunctionalities

func (o *GetV1IncidentsParams) SetFunctionalities(functionalities *string)

SetFunctionalities adds the functionalities to the get v1 incidents params

func (*GetV1IncidentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 incidents params

func (*GetV1IncidentsParams) SetIncidentTypeID

func (o *GetV1IncidentsParams) SetIncidentTypeID(incidentTypeID *string)

SetIncidentTypeID adds the incidentTypeId to the get v1 incidents params

func (*GetV1IncidentsParams) SetName

func (o *GetV1IncidentsParams) SetName(name *string)

SetName adds the name to the get v1 incidents params

func (*GetV1IncidentsParams) SetPage

func (o *GetV1IncidentsParams) SetPage(page *int32)

SetPage adds the page to the get v1 incidents params

func (*GetV1IncidentsParams) SetPerPage

func (o *GetV1IncidentsParams) SetPerPage(perPage *int32)

SetPerPage adds the perPage to the get v1 incidents params

func (*GetV1IncidentsParams) SetPriorities

func (o *GetV1IncidentsParams) SetPriorities(priorities *string)

SetPriorities adds the priorities to the get v1 incidents params

func (*GetV1IncidentsParams) SetPriorityNotSet

func (o *GetV1IncidentsParams) SetPriorityNotSet(priorityNotSet *bool)

SetPriorityNotSet adds the priorityNotSet to the get v1 incidents params

func (*GetV1IncidentsParams) SetQuery

func (o *GetV1IncidentsParams) SetQuery(query *string)

SetQuery adds the query to the get v1 incidents params

func (*GetV1IncidentsParams) SetResolvedAtOrAfter

func (o *GetV1IncidentsParams) SetResolvedAtOrAfter(resolvedAtOrAfter *strfmt.DateTime)

SetResolvedAtOrAfter adds the resolvedAtOrAfter to the get v1 incidents params

func (*GetV1IncidentsParams) SetResolvedAtOrBefore

func (o *GetV1IncidentsParams) SetResolvedAtOrBefore(resolvedAtOrBefore *strfmt.DateTime)

SetResolvedAtOrBefore adds the resolvedAtOrBefore to the get v1 incidents params

func (*GetV1IncidentsParams) SetSavedSearchID

func (o *GetV1IncidentsParams) SetSavedSearchID(savedSearchID *string)

SetSavedSearchID adds the savedSearchId to the get v1 incidents params

func (*GetV1IncidentsParams) SetServices

func (o *GetV1IncidentsParams) SetServices(services *string)

SetServices adds the services to the get v1 incidents params

func (*GetV1IncidentsParams) SetSeverities

func (o *GetV1IncidentsParams) SetSeverities(severities *string)

SetSeverities adds the severities to the get v1 incidents params

func (*GetV1IncidentsParams) SetSeverityNotSet

func (o *GetV1IncidentsParams) SetSeverityNotSet(severityNotSet *bool)

SetSeverityNotSet adds the severityNotSet to the get v1 incidents params

func (*GetV1IncidentsParams) SetStartDate

func (o *GetV1IncidentsParams) SetStartDate(startDate *strfmt.Date)

SetStartDate adds the startDate to the get v1 incidents params

func (*GetV1IncidentsParams) SetStatus

func (o *GetV1IncidentsParams) SetStatus(status *string)

SetStatus adds the status to the get v1 incidents params

func (*GetV1IncidentsParams) SetTagMatchStrategy

func (o *GetV1IncidentsParams) SetTagMatchStrategy(tagMatchStrategy *string)

SetTagMatchStrategy adds the tagMatchStrategy to the get v1 incidents params

func (*GetV1IncidentsParams) SetTags

func (o *GetV1IncidentsParams) SetTags(tags *string)

SetTags adds the tags to the get v1 incidents params

func (*GetV1IncidentsParams) SetTeams

func (o *GetV1IncidentsParams) SetTeams(teams *string)

SetTeams adds the teams to the get v1 incidents params

func (*GetV1IncidentsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 incidents params

func (*GetV1IncidentsParams) SetUpdatedAfter

func (o *GetV1IncidentsParams) SetUpdatedAfter(updatedAfter *strfmt.DateTime)

SetUpdatedAfter adds the updatedAfter to the get v1 incidents params

func (*GetV1IncidentsParams) SetUpdatedBefore

func (o *GetV1IncidentsParams) SetUpdatedBefore(updatedBefore *strfmt.DateTime)

SetUpdatedBefore adds the updatedBefore to the get v1 incidents params

func (*GetV1IncidentsParams) WithArchived

func (o *GetV1IncidentsParams) WithArchived(archived *bool) *GetV1IncidentsParams

WithArchived adds the archived to the get v1 incidents params

func (*GetV1IncidentsParams) WithAssignedTeams

func (o *GetV1IncidentsParams) WithAssignedTeams(assignedTeams *string) *GetV1IncidentsParams

WithAssignedTeams adds the assignedTeams to the get v1 incidents params

func (*GetV1IncidentsParams) WithClosedAtOrAfter

func (o *GetV1IncidentsParams) WithClosedAtOrAfter(closedAtOrAfter *strfmt.DateTime) *GetV1IncidentsParams

WithClosedAtOrAfter adds the closedAtOrAfter to the get v1 incidents params

func (*GetV1IncidentsParams) WithClosedAtOrBefore

func (o *GetV1IncidentsParams) WithClosedAtOrBefore(closedAtOrBefore *strfmt.DateTime) *GetV1IncidentsParams

WithClosedAtOrBefore adds the closedAtOrBefore to the get v1 incidents params

func (*GetV1IncidentsParams) WithConditions

func (o *GetV1IncidentsParams) WithConditions(conditions *string) *GetV1IncidentsParams

WithConditions adds the conditions to the get v1 incidents params

func (*GetV1IncidentsParams) WithContext

WithContext adds the context to the get v1 incidents params

func (*GetV1IncidentsParams) WithCreatedAtOrAfter

func (o *GetV1IncidentsParams) WithCreatedAtOrAfter(createdAtOrAfter *strfmt.DateTime) *GetV1IncidentsParams

WithCreatedAtOrAfter adds the createdAtOrAfter to the get v1 incidents params

func (*GetV1IncidentsParams) WithCreatedAtOrBefore

func (o *GetV1IncidentsParams) WithCreatedAtOrBefore(createdAtOrBefore *strfmt.DateTime) *GetV1IncidentsParams

WithCreatedAtOrBefore adds the createdAtOrBefore to the get v1 incidents params

func (*GetV1IncidentsParams) WithCurrentMilestones

func (o *GetV1IncidentsParams) WithCurrentMilestones(currentMilestones *string) *GetV1IncidentsParams

WithCurrentMilestones adds the currentMilestones to the get v1 incidents params

func (*GetV1IncidentsParams) WithDefaults

func (o *GetV1IncidentsParams) WithDefaults() *GetV1IncidentsParams

WithDefaults hydrates default values in the get v1 incidents params (not the query body).

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

func (*GetV1IncidentsParams) WithEndDate

func (o *GetV1IncidentsParams) WithEndDate(endDate *strfmt.Date) *GetV1IncidentsParams

WithEndDate adds the endDate to the get v1 incidents params

func (*GetV1IncidentsParams) WithEnvironments

func (o *GetV1IncidentsParams) WithEnvironments(environments *string) *GetV1IncidentsParams

WithEnvironments adds the environments to the get v1 incidents params

func (*GetV1IncidentsParams) WithExcludedInfrastructureIds

func (o *GetV1IncidentsParams) WithExcludedInfrastructureIds(excludedInfrastructureIds *string) *GetV1IncidentsParams

WithExcludedInfrastructureIds adds the excludedInfrastructureIds to the get v1 incidents params

func (*GetV1IncidentsParams) WithFunctionalities

func (o *GetV1IncidentsParams) WithFunctionalities(functionalities *string) *GetV1IncidentsParams

WithFunctionalities adds the functionalities to the get v1 incidents params

func (*GetV1IncidentsParams) WithHTTPClient

func (o *GetV1IncidentsParams) WithHTTPClient(client *http.Client) *GetV1IncidentsParams

WithHTTPClient adds the HTTPClient to the get v1 incidents params

func (*GetV1IncidentsParams) WithIncidentTypeID

func (o *GetV1IncidentsParams) WithIncidentTypeID(incidentTypeID *string) *GetV1IncidentsParams

WithIncidentTypeID adds the incidentTypeID to the get v1 incidents params

func (*GetV1IncidentsParams) WithName

func (o *GetV1IncidentsParams) WithName(name *string) *GetV1IncidentsParams

WithName adds the name to the get v1 incidents params

func (*GetV1IncidentsParams) WithPage

func (o *GetV1IncidentsParams) WithPage(page *int32) *GetV1IncidentsParams

WithPage adds the page to the get v1 incidents params

func (*GetV1IncidentsParams) WithPerPage

func (o *GetV1IncidentsParams) WithPerPage(perPage *int32) *GetV1IncidentsParams

WithPerPage adds the perPage to the get v1 incidents params

func (*GetV1IncidentsParams) WithPriorities

func (o *GetV1IncidentsParams) WithPriorities(priorities *string) *GetV1IncidentsParams

WithPriorities adds the priorities to the get v1 incidents params

func (*GetV1IncidentsParams) WithPriorityNotSet

func (o *GetV1IncidentsParams) WithPriorityNotSet(priorityNotSet *bool) *GetV1IncidentsParams

WithPriorityNotSet adds the priorityNotSet to the get v1 incidents params

func (*GetV1IncidentsParams) WithQuery

func (o *GetV1IncidentsParams) WithQuery(query *string) *GetV1IncidentsParams

WithQuery adds the query to the get v1 incidents params

func (*GetV1IncidentsParams) WithResolvedAtOrAfter

func (o *GetV1IncidentsParams) WithResolvedAtOrAfter(resolvedAtOrAfter *strfmt.DateTime) *GetV1IncidentsParams

WithResolvedAtOrAfter adds the resolvedAtOrAfter to the get v1 incidents params

func (*GetV1IncidentsParams) WithResolvedAtOrBefore

func (o *GetV1IncidentsParams) WithResolvedAtOrBefore(resolvedAtOrBefore *strfmt.DateTime) *GetV1IncidentsParams

WithResolvedAtOrBefore adds the resolvedAtOrBefore to the get v1 incidents params

func (*GetV1IncidentsParams) WithSavedSearchID

func (o *GetV1IncidentsParams) WithSavedSearchID(savedSearchID *string) *GetV1IncidentsParams

WithSavedSearchID adds the savedSearchID to the get v1 incidents params

func (*GetV1IncidentsParams) WithServices

func (o *GetV1IncidentsParams) WithServices(services *string) *GetV1IncidentsParams

WithServices adds the services to the get v1 incidents params

func (*GetV1IncidentsParams) WithSeverities

func (o *GetV1IncidentsParams) WithSeverities(severities *string) *GetV1IncidentsParams

WithSeverities adds the severities to the get v1 incidents params

func (*GetV1IncidentsParams) WithSeverityNotSet

func (o *GetV1IncidentsParams) WithSeverityNotSet(severityNotSet *bool) *GetV1IncidentsParams

WithSeverityNotSet adds the severityNotSet to the get v1 incidents params

func (*GetV1IncidentsParams) WithStartDate

func (o *GetV1IncidentsParams) WithStartDate(startDate *strfmt.Date) *GetV1IncidentsParams

WithStartDate adds the startDate to the get v1 incidents params

func (*GetV1IncidentsParams) WithStatus

func (o *GetV1IncidentsParams) WithStatus(status *string) *GetV1IncidentsParams

WithStatus adds the status to the get v1 incidents params

func (*GetV1IncidentsParams) WithTagMatchStrategy

func (o *GetV1IncidentsParams) WithTagMatchStrategy(tagMatchStrategy *string) *GetV1IncidentsParams

WithTagMatchStrategy adds the tagMatchStrategy to the get v1 incidents params

func (*GetV1IncidentsParams) WithTags

func (o *GetV1IncidentsParams) WithTags(tags *string) *GetV1IncidentsParams

WithTags adds the tags to the get v1 incidents params

func (*GetV1IncidentsParams) WithTeams

func (o *GetV1IncidentsParams) WithTeams(teams *string) *GetV1IncidentsParams

WithTeams adds the teams to the get v1 incidents params

func (*GetV1IncidentsParams) WithTimeout

func (o *GetV1IncidentsParams) WithTimeout(timeout time.Duration) *GetV1IncidentsParams

WithTimeout adds the timeout to the get v1 incidents params

func (*GetV1IncidentsParams) WithUpdatedAfter

func (o *GetV1IncidentsParams) WithUpdatedAfter(updatedAfter *strfmt.DateTime) *GetV1IncidentsParams

WithUpdatedAfter adds the updatedAfter to the get v1 incidents params

func (*GetV1IncidentsParams) WithUpdatedBefore

func (o *GetV1IncidentsParams) WithUpdatedBefore(updatedBefore *strfmt.DateTime) *GetV1IncidentsParams

WithUpdatedBefore adds the updatedBefore to the get v1 incidents params

func (*GetV1IncidentsParams) WriteToRequest

func (o *GetV1IncidentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetV1IncidentsReader

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

GetV1IncidentsReader is a Reader for the GetV1Incidents structure.

func (*GetV1IncidentsReader) ReadResponse

func (o *GetV1IncidentsReader) 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 (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) GetPayload

func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryOK) IsClientError

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

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

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

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

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

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

SetContext adds the context to the patch v1 incidents incident Id alerts incident alert Id primary params

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

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

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

SetTimeout adds the timeout to the patch v1 incidents incident Id alerts incident alert Id primary params

func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id alerts incident alert Id primary params

func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id alerts incident alert Id primary params

func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentAlertID

WithIncidentAlertID adds the incidentAlertID to the patch v1 incidents incident Id alerts incident alert Id primary params

func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WithIncidentID

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

WithTimeout adds the timeout to the patch v1 incidents incident Id alerts incident alert Id primary params

func (*PatchV1IncidentsIncidentIDAlertsIncidentAlertIDPrimaryParams) WriteToRequest

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

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDEventsEventIDOK

type PatchV1IncidentsIncidentIDEventsEventIDOK struct {
	Payload *models.IncidentEventEntity
}

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

Update a single event for an incident

func NewPatchV1IncidentsIncidentIDEventsEventIDOK

func NewPatchV1IncidentsIncidentIDEventsEventIDOK() *PatchV1IncidentsIncidentIDEventsEventIDOK

NewPatchV1IncidentsIncidentIDEventsEventIDOK creates a PatchV1IncidentsIncidentIDEventsEventIDOK with default headers values

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) Error

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) GetPayload

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) IsClientError

IsClientError returns true when this patch v1 incidents incident Id events event Id o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) IsCode

IsCode returns true when this patch v1 incidents incident Id events event Id o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id events event Id o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) IsServerError

IsServerError returns true when this patch v1 incidents incident Id events event Id o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id events event Id o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDOK) String

type PatchV1IncidentsIncidentIDEventsEventIDParams

type PatchV1IncidentsIncidentIDEventsEventIDParams struct {

	// EventID.
	EventID string

	// IncidentID.
	IncidentID string

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

PatchV1IncidentsIncidentIDEventsEventIDParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id events event Id operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDEventsEventIDParams

func NewPatchV1IncidentsIncidentIDEventsEventIDParams() *PatchV1IncidentsIncidentIDEventsEventIDParams

NewPatchV1IncidentsIncidentIDEventsEventIDParams creates a new PatchV1IncidentsIncidentIDEventsEventIDParams 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 NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithContext

func NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDEventsEventIDParams

NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithContext creates a new PatchV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDEventsEventIDParams

NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithTimeout

func NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDEventsEventIDParams

NewPatchV1IncidentsIncidentIDEventsEventIDParamsWithTimeout creates a new PatchV1IncidentsIncidentIDEventsEventIDParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 incidents incident Id events event Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) SetEventID

SetEventID adds the eventId to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) SetIncidentID

func (o *PatchV1IncidentsIncidentIDEventsEventIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id events event Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) WithEventID

WithEventID adds the eventID to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id events event Id params

func (*PatchV1IncidentsIncidentIDEventsEventIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDEventsEventIDReader

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

PatchV1IncidentsIncidentIDEventsEventIDReader is a Reader for the PatchV1IncidentsIncidentIDEventsEventID structure.

func (*PatchV1IncidentsIncidentIDEventsEventIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDEventsEventIDVotesOK

type PatchV1IncidentsIncidentIDEventsEventIDVotesOK struct {
	Payload *models.VotesEntity
}

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

Allows for upvoting or downvoting an event

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesOK

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesOK() *PatchV1IncidentsIncidentIDEventsEventIDVotesOK

NewPatchV1IncidentsIncidentIDEventsEventIDVotesOK creates a PatchV1IncidentsIncidentIDEventsEventIDVotesOK with default headers values

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) Error

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) GetPayload

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) IsClientError

IsClientError returns true when this patch v1 incidents incident Id events event Id votes o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) IsCode

IsCode returns true when this patch v1 incidents incident Id events event Id votes o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id events event Id votes o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) IsServerError

IsServerError returns true when this patch v1 incidents incident Id events event Id votes o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id events event Id votes o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesOK) String

type PatchV1IncidentsIncidentIDEventsEventIDVotesParams

type PatchV1IncidentsIncidentIDEventsEventIDVotesParams struct {

	// EventID.
	EventID string

	// IncidentID.
	IncidentID string

	// PatchV1IncidentsIncidentIDEventsEventIDVotes.
	PatchV1IncidentsIncidentIDEventsEventIDVotes *models.PatchV1IncidentsIncidentIDEventsEventIDVotes

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

PatchV1IncidentsIncidentIDEventsEventIDVotesParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id events event Id votes operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesParams

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesParams() *PatchV1IncidentsIncidentIDEventsEventIDVotesParams

NewPatchV1IncidentsIncidentIDEventsEventIDVotesParams creates a new PatchV1IncidentsIncidentIDEventsEventIDVotesParams 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 NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithContext

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDEventsEventIDVotesParams

NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithContext creates a new PatchV1IncidentsIncidentIDEventsEventIDVotesParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDEventsEventIDVotesParams

NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDEventsEventIDVotesParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithTimeout

func NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDEventsEventIDVotesParams

NewPatchV1IncidentsIncidentIDEventsEventIDVotesParamsWithTimeout creates a new PatchV1IncidentsIncidentIDEventsEventIDVotesParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetDefaults

SetDefaults hydrates default values in the patch v1 incidents incident Id events event Id votes params (not the query body).

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

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetEventID

SetEventID adds the eventId to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetIncidentID

func (o *PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetPatchV1IncidentsIncidentIDEventsEventIDVotes

func (o *PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetPatchV1IncidentsIncidentIDEventsEventIDVotes(patchV1IncidentsIncidentIDEventsEventIDVotes *models.PatchV1IncidentsIncidentIDEventsEventIDVotes)

SetPatchV1IncidentsIncidentIDEventsEventIDVotes adds the patchV1IncidentsIncidentIdEventsEventIdVotes to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) SetTimeout

SetTimeout adds the timeout to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id events event Id votes params (not the query body).

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

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithEventID

WithEventID adds the eventID to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithPatchV1IncidentsIncidentIDEventsEventIDVotes

func (o *PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithPatchV1IncidentsIncidentIDEventsEventIDVotes(patchV1IncidentsIncidentIDEventsEventIDVotes *models.PatchV1IncidentsIncidentIDEventsEventIDVotes) *PatchV1IncidentsIncidentIDEventsEventIDVotesParams

WithPatchV1IncidentsIncidentIDEventsEventIDVotes adds the patchV1IncidentsIncidentIDEventsEventIDVotes to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id events event Id votes params

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDEventsEventIDVotesReader

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

PatchV1IncidentsIncidentIDEventsEventIDVotesReader is a Reader for the PatchV1IncidentsIncidentIDEventsEventIDVotes structure.

func (*PatchV1IncidentsIncidentIDEventsEventIDVotesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK

type PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK struct {
	Payload *models.EventGenericChatMessageEntity
}

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

Update an existing generic chat message on an incident.

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK() *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK

NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK creates a PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK with default headers values

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) Error

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) GetPayload

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsClientError

IsClientError returns true when this patch v1 incidents incident Id generic chat messages message Id o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsCode

IsCode returns true when this patch v1 incidents incident Id generic chat messages message Id o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id generic chat messages message Id o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsServerError

IsServerError returns true when this patch v1 incidents incident Id generic chat messages message Id o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id generic chat messages message Id o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDOK) String

type PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

type PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams struct {

	// IncidentID.
	IncidentID string

	// MessageID.
	MessageID string

	// PatchV1IncidentsIncidentIDGenericChatMessagesMessageID.
	PatchV1IncidentsIncidentIDGenericChatMessagesMessageID *models.PatchV1IncidentsIncidentIDGenericChatMessagesMessageID

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

PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id generic chat messages message Id operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams() *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams creates a new PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams 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 NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithContext

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithContext creates a new PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithTimeout

func NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

NewPatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParamsWithTimeout creates a new PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 incidents incident Id generic chat messages message Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetIncidentID

SetIncidentID adds the incidentId to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetMessageID

SetMessageID adds the messageId to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetPatchV1IncidentsIncidentIDGenericChatMessagesMessageID

func (o *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetPatchV1IncidentsIncidentIDGenericChatMessagesMessageID(patchV1IncidentsIncidentIDGenericChatMessagesMessageID *models.PatchV1IncidentsIncidentIDGenericChatMessagesMessageID)

SetPatchV1IncidentsIncidentIDGenericChatMessagesMessageID adds the patchV1IncidentsIncidentIdGenericChatMessagesMessageId to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id generic chat messages message Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithMessageID

WithMessageID adds the messageID to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithPatchV1IncidentsIncidentIDGenericChatMessagesMessageID

func (o *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithPatchV1IncidentsIncidentIDGenericChatMessagesMessageID(patchV1IncidentsIncidentIDGenericChatMessagesMessageID *models.PatchV1IncidentsIncidentIDGenericChatMessagesMessageID) *PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams

WithPatchV1IncidentsIncidentIDGenericChatMessagesMessageID adds the patchV1IncidentsIncidentIDGenericChatMessagesMessageID to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id generic chat messages message Id params

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDReader

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

PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDReader is a Reader for the PatchV1IncidentsIncidentIDGenericChatMessagesMessageID structure.

func (*PatchV1IncidentsIncidentIDGenericChatMessagesMessageIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDImpactOK

type PatchV1IncidentsIncidentIDImpactOK struct {
	Payload *models.IncidentEntity
}
PatchV1IncidentsIncidentIDImpactOK describes a response with status code 200, with default header values.

Allows updating an incident's impacted infrastructure, with the option to

move the incident into a different milestone and provide a note to update the incident timeline and any attached status pages. If this method is requested with the PUT verb, impacts will be completely replaced with the information in the request body, even if not provided (effectively clearing all impacts). If this method is requested with the PATCH verb, the provided impacts will be added or updated, but no impacts will be removed.

func NewPatchV1IncidentsIncidentIDImpactOK

func NewPatchV1IncidentsIncidentIDImpactOK() *PatchV1IncidentsIncidentIDImpactOK

NewPatchV1IncidentsIncidentIDImpactOK creates a PatchV1IncidentsIncidentIDImpactOK with default headers values

func (*PatchV1IncidentsIncidentIDImpactOK) Error

func (*PatchV1IncidentsIncidentIDImpactOK) GetPayload

func (*PatchV1IncidentsIncidentIDImpactOK) IsClientError

func (o *PatchV1IncidentsIncidentIDImpactOK) IsClientError() bool

IsClientError returns true when this patch v1 incidents incident Id impact o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDImpactOK) IsCode

IsCode returns true when this patch v1 incidents incident Id impact o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDImpactOK) IsRedirect

func (o *PatchV1IncidentsIncidentIDImpactOK) IsRedirect() bool

IsRedirect returns true when this patch v1 incidents incident Id impact o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDImpactOK) IsServerError

func (o *PatchV1IncidentsIncidentIDImpactOK) IsServerError() bool

IsServerError returns true when this patch v1 incidents incident Id impact o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDImpactOK) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id impact o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDImpactOK) String

type PatchV1IncidentsIncidentIDImpactParams

type PatchV1IncidentsIncidentIDImpactParams struct {

	// IncidentID.
	IncidentID string

	// PatchV1IncidentsIncidentIDImpact.
	PatchV1IncidentsIncidentIDImpact *models.PatchV1IncidentsIncidentIDImpact

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

PatchV1IncidentsIncidentIDImpactParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id impact operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDImpactParams

func NewPatchV1IncidentsIncidentIDImpactParams() *PatchV1IncidentsIncidentIDImpactParams

NewPatchV1IncidentsIncidentIDImpactParams creates a new PatchV1IncidentsIncidentIDImpactParams 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 NewPatchV1IncidentsIncidentIDImpactParamsWithContext

func NewPatchV1IncidentsIncidentIDImpactParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDImpactParams

NewPatchV1IncidentsIncidentIDImpactParamsWithContext creates a new PatchV1IncidentsIncidentIDImpactParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDImpactParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDImpactParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDImpactParams

NewPatchV1IncidentsIncidentIDImpactParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDImpactParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDImpactParamsWithTimeout

func NewPatchV1IncidentsIncidentIDImpactParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDImpactParams

NewPatchV1IncidentsIncidentIDImpactParamsWithTimeout creates a new PatchV1IncidentsIncidentIDImpactParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDImpactParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) SetDefaults

func (o *PatchV1IncidentsIncidentIDImpactParams) SetDefaults()

SetDefaults hydrates default values in the patch v1 incidents incident Id impact params (not the query body).

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

func (*PatchV1IncidentsIncidentIDImpactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) SetIncidentID

func (o *PatchV1IncidentsIncidentIDImpactParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) SetPatchV1IncidentsIncidentIDImpact

func (o *PatchV1IncidentsIncidentIDImpactParams) SetPatchV1IncidentsIncidentIDImpact(patchV1IncidentsIncidentIDImpact *models.PatchV1IncidentsIncidentIDImpact)

SetPatchV1IncidentsIncidentIDImpact adds the patchV1IncidentsIncidentIdImpact to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) SetTimeout

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

SetTimeout adds the timeout to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id impact params (not the query body).

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

func (*PatchV1IncidentsIncidentIDImpactParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) WithPatchV1IncidentsIncidentIDImpact

func (o *PatchV1IncidentsIncidentIDImpactParams) WithPatchV1IncidentsIncidentIDImpact(patchV1IncidentsIncidentIDImpact *models.PatchV1IncidentsIncidentIDImpact) *PatchV1IncidentsIncidentIDImpactParams

WithPatchV1IncidentsIncidentIDImpact adds the patchV1IncidentsIncidentIDImpact to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id impact params

func (*PatchV1IncidentsIncidentIDImpactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDImpactReader

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

PatchV1IncidentsIncidentIDImpactReader is a Reader for the PatchV1IncidentsIncidentIDImpact structure.

func (*PatchV1IncidentsIncidentIDImpactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDNotesNoteIDOK

type PatchV1IncidentsIncidentIDNotesNoteIDOK struct {
	Payload *models.EventNoteEntity
}

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

Updates the body of a note

func NewPatchV1IncidentsIncidentIDNotesNoteIDOK

func NewPatchV1IncidentsIncidentIDNotesNoteIDOK() *PatchV1IncidentsIncidentIDNotesNoteIDOK

NewPatchV1IncidentsIncidentIDNotesNoteIDOK creates a PatchV1IncidentsIncidentIDNotesNoteIDOK with default headers values

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) Error

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) GetPayload

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) IsClientError

func (o *PatchV1IncidentsIncidentIDNotesNoteIDOK) IsClientError() bool

IsClientError returns true when this patch v1 incidents incident Id notes note Id o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) IsCode

IsCode returns true when this patch v1 incidents incident Id notes note Id o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id notes note Id o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) IsServerError

func (o *PatchV1IncidentsIncidentIDNotesNoteIDOK) IsServerError() bool

IsServerError returns true when this patch v1 incidents incident Id notes note Id o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id notes note Id o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDNotesNoteIDOK) String

type PatchV1IncidentsIncidentIDNotesNoteIDParams

type PatchV1IncidentsIncidentIDNotesNoteIDParams struct {

	// IncidentID.
	IncidentID string

	// NoteID.
	NoteID string

	// PatchV1IncidentsIncidentIDNotesNoteID.
	PatchV1IncidentsIncidentIDNotesNoteID *models.PatchV1IncidentsIncidentIDNotesNoteID

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

PatchV1IncidentsIncidentIDNotesNoteIDParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id notes note Id operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDNotesNoteIDParams

func NewPatchV1IncidentsIncidentIDNotesNoteIDParams() *PatchV1IncidentsIncidentIDNotesNoteIDParams

NewPatchV1IncidentsIncidentIDNotesNoteIDParams creates a new PatchV1IncidentsIncidentIDNotesNoteIDParams 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 NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithContext

func NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDNotesNoteIDParams

NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithContext creates a new PatchV1IncidentsIncidentIDNotesNoteIDParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDNotesNoteIDParams

NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDNotesNoteIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithTimeout

func NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDNotesNoteIDParams

NewPatchV1IncidentsIncidentIDNotesNoteIDParamsWithTimeout creates a new PatchV1IncidentsIncidentIDNotesNoteIDParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 incidents incident Id notes note Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) SetIncidentID

func (o *PatchV1IncidentsIncidentIDNotesNoteIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) SetNoteID

SetNoteID adds the noteId to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) SetPatchV1IncidentsIncidentIDNotesNoteID

func (o *PatchV1IncidentsIncidentIDNotesNoteIDParams) SetPatchV1IncidentsIncidentIDNotesNoteID(patchV1IncidentsIncidentIDNotesNoteID *models.PatchV1IncidentsIncidentIDNotesNoteID)

SetPatchV1IncidentsIncidentIDNotesNoteID adds the patchV1IncidentsIncidentIdNotesNoteId to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id notes note Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WithNoteID

WithNoteID adds the noteID to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WithPatchV1IncidentsIncidentIDNotesNoteID

func (o *PatchV1IncidentsIncidentIDNotesNoteIDParams) WithPatchV1IncidentsIncidentIDNotesNoteID(patchV1IncidentsIncidentIDNotesNoteID *models.PatchV1IncidentsIncidentIDNotesNoteID) *PatchV1IncidentsIncidentIDNotesNoteIDParams

WithPatchV1IncidentsIncidentIDNotesNoteID adds the patchV1IncidentsIncidentIDNotesNoteID to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id notes note Id params

func (*PatchV1IncidentsIncidentIDNotesNoteIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDNotesNoteIDReader

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

PatchV1IncidentsIncidentIDNotesNoteIDReader is a Reader for the PatchV1IncidentsIncidentIDNotesNoteID structure.

func (*PatchV1IncidentsIncidentIDNotesNoteIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDOK

type PatchV1IncidentsIncidentIDOK struct {
	Payload *models.IncidentEntity
}

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

Updates an incident with provided parameters

func NewPatchV1IncidentsIncidentIDOK

func NewPatchV1IncidentsIncidentIDOK() *PatchV1IncidentsIncidentIDOK

NewPatchV1IncidentsIncidentIDOK creates a PatchV1IncidentsIncidentIDOK with default headers values

func (*PatchV1IncidentsIncidentIDOK) Error

func (*PatchV1IncidentsIncidentIDOK) GetPayload

func (*PatchV1IncidentsIncidentIDOK) IsClientError

func (o *PatchV1IncidentsIncidentIDOK) IsClientError() bool

IsClientError returns true when this patch v1 incidents incident Id o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDOK) IsCode

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

IsCode returns true when this patch v1 incidents incident Id o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDOK) IsRedirect

func (o *PatchV1IncidentsIncidentIDOK) IsRedirect() bool

IsRedirect returns true when this patch v1 incidents incident Id o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDOK) IsServerError

func (o *PatchV1IncidentsIncidentIDOK) IsServerError() bool

IsServerError returns true when this patch v1 incidents incident Id o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDOK) IsSuccess

func (o *PatchV1IncidentsIncidentIDOK) IsSuccess() bool

IsSuccess returns true when this patch v1 incidents incident Id o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDOK) String

type PatchV1IncidentsIncidentIDParams

type PatchV1IncidentsIncidentIDParams struct {

	// IncidentID.
	IncidentID string

	// PatchV1IncidentsIncidentID.
	PatchV1IncidentsIncidentID *models.PatchV1IncidentsIncidentID

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

PatchV1IncidentsIncidentIDParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDParams

func NewPatchV1IncidentsIncidentIDParams() *PatchV1IncidentsIncidentIDParams

NewPatchV1IncidentsIncidentIDParams creates a new PatchV1IncidentsIncidentIDParams 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 NewPatchV1IncidentsIncidentIDParamsWithContext

func NewPatchV1IncidentsIncidentIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDParams

NewPatchV1IncidentsIncidentIDParamsWithContext creates a new PatchV1IncidentsIncidentIDParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDParams

NewPatchV1IncidentsIncidentIDParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDParamsWithTimeout

func NewPatchV1IncidentsIncidentIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDParams

NewPatchV1IncidentsIncidentIDParamsWithTimeout creates a new PatchV1IncidentsIncidentIDParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) SetDefaults

func (o *PatchV1IncidentsIncidentIDParams) SetDefaults()

SetDefaults hydrates default values in the patch v1 incidents incident Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) SetIncidentID

func (o *PatchV1IncidentsIncidentIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) SetPatchV1IncidentsIncidentID

func (o *PatchV1IncidentsIncidentIDParams) SetPatchV1IncidentsIncidentID(patchV1IncidentsIncidentID *models.PatchV1IncidentsIncidentID)

SetPatchV1IncidentsIncidentID adds the patchV1IncidentsIncidentId to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) WithPatchV1IncidentsIncidentID

func (o *PatchV1IncidentsIncidentIDParams) WithPatchV1IncidentsIncidentID(patchV1IncidentsIncidentID *models.PatchV1IncidentsIncidentID) *PatchV1IncidentsIncidentIDParams

WithPatchV1IncidentsIncidentID adds the patchV1IncidentsIncidentID to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id params

func (*PatchV1IncidentsIncidentIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDReader

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

PatchV1IncidentsIncidentIDReader is a Reader for the PatchV1IncidentsIncidentID structure.

func (*PatchV1IncidentsIncidentIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest struct {
	Payload *models.ErrorEntity
}

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

Bad Request

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest() *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest

NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest creates a PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest with default headers values

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) Error

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) GetPayload

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) IsClientError

IsClientError returns true when this patch v1 incidents incident Id related change events related change event Id bad request response has a 4xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) IsCode

IsCode returns true when this patch v1 incidents incident Id related change events related change event Id bad request response a status code equal to that given

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id related change events related change event Id bad request response has a 3xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) IsServerError

IsServerError returns true when this patch v1 incidents incident Id related change events related change event Id bad request response has a 5xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id related change events related change event Id bad request response has a 2xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDBadRequest) String

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict struct {
	Payload *models.ErrorEntity
}

PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict describes a response with status code 409, with default header values.

Already Added

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict() *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict

NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict creates a PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict with default headers values

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) Error

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) GetPayload

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) IsClientError

IsClientError returns true when this patch v1 incidents incident Id related change events related change event Id conflict response has a 4xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) IsCode

IsCode returns true when this patch v1 incidents incident Id related change events related change event Id conflict response a status code equal to that given

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id related change events related change event Id conflict response has a 3xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) IsServerError

IsServerError returns true when this patch v1 incidents incident Id related change events related change event Id conflict response has a 5xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id related change events related change event Id conflict response has a 2xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDConflict) String

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK struct {
	Payload *models.IncidentsRelatedChangeEventEntity
}

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

Update a change attached to an incident

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK() *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK

NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK creates a PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK with default headers values

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) Error

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) GetPayload

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) IsClientError

IsClientError returns true when this patch v1 incidents incident Id related change events related change event Id o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) IsCode

IsCode returns true when this patch v1 incidents incident Id related change events related change event Id o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id related change events related change event Id o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) IsServerError

IsServerError returns true when this patch v1 incidents incident Id related change events related change event Id o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id related change events related change event Id o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDOK) String

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams struct {

	// IncidentID.
	IncidentID string

	// PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID.
	PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID *models.PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID

	// RelatedChangeEventID.
	RelatedChangeEventID string

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

PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id related change events related change event Id operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams() *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams

NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams creates a new PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams 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 NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithContext

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams

NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithContext creates a new PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams

NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithTimeout

func NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams

NewPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParamsWithTimeout creates a new PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 incidents incident Id related change events related change event Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetIncidentID

SetIncidentID adds the incidentId to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID

func (o *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID(patchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID *models.PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID)

SetPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID adds the patchV1IncidentsIncidentIdRelatedChangeEventsRelatedChangeEventId to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetRelatedChangeEventID

func (o *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetRelatedChangeEventID(relatedChangeEventID string)

SetRelatedChangeEventID adds the relatedChangeEventId to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id related change events related change event Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID

func (o *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID(patchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID *models.PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID) *PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams

WithPatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID adds the patchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithRelatedChangeEventID

WithRelatedChangeEventID adds the relatedChangeEventID to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id related change events related change event Id params

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDReader

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

PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDReader is a Reader for the PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventID structure.

func (*PatchV1IncidentsIncidentIDRelatedChangeEventsRelatedChangeEventIDReader) ReadResponse

ReadResponse reads a server response into the received o.

type PatchV1IncidentsIncidentIDTasksTaskIDOK

type PatchV1IncidentsIncidentIDTasksTaskIDOK struct {
	Payload *models.TaskEntity
}

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

Update a task's attributes

func NewPatchV1IncidentsIncidentIDTasksTaskIDOK

func NewPatchV1IncidentsIncidentIDTasksTaskIDOK() *PatchV1IncidentsIncidentIDTasksTaskIDOK

NewPatchV1IncidentsIncidentIDTasksTaskIDOK creates a PatchV1IncidentsIncidentIDTasksTaskIDOK with default headers values

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) Error

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) GetPayload

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsClientError

func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsClientError() bool

IsClientError returns true when this patch v1 incidents incident Id tasks task Id o k response has a 4xx status code

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsCode

IsCode returns true when this patch v1 incidents incident Id tasks task Id o k response a status code equal to that given

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsRedirect

IsRedirect returns true when this patch v1 incidents incident Id tasks task Id o k response has a 3xx status code

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsServerError

func (o *PatchV1IncidentsIncidentIDTasksTaskIDOK) IsServerError() bool

IsServerError returns true when this patch v1 incidents incident Id tasks task Id o k response has a 5xx status code

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) IsSuccess

IsSuccess returns true when this patch v1 incidents incident Id tasks task Id o k response has a 2xx status code

func (*PatchV1IncidentsIncidentIDTasksTaskIDOK) String

type PatchV1IncidentsIncidentIDTasksTaskIDParams

type PatchV1IncidentsIncidentIDTasksTaskIDParams struct {

	// IncidentID.
	IncidentID string

	// PatchV1IncidentsIncidentIDTasksTaskID.
	PatchV1IncidentsIncidentIDTasksTaskID *models.PatchV1IncidentsIncidentIDTasksTaskID

	// TaskID.
	TaskID string

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

PatchV1IncidentsIncidentIDTasksTaskIDParams contains all the parameters to send to the API endpoint

for the patch v1 incidents incident Id tasks task Id operation.

Typically these are written to a http.Request.

func NewPatchV1IncidentsIncidentIDTasksTaskIDParams

func NewPatchV1IncidentsIncidentIDTasksTaskIDParams() *PatchV1IncidentsIncidentIDTasksTaskIDParams

NewPatchV1IncidentsIncidentIDTasksTaskIDParams creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams 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 NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithContext

func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithContext(ctx context.Context) *PatchV1IncidentsIncidentIDTasksTaskIDParams

NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithContext creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a context for a request.

func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient

func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient(client *http.Client) *PatchV1IncidentsIncidentIDTasksTaskIDParams

NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithHTTPClient creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout

func NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout(timeout time.Duration) *PatchV1IncidentsIncidentIDTasksTaskIDParams

NewPatchV1IncidentsIncidentIDTasksTaskIDParamsWithTimeout creates a new PatchV1IncidentsIncidentIDTasksTaskIDParams object with the ability to set a timeout on a request.

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetContext

SetContext adds the context to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 incidents incident Id tasks task Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID

func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetPatchV1IncidentsIncidentIDTasksTaskID

func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) SetPatchV1IncidentsIncidentIDTasksTaskID(patchV1IncidentsIncidentIDTasksTaskID *models.PatchV1IncidentsIncidentIDTasksTaskID)

SetPatchV1IncidentsIncidentIDTasksTaskID adds the patchV1IncidentsIncidentIdTasksTaskId to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTaskID

SetTaskID adds the taskId to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithContext

WithContext adds the context to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 incidents incident Id tasks task Id params (not the query body).

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

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithIncidentID

WithIncidentID adds the incidentID to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithPatchV1IncidentsIncidentIDTasksTaskID

func (o *PatchV1IncidentsIncidentIDTasksTaskIDParams) WithPatchV1IncidentsIncidentIDTasksTaskID(patchV1IncidentsIncidentIDTasksTaskID *models.PatchV1IncidentsIncidentIDTasksTaskID) *PatchV1IncidentsIncidentIDTasksTaskIDParams

WithPatchV1IncidentsIncidentIDTasksTaskID adds the patchV1IncidentsIncidentIDTasksTaskID to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTaskID

WithTaskID adds the taskID to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 incidents incident Id tasks task Id params

func (*PatchV1IncidentsIncidentIDTasksTaskIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1IncidentsIncidentIDTasksTaskIDReader

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

PatchV1IncidentsIncidentIDTasksTaskIDReader is a Reader for the PatchV1IncidentsIncidentIDTasksTaskID structure.

func (*PatchV1IncidentsIncidentIDTasksTaskIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsCreated

type PostV1IncidentsCreated struct {
	Payload *models.IncidentEntity
}

PostV1IncidentsCreated describes a response with status code 201, with default header values.

Create a new incident

func NewPostV1IncidentsCreated

func NewPostV1IncidentsCreated() *PostV1IncidentsCreated

NewPostV1IncidentsCreated creates a PostV1IncidentsCreated with default headers values

func (*PostV1IncidentsCreated) Error

func (o *PostV1IncidentsCreated) Error() string

func (*PostV1IncidentsCreated) GetPayload

func (o *PostV1IncidentsCreated) GetPayload() *models.IncidentEntity

func (*PostV1IncidentsCreated) IsClientError

func (o *PostV1IncidentsCreated) IsClientError() bool

IsClientError returns true when this post v1 incidents created response has a 4xx status code

func (*PostV1IncidentsCreated) IsCode

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

IsCode returns true when this post v1 incidents created response a status code equal to that given

func (*PostV1IncidentsCreated) IsRedirect

func (o *PostV1IncidentsCreated) IsRedirect() bool

IsRedirect returns true when this post v1 incidents created response has a 3xx status code

func (*PostV1IncidentsCreated) IsServerError

func (o *PostV1IncidentsCreated) IsServerError() bool

IsServerError returns true when this post v1 incidents created response has a 5xx status code

func (*PostV1IncidentsCreated) IsSuccess

func (o *PostV1IncidentsCreated) IsSuccess() bool

IsSuccess returns true when this post v1 incidents created response has a 2xx status code

func (*PostV1IncidentsCreated) String

func (o *PostV1IncidentsCreated) String() string

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 (*PostV1IncidentsIncidentIDAlertsNoContent) IsClientError

IsClientError returns true when this post v1 incidents incident Id alerts no content response has a 4xx status code

func (*PostV1IncidentsIncidentIDAlertsNoContent) IsCode

IsCode returns true when this post v1 incidents incident Id alerts no content response a status code equal to that given

func (*PostV1IncidentsIncidentIDAlertsNoContent) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id alerts no content response has a 3xx status code

func (*PostV1IncidentsIncidentIDAlertsNoContent) IsServerError

IsServerError returns true when this post v1 incidents incident Id alerts no content response has a 5xx status code

func (*PostV1IncidentsIncidentIDAlertsNoContent) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id alerts no content response has a 2xx status code

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

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

WithAlertIds adds the alertIds to the post v1 incidents incident Id alerts params

func (*PostV1IncidentsIncidentIDAlertsParams) WithContext

WithContext adds the context to the post v1 incidents incident Id alerts params

func (*PostV1IncidentsIncidentIDAlertsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id alerts params

func (*PostV1IncidentsIncidentIDAlertsParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id alerts params

func (*PostV1IncidentsIncidentIDAlertsParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id alerts params

func (*PostV1IncidentsIncidentIDAlertsParams) WriteToRequest

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.

type PostV1IncidentsIncidentIDAttachmentsCreated

type PostV1IncidentsIncidentIDAttachmentsCreated struct {
	Payload *models.IncidentAttachmentEntity
}

PostV1IncidentsIncidentIDAttachmentsCreated describes a response with status code 201, with default header values.

Allows adding image attachments to an incident

func NewPostV1IncidentsIncidentIDAttachmentsCreated

func NewPostV1IncidentsIncidentIDAttachmentsCreated() *PostV1IncidentsIncidentIDAttachmentsCreated

NewPostV1IncidentsIncidentIDAttachmentsCreated creates a PostV1IncidentsIncidentIDAttachmentsCreated with default headers values

func (*PostV1IncidentsIncidentIDAttachmentsCreated) Error

func (*PostV1IncidentsIncidentIDAttachmentsCreated) GetPayload

func (*PostV1IncidentsIncidentIDAttachmentsCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id attachments created response has a 4xx status code

func (*PostV1IncidentsIncidentIDAttachmentsCreated) IsCode

IsCode returns true when this post v1 incidents incident Id attachments created response a status code equal to that given

func (*PostV1IncidentsIncidentIDAttachmentsCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id attachments created response has a 3xx status code

func (*PostV1IncidentsIncidentIDAttachmentsCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id attachments created response has a 5xx status code

func (*PostV1IncidentsIncidentIDAttachmentsCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id attachments created response has a 2xx status code

func (*PostV1IncidentsIncidentIDAttachmentsCreated) String

type PostV1IncidentsIncidentIDAttachmentsParams

type PostV1IncidentsIncidentIDAttachmentsParams struct {

	// Description.
	Description *string

	// File.
	File runtime.NamedReadCloser

	// IncidentID.
	IncidentID string

	// OccurredAt.
	//
	// Format: date-time
	OccurredAt *strfmt.DateTime

	// VoteDirection.
	VoteDirection *string

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

PostV1IncidentsIncidentIDAttachmentsParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id attachments operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDAttachmentsParams

func NewPostV1IncidentsIncidentIDAttachmentsParams() *PostV1IncidentsIncidentIDAttachmentsParams

NewPostV1IncidentsIncidentIDAttachmentsParams creates a new PostV1IncidentsIncidentIDAttachmentsParams 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 NewPostV1IncidentsIncidentIDAttachmentsParamsWithContext

func NewPostV1IncidentsIncidentIDAttachmentsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDAttachmentsParams

NewPostV1IncidentsIncidentIDAttachmentsParamsWithContext creates a new PostV1IncidentsIncidentIDAttachmentsParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDAttachmentsParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDAttachmentsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDAttachmentsParams

NewPostV1IncidentsIncidentIDAttachmentsParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDAttachmentsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDAttachmentsParamsWithTimeout

func NewPostV1IncidentsIncidentIDAttachmentsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDAttachmentsParams

NewPostV1IncidentsIncidentIDAttachmentsParamsWithTimeout creates a new PostV1IncidentsIncidentIDAttachmentsParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetContext

SetContext adds the context to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id attachments params (not the query body).

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

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetDescription

func (o *PostV1IncidentsIncidentIDAttachmentsParams) SetDescription(description *string)

SetDescription adds the description to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetFile

SetFile adds the file to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDAttachmentsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetOccurredAt

func (o *PostV1IncidentsIncidentIDAttachmentsParams) SetOccurredAt(occurredAt *strfmt.DateTime)

SetOccurredAt adds the occurredAt to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) SetVoteDirection

func (o *PostV1IncidentsIncidentIDAttachmentsParams) SetVoteDirection(voteDirection *string)

SetVoteDirection adds the voteDirection to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithContext

WithContext adds the context to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id attachments params (not the query body).

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

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithDescription

WithDescription adds the description to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithFile

WithFile adds the file to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithOccurredAt

WithOccurredAt adds the occurredAt to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WithVoteDirection

WithVoteDirection adds the voteDirection to the post v1 incidents incident Id attachments params

func (*PostV1IncidentsIncidentIDAttachmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDAttachmentsReader

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

PostV1IncidentsIncidentIDAttachmentsReader is a Reader for the PostV1IncidentsIncidentIDAttachments structure.

func (*PostV1IncidentsIncidentIDAttachmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDGenericChatMessagesCreated

type PostV1IncidentsIncidentIDGenericChatMessagesCreated struct {
	Payload *models.EventGenericChatMessageEntity
}

PostV1IncidentsIncidentIDGenericChatMessagesCreated describes a response with status code 201, with default header values.

Create a new generic chat message on an incident timeline. These are independent of any specific chat provider.

func NewPostV1IncidentsIncidentIDGenericChatMessagesCreated

func NewPostV1IncidentsIncidentIDGenericChatMessagesCreated() *PostV1IncidentsIncidentIDGenericChatMessagesCreated

NewPostV1IncidentsIncidentIDGenericChatMessagesCreated creates a PostV1IncidentsIncidentIDGenericChatMessagesCreated with default headers values

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) Error

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) GetPayload

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id generic chat messages created response has a 4xx status code

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) IsCode

IsCode returns true when this post v1 incidents incident Id generic chat messages created response a status code equal to that given

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id generic chat messages created response has a 3xx status code

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id generic chat messages created response has a 5xx status code

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id generic chat messages created response has a 2xx status code

func (*PostV1IncidentsIncidentIDGenericChatMessagesCreated) String

type PostV1IncidentsIncidentIDGenericChatMessagesParams

type PostV1IncidentsIncidentIDGenericChatMessagesParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDGenericChatMessages.
	PostV1IncidentsIncidentIDGenericChatMessages *models.PostV1IncidentsIncidentIDGenericChatMessages

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

PostV1IncidentsIncidentIDGenericChatMessagesParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id generic chat messages operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDGenericChatMessagesParams

func NewPostV1IncidentsIncidentIDGenericChatMessagesParams() *PostV1IncidentsIncidentIDGenericChatMessagesParams

NewPostV1IncidentsIncidentIDGenericChatMessagesParams creates a new PostV1IncidentsIncidentIDGenericChatMessagesParams 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 NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithContext

func NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDGenericChatMessagesParams

NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithContext creates a new PostV1IncidentsIncidentIDGenericChatMessagesParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDGenericChatMessagesParams

NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDGenericChatMessagesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithTimeout

func NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDGenericChatMessagesParams

NewPostV1IncidentsIncidentIDGenericChatMessagesParamsWithTimeout creates a new PostV1IncidentsIncidentIDGenericChatMessagesParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) SetContext

SetContext adds the context to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id generic chat messages params (not the query body).

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

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDGenericChatMessagesParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) SetPostV1IncidentsIncidentIDGenericChatMessages

func (o *PostV1IncidentsIncidentIDGenericChatMessagesParams) SetPostV1IncidentsIncidentIDGenericChatMessages(postV1IncidentsIncidentIDGenericChatMessages *models.PostV1IncidentsIncidentIDGenericChatMessages)

SetPostV1IncidentsIncidentIDGenericChatMessages adds the postV1IncidentsIncidentIdGenericChatMessages to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) WithContext

WithContext adds the context to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id generic chat messages params (not the query body).

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

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) WithPostV1IncidentsIncidentIDGenericChatMessages

func (o *PostV1IncidentsIncidentIDGenericChatMessagesParams) WithPostV1IncidentsIncidentIDGenericChatMessages(postV1IncidentsIncidentIDGenericChatMessages *models.PostV1IncidentsIncidentIDGenericChatMessages) *PostV1IncidentsIncidentIDGenericChatMessagesParams

WithPostV1IncidentsIncidentIDGenericChatMessages adds the postV1IncidentsIncidentIDGenericChatMessages to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id generic chat messages params

func (*PostV1IncidentsIncidentIDGenericChatMessagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDGenericChatMessagesReader

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

PostV1IncidentsIncidentIDGenericChatMessagesReader is a Reader for the PostV1IncidentsIncidentIDGenericChatMessages structure.

func (*PostV1IncidentsIncidentIDGenericChatMessagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDImpactTypeBadRequest

type PostV1IncidentsIncidentIDImpactTypeBadRequest struct {
	Payload *models.ErrorEntity
}

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

Bad Request

func NewPostV1IncidentsIncidentIDImpactTypeBadRequest

func NewPostV1IncidentsIncidentIDImpactTypeBadRequest() *PostV1IncidentsIncidentIDImpactTypeBadRequest

NewPostV1IncidentsIncidentIDImpactTypeBadRequest creates a PostV1IncidentsIncidentIDImpactTypeBadRequest with default headers values

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) Error

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) GetPayload

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) IsClientError

IsClientError returns true when this post v1 incidents incident Id impact type bad request response has a 4xx status code

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) IsCode

IsCode returns true when this post v1 incidents incident Id impact type bad request response a status code equal to that given

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id impact type bad request response has a 3xx status code

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) IsServerError

IsServerError returns true when this post v1 incidents incident Id impact type bad request response has a 5xx status code

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id impact type bad request response has a 2xx status code

func (*PostV1IncidentsIncidentIDImpactTypeBadRequest) String

type PostV1IncidentsIncidentIDImpactTypeCreated

type PostV1IncidentsIncidentIDImpactTypeCreated struct {
	Payload *models.IncidentImpactEntity
}

PostV1IncidentsIncidentIDImpactTypeCreated describes a response with status code 201, with default header values.

Add impacted infrastructure to an incident

func NewPostV1IncidentsIncidentIDImpactTypeCreated

func NewPostV1IncidentsIncidentIDImpactTypeCreated() *PostV1IncidentsIncidentIDImpactTypeCreated

NewPostV1IncidentsIncidentIDImpactTypeCreated creates a PostV1IncidentsIncidentIDImpactTypeCreated with default headers values

func (*PostV1IncidentsIncidentIDImpactTypeCreated) Error

func (*PostV1IncidentsIncidentIDImpactTypeCreated) GetPayload

func (*PostV1IncidentsIncidentIDImpactTypeCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id impact type created response has a 4xx status code

func (*PostV1IncidentsIncidentIDImpactTypeCreated) IsCode

IsCode returns true when this post v1 incidents incident Id impact type created response a status code equal to that given

func (*PostV1IncidentsIncidentIDImpactTypeCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id impact type created response has a 3xx status code

func (*PostV1IncidentsIncidentIDImpactTypeCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id impact type created response has a 5xx status code

func (*PostV1IncidentsIncidentIDImpactTypeCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id impact type created response has a 2xx status code

func (*PostV1IncidentsIncidentIDImpactTypeCreated) String

type PostV1IncidentsIncidentIDImpactTypeParams

type PostV1IncidentsIncidentIDImpactTypeParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDImpactType.
	PostV1IncidentsIncidentIDImpactType *models.PostV1IncidentsIncidentIDImpactType

	// Type.
	Type string

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

PostV1IncidentsIncidentIDImpactTypeParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id impact type operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDImpactTypeParams

func NewPostV1IncidentsIncidentIDImpactTypeParams() *PostV1IncidentsIncidentIDImpactTypeParams

NewPostV1IncidentsIncidentIDImpactTypeParams creates a new PostV1IncidentsIncidentIDImpactTypeParams 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 NewPostV1IncidentsIncidentIDImpactTypeParamsWithContext

func NewPostV1IncidentsIncidentIDImpactTypeParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDImpactTypeParams

NewPostV1IncidentsIncidentIDImpactTypeParamsWithContext creates a new PostV1IncidentsIncidentIDImpactTypeParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDImpactTypeParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDImpactTypeParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDImpactTypeParams

NewPostV1IncidentsIncidentIDImpactTypeParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDImpactTypeParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDImpactTypeParamsWithTimeout

func NewPostV1IncidentsIncidentIDImpactTypeParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDImpactTypeParams

NewPostV1IncidentsIncidentIDImpactTypeParamsWithTimeout creates a new PostV1IncidentsIncidentIDImpactTypeParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDImpactTypeParams) SetContext

SetContext adds the context to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id impact type params (not the query body).

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

func (*PostV1IncidentsIncidentIDImpactTypeParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDImpactTypeParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) SetPostV1IncidentsIncidentIDImpactType

func (o *PostV1IncidentsIncidentIDImpactTypeParams) SetPostV1IncidentsIncidentIDImpactType(postV1IncidentsIncidentIDImpactType *models.PostV1IncidentsIncidentIDImpactType)

SetPostV1IncidentsIncidentIDImpactType adds the postV1IncidentsIncidentIdImpactType to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) SetType

SetType adds the type to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) WithContext

WithContext adds the context to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id impact type params (not the query body).

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

func (*PostV1IncidentsIncidentIDImpactTypeParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) WithPostV1IncidentsIncidentIDImpactType

func (o *PostV1IncidentsIncidentIDImpactTypeParams) WithPostV1IncidentsIncidentIDImpactType(postV1IncidentsIncidentIDImpactType *models.PostV1IncidentsIncidentIDImpactType) *PostV1IncidentsIncidentIDImpactTypeParams

WithPostV1IncidentsIncidentIDImpactType adds the postV1IncidentsIncidentIDImpactType to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) WithType

WithType adds the typeVar to the post v1 incidents incident Id impact type params

func (*PostV1IncidentsIncidentIDImpactTypeParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDImpactTypeReader

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

PostV1IncidentsIncidentIDImpactTypeReader is a Reader for the PostV1IncidentsIncidentIDImpactType structure.

func (*PostV1IncidentsIncidentIDImpactTypeReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDLinksCreated

type PostV1IncidentsIncidentIDLinksCreated struct {
	Payload *models.AttachmentsLinkEntity
}

PostV1IncidentsIncidentIDLinksCreated describes a response with status code 201, with default header values.

Allows adding adhoc links to an incident as an attachment

func NewPostV1IncidentsIncidentIDLinksCreated

func NewPostV1IncidentsIncidentIDLinksCreated() *PostV1IncidentsIncidentIDLinksCreated

NewPostV1IncidentsIncidentIDLinksCreated creates a PostV1IncidentsIncidentIDLinksCreated with default headers values

func (*PostV1IncidentsIncidentIDLinksCreated) Error

func (*PostV1IncidentsIncidentIDLinksCreated) GetPayload

func (*PostV1IncidentsIncidentIDLinksCreated) IsClientError

func (o *PostV1IncidentsIncidentIDLinksCreated) IsClientError() bool

IsClientError returns true when this post v1 incidents incident Id links created response has a 4xx status code

func (*PostV1IncidentsIncidentIDLinksCreated) IsCode

IsCode returns true when this post v1 incidents incident Id links created response a status code equal to that given

func (*PostV1IncidentsIncidentIDLinksCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id links created response has a 3xx status code

func (*PostV1IncidentsIncidentIDLinksCreated) IsServerError

func (o *PostV1IncidentsIncidentIDLinksCreated) IsServerError() bool

IsServerError returns true when this post v1 incidents incident Id links created response has a 5xx status code

func (*PostV1IncidentsIncidentIDLinksCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id links created response has a 2xx status code

func (*PostV1IncidentsIncidentIDLinksCreated) String

type PostV1IncidentsIncidentIDLinksParams

type PostV1IncidentsIncidentIDLinksParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDLinks.
	PostV1IncidentsIncidentIDLinks *models.PostV1IncidentsIncidentIDLinks

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

PostV1IncidentsIncidentIDLinksParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id links operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDLinksParams

func NewPostV1IncidentsIncidentIDLinksParams() *PostV1IncidentsIncidentIDLinksParams

NewPostV1IncidentsIncidentIDLinksParams creates a new PostV1IncidentsIncidentIDLinksParams 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 NewPostV1IncidentsIncidentIDLinksParamsWithContext

func NewPostV1IncidentsIncidentIDLinksParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDLinksParams

NewPostV1IncidentsIncidentIDLinksParamsWithContext creates a new PostV1IncidentsIncidentIDLinksParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDLinksParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDLinksParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDLinksParams

NewPostV1IncidentsIncidentIDLinksParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDLinksParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDLinksParamsWithTimeout

func NewPostV1IncidentsIncidentIDLinksParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDLinksParams

NewPostV1IncidentsIncidentIDLinksParamsWithTimeout creates a new PostV1IncidentsIncidentIDLinksParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDLinksParams) SetContext

SetContext adds the context to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) SetDefaults

func (o *PostV1IncidentsIncidentIDLinksParams) SetDefaults()

SetDefaults hydrates default values in the post v1 incidents incident Id links params (not the query body).

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

func (*PostV1IncidentsIncidentIDLinksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDLinksParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id links params

func (o *PostV1IncidentsIncidentIDLinksParams) SetPostV1IncidentsIncidentIDLinks(postV1IncidentsIncidentIDLinks *models.PostV1IncidentsIncidentIDLinks)

SetPostV1IncidentsIncidentIDLinks adds the postV1IncidentsIncidentIdLinks to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) WithContext

WithContext adds the context to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id links params (not the query body).

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

func (*PostV1IncidentsIncidentIDLinksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id links params

func (o *PostV1IncidentsIncidentIDLinksParams) WithPostV1IncidentsIncidentIDLinks(postV1IncidentsIncidentIDLinks *models.PostV1IncidentsIncidentIDLinks) *PostV1IncidentsIncidentIDLinksParams

WithPostV1IncidentsIncidentIDLinks adds the postV1IncidentsIncidentIDLinks to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id links params

func (*PostV1IncidentsIncidentIDLinksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDLinksReader

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

PostV1IncidentsIncidentIDLinksReader is a Reader for the PostV1IncidentsIncidentIDLinks structure.

func (*PostV1IncidentsIncidentIDLinksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDNotesCreated

type PostV1IncidentsIncidentIDNotesCreated struct {
	Payload *models.EventNoteEntity
}

PostV1IncidentsIncidentIDNotesCreated describes a response with status code 201, with default header values.

Create a new note on for an incident. The visibility field on a note determines where it gets posted.

func NewPostV1IncidentsIncidentIDNotesCreated

func NewPostV1IncidentsIncidentIDNotesCreated() *PostV1IncidentsIncidentIDNotesCreated

NewPostV1IncidentsIncidentIDNotesCreated creates a PostV1IncidentsIncidentIDNotesCreated with default headers values

func (*PostV1IncidentsIncidentIDNotesCreated) Error

func (*PostV1IncidentsIncidentIDNotesCreated) GetPayload

func (*PostV1IncidentsIncidentIDNotesCreated) IsClientError

func (o *PostV1IncidentsIncidentIDNotesCreated) IsClientError() bool

IsClientError returns true when this post v1 incidents incident Id notes created response has a 4xx status code

func (*PostV1IncidentsIncidentIDNotesCreated) IsCode

IsCode returns true when this post v1 incidents incident Id notes created response a status code equal to that given

func (*PostV1IncidentsIncidentIDNotesCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id notes created response has a 3xx status code

func (*PostV1IncidentsIncidentIDNotesCreated) IsServerError

func (o *PostV1IncidentsIncidentIDNotesCreated) IsServerError() bool

IsServerError returns true when this post v1 incidents incident Id notes created response has a 5xx status code

func (*PostV1IncidentsIncidentIDNotesCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id notes created response has a 2xx status code

func (*PostV1IncidentsIncidentIDNotesCreated) String

type PostV1IncidentsIncidentIDNotesParams

type PostV1IncidentsIncidentIDNotesParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDNotes.
	PostV1IncidentsIncidentIDNotes *models.PostV1IncidentsIncidentIDNotes

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

PostV1IncidentsIncidentIDNotesParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id notes operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDNotesParams

func NewPostV1IncidentsIncidentIDNotesParams() *PostV1IncidentsIncidentIDNotesParams

NewPostV1IncidentsIncidentIDNotesParams creates a new PostV1IncidentsIncidentIDNotesParams 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 NewPostV1IncidentsIncidentIDNotesParamsWithContext

func NewPostV1IncidentsIncidentIDNotesParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDNotesParams

NewPostV1IncidentsIncidentIDNotesParamsWithContext creates a new PostV1IncidentsIncidentIDNotesParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDNotesParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDNotesParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDNotesParams

NewPostV1IncidentsIncidentIDNotesParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDNotesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDNotesParamsWithTimeout

func NewPostV1IncidentsIncidentIDNotesParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDNotesParams

NewPostV1IncidentsIncidentIDNotesParamsWithTimeout creates a new PostV1IncidentsIncidentIDNotesParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDNotesParams) SetContext

SetContext adds the context to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) SetDefaults

func (o *PostV1IncidentsIncidentIDNotesParams) SetDefaults()

SetDefaults hydrates default values in the post v1 incidents incident Id notes params (not the query body).

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

func (*PostV1IncidentsIncidentIDNotesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDNotesParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) SetPostV1IncidentsIncidentIDNotes

func (o *PostV1IncidentsIncidentIDNotesParams) SetPostV1IncidentsIncidentIDNotes(postV1IncidentsIncidentIDNotes *models.PostV1IncidentsIncidentIDNotes)

SetPostV1IncidentsIncidentIDNotes adds the postV1IncidentsIncidentIdNotes to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) WithContext

WithContext adds the context to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id notes params (not the query body).

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

func (*PostV1IncidentsIncidentIDNotesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) WithPostV1IncidentsIncidentIDNotes

func (o *PostV1IncidentsIncidentIDNotesParams) WithPostV1IncidentsIncidentIDNotes(postV1IncidentsIncidentIDNotes *models.PostV1IncidentsIncidentIDNotes) *PostV1IncidentsIncidentIDNotesParams

WithPostV1IncidentsIncidentIDNotes adds the postV1IncidentsIncidentIDNotes to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id notes params

func (*PostV1IncidentsIncidentIDNotesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDNotesReader

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

PostV1IncidentsIncidentIDNotesReader is a Reader for the PostV1IncidentsIncidentIDNotes structure.

func (*PostV1IncidentsIncidentIDNotesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest

type PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest struct {
	Payload *models.ErrorEntity
}

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

Bad Request

func NewPostV1IncidentsIncidentIDRelatedChangeEventsBadRequest

func NewPostV1IncidentsIncidentIDRelatedChangeEventsBadRequest() *PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest

NewPostV1IncidentsIncidentIDRelatedChangeEventsBadRequest creates a PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest with default headers values

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) Error

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) GetPayload

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) IsClientError

IsClientError returns true when this post v1 incidents incident Id related change events bad request response has a 4xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) IsCode

IsCode returns true when this post v1 incidents incident Id related change events bad request response a status code equal to that given

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id related change events bad request response has a 3xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) IsServerError

IsServerError returns true when this post v1 incidents incident Id related change events bad request response has a 5xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id related change events bad request response has a 2xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsBadRequest) String

type PostV1IncidentsIncidentIDRelatedChangeEventsConflict

type PostV1IncidentsIncidentIDRelatedChangeEventsConflict struct {
	Payload *models.ErrorEntity
}

PostV1IncidentsIncidentIDRelatedChangeEventsConflict describes a response with status code 409, with default header values.

Already Added

func NewPostV1IncidentsIncidentIDRelatedChangeEventsConflict

func NewPostV1IncidentsIncidentIDRelatedChangeEventsConflict() *PostV1IncidentsIncidentIDRelatedChangeEventsConflict

NewPostV1IncidentsIncidentIDRelatedChangeEventsConflict creates a PostV1IncidentsIncidentIDRelatedChangeEventsConflict with default headers values

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) Error

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) GetPayload

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) IsClientError

IsClientError returns true when this post v1 incidents incident Id related change events conflict response has a 4xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) IsCode

IsCode returns true when this post v1 incidents incident Id related change events conflict response a status code equal to that given

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id related change events conflict response has a 3xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) IsServerError

IsServerError returns true when this post v1 incidents incident Id related change events conflict response has a 5xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id related change events conflict response has a 2xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsConflict) String

type PostV1IncidentsIncidentIDRelatedChangeEventsCreated

type PostV1IncidentsIncidentIDRelatedChangeEventsCreated struct {
	Payload *models.IncidentsRelatedChangeEventEntity
}

PostV1IncidentsIncidentIDRelatedChangeEventsCreated describes a response with status code 201, with default header values.

Add a related change to an incident. Changes added to an incident can be causes, fixes, or suspects. To remove a change from an incident, the type field should be set to dismissed.

func NewPostV1IncidentsIncidentIDRelatedChangeEventsCreated

func NewPostV1IncidentsIncidentIDRelatedChangeEventsCreated() *PostV1IncidentsIncidentIDRelatedChangeEventsCreated

NewPostV1IncidentsIncidentIDRelatedChangeEventsCreated creates a PostV1IncidentsIncidentIDRelatedChangeEventsCreated with default headers values

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) Error

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) GetPayload

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id related change events created response has a 4xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) IsCode

IsCode returns true when this post v1 incidents incident Id related change events created response a status code equal to that given

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id related change events created response has a 3xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id related change events created response has a 5xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id related change events created response has a 2xx status code

func (*PostV1IncidentsIncidentIDRelatedChangeEventsCreated) String

type PostV1IncidentsIncidentIDRelatedChangeEventsParams

type PostV1IncidentsIncidentIDRelatedChangeEventsParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDRelatedChangeEvents.
	PostV1IncidentsIncidentIDRelatedChangeEvents *models.PostV1IncidentsIncidentIDRelatedChangeEvents

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

PostV1IncidentsIncidentIDRelatedChangeEventsParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id related change events operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDRelatedChangeEventsParams

func NewPostV1IncidentsIncidentIDRelatedChangeEventsParams() *PostV1IncidentsIncidentIDRelatedChangeEventsParams

NewPostV1IncidentsIncidentIDRelatedChangeEventsParams creates a new PostV1IncidentsIncidentIDRelatedChangeEventsParams 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 NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithContext

func NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDRelatedChangeEventsParams

NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithContext creates a new PostV1IncidentsIncidentIDRelatedChangeEventsParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDRelatedChangeEventsParams

NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDRelatedChangeEventsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithTimeout

func NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDRelatedChangeEventsParams

NewPostV1IncidentsIncidentIDRelatedChangeEventsParamsWithTimeout creates a new PostV1IncidentsIncidentIDRelatedChangeEventsParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetContext

SetContext adds the context to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id related change events params (not the query body).

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

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetPostV1IncidentsIncidentIDRelatedChangeEvents

func (o *PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetPostV1IncidentsIncidentIDRelatedChangeEvents(postV1IncidentsIncidentIDRelatedChangeEvents *models.PostV1IncidentsIncidentIDRelatedChangeEvents)

SetPostV1IncidentsIncidentIDRelatedChangeEvents adds the postV1IncidentsIncidentIdRelatedChangeEvents to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) WithContext

WithContext adds the context to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id related change events params (not the query body).

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

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) WithPostV1IncidentsIncidentIDRelatedChangeEvents

func (o *PostV1IncidentsIncidentIDRelatedChangeEventsParams) WithPostV1IncidentsIncidentIDRelatedChangeEvents(postV1IncidentsIncidentIDRelatedChangeEvents *models.PostV1IncidentsIncidentIDRelatedChangeEvents) *PostV1IncidentsIncidentIDRelatedChangeEventsParams

WithPostV1IncidentsIncidentIDRelatedChangeEvents adds the postV1IncidentsIncidentIDRelatedChangeEvents to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id related change events params

func (*PostV1IncidentsIncidentIDRelatedChangeEventsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDRelatedChangeEventsReader

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

PostV1IncidentsIncidentIDRelatedChangeEventsReader is a Reader for the PostV1IncidentsIncidentIDRelatedChangeEvents structure.

func (*PostV1IncidentsIncidentIDRelatedChangeEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDRoleAssignmentsCreated

type PostV1IncidentsIncidentIDRoleAssignmentsCreated struct {
	Payload *models.IncidentsRoleAssignmentEntity
}

PostV1IncidentsIncidentIDRoleAssignmentsCreated describes a response with status code 201, with default header values.

Assign a role to a user for this incident

func NewPostV1IncidentsIncidentIDRoleAssignmentsCreated

func NewPostV1IncidentsIncidentIDRoleAssignmentsCreated() *PostV1IncidentsIncidentIDRoleAssignmentsCreated

NewPostV1IncidentsIncidentIDRoleAssignmentsCreated creates a PostV1IncidentsIncidentIDRoleAssignmentsCreated with default headers values

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) Error

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) GetPayload

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id role assignments created response has a 4xx status code

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) IsCode

IsCode returns true when this post v1 incidents incident Id role assignments created response a status code equal to that given

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id role assignments created response has a 3xx status code

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id role assignments created response has a 5xx status code

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id role assignments created response has a 2xx status code

func (*PostV1IncidentsIncidentIDRoleAssignmentsCreated) String

type PostV1IncidentsIncidentIDRoleAssignmentsParams

type PostV1IncidentsIncidentIDRoleAssignmentsParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDRoleAssignments.
	PostV1IncidentsIncidentIDRoleAssignments *models.PostV1IncidentsIncidentIDRoleAssignments

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

PostV1IncidentsIncidentIDRoleAssignmentsParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id role assignments operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDRoleAssignmentsParams

func NewPostV1IncidentsIncidentIDRoleAssignmentsParams() *PostV1IncidentsIncidentIDRoleAssignmentsParams

NewPostV1IncidentsIncidentIDRoleAssignmentsParams creates a new PostV1IncidentsIncidentIDRoleAssignmentsParams 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 NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithContext

func NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDRoleAssignmentsParams

NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithContext creates a new PostV1IncidentsIncidentIDRoleAssignmentsParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDRoleAssignmentsParams

NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDRoleAssignmentsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithTimeout

func NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDRoleAssignmentsParams

NewPostV1IncidentsIncidentIDRoleAssignmentsParamsWithTimeout creates a new PostV1IncidentsIncidentIDRoleAssignmentsParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) SetContext

SetContext adds the context to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id role assignments params (not the query body).

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

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDRoleAssignmentsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) SetPostV1IncidentsIncidentIDRoleAssignments

func (o *PostV1IncidentsIncidentIDRoleAssignmentsParams) SetPostV1IncidentsIncidentIDRoleAssignments(postV1IncidentsIncidentIDRoleAssignments *models.PostV1IncidentsIncidentIDRoleAssignments)

SetPostV1IncidentsIncidentIDRoleAssignments adds the postV1IncidentsIncidentIdRoleAssignments to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) WithContext

WithContext adds the context to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id role assignments params (not the query body).

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

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) WithPostV1IncidentsIncidentIDRoleAssignments

func (o *PostV1IncidentsIncidentIDRoleAssignmentsParams) WithPostV1IncidentsIncidentIDRoleAssignments(postV1IncidentsIncidentIDRoleAssignments *models.PostV1IncidentsIncidentIDRoleAssignments) *PostV1IncidentsIncidentIDRoleAssignmentsParams

WithPostV1IncidentsIncidentIDRoleAssignments adds the postV1IncidentsIncidentIDRoleAssignments to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id role assignments params

func (*PostV1IncidentsIncidentIDRoleAssignmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDRoleAssignmentsReader

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

PostV1IncidentsIncidentIDRoleAssignmentsReader is a Reader for the PostV1IncidentsIncidentIDRoleAssignments structure.

func (*PostV1IncidentsIncidentIDRoleAssignmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDStatusPagesCreated

type PostV1IncidentsIncidentIDStatusPagesCreated struct {
	Payload *models.IncidentsStatusPageEntity
}

PostV1IncidentsIncidentIDStatusPagesCreated describes a response with status code 201, with default header values.

Add a status page to an incident.

func NewPostV1IncidentsIncidentIDStatusPagesCreated

func NewPostV1IncidentsIncidentIDStatusPagesCreated() *PostV1IncidentsIncidentIDStatusPagesCreated

NewPostV1IncidentsIncidentIDStatusPagesCreated creates a PostV1IncidentsIncidentIDStatusPagesCreated with default headers values

func (*PostV1IncidentsIncidentIDStatusPagesCreated) Error

func (*PostV1IncidentsIncidentIDStatusPagesCreated) GetPayload

func (*PostV1IncidentsIncidentIDStatusPagesCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id status pages created response has a 4xx status code

func (*PostV1IncidentsIncidentIDStatusPagesCreated) IsCode

IsCode returns true when this post v1 incidents incident Id status pages created response a status code equal to that given

func (*PostV1IncidentsIncidentIDStatusPagesCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id status pages created response has a 3xx status code

func (*PostV1IncidentsIncidentIDStatusPagesCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id status pages created response has a 5xx status code

func (*PostV1IncidentsIncidentIDStatusPagesCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id status pages created response has a 2xx status code

func (*PostV1IncidentsIncidentIDStatusPagesCreated) String

type PostV1IncidentsIncidentIDStatusPagesParams

type PostV1IncidentsIncidentIDStatusPagesParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDStatusPages.
	PostV1IncidentsIncidentIDStatusPages *models.PostV1IncidentsIncidentIDStatusPages

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

PostV1IncidentsIncidentIDStatusPagesParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id status pages operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDStatusPagesParams

func NewPostV1IncidentsIncidentIDStatusPagesParams() *PostV1IncidentsIncidentIDStatusPagesParams

NewPostV1IncidentsIncidentIDStatusPagesParams creates a new PostV1IncidentsIncidentIDStatusPagesParams 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 NewPostV1IncidentsIncidentIDStatusPagesParamsWithContext

func NewPostV1IncidentsIncidentIDStatusPagesParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDStatusPagesParams

NewPostV1IncidentsIncidentIDStatusPagesParamsWithContext creates a new PostV1IncidentsIncidentIDStatusPagesParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDStatusPagesParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDStatusPagesParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDStatusPagesParams

NewPostV1IncidentsIncidentIDStatusPagesParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDStatusPagesParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDStatusPagesParamsWithTimeout

func NewPostV1IncidentsIncidentIDStatusPagesParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDStatusPagesParams

NewPostV1IncidentsIncidentIDStatusPagesParamsWithTimeout creates a new PostV1IncidentsIncidentIDStatusPagesParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDStatusPagesParams) SetContext

SetContext adds the context to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id status pages params (not the query body).

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

func (*PostV1IncidentsIncidentIDStatusPagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDStatusPagesParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) SetPostV1IncidentsIncidentIDStatusPages

func (o *PostV1IncidentsIncidentIDStatusPagesParams) SetPostV1IncidentsIncidentIDStatusPages(postV1IncidentsIncidentIDStatusPages *models.PostV1IncidentsIncidentIDStatusPages)

SetPostV1IncidentsIncidentIDStatusPages adds the postV1IncidentsIncidentIdStatusPages to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) WithContext

WithContext adds the context to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id status pages params (not the query body).

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

func (*PostV1IncidentsIncidentIDStatusPagesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) WithPostV1IncidentsIncidentIDStatusPages

func (o *PostV1IncidentsIncidentIDStatusPagesParams) WithPostV1IncidentsIncidentIDStatusPages(postV1IncidentsIncidentIDStatusPages *models.PostV1IncidentsIncidentIDStatusPages) *PostV1IncidentsIncidentIDStatusPagesParams

WithPostV1IncidentsIncidentIDStatusPages adds the postV1IncidentsIncidentIDStatusPages to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id status pages params

func (*PostV1IncidentsIncidentIDStatusPagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDStatusPagesReader

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

PostV1IncidentsIncidentIDStatusPagesReader is a Reader for the PostV1IncidentsIncidentIDStatusPages structure.

func (*PostV1IncidentsIncidentIDStatusPagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDTaskListsCreated

type PostV1IncidentsIncidentIDTaskListsCreated struct {
	Payload *models.TaskEntity
}

PostV1IncidentsIncidentIDTaskListsCreated describes a response with status code 201, with default header values.

Add all tasks from list to incident

func NewPostV1IncidentsIncidentIDTaskListsCreated

func NewPostV1IncidentsIncidentIDTaskListsCreated() *PostV1IncidentsIncidentIDTaskListsCreated

NewPostV1IncidentsIncidentIDTaskListsCreated creates a PostV1IncidentsIncidentIDTaskListsCreated with default headers values

func (*PostV1IncidentsIncidentIDTaskListsCreated) Error

func (*PostV1IncidentsIncidentIDTaskListsCreated) GetPayload

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id task lists created response has a 4xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsCode

IsCode returns true when this post v1 incidents incident Id task lists created response a status code equal to that given

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id task lists created response has a 3xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id task lists created response has a 5xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id task lists created response has a 2xx status code

func (*PostV1IncidentsIncidentIDTaskListsCreated) String

type PostV1IncidentsIncidentIDTaskListsParams

type PostV1IncidentsIncidentIDTaskListsParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDTaskLists.
	PostV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists

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

PostV1IncidentsIncidentIDTaskListsParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id task lists operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDTaskListsParams

func NewPostV1IncidentsIncidentIDTaskListsParams() *PostV1IncidentsIncidentIDTaskListsParams

NewPostV1IncidentsIncidentIDTaskListsParams creates a new PostV1IncidentsIncidentIDTaskListsParams 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 NewPostV1IncidentsIncidentIDTaskListsParamsWithContext

func NewPostV1IncidentsIncidentIDTaskListsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTaskListsParams

NewPostV1IncidentsIncidentIDTaskListsParamsWithContext creates a new PostV1IncidentsIncidentIDTaskListsParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDTaskListsParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDTaskListsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTaskListsParams

NewPostV1IncidentsIncidentIDTaskListsParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDTaskListsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDTaskListsParamsWithTimeout

func NewPostV1IncidentsIncidentIDTaskListsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTaskListsParams

NewPostV1IncidentsIncidentIDTaskListsParamsWithTimeout creates a new PostV1IncidentsIncidentIDTaskListsParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDTaskListsParams) SetContext

SetContext adds the context to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id task lists params (not the query body).

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

func (*PostV1IncidentsIncidentIDTaskListsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDTaskListsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) SetPostV1IncidentsIncidentIDTaskLists

func (o *PostV1IncidentsIncidentIDTaskListsParams) SetPostV1IncidentsIncidentIDTaskLists(postV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists)

SetPostV1IncidentsIncidentIDTaskLists adds the postV1IncidentsIncidentIdTaskLists to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithContext

WithContext adds the context to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id task lists params (not the query body).

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

func (*PostV1IncidentsIncidentIDTaskListsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithPostV1IncidentsIncidentIDTaskLists

func (o *PostV1IncidentsIncidentIDTaskListsParams) WithPostV1IncidentsIncidentIDTaskLists(postV1IncidentsIncidentIDTaskLists *models.PostV1IncidentsIncidentIDTaskLists) *PostV1IncidentsIncidentIDTaskListsParams

WithPostV1IncidentsIncidentIDTaskLists adds the postV1IncidentsIncidentIDTaskLists to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id task lists params

func (*PostV1IncidentsIncidentIDTaskListsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDTaskListsReader

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

PostV1IncidentsIncidentIDTaskListsReader is a Reader for the PostV1IncidentsIncidentIDTaskLists structure.

func (*PostV1IncidentsIncidentIDTaskListsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDTasksCreated

type PostV1IncidentsIncidentIDTasksCreated struct {
	Payload *models.TaskEntity
}

PostV1IncidentsIncidentIDTasksCreated describes a response with status code 201, with default header values.

Create a task

func NewPostV1IncidentsIncidentIDTasksCreated

func NewPostV1IncidentsIncidentIDTasksCreated() *PostV1IncidentsIncidentIDTasksCreated

NewPostV1IncidentsIncidentIDTasksCreated creates a PostV1IncidentsIncidentIDTasksCreated with default headers values

func (*PostV1IncidentsIncidentIDTasksCreated) Error

func (*PostV1IncidentsIncidentIDTasksCreated) GetPayload

func (*PostV1IncidentsIncidentIDTasksCreated) IsClientError

func (o *PostV1IncidentsIncidentIDTasksCreated) IsClientError() bool

IsClientError returns true when this post v1 incidents incident Id tasks created response has a 4xx status code

func (*PostV1IncidentsIncidentIDTasksCreated) IsCode

IsCode returns true when this post v1 incidents incident Id tasks created response a status code equal to that given

func (*PostV1IncidentsIncidentIDTasksCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id tasks created response has a 3xx status code

func (*PostV1IncidentsIncidentIDTasksCreated) IsServerError

func (o *PostV1IncidentsIncidentIDTasksCreated) IsServerError() bool

IsServerError returns true when this post v1 incidents incident Id tasks created response has a 5xx status code

func (*PostV1IncidentsIncidentIDTasksCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id tasks created response has a 2xx status code

func (*PostV1IncidentsIncidentIDTasksCreated) String

type PostV1IncidentsIncidentIDTasksParams

type PostV1IncidentsIncidentIDTasksParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDTasks.
	PostV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks

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

PostV1IncidentsIncidentIDTasksParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id tasks operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDTasksParams

func NewPostV1IncidentsIncidentIDTasksParams() *PostV1IncidentsIncidentIDTasksParams

NewPostV1IncidentsIncidentIDTasksParams creates a new PostV1IncidentsIncidentIDTasksParams 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 NewPostV1IncidentsIncidentIDTasksParamsWithContext

func NewPostV1IncidentsIncidentIDTasksParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksParams

NewPostV1IncidentsIncidentIDTasksParamsWithContext creates a new PostV1IncidentsIncidentIDTasksParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDTasksParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDTasksParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksParams

NewPostV1IncidentsIncidentIDTasksParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDTasksParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDTasksParamsWithTimeout

func NewPostV1IncidentsIncidentIDTasksParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksParams

NewPostV1IncidentsIncidentIDTasksParamsWithTimeout creates a new PostV1IncidentsIncidentIDTasksParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDTasksParams) SetContext

SetContext adds the context to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) SetDefaults

func (o *PostV1IncidentsIncidentIDTasksParams) SetDefaults()

SetDefaults hydrates default values in the post v1 incidents incident Id tasks params (not the query body).

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

func (*PostV1IncidentsIncidentIDTasksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDTasksParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) SetPostV1IncidentsIncidentIDTasks

func (o *PostV1IncidentsIncidentIDTasksParams) SetPostV1IncidentsIncidentIDTasks(postV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks)

SetPostV1IncidentsIncidentIDTasks adds the postV1IncidentsIncidentIdTasks to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WithContext

WithContext adds the context to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id tasks params (not the query body).

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

func (*PostV1IncidentsIncidentIDTasksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WithPostV1IncidentsIncidentIDTasks

func (o *PostV1IncidentsIncidentIDTasksParams) WithPostV1IncidentsIncidentIDTasks(postV1IncidentsIncidentIDTasks *models.PostV1IncidentsIncidentIDTasks) *PostV1IncidentsIncidentIDTasksParams

WithPostV1IncidentsIncidentIDTasks adds the postV1IncidentsIncidentIDTasks to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id tasks params

func (*PostV1IncidentsIncidentIDTasksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDTasksReader

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

PostV1IncidentsIncidentIDTasksReader is a Reader for the PostV1IncidentsIncidentIDTasks structure.

func (*PostV1IncidentsIncidentIDTasksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDTasksTaskIDConvertCreated

type PostV1IncidentsIncidentIDTasksTaskIDConvertCreated struct {
	Payload *models.TaskEntityPaginated
}

PostV1IncidentsIncidentIDTasksTaskIDConvertCreated describes a response with status code 201, with default header values.

Convert a task to a follow-up

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertCreated

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertCreated() *PostV1IncidentsIncidentIDTasksTaskIDConvertCreated

NewPostV1IncidentsIncidentIDTasksTaskIDConvertCreated creates a PostV1IncidentsIncidentIDTasksTaskIDConvertCreated with default headers values

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) Error

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) GetPayload

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id tasks task Id convert created response has a 4xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsCode

IsCode returns true when this post v1 incidents incident Id tasks task Id convert created response a status code equal to that given

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id tasks task Id convert created response has a 3xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id tasks task Id convert created response has a 5xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id tasks task Id convert created response has a 2xx status code

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertCreated) String

type PostV1IncidentsIncidentIDTasksTaskIDConvertParams

type PostV1IncidentsIncidentIDTasksTaskIDConvertParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDTasksTaskIDConvert.
	PostV1IncidentsIncidentIDTasksTaskIDConvert *models.PostV1IncidentsIncidentIDTasksTaskIDConvert

	// TaskID.
	TaskID string

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

PostV1IncidentsIncidentIDTasksTaskIDConvertParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id tasks task Id convert operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParams

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParams() *PostV1IncidentsIncidentIDTasksTaskIDConvertParams

NewPostV1IncidentsIncidentIDTasksTaskIDConvertParams creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams 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 NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithContext

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams

NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithContext creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams

NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithTimeout

func NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams

NewPostV1IncidentsIncidentIDTasksTaskIDConvertParamsWithTimeout creates a new PostV1IncidentsIncidentIDTasksTaskIDConvertParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetContext

SetContext adds the context to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id tasks task Id convert params (not the query body).

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

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetPostV1IncidentsIncidentIDTasksTaskIDConvert

func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetPostV1IncidentsIncidentIDTasksTaskIDConvert(postV1IncidentsIncidentIDTasksTaskIDConvert *models.PostV1IncidentsIncidentIDTasksTaskIDConvert)

SetPostV1IncidentsIncidentIDTasksTaskIDConvert adds the postV1IncidentsIncidentIdTasksTaskIdConvert to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTaskID

SetTaskID adds the taskId to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithContext

WithContext adds the context to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id tasks task Id convert params (not the query body).

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

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithPostV1IncidentsIncidentIDTasksTaskIDConvert

func (o *PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithPostV1IncidentsIncidentIDTasksTaskIDConvert(postV1IncidentsIncidentIDTasksTaskIDConvert *models.PostV1IncidentsIncidentIDTasksTaskIDConvert) *PostV1IncidentsIncidentIDTasksTaskIDConvertParams

WithPostV1IncidentsIncidentIDTasksTaskIDConvert adds the postV1IncidentsIncidentIDTasksTaskIDConvert to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTaskID

WithTaskID adds the taskID to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id tasks task Id convert params

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDTasksTaskIDConvertReader

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

PostV1IncidentsIncidentIDTasksTaskIDConvertReader is a Reader for the PostV1IncidentsIncidentIDTasksTaskIDConvert structure.

func (*PostV1IncidentsIncidentIDTasksTaskIDConvertReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDTeamAssignmentsCreated

type PostV1IncidentsIncidentIDTeamAssignmentsCreated struct {
}

PostV1IncidentsIncidentIDTeamAssignmentsCreated describes a response with status code 201, with default header values.

Assign a team for this incident

func NewPostV1IncidentsIncidentIDTeamAssignmentsCreated

func NewPostV1IncidentsIncidentIDTeamAssignmentsCreated() *PostV1IncidentsIncidentIDTeamAssignmentsCreated

NewPostV1IncidentsIncidentIDTeamAssignmentsCreated creates a PostV1IncidentsIncidentIDTeamAssignmentsCreated with default headers values

func (*PostV1IncidentsIncidentIDTeamAssignmentsCreated) Error

func (*PostV1IncidentsIncidentIDTeamAssignmentsCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id team assignments created response has a 4xx status code

func (*PostV1IncidentsIncidentIDTeamAssignmentsCreated) IsCode

IsCode returns true when this post v1 incidents incident Id team assignments created response a status code equal to that given

func (*PostV1IncidentsIncidentIDTeamAssignmentsCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id team assignments created response has a 3xx status code

func (*PostV1IncidentsIncidentIDTeamAssignmentsCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id team assignments created response has a 5xx status code

func (*PostV1IncidentsIncidentIDTeamAssignmentsCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id team assignments created response has a 2xx status code

func (*PostV1IncidentsIncidentIDTeamAssignmentsCreated) String

type PostV1IncidentsIncidentIDTeamAssignmentsParams

type PostV1IncidentsIncidentIDTeamAssignmentsParams struct {

	// IncidentID.
	IncidentID string

	// PostV1IncidentsIncidentIDTeamAssignments.
	PostV1IncidentsIncidentIDTeamAssignments *models.PostV1IncidentsIncidentIDTeamAssignments

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

PostV1IncidentsIncidentIDTeamAssignmentsParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id team assignments operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDTeamAssignmentsParams

func NewPostV1IncidentsIncidentIDTeamAssignmentsParams() *PostV1IncidentsIncidentIDTeamAssignmentsParams

NewPostV1IncidentsIncidentIDTeamAssignmentsParams creates a new PostV1IncidentsIncidentIDTeamAssignmentsParams 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 NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithContext

func NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDTeamAssignmentsParams

NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithContext creates a new PostV1IncidentsIncidentIDTeamAssignmentsParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDTeamAssignmentsParams

NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDTeamAssignmentsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithTimeout

func NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDTeamAssignmentsParams

NewPostV1IncidentsIncidentIDTeamAssignmentsParamsWithTimeout creates a new PostV1IncidentsIncidentIDTeamAssignmentsParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) SetContext

SetContext adds the context to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id team assignments params (not the query body).

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

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDTeamAssignmentsParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) SetPostV1IncidentsIncidentIDTeamAssignments

func (o *PostV1IncidentsIncidentIDTeamAssignmentsParams) SetPostV1IncidentsIncidentIDTeamAssignments(postV1IncidentsIncidentIDTeamAssignments *models.PostV1IncidentsIncidentIDTeamAssignments)

SetPostV1IncidentsIncidentIDTeamAssignments adds the postV1IncidentsIncidentIdTeamAssignments to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) WithContext

WithContext adds the context to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id team assignments params (not the query body).

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

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) WithPostV1IncidentsIncidentIDTeamAssignments

func (o *PostV1IncidentsIncidentIDTeamAssignmentsParams) WithPostV1IncidentsIncidentIDTeamAssignments(postV1IncidentsIncidentIDTeamAssignments *models.PostV1IncidentsIncidentIDTeamAssignments) *PostV1IncidentsIncidentIDTeamAssignmentsParams

WithPostV1IncidentsIncidentIDTeamAssignments adds the postV1IncidentsIncidentIDTeamAssignments to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id team assignments params

func (*PostV1IncidentsIncidentIDTeamAssignmentsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDTeamAssignmentsReader

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

PostV1IncidentsIncidentIDTeamAssignmentsReader is a Reader for the PostV1IncidentsIncidentIDTeamAssignments structure.

func (*PostV1IncidentsIncidentIDTeamAssignmentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsIncidentIDUnarchiveCreated

type PostV1IncidentsIncidentIDUnarchiveCreated struct {
	Payload *models.IncidentEntity
}

PostV1IncidentsIncidentIDUnarchiveCreated describes a response with status code 201, with default header values.

Unarchives an incident

func NewPostV1IncidentsIncidentIDUnarchiveCreated

func NewPostV1IncidentsIncidentIDUnarchiveCreated() *PostV1IncidentsIncidentIDUnarchiveCreated

NewPostV1IncidentsIncidentIDUnarchiveCreated creates a PostV1IncidentsIncidentIDUnarchiveCreated with default headers values

func (*PostV1IncidentsIncidentIDUnarchiveCreated) Error

func (*PostV1IncidentsIncidentIDUnarchiveCreated) GetPayload

func (*PostV1IncidentsIncidentIDUnarchiveCreated) IsClientError

IsClientError returns true when this post v1 incidents incident Id unarchive created response has a 4xx status code

func (*PostV1IncidentsIncidentIDUnarchiveCreated) IsCode

IsCode returns true when this post v1 incidents incident Id unarchive created response a status code equal to that given

func (*PostV1IncidentsIncidentIDUnarchiveCreated) IsRedirect

IsRedirect returns true when this post v1 incidents incident Id unarchive created response has a 3xx status code

func (*PostV1IncidentsIncidentIDUnarchiveCreated) IsServerError

IsServerError returns true when this post v1 incidents incident Id unarchive created response has a 5xx status code

func (*PostV1IncidentsIncidentIDUnarchiveCreated) IsSuccess

IsSuccess returns true when this post v1 incidents incident Id unarchive created response has a 2xx status code

func (*PostV1IncidentsIncidentIDUnarchiveCreated) String

type PostV1IncidentsIncidentIDUnarchiveParams

type PostV1IncidentsIncidentIDUnarchiveParams struct {

	// IncidentID.
	IncidentID string

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

PostV1IncidentsIncidentIDUnarchiveParams contains all the parameters to send to the API endpoint

for the post v1 incidents incident Id unarchive operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsIncidentIDUnarchiveParams

func NewPostV1IncidentsIncidentIDUnarchiveParams() *PostV1IncidentsIncidentIDUnarchiveParams

NewPostV1IncidentsIncidentIDUnarchiveParams creates a new PostV1IncidentsIncidentIDUnarchiveParams 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 NewPostV1IncidentsIncidentIDUnarchiveParamsWithContext

func NewPostV1IncidentsIncidentIDUnarchiveParamsWithContext(ctx context.Context) *PostV1IncidentsIncidentIDUnarchiveParams

NewPostV1IncidentsIncidentIDUnarchiveParamsWithContext creates a new PostV1IncidentsIncidentIDUnarchiveParams object with the ability to set a context for a request.

func NewPostV1IncidentsIncidentIDUnarchiveParamsWithHTTPClient

func NewPostV1IncidentsIncidentIDUnarchiveParamsWithHTTPClient(client *http.Client) *PostV1IncidentsIncidentIDUnarchiveParams

NewPostV1IncidentsIncidentIDUnarchiveParamsWithHTTPClient creates a new PostV1IncidentsIncidentIDUnarchiveParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsIncidentIDUnarchiveParamsWithTimeout

func NewPostV1IncidentsIncidentIDUnarchiveParamsWithTimeout(timeout time.Duration) *PostV1IncidentsIncidentIDUnarchiveParams

NewPostV1IncidentsIncidentIDUnarchiveParamsWithTimeout creates a new PostV1IncidentsIncidentIDUnarchiveParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsIncidentIDUnarchiveParams) SetContext

SetContext adds the context to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) SetDefaults

SetDefaults hydrates default values in the post v1 incidents incident Id unarchive params (not the query body).

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

func (*PostV1IncidentsIncidentIDUnarchiveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) SetIncidentID

func (o *PostV1IncidentsIncidentIDUnarchiveParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) SetTimeout

SetTimeout adds the timeout to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) WithContext

WithContext adds the context to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) WithDefaults

WithDefaults hydrates default values in the post v1 incidents incident Id unarchive params (not the query body).

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

func (*PostV1IncidentsIncidentIDUnarchiveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) WithIncidentID

WithIncidentID adds the incidentID to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) WithTimeout

WithTimeout adds the timeout to the post v1 incidents incident Id unarchive params

func (*PostV1IncidentsIncidentIDUnarchiveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1IncidentsIncidentIDUnarchiveReader

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

PostV1IncidentsIncidentIDUnarchiveReader is a Reader for the PostV1IncidentsIncidentIDUnarchive structure.

func (*PostV1IncidentsIncidentIDUnarchiveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1IncidentsParams

type PostV1IncidentsParams struct {

	// PostV1Incidents.
	PostV1Incidents *models.PostV1Incidents

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

PostV1IncidentsParams contains all the parameters to send to the API endpoint

for the post v1 incidents operation.

Typically these are written to a http.Request.

func NewPostV1IncidentsParams

func NewPostV1IncidentsParams() *PostV1IncidentsParams

NewPostV1IncidentsParams creates a new PostV1IncidentsParams 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 NewPostV1IncidentsParamsWithContext

func NewPostV1IncidentsParamsWithContext(ctx context.Context) *PostV1IncidentsParams

NewPostV1IncidentsParamsWithContext creates a new PostV1IncidentsParams object with the ability to set a context for a request.

func NewPostV1IncidentsParamsWithHTTPClient

func NewPostV1IncidentsParamsWithHTTPClient(client *http.Client) *PostV1IncidentsParams

NewPostV1IncidentsParamsWithHTTPClient creates a new PostV1IncidentsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1IncidentsParamsWithTimeout

func NewPostV1IncidentsParamsWithTimeout(timeout time.Duration) *PostV1IncidentsParams

NewPostV1IncidentsParamsWithTimeout creates a new PostV1IncidentsParams object with the ability to set a timeout on a request.

func (*PostV1IncidentsParams) SetContext

func (o *PostV1IncidentsParams) SetContext(ctx context.Context)

SetContext adds the context to the post v1 incidents params

func (*PostV1IncidentsParams) SetDefaults

func (o *PostV1IncidentsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 incidents params (not the query body).

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

func (*PostV1IncidentsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 incidents params

func (*PostV1IncidentsParams) SetPostV1Incidents

func (o *PostV1IncidentsParams) SetPostV1Incidents(postV1Incidents *models.PostV1Incidents)

SetPostV1Incidents adds the postV1Incidents to the post v1 incidents params

func (*PostV1IncidentsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 incidents params

func (*PostV1IncidentsParams) WithContext

WithContext adds the context to the post v1 incidents params

func (*PostV1IncidentsParams) WithDefaults

func (o *PostV1IncidentsParams) WithDefaults() *PostV1IncidentsParams

WithDefaults hydrates default values in the post v1 incidents params (not the query body).

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

func (*PostV1IncidentsParams) WithHTTPClient

func (o *PostV1IncidentsParams) WithHTTPClient(client *http.Client) *PostV1IncidentsParams

WithHTTPClient adds the HTTPClient to the post v1 incidents params

func (*PostV1IncidentsParams) WithPostV1Incidents

func (o *PostV1IncidentsParams) WithPostV1Incidents(postV1Incidents *models.PostV1Incidents) *PostV1IncidentsParams

WithPostV1Incidents adds the postV1Incidents to the post v1 incidents params

func (*PostV1IncidentsParams) WithTimeout

func (o *PostV1IncidentsParams) WithTimeout(timeout time.Duration) *PostV1IncidentsParams

WithTimeout adds the timeout to the post v1 incidents params

func (*PostV1IncidentsParams) WriteToRequest

func (o *PostV1IncidentsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostV1IncidentsReader

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

PostV1IncidentsReader is a Reader for the PostV1Incidents structure.

func (*PostV1IncidentsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1IncidentsIncidentIDCloseOK

type PutV1IncidentsIncidentIDCloseOK struct {
	Payload *models.IncidentEntity
}

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

Closes an incident and optionally close all children

func NewPutV1IncidentsIncidentIDCloseOK

func NewPutV1IncidentsIncidentIDCloseOK() *PutV1IncidentsIncidentIDCloseOK

NewPutV1IncidentsIncidentIDCloseOK creates a PutV1IncidentsIncidentIDCloseOK with default headers values

func (*PutV1IncidentsIncidentIDCloseOK) Error

func (*PutV1IncidentsIncidentIDCloseOK) GetPayload

func (*PutV1IncidentsIncidentIDCloseOK) IsClientError

func (o *PutV1IncidentsIncidentIDCloseOK) IsClientError() bool

IsClientError returns true when this put v1 incidents incident Id close o k response has a 4xx status code

func (*PutV1IncidentsIncidentIDCloseOK) IsCode

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

IsCode returns true when this put v1 incidents incident Id close o k response a status code equal to that given

func (*PutV1IncidentsIncidentIDCloseOK) IsRedirect

func (o *PutV1IncidentsIncidentIDCloseOK) IsRedirect() bool

IsRedirect returns true when this put v1 incidents incident Id close o k response has a 3xx status code

func (*PutV1IncidentsIncidentIDCloseOK) IsServerError

func (o *PutV1IncidentsIncidentIDCloseOK) IsServerError() bool

IsServerError returns true when this put v1 incidents incident Id close o k response has a 5xx status code

func (*PutV1IncidentsIncidentIDCloseOK) IsSuccess

func (o *PutV1IncidentsIncidentIDCloseOK) IsSuccess() bool

IsSuccess returns true when this put v1 incidents incident Id close o k response has a 2xx status code

func (*PutV1IncidentsIncidentIDCloseOK) String

type PutV1IncidentsIncidentIDCloseParams

type PutV1IncidentsIncidentIDCloseParams struct {

	// IncidentID.
	IncidentID string

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

PutV1IncidentsIncidentIDCloseParams contains all the parameters to send to the API endpoint

for the put v1 incidents incident Id close operation.

Typically these are written to a http.Request.

func NewPutV1IncidentsIncidentIDCloseParams

func NewPutV1IncidentsIncidentIDCloseParams() *PutV1IncidentsIncidentIDCloseParams

NewPutV1IncidentsIncidentIDCloseParams creates a new PutV1IncidentsIncidentIDCloseParams 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 NewPutV1IncidentsIncidentIDCloseParamsWithContext

func NewPutV1IncidentsIncidentIDCloseParamsWithContext(ctx context.Context) *PutV1IncidentsIncidentIDCloseParams

NewPutV1IncidentsIncidentIDCloseParamsWithContext creates a new PutV1IncidentsIncidentIDCloseParams object with the ability to set a context for a request.

func NewPutV1IncidentsIncidentIDCloseParamsWithHTTPClient

func NewPutV1IncidentsIncidentIDCloseParamsWithHTTPClient(client *http.Client) *PutV1IncidentsIncidentIDCloseParams

NewPutV1IncidentsIncidentIDCloseParamsWithHTTPClient creates a new PutV1IncidentsIncidentIDCloseParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1IncidentsIncidentIDCloseParamsWithTimeout

func NewPutV1IncidentsIncidentIDCloseParamsWithTimeout(timeout time.Duration) *PutV1IncidentsIncidentIDCloseParams

NewPutV1IncidentsIncidentIDCloseParamsWithTimeout creates a new PutV1IncidentsIncidentIDCloseParams object with the ability to set a timeout on a request.

func (*PutV1IncidentsIncidentIDCloseParams) SetContext

SetContext adds the context to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) SetDefaults

func (o *PutV1IncidentsIncidentIDCloseParams) SetDefaults()

SetDefaults hydrates default values in the put v1 incidents incident Id close params (not the query body).

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

func (*PutV1IncidentsIncidentIDCloseParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) SetIncidentID

func (o *PutV1IncidentsIncidentIDCloseParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) SetTimeout

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

SetTimeout adds the timeout to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) WithContext

WithContext adds the context to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) WithDefaults

WithDefaults hydrates default values in the put v1 incidents incident Id close params (not the query body).

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

func (*PutV1IncidentsIncidentIDCloseParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) WithIncidentID

WithIncidentID adds the incidentID to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) WithTimeout

WithTimeout adds the timeout to the put v1 incidents incident Id close params

func (*PutV1IncidentsIncidentIDCloseParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1IncidentsIncidentIDCloseReader

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

PutV1IncidentsIncidentIDCloseReader is a Reader for the PutV1IncidentsIncidentIDClose structure.

func (*PutV1IncidentsIncidentIDCloseReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1IncidentsIncidentIDImpactOK

type PutV1IncidentsIncidentIDImpactOK struct {
	Payload *models.IncidentEntity
}
PutV1IncidentsIncidentIDImpactOK describes a response with status code 200, with default header values.

Allows updating an incident's impacted infrastructure, with the option to

move the incident into a different milestone and provide a note to update the incident timeline and any attached status pages. If this method is requested with the PUT verb, impacts will be completely replaced with the information in the request body, even if not provided (effectively clearing all impacts). If this method is requested with the PATCH verb, the provided impacts will be added or updated, but no impacts will be removed.

func NewPutV1IncidentsIncidentIDImpactOK

func NewPutV1IncidentsIncidentIDImpactOK() *PutV1IncidentsIncidentIDImpactOK

NewPutV1IncidentsIncidentIDImpactOK creates a PutV1IncidentsIncidentIDImpactOK with default headers values

func (*PutV1IncidentsIncidentIDImpactOK) Error

func (*PutV1IncidentsIncidentIDImpactOK) GetPayload

func (*PutV1IncidentsIncidentIDImpactOK) IsClientError

func (o *PutV1IncidentsIncidentIDImpactOK) IsClientError() bool

IsClientError returns true when this put v1 incidents incident Id impact o k response has a 4xx status code

func (*PutV1IncidentsIncidentIDImpactOK) IsCode

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

IsCode returns true when this put v1 incidents incident Id impact o k response a status code equal to that given

func (*PutV1IncidentsIncidentIDImpactOK) IsRedirect

func (o *PutV1IncidentsIncidentIDImpactOK) IsRedirect() bool

IsRedirect returns true when this put v1 incidents incident Id impact o k response has a 3xx status code

func (*PutV1IncidentsIncidentIDImpactOK) IsServerError

func (o *PutV1IncidentsIncidentIDImpactOK) IsServerError() bool

IsServerError returns true when this put v1 incidents incident Id impact o k response has a 5xx status code

func (*PutV1IncidentsIncidentIDImpactOK) IsSuccess

func (o *PutV1IncidentsIncidentIDImpactOK) IsSuccess() bool

IsSuccess returns true when this put v1 incidents incident Id impact o k response has a 2xx status code

func (*PutV1IncidentsIncidentIDImpactOK) String

type PutV1IncidentsIncidentIDImpactParams

type PutV1IncidentsIncidentIDImpactParams struct {

	// IncidentID.
	IncidentID string

	// PutV1IncidentsIncidentIDImpact.
	PutV1IncidentsIncidentIDImpact *models.PutV1IncidentsIncidentIDImpact

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

PutV1IncidentsIncidentIDImpactParams contains all the parameters to send to the API endpoint

for the put v1 incidents incident Id impact operation.

Typically these are written to a http.Request.

func NewPutV1IncidentsIncidentIDImpactParams

func NewPutV1IncidentsIncidentIDImpactParams() *PutV1IncidentsIncidentIDImpactParams

NewPutV1IncidentsIncidentIDImpactParams creates a new PutV1IncidentsIncidentIDImpactParams 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 NewPutV1IncidentsIncidentIDImpactParamsWithContext

func NewPutV1IncidentsIncidentIDImpactParamsWithContext(ctx context.Context) *PutV1IncidentsIncidentIDImpactParams

NewPutV1IncidentsIncidentIDImpactParamsWithContext creates a new PutV1IncidentsIncidentIDImpactParams object with the ability to set a context for a request.

func NewPutV1IncidentsIncidentIDImpactParamsWithHTTPClient

func NewPutV1IncidentsIncidentIDImpactParamsWithHTTPClient(client *http.Client) *PutV1IncidentsIncidentIDImpactParams

NewPutV1IncidentsIncidentIDImpactParamsWithHTTPClient creates a new PutV1IncidentsIncidentIDImpactParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1IncidentsIncidentIDImpactParamsWithTimeout

func NewPutV1IncidentsIncidentIDImpactParamsWithTimeout(timeout time.Duration) *PutV1IncidentsIncidentIDImpactParams

NewPutV1IncidentsIncidentIDImpactParamsWithTimeout creates a new PutV1IncidentsIncidentIDImpactParams object with the ability to set a timeout on a request.

func (*PutV1IncidentsIncidentIDImpactParams) SetContext

SetContext adds the context to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) SetDefaults

func (o *PutV1IncidentsIncidentIDImpactParams) SetDefaults()

SetDefaults hydrates default values in the put v1 incidents incident Id impact params (not the query body).

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

func (*PutV1IncidentsIncidentIDImpactParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) SetIncidentID

func (o *PutV1IncidentsIncidentIDImpactParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) SetPutV1IncidentsIncidentIDImpact

func (o *PutV1IncidentsIncidentIDImpactParams) SetPutV1IncidentsIncidentIDImpact(putV1IncidentsIncidentIDImpact *models.PutV1IncidentsIncidentIDImpact)

SetPutV1IncidentsIncidentIDImpact adds the putV1IncidentsIncidentIdImpact to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) SetTimeout

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

SetTimeout adds the timeout to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) WithContext

WithContext adds the context to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) WithDefaults

WithDefaults hydrates default values in the put v1 incidents incident Id impact params (not the query body).

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

func (*PutV1IncidentsIncidentIDImpactParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) WithIncidentID

WithIncidentID adds the incidentID to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) WithPutV1IncidentsIncidentIDImpact

func (o *PutV1IncidentsIncidentIDImpactParams) WithPutV1IncidentsIncidentIDImpact(putV1IncidentsIncidentIDImpact *models.PutV1IncidentsIncidentIDImpact) *PutV1IncidentsIncidentIDImpactParams

WithPutV1IncidentsIncidentIDImpact adds the putV1IncidentsIncidentIDImpact to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) WithTimeout

WithTimeout adds the timeout to the put v1 incidents incident Id impact params

func (*PutV1IncidentsIncidentIDImpactParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1IncidentsIncidentIDImpactReader

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

PutV1IncidentsIncidentIDImpactReader is a Reader for the PutV1IncidentsIncidentIDImpact structure.

func (*PutV1IncidentsIncidentIDImpactReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1IncidentsIncidentIDLinksLinkIDOK

type PutV1IncidentsIncidentIDLinksLinkIDOK struct {
}

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

Updates the external incident link attributes

func NewPutV1IncidentsIncidentIDLinksLinkIDOK

func NewPutV1IncidentsIncidentIDLinksLinkIDOK() *PutV1IncidentsIncidentIDLinksLinkIDOK

NewPutV1IncidentsIncidentIDLinksLinkIDOK creates a PutV1IncidentsIncidentIDLinksLinkIDOK with default headers values

func (*PutV1IncidentsIncidentIDLinksLinkIDOK) Error

func (*PutV1IncidentsIncidentIDLinksLinkIDOK) IsClientError

func (o *PutV1IncidentsIncidentIDLinksLinkIDOK) IsClientError() bool

IsClientError returns true when this put v1 incidents incident Id links link Id o k response has a 4xx status code

func (*PutV1IncidentsIncidentIDLinksLinkIDOK) IsCode

IsCode returns true when this put v1 incidents incident Id links link Id o k response a status code equal to that given

func (*PutV1IncidentsIncidentIDLinksLinkIDOK) IsRedirect

IsRedirect returns true when this put v1 incidents incident Id links link Id o k response has a 3xx status code

func (*PutV1IncidentsIncidentIDLinksLinkIDOK) IsServerError

func (o *PutV1IncidentsIncidentIDLinksLinkIDOK) IsServerError() bool

IsServerError returns true when this put v1 incidents incident Id links link Id o k response has a 5xx status code

func (*PutV1IncidentsIncidentIDLinksLinkIDOK) IsSuccess

IsSuccess returns true when this put v1 incidents incident Id links link Id o k response has a 2xx status code

func (*PutV1IncidentsIncidentIDLinksLinkIDOK) String

type PutV1IncidentsIncidentIDLinksLinkIDParams

type PutV1IncidentsIncidentIDLinksLinkIDParams struct {

	// IncidentID.
	IncidentID string

	// LinkID.
	LinkID string

	// PutV1IncidentsIncidentIDLinksLinkID.
	PutV1IncidentsIncidentIDLinksLinkID *models.PutV1IncidentsIncidentIDLinksLinkID

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

PutV1IncidentsIncidentIDLinksLinkIDParams contains all the parameters to send to the API endpoint

for the put v1 incidents incident Id links link Id operation.

Typically these are written to a http.Request.

func NewPutV1IncidentsIncidentIDLinksLinkIDParams

func NewPutV1IncidentsIncidentIDLinksLinkIDParams() *PutV1IncidentsIncidentIDLinksLinkIDParams

NewPutV1IncidentsIncidentIDLinksLinkIDParams creates a new PutV1IncidentsIncidentIDLinksLinkIDParams 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 NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithContext

func NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithContext(ctx context.Context) *PutV1IncidentsIncidentIDLinksLinkIDParams

NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithContext creates a new PutV1IncidentsIncidentIDLinksLinkIDParams object with the ability to set a context for a request.

func NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithHTTPClient

func NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithHTTPClient(client *http.Client) *PutV1IncidentsIncidentIDLinksLinkIDParams

NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithHTTPClient creates a new PutV1IncidentsIncidentIDLinksLinkIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithTimeout

func NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithTimeout(timeout time.Duration) *PutV1IncidentsIncidentIDLinksLinkIDParams

NewPutV1IncidentsIncidentIDLinksLinkIDParamsWithTimeout creates a new PutV1IncidentsIncidentIDLinksLinkIDParams object with the ability to set a timeout on a request.

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) SetContext

SetContext adds the context to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) SetDefaults

SetDefaults hydrates default values in the put v1 incidents incident Id links link Id params (not the query body).

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

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) SetIncidentID

func (o *PutV1IncidentsIncidentIDLinksLinkIDParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) SetLinkID

SetLinkID adds the linkId to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) SetPutV1IncidentsIncidentIDLinksLinkID

func (o *PutV1IncidentsIncidentIDLinksLinkIDParams) SetPutV1IncidentsIncidentIDLinksLinkID(putV1IncidentsIncidentIDLinksLinkID *models.PutV1IncidentsIncidentIDLinksLinkID)

SetPutV1IncidentsIncidentIDLinksLinkID adds the putV1IncidentsIncidentIdLinksLinkId to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) SetTimeout

SetTimeout adds the timeout to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WithContext

WithContext adds the context to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WithDefaults

WithDefaults hydrates default values in the put v1 incidents incident Id links link Id params (not the query body).

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

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WithIncidentID

WithIncidentID adds the incidentID to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WithLinkID

WithLinkID adds the linkID to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WithPutV1IncidentsIncidentIDLinksLinkID

func (o *PutV1IncidentsIncidentIDLinksLinkIDParams) WithPutV1IncidentsIncidentIDLinksLinkID(putV1IncidentsIncidentIDLinksLinkID *models.PutV1IncidentsIncidentIDLinksLinkID) *PutV1IncidentsIncidentIDLinksLinkIDParams

WithPutV1IncidentsIncidentIDLinksLinkID adds the putV1IncidentsIncidentIDLinksLinkID to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 incidents incident Id links link Id params

func (*PutV1IncidentsIncidentIDLinksLinkIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1IncidentsIncidentIDLinksLinkIDReader

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

PutV1IncidentsIncidentIDLinksLinkIDReader is a Reader for the PutV1IncidentsIncidentIDLinksLinkID structure.

func (*PutV1IncidentsIncidentIDLinksLinkIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1IncidentsIncidentIDMilestonesBulkUpdateOK

type PutV1IncidentsIncidentIDMilestonesBulkUpdateOK struct {
	Payload *models.IncidentsMilestoneEntityPaginated
}
PutV1IncidentsIncidentIDMilestonesBulkUpdateOK describes a response with status code 200, with default header values.

Update milestone times in bulk for a given incident. All milestone

times for an incident must occur in chronological order corresponding to the configured order of milestones. If the result of this request would cause any milestone(s) to appear out of place, a 422 response will instead be returned. This includes milestones not explicitly submitted or updated in this request.

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateOK

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateOK() *PutV1IncidentsIncidentIDMilestonesBulkUpdateOK

NewPutV1IncidentsIncidentIDMilestonesBulkUpdateOK creates a PutV1IncidentsIncidentIDMilestonesBulkUpdateOK with default headers values

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) Error

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) GetPayload

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) IsClientError

IsClientError returns true when this put v1 incidents incident Id milestones bulk update o k response has a 4xx status code

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) IsCode

IsCode returns true when this put v1 incidents incident Id milestones bulk update o k response a status code equal to that given

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) IsRedirect

IsRedirect returns true when this put v1 incidents incident Id milestones bulk update o k response has a 3xx status code

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) IsServerError

IsServerError returns true when this put v1 incidents incident Id milestones bulk update o k response has a 5xx status code

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) IsSuccess

IsSuccess returns true when this put v1 incidents incident Id milestones bulk update o k response has a 2xx status code

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateOK) String

type PutV1IncidentsIncidentIDMilestonesBulkUpdateParams

type PutV1IncidentsIncidentIDMilestonesBulkUpdateParams struct {

	// IncidentID.
	IncidentID string

	// PutV1IncidentsIncidentIDMilestonesBulkUpdate.
	PutV1IncidentsIncidentIDMilestonesBulkUpdate *models.PutV1IncidentsIncidentIDMilestonesBulkUpdate

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

PutV1IncidentsIncidentIDMilestonesBulkUpdateParams contains all the parameters to send to the API endpoint

for the put v1 incidents incident Id milestones bulk update operation.

Typically these are written to a http.Request.

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParams

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParams() *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams

NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParams creates a new PutV1IncidentsIncidentIDMilestonesBulkUpdateParams 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 NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithContext

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithContext(ctx context.Context) *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams

NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithContext creates a new PutV1IncidentsIncidentIDMilestonesBulkUpdateParams object with the ability to set a context for a request.

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithHTTPClient

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithHTTPClient(client *http.Client) *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams

NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithHTTPClient creates a new PutV1IncidentsIncidentIDMilestonesBulkUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithTimeout

func NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithTimeout(timeout time.Duration) *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams

NewPutV1IncidentsIncidentIDMilestonesBulkUpdateParamsWithTimeout creates a new PutV1IncidentsIncidentIDMilestonesBulkUpdateParams object with the ability to set a timeout on a request.

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetContext

SetContext adds the context to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetDefaults

SetDefaults hydrates default values in the put v1 incidents incident Id milestones bulk update params (not the query body).

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

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetIncidentID

func (o *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetPutV1IncidentsIncidentIDMilestonesBulkUpdate

func (o *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetPutV1IncidentsIncidentIDMilestonesBulkUpdate(putV1IncidentsIncidentIDMilestonesBulkUpdate *models.PutV1IncidentsIncidentIDMilestonesBulkUpdate)

SetPutV1IncidentsIncidentIDMilestonesBulkUpdate adds the putV1IncidentsIncidentIdMilestonesBulkUpdate to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) SetTimeout

SetTimeout adds the timeout to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WithContext

WithContext adds the context to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WithDefaults

WithDefaults hydrates default values in the put v1 incidents incident Id milestones bulk update params (not the query body).

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

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WithIncidentID

WithIncidentID adds the incidentID to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WithPutV1IncidentsIncidentIDMilestonesBulkUpdate

func (o *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WithPutV1IncidentsIncidentIDMilestonesBulkUpdate(putV1IncidentsIncidentIDMilestonesBulkUpdate *models.PutV1IncidentsIncidentIDMilestonesBulkUpdate) *PutV1IncidentsIncidentIDMilestonesBulkUpdateParams

WithPutV1IncidentsIncidentIDMilestonesBulkUpdate adds the putV1IncidentsIncidentIDMilestonesBulkUpdate to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WithTimeout

WithTimeout adds the timeout to the put v1 incidents incident Id milestones bulk update params

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1IncidentsIncidentIDMilestonesBulkUpdateReader

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

PutV1IncidentsIncidentIDMilestonesBulkUpdateReader is a Reader for the PutV1IncidentsIncidentIDMilestonesBulkUpdate structure.

func (*PutV1IncidentsIncidentIDMilestonesBulkUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1IncidentsIncidentIDResolveOK

type PutV1IncidentsIncidentIDResolveOK struct {
	Payload *models.IncidentEntity
}

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

Resolves a currently active incident

func NewPutV1IncidentsIncidentIDResolveOK

func NewPutV1IncidentsIncidentIDResolveOK() *PutV1IncidentsIncidentIDResolveOK

NewPutV1IncidentsIncidentIDResolveOK creates a PutV1IncidentsIncidentIDResolveOK with default headers values

func (*PutV1IncidentsIncidentIDResolveOK) Error

func (*PutV1IncidentsIncidentIDResolveOK) GetPayload

func (*PutV1IncidentsIncidentIDResolveOK) IsClientError

func (o *PutV1IncidentsIncidentIDResolveOK) IsClientError() bool

IsClientError returns true when this put v1 incidents incident Id resolve o k response has a 4xx status code

func (*PutV1IncidentsIncidentIDResolveOK) IsCode

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

IsCode returns true when this put v1 incidents incident Id resolve o k response a status code equal to that given

func (*PutV1IncidentsIncidentIDResolveOK) IsRedirect

func (o *PutV1IncidentsIncidentIDResolveOK) IsRedirect() bool

IsRedirect returns true when this put v1 incidents incident Id resolve o k response has a 3xx status code

func (*PutV1IncidentsIncidentIDResolveOK) IsServerError

func (o *PutV1IncidentsIncidentIDResolveOK) IsServerError() bool

IsServerError returns true when this put v1 incidents incident Id resolve o k response has a 5xx status code

func (*PutV1IncidentsIncidentIDResolveOK) IsSuccess

func (o *PutV1IncidentsIncidentIDResolveOK) IsSuccess() bool

IsSuccess returns true when this put v1 incidents incident Id resolve o k response has a 2xx status code

func (*PutV1IncidentsIncidentIDResolveOK) String

type PutV1IncidentsIncidentIDResolveParams

type PutV1IncidentsIncidentIDResolveParams struct {

	// IncidentID.
	IncidentID string

	/* Milestone.

	   The slug of any milestone in the post-incident or closed phase to set on the incident (and its children, if `resolve_children` os set). Must be one of the configured milestones available on this incident.
	*/
	Milestone *string

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

PutV1IncidentsIncidentIDResolveParams contains all the parameters to send to the API endpoint

for the put v1 incidents incident Id resolve operation.

Typically these are written to a http.Request.

func NewPutV1IncidentsIncidentIDResolveParams

func NewPutV1IncidentsIncidentIDResolveParams() *PutV1IncidentsIncidentIDResolveParams

NewPutV1IncidentsIncidentIDResolveParams creates a new PutV1IncidentsIncidentIDResolveParams 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 NewPutV1IncidentsIncidentIDResolveParamsWithContext

func NewPutV1IncidentsIncidentIDResolveParamsWithContext(ctx context.Context) *PutV1IncidentsIncidentIDResolveParams

NewPutV1IncidentsIncidentIDResolveParamsWithContext creates a new PutV1IncidentsIncidentIDResolveParams object with the ability to set a context for a request.

func NewPutV1IncidentsIncidentIDResolveParamsWithHTTPClient

func NewPutV1IncidentsIncidentIDResolveParamsWithHTTPClient(client *http.Client) *PutV1IncidentsIncidentIDResolveParams

NewPutV1IncidentsIncidentIDResolveParamsWithHTTPClient creates a new PutV1IncidentsIncidentIDResolveParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1IncidentsIncidentIDResolveParamsWithTimeout

func NewPutV1IncidentsIncidentIDResolveParamsWithTimeout(timeout time.Duration) *PutV1IncidentsIncidentIDResolveParams

NewPutV1IncidentsIncidentIDResolveParamsWithTimeout creates a new PutV1IncidentsIncidentIDResolveParams object with the ability to set a timeout on a request.

func (*PutV1IncidentsIncidentIDResolveParams) SetContext

SetContext adds the context to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) SetDefaults

func (o *PutV1IncidentsIncidentIDResolveParams) SetDefaults()

SetDefaults hydrates default values in the put v1 incidents incident Id resolve params (not the query body).

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

func (*PutV1IncidentsIncidentIDResolveParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) SetIncidentID

func (o *PutV1IncidentsIncidentIDResolveParams) SetIncidentID(incidentID string)

SetIncidentID adds the incidentId to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) SetMilestone

func (o *PutV1IncidentsIncidentIDResolveParams) SetMilestone(milestone *string)

SetMilestone adds the milestone to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) SetTimeout

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

SetTimeout adds the timeout to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) WithContext

WithContext adds the context to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) WithDefaults

WithDefaults hydrates default values in the put v1 incidents incident Id resolve params (not the query body).

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

func (*PutV1IncidentsIncidentIDResolveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) WithIncidentID

WithIncidentID adds the incidentID to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) WithMilestone

WithMilestone adds the milestone to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) WithTimeout

WithTimeout adds the timeout to the put v1 incidents incident Id resolve params

func (*PutV1IncidentsIncidentIDResolveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1IncidentsIncidentIDResolveReader

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

PutV1IncidentsIncidentIDResolveReader is a Reader for the PutV1IncidentsIncidentIDResolve structure.

func (*PutV1IncidentsIncidentIDResolveReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Source Files

Jump to

Keyboard shortcuts

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