post_mortems

package
v0.0.0-...-4387d94 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 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 post mortems API

func (*Client) DeleteV1PostMortemsReportsReportIDReasonsReasonID

DeleteV1PostMortemsReportsReportIDReasonsReasonID deletes a contributing factor

Delete a contributing factor

func (*Client) GetV1PostMortemsQuestions

func (a *Client) GetV1PostMortemsQuestions(params *GetV1PostMortemsQuestionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsQuestionsOK, error)

GetV1PostMortemsQuestions lists incident retrospective questions

List the questions configured to be provided and filled out on each retrospective report.

func (*Client) GetV1PostMortemsQuestionsQuestionID

func (a *Client) GetV1PostMortemsQuestionsQuestionID(params *GetV1PostMortemsQuestionsQuestionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsQuestionsQuestionIDOK, error)

GetV1PostMortemsQuestionsQuestionID gets an incident retrospective question configured to be provided and filled out on each retrospective report

Get an incident retrospective question

func (*Client) GetV1PostMortemsReports

func (a *Client) GetV1PostMortemsReports(params *GetV1PostMortemsReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsReportsOK, error)

GetV1PostMortemsReports lists all reports

List all reports

func (*Client) GetV1PostMortemsReportsReportID

func (a *Client) GetV1PostMortemsReportsReportID(params *GetV1PostMortemsReportsReportIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsReportsReportIDOK, error)

GetV1PostMortemsReportsReportID gets a report

Get a report

func (*Client) GetV1PostMortemsReportsReportIDReasons

GetV1PostMortemsReportsReportIDReasons lists contributing factors

List all contributing factors to an incident

func (*Client) PatchV1PostMortemsReportsReportID

func (a *Client) PatchV1PostMortemsReportsReportID(params *PatchV1PostMortemsReportsReportIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1PostMortemsReportsReportIDOK, error)

PatchV1PostMortemsReportsReportID updates a report

Update a report

func (*Client) PatchV1PostMortemsReportsReportIDFieldsFieldID

PatchV1PostMortemsReportsReportIDFieldsFieldID updates a field

Update a field value on a post mortem report

func (*Client) PatchV1PostMortemsReportsReportIDReasonsReasonID

PatchV1PostMortemsReportsReportIDReasonsReasonID updates a contributing factor

Update a contributing factor

func (*Client) PostV1PostMortemsReports

func (a *Client) PostV1PostMortemsReports(params *PostV1PostMortemsReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1PostMortemsReportsCreated, error)

PostV1PostMortemsReports creates a report

Create a report

func (*Client) PostV1PostMortemsReportsReportIDPublish

PostV1PostMortemsReportsReportIDPublish publishes a retrospective report

Marks an incident retrospective as published and emails all of the participants in the report the summary

func (*Client) PostV1PostMortemsReportsReportIDReasons

PostV1PostMortemsReportsReportIDReasons creates contributing factor

Add a new contributing factor to an incident

func (*Client) PutV1PostMortemsQuestions

func (a *Client) PutV1PostMortemsQuestions(params *PutV1PostMortemsQuestionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1PostMortemsQuestionsOK, error)

PutV1PostMortemsQuestions updates incident retrospective questions

Update the questions configured to be provided and filled out on future retrospective reports.

func (*Client) PutV1PostMortemsReportsReportIDReasonsOrder

PutV1PostMortemsReportsReportIDReasonsOrder reorders a contributing factor

Reorder a contributing factor

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 {
	DeleteV1PostMortemsReportsReportIDReasonsReasonID(params *DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK, error)

	GetV1PostMortemsQuestions(params *GetV1PostMortemsQuestionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsQuestionsOK, error)

	GetV1PostMortemsQuestionsQuestionID(params *GetV1PostMortemsQuestionsQuestionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsQuestionsQuestionIDOK, error)

	GetV1PostMortemsReports(params *GetV1PostMortemsReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsReportsOK, error)

	GetV1PostMortemsReportsReportID(params *GetV1PostMortemsReportsReportIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsReportsReportIDOK, error)

	GetV1PostMortemsReportsReportIDReasons(params *GetV1PostMortemsReportsReportIDReasonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PostMortemsReportsReportIDReasonsOK, error)

	PatchV1PostMortemsReportsReportID(params *PatchV1PostMortemsReportsReportIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1PostMortemsReportsReportIDOK, error)

	PatchV1PostMortemsReportsReportIDFieldsFieldID(params *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK, error)

	PatchV1PostMortemsReportsReportIDReasonsReasonID(params *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK, error)

	PostV1PostMortemsReports(params *PostV1PostMortemsReportsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1PostMortemsReportsCreated, error)

	PostV1PostMortemsReportsReportIDPublish(params *PostV1PostMortemsReportsReportIDPublishParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1PostMortemsReportsReportIDPublishCreated, error)

	PostV1PostMortemsReportsReportIDReasons(params *PostV1PostMortemsReportsReportIDReasonsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1PostMortemsReportsReportIDReasonsCreated, error)

	PutV1PostMortemsQuestions(params *PutV1PostMortemsQuestionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1PostMortemsQuestionsOK, error)

	PutV1PostMortemsReportsReportIDReasonsOrder(params *PutV1PostMortemsReportsReportIDReasonsOrderParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1PostMortemsReportsReportIDReasonsOrderOK, 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 post mortems API client.

type DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK

type DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK struct {
	Payload *models.PostMortemsReasonEntity
}

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

Delete a contributing factor

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDOK

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDOK() *DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK

NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDOK creates a DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK with default headers values

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) Error

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) GetPayload

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) IsClientError

IsClientError returns true when this delete v1 post mortems reports report Id reasons reason Id o k response has a 4xx status code

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) IsCode

IsCode returns true when this delete v1 post mortems reports report Id reasons reason Id o k response a status code equal to that given

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) IsRedirect

IsRedirect returns true when this delete v1 post mortems reports report Id reasons reason Id o k response has a 3xx status code

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) IsServerError

IsServerError returns true when this delete v1 post mortems reports report Id reasons reason Id o k response has a 5xx status code

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) IsSuccess

IsSuccess returns true when this delete v1 post mortems reports report Id reasons reason Id o k response has a 2xx status code

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDOK) String

type DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams

type DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams struct {

	// ReasonID.
	ReasonID string

	// ReportID.
	ReportID string

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

DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams contains all the parameters to send to the API endpoint

for the delete v1 post mortems reports report Id reasons reason Id operation.

Typically these are written to a http.Request.

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParams

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParams() *DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams

NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParams creates a new DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams 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 NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithContext

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithContext(ctx context.Context) *DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams

NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithContext creates a new DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams object with the ability to set a context for a request.

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithHTTPClient

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithHTTPClient(client *http.Client) *DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams

NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithHTTPClient creates a new DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithTimeout

func NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithTimeout(timeout time.Duration) *DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams

NewDeleteV1PostMortemsReportsReportIDReasonsReasonIDParamsWithTimeout creates a new DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams object with the ability to set a timeout on a request.

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) SetContext

SetContext adds the context to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 post mortems reports report Id reasons reason Id params (not the query body).

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

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) SetReasonID

SetReasonID adds the reasonId to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) SetReportID

SetReportID adds the reportId to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) WithContext

WithContext adds the context to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 post mortems reports report Id reasons reason Id params (not the query body).

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

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) WithReasonID

WithReasonID adds the reasonID to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) WithReportID

WithReportID adds the reportID to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 post mortems reports report Id reasons reason Id params

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1PostMortemsReportsReportIDReasonsReasonIDReader

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

DeleteV1PostMortemsReportsReportIDReasonsReasonIDReader is a Reader for the DeleteV1PostMortemsReportsReportIDReasonsReasonID structure.

func (*DeleteV1PostMortemsReportsReportIDReasonsReasonIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1PostMortemsQuestionsOK

type GetV1PostMortemsQuestionsOK struct {
	Payload *models.PostMortemsQuestionTypeEntityPaginated
}

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

List the questions configured to be provided and filled out on each retrospective report.

func NewGetV1PostMortemsQuestionsOK

func NewGetV1PostMortemsQuestionsOK() *GetV1PostMortemsQuestionsOK

NewGetV1PostMortemsQuestionsOK creates a GetV1PostMortemsQuestionsOK with default headers values

func (*GetV1PostMortemsQuestionsOK) Error

func (*GetV1PostMortemsQuestionsOK) GetPayload

func (*GetV1PostMortemsQuestionsOK) IsClientError

func (o *GetV1PostMortemsQuestionsOK) IsClientError() bool

IsClientError returns true when this get v1 post mortems questions o k response has a 4xx status code

func (*GetV1PostMortemsQuestionsOK) IsCode

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

IsCode returns true when this get v1 post mortems questions o k response a status code equal to that given

func (*GetV1PostMortemsQuestionsOK) IsRedirect

func (o *GetV1PostMortemsQuestionsOK) IsRedirect() bool

IsRedirect returns true when this get v1 post mortems questions o k response has a 3xx status code

func (*GetV1PostMortemsQuestionsOK) IsServerError

func (o *GetV1PostMortemsQuestionsOK) IsServerError() bool

IsServerError returns true when this get v1 post mortems questions o k response has a 5xx status code

func (*GetV1PostMortemsQuestionsOK) IsSuccess

func (o *GetV1PostMortemsQuestionsOK) IsSuccess() bool

IsSuccess returns true when this get v1 post mortems questions o k response has a 2xx status code

func (*GetV1PostMortemsQuestionsOK) String

func (o *GetV1PostMortemsQuestionsOK) String() string

type GetV1PostMortemsQuestionsParams

type GetV1PostMortemsQuestionsParams struct {

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

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

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

GetV1PostMortemsQuestionsParams contains all the parameters to send to the API endpoint

for the get v1 post mortems questions operation.

Typically these are written to a http.Request.

func NewGetV1PostMortemsQuestionsParams

func NewGetV1PostMortemsQuestionsParams() *GetV1PostMortemsQuestionsParams

NewGetV1PostMortemsQuestionsParams creates a new GetV1PostMortemsQuestionsParams 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 NewGetV1PostMortemsQuestionsParamsWithContext

func NewGetV1PostMortemsQuestionsParamsWithContext(ctx context.Context) *GetV1PostMortemsQuestionsParams

NewGetV1PostMortemsQuestionsParamsWithContext creates a new GetV1PostMortemsQuestionsParams object with the ability to set a context for a request.

func NewGetV1PostMortemsQuestionsParamsWithHTTPClient

func NewGetV1PostMortemsQuestionsParamsWithHTTPClient(client *http.Client) *GetV1PostMortemsQuestionsParams

NewGetV1PostMortemsQuestionsParamsWithHTTPClient creates a new GetV1PostMortemsQuestionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1PostMortemsQuestionsParamsWithTimeout

func NewGetV1PostMortemsQuestionsParamsWithTimeout(timeout time.Duration) *GetV1PostMortemsQuestionsParams

NewGetV1PostMortemsQuestionsParamsWithTimeout creates a new GetV1PostMortemsQuestionsParams object with the ability to set a timeout on a request.

func (*GetV1PostMortemsQuestionsParams) SetContext

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

SetContext adds the context to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) SetDefaults

func (o *GetV1PostMortemsQuestionsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 post mortems questions params (not the query body).

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

func (*GetV1PostMortemsQuestionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) SetPage

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

SetPage adds the page to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) WithContext

WithContext adds the context to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) WithDefaults

WithDefaults hydrates default values in the get v1 post mortems questions params (not the query body).

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

func (*GetV1PostMortemsQuestionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) WithPage

WithPage adds the page to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) WithPerPage

WithPerPage adds the perPage to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) WithTimeout

WithTimeout adds the timeout to the get v1 post mortems questions params

func (*GetV1PostMortemsQuestionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1PostMortemsQuestionsQuestionIDOK

type GetV1PostMortemsQuestionsQuestionIDOK struct {
}

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

Get an incident retrospective question

func NewGetV1PostMortemsQuestionsQuestionIDOK

func NewGetV1PostMortemsQuestionsQuestionIDOK() *GetV1PostMortemsQuestionsQuestionIDOK

NewGetV1PostMortemsQuestionsQuestionIDOK creates a GetV1PostMortemsQuestionsQuestionIDOK with default headers values

func (*GetV1PostMortemsQuestionsQuestionIDOK) Error

func (*GetV1PostMortemsQuestionsQuestionIDOK) IsClientError

func (o *GetV1PostMortemsQuestionsQuestionIDOK) IsClientError() bool

IsClientError returns true when this get v1 post mortems questions question Id o k response has a 4xx status code

func (*GetV1PostMortemsQuestionsQuestionIDOK) IsCode

IsCode returns true when this get v1 post mortems questions question Id o k response a status code equal to that given

func (*GetV1PostMortemsQuestionsQuestionIDOK) IsRedirect

IsRedirect returns true when this get v1 post mortems questions question Id o k response has a 3xx status code

func (*GetV1PostMortemsQuestionsQuestionIDOK) IsServerError

func (o *GetV1PostMortemsQuestionsQuestionIDOK) IsServerError() bool

IsServerError returns true when this get v1 post mortems questions question Id o k response has a 5xx status code

func (*GetV1PostMortemsQuestionsQuestionIDOK) IsSuccess

IsSuccess returns true when this get v1 post mortems questions question Id o k response has a 2xx status code

func (*GetV1PostMortemsQuestionsQuestionIDOK) String

type GetV1PostMortemsQuestionsQuestionIDParams

type GetV1PostMortemsQuestionsQuestionIDParams struct {

	// QuestionID.
	QuestionID string

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

GetV1PostMortemsQuestionsQuestionIDParams contains all the parameters to send to the API endpoint

for the get v1 post mortems questions question Id operation.

Typically these are written to a http.Request.

func NewGetV1PostMortemsQuestionsQuestionIDParams

func NewGetV1PostMortemsQuestionsQuestionIDParams() *GetV1PostMortemsQuestionsQuestionIDParams

NewGetV1PostMortemsQuestionsQuestionIDParams creates a new GetV1PostMortemsQuestionsQuestionIDParams 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 NewGetV1PostMortemsQuestionsQuestionIDParamsWithContext

func NewGetV1PostMortemsQuestionsQuestionIDParamsWithContext(ctx context.Context) *GetV1PostMortemsQuestionsQuestionIDParams

NewGetV1PostMortemsQuestionsQuestionIDParamsWithContext creates a new GetV1PostMortemsQuestionsQuestionIDParams object with the ability to set a context for a request.

func NewGetV1PostMortemsQuestionsQuestionIDParamsWithHTTPClient

func NewGetV1PostMortemsQuestionsQuestionIDParamsWithHTTPClient(client *http.Client) *GetV1PostMortemsQuestionsQuestionIDParams

NewGetV1PostMortemsQuestionsQuestionIDParamsWithHTTPClient creates a new GetV1PostMortemsQuestionsQuestionIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1PostMortemsQuestionsQuestionIDParamsWithTimeout

func NewGetV1PostMortemsQuestionsQuestionIDParamsWithTimeout(timeout time.Duration) *GetV1PostMortemsQuestionsQuestionIDParams

NewGetV1PostMortemsQuestionsQuestionIDParamsWithTimeout creates a new GetV1PostMortemsQuestionsQuestionIDParams object with the ability to set a timeout on a request.

func (*GetV1PostMortemsQuestionsQuestionIDParams) SetContext

SetContext adds the context to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 post mortems questions question Id params (not the query body).

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

func (*GetV1PostMortemsQuestionsQuestionIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) SetQuestionID

func (o *GetV1PostMortemsQuestionsQuestionIDParams) SetQuestionID(questionID string)

SetQuestionID adds the questionId to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) WithContext

WithContext adds the context to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 post mortems questions question Id params (not the query body).

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

func (*GetV1PostMortemsQuestionsQuestionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) WithQuestionID

WithQuestionID adds the questionID to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 post mortems questions question Id params

func (*GetV1PostMortemsQuestionsQuestionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1PostMortemsQuestionsQuestionIDReader

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

GetV1PostMortemsQuestionsQuestionIDReader is a Reader for the GetV1PostMortemsQuestionsQuestionID structure.

func (*GetV1PostMortemsQuestionsQuestionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1PostMortemsQuestionsReader

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

GetV1PostMortemsQuestionsReader is a Reader for the GetV1PostMortemsQuestions structure.

func (*GetV1PostMortemsQuestionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1PostMortemsReportsOK

type GetV1PostMortemsReportsOK struct {
	Payload *models.PostMortemsPostMortemReportEntityPaginated
}

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

List all reports

func NewGetV1PostMortemsReportsOK

func NewGetV1PostMortemsReportsOK() *GetV1PostMortemsReportsOK

NewGetV1PostMortemsReportsOK creates a GetV1PostMortemsReportsOK with default headers values

func (*GetV1PostMortemsReportsOK) Error

func (o *GetV1PostMortemsReportsOK) Error() string

func (*GetV1PostMortemsReportsOK) GetPayload

func (*GetV1PostMortemsReportsOK) IsClientError

func (o *GetV1PostMortemsReportsOK) IsClientError() bool

IsClientError returns true when this get v1 post mortems reports o k response has a 4xx status code

func (*GetV1PostMortemsReportsOK) IsCode

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

IsCode returns true when this get v1 post mortems reports o k response a status code equal to that given

func (*GetV1PostMortemsReportsOK) IsRedirect

func (o *GetV1PostMortemsReportsOK) IsRedirect() bool

IsRedirect returns true when this get v1 post mortems reports o k response has a 3xx status code

func (*GetV1PostMortemsReportsOK) IsServerError

func (o *GetV1PostMortemsReportsOK) IsServerError() bool

IsServerError returns true when this get v1 post mortems reports o k response has a 5xx status code

func (*GetV1PostMortemsReportsOK) IsSuccess

func (o *GetV1PostMortemsReportsOK) IsSuccess() bool

IsSuccess returns true when this get v1 post mortems reports o k response has a 2xx status code

func (*GetV1PostMortemsReportsOK) String

func (o *GetV1PostMortemsReportsOK) String() string

type GetV1PostMortemsReportsParams

type GetV1PostMortemsReportsParams struct {

	/* IncidentID.

	   Filter the reports by an incident ID
	*/
	IncidentID *string

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

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

	/* UpdatedSince.

	   Filter for reports updated after the given ISO8601 timestamp

	   Format: date-time
	*/
	UpdatedSince *strfmt.DateTime

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

GetV1PostMortemsReportsParams contains all the parameters to send to the API endpoint

for the get v1 post mortems reports operation.

Typically these are written to a http.Request.

func NewGetV1PostMortemsReportsParams

func NewGetV1PostMortemsReportsParams() *GetV1PostMortemsReportsParams

NewGetV1PostMortemsReportsParams creates a new GetV1PostMortemsReportsParams 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 NewGetV1PostMortemsReportsParamsWithContext

func NewGetV1PostMortemsReportsParamsWithContext(ctx context.Context) *GetV1PostMortemsReportsParams

NewGetV1PostMortemsReportsParamsWithContext creates a new GetV1PostMortemsReportsParams object with the ability to set a context for a request.

func NewGetV1PostMortemsReportsParamsWithHTTPClient

func NewGetV1PostMortemsReportsParamsWithHTTPClient(client *http.Client) *GetV1PostMortemsReportsParams

NewGetV1PostMortemsReportsParamsWithHTTPClient creates a new GetV1PostMortemsReportsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1PostMortemsReportsParamsWithTimeout

func NewGetV1PostMortemsReportsParamsWithTimeout(timeout time.Duration) *GetV1PostMortemsReportsParams

NewGetV1PostMortemsReportsParamsWithTimeout creates a new GetV1PostMortemsReportsParams object with the ability to set a timeout on a request.

func (*GetV1PostMortemsReportsParams) SetContext

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

SetContext adds the context to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) SetDefaults

func (o *GetV1PostMortemsReportsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 post mortems reports params (not the query body).

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

func (*GetV1PostMortemsReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) SetIncidentID

func (o *GetV1PostMortemsReportsParams) SetIncidentID(incidentID *string)

SetIncidentID adds the incidentId to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) SetPage

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

SetPage adds the page to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) SetUpdatedSince

func (o *GetV1PostMortemsReportsParams) SetUpdatedSince(updatedSince *strfmt.DateTime)

SetUpdatedSince adds the updatedSince to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WithContext

WithContext adds the context to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WithDefaults

WithDefaults hydrates default values in the get v1 post mortems reports params (not the query body).

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

func (*GetV1PostMortemsReportsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WithIncidentID

func (o *GetV1PostMortemsReportsParams) WithIncidentID(incidentID *string) *GetV1PostMortemsReportsParams

WithIncidentID adds the incidentID to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WithPage

WithPage adds the page to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WithPerPage

WithPerPage adds the perPage to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WithTimeout

WithTimeout adds the timeout to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WithUpdatedSince

func (o *GetV1PostMortemsReportsParams) WithUpdatedSince(updatedSince *strfmt.DateTime) *GetV1PostMortemsReportsParams

WithUpdatedSince adds the updatedSince to the get v1 post mortems reports params

func (*GetV1PostMortemsReportsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1PostMortemsReportsReader

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

GetV1PostMortemsReportsReader is a Reader for the GetV1PostMortemsReports structure.

func (*GetV1PostMortemsReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1PostMortemsReportsReportIDOK

type GetV1PostMortemsReportsReportIDOK struct {
	Payload *models.PostMortemsPostMortemReportEntity
}

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

Get a report

func NewGetV1PostMortemsReportsReportIDOK

func NewGetV1PostMortemsReportsReportIDOK() *GetV1PostMortemsReportsReportIDOK

NewGetV1PostMortemsReportsReportIDOK creates a GetV1PostMortemsReportsReportIDOK with default headers values

func (*GetV1PostMortemsReportsReportIDOK) Error

func (*GetV1PostMortemsReportsReportIDOK) GetPayload

func (*GetV1PostMortemsReportsReportIDOK) IsClientError

func (o *GetV1PostMortemsReportsReportIDOK) IsClientError() bool

IsClientError returns true when this get v1 post mortems reports report Id o k response has a 4xx status code

func (*GetV1PostMortemsReportsReportIDOK) IsCode

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

IsCode returns true when this get v1 post mortems reports report Id o k response a status code equal to that given

func (*GetV1PostMortemsReportsReportIDOK) IsRedirect

func (o *GetV1PostMortemsReportsReportIDOK) IsRedirect() bool

IsRedirect returns true when this get v1 post mortems reports report Id o k response has a 3xx status code

func (*GetV1PostMortemsReportsReportIDOK) IsServerError

func (o *GetV1PostMortemsReportsReportIDOK) IsServerError() bool

IsServerError returns true when this get v1 post mortems reports report Id o k response has a 5xx status code

func (*GetV1PostMortemsReportsReportIDOK) IsSuccess

func (o *GetV1PostMortemsReportsReportIDOK) IsSuccess() bool

IsSuccess returns true when this get v1 post mortems reports report Id o k response has a 2xx status code

func (*GetV1PostMortemsReportsReportIDOK) String

type GetV1PostMortemsReportsReportIDParams

type GetV1PostMortemsReportsReportIDParams struct {

	// ReportID.
	ReportID string

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

GetV1PostMortemsReportsReportIDParams contains all the parameters to send to the API endpoint

for the get v1 post mortems reports report Id operation.

Typically these are written to a http.Request.

func NewGetV1PostMortemsReportsReportIDParams

func NewGetV1PostMortemsReportsReportIDParams() *GetV1PostMortemsReportsReportIDParams

NewGetV1PostMortemsReportsReportIDParams creates a new GetV1PostMortemsReportsReportIDParams 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 NewGetV1PostMortemsReportsReportIDParamsWithContext

func NewGetV1PostMortemsReportsReportIDParamsWithContext(ctx context.Context) *GetV1PostMortemsReportsReportIDParams

NewGetV1PostMortemsReportsReportIDParamsWithContext creates a new GetV1PostMortemsReportsReportIDParams object with the ability to set a context for a request.

func NewGetV1PostMortemsReportsReportIDParamsWithHTTPClient

func NewGetV1PostMortemsReportsReportIDParamsWithHTTPClient(client *http.Client) *GetV1PostMortemsReportsReportIDParams

NewGetV1PostMortemsReportsReportIDParamsWithHTTPClient creates a new GetV1PostMortemsReportsReportIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1PostMortemsReportsReportIDParamsWithTimeout

func NewGetV1PostMortemsReportsReportIDParamsWithTimeout(timeout time.Duration) *GetV1PostMortemsReportsReportIDParams

NewGetV1PostMortemsReportsReportIDParamsWithTimeout creates a new GetV1PostMortemsReportsReportIDParams object with the ability to set a timeout on a request.

func (*GetV1PostMortemsReportsReportIDParams) SetContext

SetContext adds the context to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) SetDefaults

func (o *GetV1PostMortemsReportsReportIDParams) SetDefaults()

SetDefaults hydrates default values in the get v1 post mortems reports report Id params (not the query body).

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

func (*GetV1PostMortemsReportsReportIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) SetReportID

func (o *GetV1PostMortemsReportsReportIDParams) SetReportID(reportID string)

SetReportID adds the reportId to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) WithContext

WithContext adds the context to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 post mortems reports report Id params (not the query body).

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

func (*GetV1PostMortemsReportsReportIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) WithReportID

WithReportID adds the reportID to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 post mortems reports report Id params

func (*GetV1PostMortemsReportsReportIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1PostMortemsReportsReportIDReader

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

GetV1PostMortemsReportsReportIDReader is a Reader for the GetV1PostMortemsReportsReportID structure.

func (*GetV1PostMortemsReportsReportIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1PostMortemsReportsReportIDReasonsOK

type GetV1PostMortemsReportsReportIDReasonsOK struct {
	Payload *models.PostMortemsReasonEntityPaginated
}

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

List all contributing factors to an incident

func NewGetV1PostMortemsReportsReportIDReasonsOK

func NewGetV1PostMortemsReportsReportIDReasonsOK() *GetV1PostMortemsReportsReportIDReasonsOK

NewGetV1PostMortemsReportsReportIDReasonsOK creates a GetV1PostMortemsReportsReportIDReasonsOK with default headers values

func (*GetV1PostMortemsReportsReportIDReasonsOK) Error

func (*GetV1PostMortemsReportsReportIDReasonsOK) GetPayload

func (*GetV1PostMortemsReportsReportIDReasonsOK) IsClientError

IsClientError returns true when this get v1 post mortems reports report Id reasons o k response has a 4xx status code

func (*GetV1PostMortemsReportsReportIDReasonsOK) IsCode

IsCode returns true when this get v1 post mortems reports report Id reasons o k response a status code equal to that given

func (*GetV1PostMortemsReportsReportIDReasonsOK) IsRedirect

IsRedirect returns true when this get v1 post mortems reports report Id reasons o k response has a 3xx status code

func (*GetV1PostMortemsReportsReportIDReasonsOK) IsServerError

IsServerError returns true when this get v1 post mortems reports report Id reasons o k response has a 5xx status code

func (*GetV1PostMortemsReportsReportIDReasonsOK) IsSuccess

IsSuccess returns true when this get v1 post mortems reports report Id reasons o k response has a 2xx status code

func (*GetV1PostMortemsReportsReportIDReasonsOK) String

type GetV1PostMortemsReportsReportIDReasonsParams

type GetV1PostMortemsReportsReportIDReasonsParams struct {

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

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

	// ReportID.
	ReportID string

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

GetV1PostMortemsReportsReportIDReasonsParams contains all the parameters to send to the API endpoint

for the get v1 post mortems reports report Id reasons operation.

Typically these are written to a http.Request.

func NewGetV1PostMortemsReportsReportIDReasonsParams

func NewGetV1PostMortemsReportsReportIDReasonsParams() *GetV1PostMortemsReportsReportIDReasonsParams

NewGetV1PostMortemsReportsReportIDReasonsParams creates a new GetV1PostMortemsReportsReportIDReasonsParams 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 NewGetV1PostMortemsReportsReportIDReasonsParamsWithContext

func NewGetV1PostMortemsReportsReportIDReasonsParamsWithContext(ctx context.Context) *GetV1PostMortemsReportsReportIDReasonsParams

NewGetV1PostMortemsReportsReportIDReasonsParamsWithContext creates a new GetV1PostMortemsReportsReportIDReasonsParams object with the ability to set a context for a request.

func NewGetV1PostMortemsReportsReportIDReasonsParamsWithHTTPClient

func NewGetV1PostMortemsReportsReportIDReasonsParamsWithHTTPClient(client *http.Client) *GetV1PostMortemsReportsReportIDReasonsParams

NewGetV1PostMortemsReportsReportIDReasonsParamsWithHTTPClient creates a new GetV1PostMortemsReportsReportIDReasonsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1PostMortemsReportsReportIDReasonsParamsWithTimeout

func NewGetV1PostMortemsReportsReportIDReasonsParamsWithTimeout(timeout time.Duration) *GetV1PostMortemsReportsReportIDReasonsParams

NewGetV1PostMortemsReportsReportIDReasonsParamsWithTimeout creates a new GetV1PostMortemsReportsReportIDReasonsParams object with the ability to set a timeout on a request.

func (*GetV1PostMortemsReportsReportIDReasonsParams) SetContext

SetContext adds the context to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) SetDefaults

SetDefaults hydrates default values in the get v1 post mortems reports report Id reasons params (not the query body).

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

func (*GetV1PostMortemsReportsReportIDReasonsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) SetPage

SetPage adds the page to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) SetReportID

func (o *GetV1PostMortemsReportsReportIDReasonsParams) SetReportID(reportID string)

SetReportID adds the reportId to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) SetTimeout

SetTimeout adds the timeout to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) WithContext

WithContext adds the context to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) WithDefaults

WithDefaults hydrates default values in the get v1 post mortems reports report Id reasons params (not the query body).

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

func (*GetV1PostMortemsReportsReportIDReasonsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) WithPage

WithPage adds the page to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) WithPerPage

WithPerPage adds the perPage to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) WithReportID

WithReportID adds the reportID to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) WithTimeout

WithTimeout adds the timeout to the get v1 post mortems reports report Id reasons params

func (*GetV1PostMortemsReportsReportIDReasonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1PostMortemsReportsReportIDReasonsReader

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

GetV1PostMortemsReportsReportIDReasonsReader is a Reader for the GetV1PostMortemsReportsReportIDReasons structure.

func (*GetV1PostMortemsReportsReportIDReasonsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1PostMortemsReportsReportIDFieldsFieldIDOK

type PatchV1PostMortemsReportsReportIDFieldsFieldIDOK struct {
	Payload *models.PostMortemsSectionFieldEntity
}

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

Update a field value on a post mortem report

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDOK

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDOK() *PatchV1PostMortemsReportsReportIDFieldsFieldIDOK

NewPatchV1PostMortemsReportsReportIDFieldsFieldIDOK creates a PatchV1PostMortemsReportsReportIDFieldsFieldIDOK with default headers values

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) Error

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) GetPayload

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) IsClientError

IsClientError returns true when this patch v1 post mortems reports report Id fields field Id o k response has a 4xx status code

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) IsCode

IsCode returns true when this patch v1 post mortems reports report Id fields field Id o k response a status code equal to that given

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) IsRedirect

IsRedirect returns true when this patch v1 post mortems reports report Id fields field Id o k response has a 3xx status code

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) IsServerError

IsServerError returns true when this patch v1 post mortems reports report Id fields field Id o k response has a 5xx status code

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) IsSuccess

IsSuccess returns true when this patch v1 post mortems reports report Id fields field Id o k response has a 2xx status code

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDOK) String

type PatchV1PostMortemsReportsReportIDFieldsFieldIDParams

type PatchV1PostMortemsReportsReportIDFieldsFieldIDParams struct {

	// FieldID.
	FieldID string

	// PatchV1PostMortemsReportsReportIDFieldsFieldID.
	PatchV1PostMortemsReportsReportIDFieldsFieldID *models.PatchV1PostMortemsReportsReportIDFieldsFieldID

	// ReportID.
	ReportID string

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

PatchV1PostMortemsReportsReportIDFieldsFieldIDParams contains all the parameters to send to the API endpoint

for the patch v1 post mortems reports report Id fields field Id operation.

Typically these are written to a http.Request.

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParams

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParams() *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams

NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParams creates a new PatchV1PostMortemsReportsReportIDFieldsFieldIDParams 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 NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithContext

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithContext(ctx context.Context) *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams

NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithContext creates a new PatchV1PostMortemsReportsReportIDFieldsFieldIDParams object with the ability to set a context for a request.

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithHTTPClient

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithHTTPClient(client *http.Client) *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams

NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithHTTPClient creates a new PatchV1PostMortemsReportsReportIDFieldsFieldIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithTimeout

func NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithTimeout(timeout time.Duration) *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams

NewPatchV1PostMortemsReportsReportIDFieldsFieldIDParamsWithTimeout creates a new PatchV1PostMortemsReportsReportIDFieldsFieldIDParams object with the ability to set a timeout on a request.

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetContext

SetContext adds the context to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 post mortems reports report Id fields field Id params (not the query body).

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

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetFieldID

SetFieldID adds the fieldId to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetPatchV1PostMortemsReportsReportIDFieldsFieldID

func (o *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetPatchV1PostMortemsReportsReportIDFieldsFieldID(patchV1PostMortemsReportsReportIDFieldsFieldID *models.PatchV1PostMortemsReportsReportIDFieldsFieldID)

SetPatchV1PostMortemsReportsReportIDFieldsFieldID adds the patchV1PostMortemsReportsReportIdFieldsFieldId to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetReportID

SetReportID adds the reportId to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithContext

WithContext adds the context to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 post mortems reports report Id fields field Id params (not the query body).

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

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithFieldID

WithFieldID adds the fieldID to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithPatchV1PostMortemsReportsReportIDFieldsFieldID

func (o *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithPatchV1PostMortemsReportsReportIDFieldsFieldID(patchV1PostMortemsReportsReportIDFieldsFieldID *models.PatchV1PostMortemsReportsReportIDFieldsFieldID) *PatchV1PostMortemsReportsReportIDFieldsFieldIDParams

WithPatchV1PostMortemsReportsReportIDFieldsFieldID adds the patchV1PostMortemsReportsReportIDFieldsFieldID to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithReportID

WithReportID adds the reportID to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 post mortems reports report Id fields field Id params

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1PostMortemsReportsReportIDFieldsFieldIDReader

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

PatchV1PostMortemsReportsReportIDFieldsFieldIDReader is a Reader for the PatchV1PostMortemsReportsReportIDFieldsFieldID structure.

func (*PatchV1PostMortemsReportsReportIDFieldsFieldIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1PostMortemsReportsReportIDOK

type PatchV1PostMortemsReportsReportIDOK struct {
	Payload *models.PostMortemsPostMortemReportEntity
}

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

Update a report

func NewPatchV1PostMortemsReportsReportIDOK

func NewPatchV1PostMortemsReportsReportIDOK() *PatchV1PostMortemsReportsReportIDOK

NewPatchV1PostMortemsReportsReportIDOK creates a PatchV1PostMortemsReportsReportIDOK with default headers values

func (*PatchV1PostMortemsReportsReportIDOK) Error

func (*PatchV1PostMortemsReportsReportIDOK) GetPayload

func (*PatchV1PostMortemsReportsReportIDOK) IsClientError

func (o *PatchV1PostMortemsReportsReportIDOK) IsClientError() bool

IsClientError returns true when this patch v1 post mortems reports report Id o k response has a 4xx status code

func (*PatchV1PostMortemsReportsReportIDOK) IsCode

IsCode returns true when this patch v1 post mortems reports report Id o k response a status code equal to that given

func (*PatchV1PostMortemsReportsReportIDOK) IsRedirect

func (o *PatchV1PostMortemsReportsReportIDOK) IsRedirect() bool

IsRedirect returns true when this patch v1 post mortems reports report Id o k response has a 3xx status code

func (*PatchV1PostMortemsReportsReportIDOK) IsServerError

func (o *PatchV1PostMortemsReportsReportIDOK) IsServerError() bool

IsServerError returns true when this patch v1 post mortems reports report Id o k response has a 5xx status code

func (*PatchV1PostMortemsReportsReportIDOK) IsSuccess

IsSuccess returns true when this patch v1 post mortems reports report Id o k response has a 2xx status code

func (*PatchV1PostMortemsReportsReportIDOK) String

type PatchV1PostMortemsReportsReportIDParams

type PatchV1PostMortemsReportsReportIDParams struct {

	// PatchV1PostMortemsReportsReportID.
	PatchV1PostMortemsReportsReportID *models.PatchV1PostMortemsReportsReportID

	// ReportID.
	ReportID string

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

PatchV1PostMortemsReportsReportIDParams contains all the parameters to send to the API endpoint

for the patch v1 post mortems reports report Id operation.

Typically these are written to a http.Request.

func NewPatchV1PostMortemsReportsReportIDParams

func NewPatchV1PostMortemsReportsReportIDParams() *PatchV1PostMortemsReportsReportIDParams

NewPatchV1PostMortemsReportsReportIDParams creates a new PatchV1PostMortemsReportsReportIDParams 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 NewPatchV1PostMortemsReportsReportIDParamsWithContext

func NewPatchV1PostMortemsReportsReportIDParamsWithContext(ctx context.Context) *PatchV1PostMortemsReportsReportIDParams

NewPatchV1PostMortemsReportsReportIDParamsWithContext creates a new PatchV1PostMortemsReportsReportIDParams object with the ability to set a context for a request.

func NewPatchV1PostMortemsReportsReportIDParamsWithHTTPClient

func NewPatchV1PostMortemsReportsReportIDParamsWithHTTPClient(client *http.Client) *PatchV1PostMortemsReportsReportIDParams

NewPatchV1PostMortemsReportsReportIDParamsWithHTTPClient creates a new PatchV1PostMortemsReportsReportIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1PostMortemsReportsReportIDParamsWithTimeout

func NewPatchV1PostMortemsReportsReportIDParamsWithTimeout(timeout time.Duration) *PatchV1PostMortemsReportsReportIDParams

NewPatchV1PostMortemsReportsReportIDParamsWithTimeout creates a new PatchV1PostMortemsReportsReportIDParams object with the ability to set a timeout on a request.

func (*PatchV1PostMortemsReportsReportIDParams) SetContext

SetContext adds the context to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) SetDefaults

func (o *PatchV1PostMortemsReportsReportIDParams) SetDefaults()

SetDefaults hydrates default values in the patch v1 post mortems reports report Id params (not the query body).

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

func (*PatchV1PostMortemsReportsReportIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) SetPatchV1PostMortemsReportsReportID

func (o *PatchV1PostMortemsReportsReportIDParams) SetPatchV1PostMortemsReportsReportID(patchV1PostMortemsReportsReportID *models.PatchV1PostMortemsReportsReportID)

SetPatchV1PostMortemsReportsReportID adds the patchV1PostMortemsReportsReportId to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) SetReportID

func (o *PatchV1PostMortemsReportsReportIDParams) SetReportID(reportID string)

SetReportID adds the reportId to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) SetTimeout

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

SetTimeout adds the timeout to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) WithContext

WithContext adds the context to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 post mortems reports report Id params (not the query body).

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

func (*PatchV1PostMortemsReportsReportIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) WithPatchV1PostMortemsReportsReportID

func (o *PatchV1PostMortemsReportsReportIDParams) WithPatchV1PostMortemsReportsReportID(patchV1PostMortemsReportsReportID *models.PatchV1PostMortemsReportsReportID) *PatchV1PostMortemsReportsReportIDParams

WithPatchV1PostMortemsReportsReportID adds the patchV1PostMortemsReportsReportID to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) WithReportID

WithReportID adds the reportID to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 post mortems reports report Id params

func (*PatchV1PostMortemsReportsReportIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1PostMortemsReportsReportIDReader

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

PatchV1PostMortemsReportsReportIDReader is a Reader for the PatchV1PostMortemsReportsReportID structure.

func (*PatchV1PostMortemsReportsReportIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1PostMortemsReportsReportIDReasonsReasonIDOK

type PatchV1PostMortemsReportsReportIDReasonsReasonIDOK struct {
	Payload *models.PostMortemsReasonEntity
}

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

Update a contributing factor

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDOK

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDOK() *PatchV1PostMortemsReportsReportIDReasonsReasonIDOK

NewPatchV1PostMortemsReportsReportIDReasonsReasonIDOK creates a PatchV1PostMortemsReportsReportIDReasonsReasonIDOK with default headers values

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) Error

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) GetPayload

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) IsClientError

IsClientError returns true when this patch v1 post mortems reports report Id reasons reason Id o k response has a 4xx status code

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) IsCode

IsCode returns true when this patch v1 post mortems reports report Id reasons reason Id o k response a status code equal to that given

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) IsRedirect

IsRedirect returns true when this patch v1 post mortems reports report Id reasons reason Id o k response has a 3xx status code

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) IsServerError

IsServerError returns true when this patch v1 post mortems reports report Id reasons reason Id o k response has a 5xx status code

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) IsSuccess

IsSuccess returns true when this patch v1 post mortems reports report Id reasons reason Id o k response has a 2xx status code

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDOK) String

type PatchV1PostMortemsReportsReportIDReasonsReasonIDParams

type PatchV1PostMortemsReportsReportIDReasonsReasonIDParams struct {

	// PatchV1PostMortemsReportsReportIDReasonsReasonID.
	PatchV1PostMortemsReportsReportIDReasonsReasonID *models.PatchV1PostMortemsReportsReportIDReasonsReasonID

	// ReasonID.
	ReasonID string

	// ReportID.
	ReportID string

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

PatchV1PostMortemsReportsReportIDReasonsReasonIDParams contains all the parameters to send to the API endpoint

for the patch v1 post mortems reports report Id reasons reason Id operation.

Typically these are written to a http.Request.

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParams

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParams() *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams

NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParams creates a new PatchV1PostMortemsReportsReportIDReasonsReasonIDParams 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 NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithContext

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithContext(ctx context.Context) *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams

NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithContext creates a new PatchV1PostMortemsReportsReportIDReasonsReasonIDParams object with the ability to set a context for a request.

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithHTTPClient

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithHTTPClient(client *http.Client) *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams

NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithHTTPClient creates a new PatchV1PostMortemsReportsReportIDReasonsReasonIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithTimeout

func NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithTimeout(timeout time.Duration) *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams

NewPatchV1PostMortemsReportsReportIDReasonsReasonIDParamsWithTimeout creates a new PatchV1PostMortemsReportsReportIDReasonsReasonIDParams object with the ability to set a timeout on a request.

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetContext

SetContext adds the context to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 post mortems reports report Id reasons reason Id params (not the query body).

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

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetPatchV1PostMortemsReportsReportIDReasonsReasonID

func (o *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetPatchV1PostMortemsReportsReportIDReasonsReasonID(patchV1PostMortemsReportsReportIDReasonsReasonID *models.PatchV1PostMortemsReportsReportIDReasonsReasonID)

SetPatchV1PostMortemsReportsReportIDReasonsReasonID adds the patchV1PostMortemsReportsReportIdReasonsReasonId to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetReasonID

SetReasonID adds the reasonId to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetReportID

SetReportID adds the reportId to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithContext

WithContext adds the context to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 post mortems reports report Id reasons reason Id params (not the query body).

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

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithPatchV1PostMortemsReportsReportIDReasonsReasonID

func (o *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithPatchV1PostMortemsReportsReportIDReasonsReasonID(patchV1PostMortemsReportsReportIDReasonsReasonID *models.PatchV1PostMortemsReportsReportIDReasonsReasonID) *PatchV1PostMortemsReportsReportIDReasonsReasonIDParams

WithPatchV1PostMortemsReportsReportIDReasonsReasonID adds the patchV1PostMortemsReportsReportIDReasonsReasonID to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithReasonID

WithReasonID adds the reasonID to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithReportID

WithReportID adds the reportID to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 post mortems reports report Id reasons reason Id params

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1PostMortemsReportsReportIDReasonsReasonIDReader

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

PatchV1PostMortemsReportsReportIDReasonsReasonIDReader is a Reader for the PatchV1PostMortemsReportsReportIDReasonsReasonID structure.

func (*PatchV1PostMortemsReportsReportIDReasonsReasonIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1PostMortemsReportsCreated

type PostV1PostMortemsReportsCreated struct {
	Payload *models.PostMortemsPostMortemReportEntity
}

PostV1PostMortemsReportsCreated describes a response with status code 201, with default header values.

Create a report

func NewPostV1PostMortemsReportsCreated

func NewPostV1PostMortemsReportsCreated() *PostV1PostMortemsReportsCreated

NewPostV1PostMortemsReportsCreated creates a PostV1PostMortemsReportsCreated with default headers values

func (*PostV1PostMortemsReportsCreated) Error

func (*PostV1PostMortemsReportsCreated) GetPayload

func (*PostV1PostMortemsReportsCreated) IsClientError

func (o *PostV1PostMortemsReportsCreated) IsClientError() bool

IsClientError returns true when this post v1 post mortems reports created response has a 4xx status code

func (*PostV1PostMortemsReportsCreated) IsCode

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

IsCode returns true when this post v1 post mortems reports created response a status code equal to that given

func (*PostV1PostMortemsReportsCreated) IsRedirect

func (o *PostV1PostMortemsReportsCreated) IsRedirect() bool

IsRedirect returns true when this post v1 post mortems reports created response has a 3xx status code

func (*PostV1PostMortemsReportsCreated) IsServerError

func (o *PostV1PostMortemsReportsCreated) IsServerError() bool

IsServerError returns true when this post v1 post mortems reports created response has a 5xx status code

func (*PostV1PostMortemsReportsCreated) IsSuccess

func (o *PostV1PostMortemsReportsCreated) IsSuccess() bool

IsSuccess returns true when this post v1 post mortems reports created response has a 2xx status code

func (*PostV1PostMortemsReportsCreated) String

type PostV1PostMortemsReportsParams

type PostV1PostMortemsReportsParams struct {

	// PostV1PostMortemsReports.
	PostV1PostMortemsReports *models.PostV1PostMortemsReports

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

PostV1PostMortemsReportsParams contains all the parameters to send to the API endpoint

for the post v1 post mortems reports operation.

Typically these are written to a http.Request.

func NewPostV1PostMortemsReportsParams

func NewPostV1PostMortemsReportsParams() *PostV1PostMortemsReportsParams

NewPostV1PostMortemsReportsParams creates a new PostV1PostMortemsReportsParams 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 NewPostV1PostMortemsReportsParamsWithContext

func NewPostV1PostMortemsReportsParamsWithContext(ctx context.Context) *PostV1PostMortemsReportsParams

NewPostV1PostMortemsReportsParamsWithContext creates a new PostV1PostMortemsReportsParams object with the ability to set a context for a request.

func NewPostV1PostMortemsReportsParamsWithHTTPClient

func NewPostV1PostMortemsReportsParamsWithHTTPClient(client *http.Client) *PostV1PostMortemsReportsParams

NewPostV1PostMortemsReportsParamsWithHTTPClient creates a new PostV1PostMortemsReportsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1PostMortemsReportsParamsWithTimeout

func NewPostV1PostMortemsReportsParamsWithTimeout(timeout time.Duration) *PostV1PostMortemsReportsParams

NewPostV1PostMortemsReportsParamsWithTimeout creates a new PostV1PostMortemsReportsParams object with the ability to set a timeout on a request.

func (*PostV1PostMortemsReportsParams) SetContext

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

SetContext adds the context to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) SetDefaults

func (o *PostV1PostMortemsReportsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 post mortems reports params (not the query body).

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

func (*PostV1PostMortemsReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) SetPostV1PostMortemsReports

func (o *PostV1PostMortemsReportsParams) SetPostV1PostMortemsReports(postV1PostMortemsReports *models.PostV1PostMortemsReports)

SetPostV1PostMortemsReports adds the postV1PostMortemsReports to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) WithContext

WithContext adds the context to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) WithDefaults

WithDefaults hydrates default values in the post v1 post mortems reports params (not the query body).

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

func (*PostV1PostMortemsReportsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) WithPostV1PostMortemsReports

func (o *PostV1PostMortemsReportsParams) WithPostV1PostMortemsReports(postV1PostMortemsReports *models.PostV1PostMortemsReports) *PostV1PostMortemsReportsParams

WithPostV1PostMortemsReports adds the postV1PostMortemsReports to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) WithTimeout

WithTimeout adds the timeout to the post v1 post mortems reports params

func (*PostV1PostMortemsReportsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1PostMortemsReportsReader

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

PostV1PostMortemsReportsReader is a Reader for the PostV1PostMortemsReports structure.

func (*PostV1PostMortemsReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1PostMortemsReportsReportIDPublishBadRequest

type PostV1PostMortemsReportsReportIDPublishBadRequest struct {
	Payload *models.ErrorEntity
}

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

Bad Request

func NewPostV1PostMortemsReportsReportIDPublishBadRequest

func NewPostV1PostMortemsReportsReportIDPublishBadRequest() *PostV1PostMortemsReportsReportIDPublishBadRequest

NewPostV1PostMortemsReportsReportIDPublishBadRequest creates a PostV1PostMortemsReportsReportIDPublishBadRequest with default headers values

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) Error

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) GetPayload

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) IsClientError

IsClientError returns true when this post v1 post mortems reports report Id publish bad request response has a 4xx status code

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) IsCode

IsCode returns true when this post v1 post mortems reports report Id publish bad request response a status code equal to that given

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) IsRedirect

IsRedirect returns true when this post v1 post mortems reports report Id publish bad request response has a 3xx status code

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) IsServerError

IsServerError returns true when this post v1 post mortems reports report Id publish bad request response has a 5xx status code

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) IsSuccess

IsSuccess returns true when this post v1 post mortems reports report Id publish bad request response has a 2xx status code

func (*PostV1PostMortemsReportsReportIDPublishBadRequest) String

type PostV1PostMortemsReportsReportIDPublishCreated

type PostV1PostMortemsReportsReportIDPublishCreated struct {
	Payload *models.PostMortemsPostMortemReportEntity
}

PostV1PostMortemsReportsReportIDPublishCreated describes a response with status code 201, with default header values.

Marks an incident retrospective as published and emails all of the participants in the report the summary

func NewPostV1PostMortemsReportsReportIDPublishCreated

func NewPostV1PostMortemsReportsReportIDPublishCreated() *PostV1PostMortemsReportsReportIDPublishCreated

NewPostV1PostMortemsReportsReportIDPublishCreated creates a PostV1PostMortemsReportsReportIDPublishCreated with default headers values

func (*PostV1PostMortemsReportsReportIDPublishCreated) Error

func (*PostV1PostMortemsReportsReportIDPublishCreated) GetPayload

func (*PostV1PostMortemsReportsReportIDPublishCreated) IsClientError

IsClientError returns true when this post v1 post mortems reports report Id publish created response has a 4xx status code

func (*PostV1PostMortemsReportsReportIDPublishCreated) IsCode

IsCode returns true when this post v1 post mortems reports report Id publish created response a status code equal to that given

func (*PostV1PostMortemsReportsReportIDPublishCreated) IsRedirect

IsRedirect returns true when this post v1 post mortems reports report Id publish created response has a 3xx status code

func (*PostV1PostMortemsReportsReportIDPublishCreated) IsServerError

IsServerError returns true when this post v1 post mortems reports report Id publish created response has a 5xx status code

func (*PostV1PostMortemsReportsReportIDPublishCreated) IsSuccess

IsSuccess returns true when this post v1 post mortems reports report Id publish created response has a 2xx status code

func (*PostV1PostMortemsReportsReportIDPublishCreated) String

type PostV1PostMortemsReportsReportIDPublishParams

type PostV1PostMortemsReportsReportIDPublishParams struct {

	// PostV1PostMortemsReportsReportIDPublish.
	PostV1PostMortemsReportsReportIDPublish *models.PostV1PostMortemsReportsReportIDPublish

	// ReportID.
	ReportID string

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

PostV1PostMortemsReportsReportIDPublishParams contains all the parameters to send to the API endpoint

for the post v1 post mortems reports report Id publish operation.

Typically these are written to a http.Request.

func NewPostV1PostMortemsReportsReportIDPublishParams

func NewPostV1PostMortemsReportsReportIDPublishParams() *PostV1PostMortemsReportsReportIDPublishParams

NewPostV1PostMortemsReportsReportIDPublishParams creates a new PostV1PostMortemsReportsReportIDPublishParams 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 NewPostV1PostMortemsReportsReportIDPublishParamsWithContext

func NewPostV1PostMortemsReportsReportIDPublishParamsWithContext(ctx context.Context) *PostV1PostMortemsReportsReportIDPublishParams

NewPostV1PostMortemsReportsReportIDPublishParamsWithContext creates a new PostV1PostMortemsReportsReportIDPublishParams object with the ability to set a context for a request.

func NewPostV1PostMortemsReportsReportIDPublishParamsWithHTTPClient

func NewPostV1PostMortemsReportsReportIDPublishParamsWithHTTPClient(client *http.Client) *PostV1PostMortemsReportsReportIDPublishParams

NewPostV1PostMortemsReportsReportIDPublishParamsWithHTTPClient creates a new PostV1PostMortemsReportsReportIDPublishParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1PostMortemsReportsReportIDPublishParamsWithTimeout

func NewPostV1PostMortemsReportsReportIDPublishParamsWithTimeout(timeout time.Duration) *PostV1PostMortemsReportsReportIDPublishParams

NewPostV1PostMortemsReportsReportIDPublishParamsWithTimeout creates a new PostV1PostMortemsReportsReportIDPublishParams object with the ability to set a timeout on a request.

func (*PostV1PostMortemsReportsReportIDPublishParams) SetContext

SetContext adds the context to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) SetDefaults

SetDefaults hydrates default values in the post v1 post mortems reports report Id publish params (not the query body).

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

func (*PostV1PostMortemsReportsReportIDPublishParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) SetPostV1PostMortemsReportsReportIDPublish

func (o *PostV1PostMortemsReportsReportIDPublishParams) SetPostV1PostMortemsReportsReportIDPublish(postV1PostMortemsReportsReportIDPublish *models.PostV1PostMortemsReportsReportIDPublish)

SetPostV1PostMortemsReportsReportIDPublish adds the postV1PostMortemsReportsReportIdPublish to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) SetReportID

func (o *PostV1PostMortemsReportsReportIDPublishParams) SetReportID(reportID string)

SetReportID adds the reportId to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) SetTimeout

SetTimeout adds the timeout to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) WithContext

WithContext adds the context to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) WithDefaults

WithDefaults hydrates default values in the post v1 post mortems reports report Id publish params (not the query body).

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

func (*PostV1PostMortemsReportsReportIDPublishParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) WithPostV1PostMortemsReportsReportIDPublish

func (o *PostV1PostMortemsReportsReportIDPublishParams) WithPostV1PostMortemsReportsReportIDPublish(postV1PostMortemsReportsReportIDPublish *models.PostV1PostMortemsReportsReportIDPublish) *PostV1PostMortemsReportsReportIDPublishParams

WithPostV1PostMortemsReportsReportIDPublish adds the postV1PostMortemsReportsReportIDPublish to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) WithReportID

WithReportID adds the reportID to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) WithTimeout

WithTimeout adds the timeout to the post v1 post mortems reports report Id publish params

func (*PostV1PostMortemsReportsReportIDPublishParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1PostMortemsReportsReportIDPublishReader

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

PostV1PostMortemsReportsReportIDPublishReader is a Reader for the PostV1PostMortemsReportsReportIDPublish structure.

func (*PostV1PostMortemsReportsReportIDPublishReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1PostMortemsReportsReportIDReasonsCreated

type PostV1PostMortemsReportsReportIDReasonsCreated struct {
	Payload *models.PostMortemsReasonEntity
}

PostV1PostMortemsReportsReportIDReasonsCreated describes a response with status code 201, with default header values.

Add a new contributing factor to an incident

func NewPostV1PostMortemsReportsReportIDReasonsCreated

func NewPostV1PostMortemsReportsReportIDReasonsCreated() *PostV1PostMortemsReportsReportIDReasonsCreated

NewPostV1PostMortemsReportsReportIDReasonsCreated creates a PostV1PostMortemsReportsReportIDReasonsCreated with default headers values

func (*PostV1PostMortemsReportsReportIDReasonsCreated) Error

func (*PostV1PostMortemsReportsReportIDReasonsCreated) GetPayload

func (*PostV1PostMortemsReportsReportIDReasonsCreated) IsClientError

IsClientError returns true when this post v1 post mortems reports report Id reasons created response has a 4xx status code

func (*PostV1PostMortemsReportsReportIDReasonsCreated) IsCode

IsCode returns true when this post v1 post mortems reports report Id reasons created response a status code equal to that given

func (*PostV1PostMortemsReportsReportIDReasonsCreated) IsRedirect

IsRedirect returns true when this post v1 post mortems reports report Id reasons created response has a 3xx status code

func (*PostV1PostMortemsReportsReportIDReasonsCreated) IsServerError

IsServerError returns true when this post v1 post mortems reports report Id reasons created response has a 5xx status code

func (*PostV1PostMortemsReportsReportIDReasonsCreated) IsSuccess

IsSuccess returns true when this post v1 post mortems reports report Id reasons created response has a 2xx status code

func (*PostV1PostMortemsReportsReportIDReasonsCreated) String

type PostV1PostMortemsReportsReportIDReasonsParams

type PostV1PostMortemsReportsReportIDReasonsParams struct {

	// PostV1PostMortemsReportsReportIDReasons.
	PostV1PostMortemsReportsReportIDReasons *models.PostV1PostMortemsReportsReportIDReasons

	// ReportID.
	ReportID string

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

PostV1PostMortemsReportsReportIDReasonsParams contains all the parameters to send to the API endpoint

for the post v1 post mortems reports report Id reasons operation.

Typically these are written to a http.Request.

func NewPostV1PostMortemsReportsReportIDReasonsParams

func NewPostV1PostMortemsReportsReportIDReasonsParams() *PostV1PostMortemsReportsReportIDReasonsParams

NewPostV1PostMortemsReportsReportIDReasonsParams creates a new PostV1PostMortemsReportsReportIDReasonsParams 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 NewPostV1PostMortemsReportsReportIDReasonsParamsWithContext

func NewPostV1PostMortemsReportsReportIDReasonsParamsWithContext(ctx context.Context) *PostV1PostMortemsReportsReportIDReasonsParams

NewPostV1PostMortemsReportsReportIDReasonsParamsWithContext creates a new PostV1PostMortemsReportsReportIDReasonsParams object with the ability to set a context for a request.

func NewPostV1PostMortemsReportsReportIDReasonsParamsWithHTTPClient

func NewPostV1PostMortemsReportsReportIDReasonsParamsWithHTTPClient(client *http.Client) *PostV1PostMortemsReportsReportIDReasonsParams

NewPostV1PostMortemsReportsReportIDReasonsParamsWithHTTPClient creates a new PostV1PostMortemsReportsReportIDReasonsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1PostMortemsReportsReportIDReasonsParamsWithTimeout

func NewPostV1PostMortemsReportsReportIDReasonsParamsWithTimeout(timeout time.Duration) *PostV1PostMortemsReportsReportIDReasonsParams

NewPostV1PostMortemsReportsReportIDReasonsParamsWithTimeout creates a new PostV1PostMortemsReportsReportIDReasonsParams object with the ability to set a timeout on a request.

func (*PostV1PostMortemsReportsReportIDReasonsParams) SetContext

SetContext adds the context to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) SetDefaults

SetDefaults hydrates default values in the post v1 post mortems reports report Id reasons params (not the query body).

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

func (*PostV1PostMortemsReportsReportIDReasonsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) SetPostV1PostMortemsReportsReportIDReasons

func (o *PostV1PostMortemsReportsReportIDReasonsParams) SetPostV1PostMortemsReportsReportIDReasons(postV1PostMortemsReportsReportIDReasons *models.PostV1PostMortemsReportsReportIDReasons)

SetPostV1PostMortemsReportsReportIDReasons adds the postV1PostMortemsReportsReportIdReasons to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) SetReportID

func (o *PostV1PostMortemsReportsReportIDReasonsParams) SetReportID(reportID string)

SetReportID adds the reportId to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) SetTimeout

SetTimeout adds the timeout to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) WithContext

WithContext adds the context to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) WithDefaults

WithDefaults hydrates default values in the post v1 post mortems reports report Id reasons params (not the query body).

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

func (*PostV1PostMortemsReportsReportIDReasonsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) WithPostV1PostMortemsReportsReportIDReasons

func (o *PostV1PostMortemsReportsReportIDReasonsParams) WithPostV1PostMortemsReportsReportIDReasons(postV1PostMortemsReportsReportIDReasons *models.PostV1PostMortemsReportsReportIDReasons) *PostV1PostMortemsReportsReportIDReasonsParams

WithPostV1PostMortemsReportsReportIDReasons adds the postV1PostMortemsReportsReportIDReasons to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) WithReportID

WithReportID adds the reportID to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) WithTimeout

WithTimeout adds the timeout to the post v1 post mortems reports report Id reasons params

func (*PostV1PostMortemsReportsReportIDReasonsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1PostMortemsReportsReportIDReasonsReader

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

PostV1PostMortemsReportsReportIDReasonsReader is a Reader for the PostV1PostMortemsReportsReportIDReasons structure.

func (*PostV1PostMortemsReportsReportIDReasonsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1PostMortemsQuestionsOK

type PutV1PostMortemsQuestionsOK struct {
	Payload *models.PostMortemsQuestionTypeEntity
}

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

Update the questions configured to be provided and filled out on future retrospective reports.

func NewPutV1PostMortemsQuestionsOK

func NewPutV1PostMortemsQuestionsOK() *PutV1PostMortemsQuestionsOK

NewPutV1PostMortemsQuestionsOK creates a PutV1PostMortemsQuestionsOK with default headers values

func (*PutV1PostMortemsQuestionsOK) Error

func (*PutV1PostMortemsQuestionsOK) GetPayload

func (*PutV1PostMortemsQuestionsOK) IsClientError

func (o *PutV1PostMortemsQuestionsOK) IsClientError() bool

IsClientError returns true when this put v1 post mortems questions o k response has a 4xx status code

func (*PutV1PostMortemsQuestionsOK) IsCode

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

IsCode returns true when this put v1 post mortems questions o k response a status code equal to that given

func (*PutV1PostMortemsQuestionsOK) IsRedirect

func (o *PutV1PostMortemsQuestionsOK) IsRedirect() bool

IsRedirect returns true when this put v1 post mortems questions o k response has a 3xx status code

func (*PutV1PostMortemsQuestionsOK) IsServerError

func (o *PutV1PostMortemsQuestionsOK) IsServerError() bool

IsServerError returns true when this put v1 post mortems questions o k response has a 5xx status code

func (*PutV1PostMortemsQuestionsOK) IsSuccess

func (o *PutV1PostMortemsQuestionsOK) IsSuccess() bool

IsSuccess returns true when this put v1 post mortems questions o k response has a 2xx status code

func (*PutV1PostMortemsQuestionsOK) String

func (o *PutV1PostMortemsQuestionsOK) String() string

type PutV1PostMortemsQuestionsParams

type PutV1PostMortemsQuestionsParams struct {

	// PutV1PostMortemsQuestions.
	PutV1PostMortemsQuestions *models.PutV1PostMortemsQuestions

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

PutV1PostMortemsQuestionsParams contains all the parameters to send to the API endpoint

for the put v1 post mortems questions operation.

Typically these are written to a http.Request.

func NewPutV1PostMortemsQuestionsParams

func NewPutV1PostMortemsQuestionsParams() *PutV1PostMortemsQuestionsParams

NewPutV1PostMortemsQuestionsParams creates a new PutV1PostMortemsQuestionsParams 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 NewPutV1PostMortemsQuestionsParamsWithContext

func NewPutV1PostMortemsQuestionsParamsWithContext(ctx context.Context) *PutV1PostMortemsQuestionsParams

NewPutV1PostMortemsQuestionsParamsWithContext creates a new PutV1PostMortemsQuestionsParams object with the ability to set a context for a request.

func NewPutV1PostMortemsQuestionsParamsWithHTTPClient

func NewPutV1PostMortemsQuestionsParamsWithHTTPClient(client *http.Client) *PutV1PostMortemsQuestionsParams

NewPutV1PostMortemsQuestionsParamsWithHTTPClient creates a new PutV1PostMortemsQuestionsParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1PostMortemsQuestionsParamsWithTimeout

func NewPutV1PostMortemsQuestionsParamsWithTimeout(timeout time.Duration) *PutV1PostMortemsQuestionsParams

NewPutV1PostMortemsQuestionsParamsWithTimeout creates a new PutV1PostMortemsQuestionsParams object with the ability to set a timeout on a request.

func (*PutV1PostMortemsQuestionsParams) SetContext

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

SetContext adds the context to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) SetDefaults

func (o *PutV1PostMortemsQuestionsParams) SetDefaults()

SetDefaults hydrates default values in the put v1 post mortems questions params (not the query body).

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

func (*PutV1PostMortemsQuestionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) SetPutV1PostMortemsQuestions

func (o *PutV1PostMortemsQuestionsParams) SetPutV1PostMortemsQuestions(putV1PostMortemsQuestions *models.PutV1PostMortemsQuestions)

SetPutV1PostMortemsQuestions adds the putV1PostMortemsQuestions to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) SetTimeout

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

SetTimeout adds the timeout to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) WithContext

WithContext adds the context to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) WithDefaults

WithDefaults hydrates default values in the put v1 post mortems questions params (not the query body).

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

func (*PutV1PostMortemsQuestionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) WithPutV1PostMortemsQuestions

func (o *PutV1PostMortemsQuestionsParams) WithPutV1PostMortemsQuestions(putV1PostMortemsQuestions *models.PutV1PostMortemsQuestions) *PutV1PostMortemsQuestionsParams

WithPutV1PostMortemsQuestions adds the putV1PostMortemsQuestions to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) WithTimeout

WithTimeout adds the timeout to the put v1 post mortems questions params

func (*PutV1PostMortemsQuestionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1PostMortemsQuestionsReader

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

PutV1PostMortemsQuestionsReader is a Reader for the PutV1PostMortemsQuestions structure.

func (*PutV1PostMortemsQuestionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1PostMortemsReportsReportIDReasonsOrderOK

type PutV1PostMortemsReportsReportIDReasonsOrderOK struct {
	Payload *models.PostMortemsReasonEntity
}

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

Reorder a contributing factor

func NewPutV1PostMortemsReportsReportIDReasonsOrderOK

func NewPutV1PostMortemsReportsReportIDReasonsOrderOK() *PutV1PostMortemsReportsReportIDReasonsOrderOK

NewPutV1PostMortemsReportsReportIDReasonsOrderOK creates a PutV1PostMortemsReportsReportIDReasonsOrderOK with default headers values

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) Error

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) GetPayload

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) IsClientError

IsClientError returns true when this put v1 post mortems reports report Id reasons order o k response has a 4xx status code

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) IsCode

IsCode returns true when this put v1 post mortems reports report Id reasons order o k response a status code equal to that given

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) IsRedirect

IsRedirect returns true when this put v1 post mortems reports report Id reasons order o k response has a 3xx status code

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) IsServerError

IsServerError returns true when this put v1 post mortems reports report Id reasons order o k response has a 5xx status code

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) IsSuccess

IsSuccess returns true when this put v1 post mortems reports report Id reasons order o k response has a 2xx status code

func (*PutV1PostMortemsReportsReportIDReasonsOrderOK) String

type PutV1PostMortemsReportsReportIDReasonsOrderParams

type PutV1PostMortemsReportsReportIDReasonsOrderParams struct {

	// PutV1PostMortemsReportsReportIDReasonsOrder.
	PutV1PostMortemsReportsReportIDReasonsOrder *models.PutV1PostMortemsReportsReportIDReasonsOrder

	// ReportID.
	ReportID string

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

PutV1PostMortemsReportsReportIDReasonsOrderParams contains all the parameters to send to the API endpoint

for the put v1 post mortems reports report Id reasons order operation.

Typically these are written to a http.Request.

func NewPutV1PostMortemsReportsReportIDReasonsOrderParams

func NewPutV1PostMortemsReportsReportIDReasonsOrderParams() *PutV1PostMortemsReportsReportIDReasonsOrderParams

NewPutV1PostMortemsReportsReportIDReasonsOrderParams creates a new PutV1PostMortemsReportsReportIDReasonsOrderParams 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 NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithContext

func NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithContext(ctx context.Context) *PutV1PostMortemsReportsReportIDReasonsOrderParams

NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithContext creates a new PutV1PostMortemsReportsReportIDReasonsOrderParams object with the ability to set a context for a request.

func NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithHTTPClient

func NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithHTTPClient(client *http.Client) *PutV1PostMortemsReportsReportIDReasonsOrderParams

NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithHTTPClient creates a new PutV1PostMortemsReportsReportIDReasonsOrderParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithTimeout

func NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithTimeout(timeout time.Duration) *PutV1PostMortemsReportsReportIDReasonsOrderParams

NewPutV1PostMortemsReportsReportIDReasonsOrderParamsWithTimeout creates a new PutV1PostMortemsReportsReportIDReasonsOrderParams object with the ability to set a timeout on a request.

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) SetContext

SetContext adds the context to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) SetDefaults

SetDefaults hydrates default values in the put v1 post mortems reports report Id reasons order params (not the query body).

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

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) SetPutV1PostMortemsReportsReportIDReasonsOrder

func (o *PutV1PostMortemsReportsReportIDReasonsOrderParams) SetPutV1PostMortemsReportsReportIDReasonsOrder(putV1PostMortemsReportsReportIDReasonsOrder *models.PutV1PostMortemsReportsReportIDReasonsOrder)

SetPutV1PostMortemsReportsReportIDReasonsOrder adds the putV1PostMortemsReportsReportIdReasonsOrder to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) SetReportID

SetReportID adds the reportId to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) SetTimeout

SetTimeout adds the timeout to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) WithContext

WithContext adds the context to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) WithDefaults

WithDefaults hydrates default values in the put v1 post mortems reports report Id reasons order params (not the query body).

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

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) WithPutV1PostMortemsReportsReportIDReasonsOrder

func (o *PutV1PostMortemsReportsReportIDReasonsOrderParams) WithPutV1PostMortemsReportsReportIDReasonsOrder(putV1PostMortemsReportsReportIDReasonsOrder *models.PutV1PostMortemsReportsReportIDReasonsOrder) *PutV1PostMortemsReportsReportIDReasonsOrderParams

WithPutV1PostMortemsReportsReportIDReasonsOrder adds the putV1PostMortemsReportsReportIDReasonsOrder to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) WithReportID

WithReportID adds the reportID to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) WithTimeout

WithTimeout adds the timeout to the put v1 post mortems reports report Id reasons order params

func (*PutV1PostMortemsReportsReportIDReasonsOrderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1PostMortemsReportsReportIDReasonsOrderReader

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

PutV1PostMortemsReportsReportIDReasonsOrderReader is a Reader for the PutV1PostMortemsReportsReportIDReasonsOrder structure.

func (*PutV1PostMortemsReportsReportIDReasonsOrderReader) ReadResponse

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