runbooks

package
v0.0.0-...-3ee50fb Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for runbooks API

func (*Client) DeleteV1RunbooksExecutionsExecutionID

DeleteV1RunbooksExecutionsExecutionID terminates a runbook execution

Terminates a runbook execution, preventing any further steps from being executed

func (*Client) DeleteV1RunbooksRunbookID

func (a *Client) DeleteV1RunbooksRunbookID(params *DeleteV1RunbooksRunbookIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1RunbooksRunbookIDOK, error)

DeleteV1RunbooksRunbookID deletes a runbook

Delete a runbook and make it unavailable for any future incidents.

func (*Client) GetV1RunbookAudits

func (a *Client) GetV1RunbookAudits(params *GetV1RunbookAuditsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbookAuditsOK, error)

GetV1RunbookAudits lists runbook audits

Please contact support to enable audit logging for your account.

func (*Client) GetV1Runbooks

func (a *Client) GetV1Runbooks(params *GetV1RunbooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksOK, error)

GetV1Runbooks lists runbooks

Lists all available runbooks.

func (*Client) GetV1RunbooksActions

func (a *Client) GetV1RunbooksActions(params *GetV1RunbooksActionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksActionsOK, error)

GetV1RunbooksActions lists runbook actions

List all runbook actions available through your connected integrations

func (*Client) GetV1RunbooksExecutions

func (a *Client) GetV1RunbooksExecutions(params *GetV1RunbooksExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksExecutionsOK, error)

GetV1RunbooksExecutions lists runbook executions

List all runbook executions across all runbooks

func (*Client) GetV1RunbooksExecutionsExecutionID

func (a *Client) GetV1RunbooksExecutionsExecutionID(params *GetV1RunbooksExecutionsExecutionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksExecutionsExecutionIDOK, error)

GetV1RunbooksExecutionsExecutionID gets a runbook execution

Retrieve a runbook execution by ID

func (*Client) GetV1RunbooksExecutionsExecutionIDStepsStepIDScript

GetV1RunbooksExecutionsExecutionIDStepsStepIDScript gets a step s bash script

Retrieves the bash script from a "script" step.

func (*Client) GetV1RunbooksRunbookID

func (a *Client) GetV1RunbooksRunbookID(params *GetV1RunbooksRunbookIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksRunbookIDOK, error)

GetV1RunbooksRunbookID gets a runbook

Get a runbook and all its configuration

func (*Client) GetV1RunbooksSelectOptionsIntegrationSlugActionSlugField

GetV1RunbooksSelectOptionsIntegrationSlugActionSlugField lists select options for a runbook integration action field

List select options for a runbook integration action field

func (*Client) PostV1Runbooks

func (a *Client) PostV1Runbooks(params *PostV1RunbooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1RunbooksCreated, error)

PostV1Runbooks creates a runbook

Create a new runbook for use with incidents.

func (*Client) PostV1RunbooksExecutions

func (a *Client) PostV1RunbooksExecutions(params *PostV1RunbooksExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1RunbooksExecutionsCreated, error)

PostV1RunbooksExecutions creates a runbook execution

Attaches a runbook to an incident and executes it

func (*Client) PutV1RunbooksExecutionsExecutionIDStepsStepID

PutV1RunbooksExecutionsExecutionIDStepsStepID updates a runbook step execution

Updates a runbook step execution, especially for changing the state of a step execution.

func (*Client) PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptState

PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptState updates a script step s execution status

Updates the execution's step.

func (*Client) PutV1RunbooksRunbookID

func (a *Client) PutV1RunbooksRunbookID(params *PutV1RunbooksRunbookIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1RunbooksRunbookIDOK, error)
PutV1RunbooksRunbookID updates a runbook

Update a runbook and any attachment rules associated with it. This endpoint is used to configure nearly everything

about a runbook, including but not limited to the steps, environments, attachment rules, and severities.

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 {
	DeleteV1RunbooksExecutionsExecutionID(params *DeleteV1RunbooksExecutionsExecutionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1RunbooksExecutionsExecutionIDNoContent, error)

	DeleteV1RunbooksRunbookID(params *DeleteV1RunbooksRunbookIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1RunbooksRunbookIDOK, error)

	GetV1RunbookAudits(params *GetV1RunbookAuditsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbookAuditsOK, error)

	GetV1Runbooks(params *GetV1RunbooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksOK, error)

	GetV1RunbooksActions(params *GetV1RunbooksActionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksActionsOK, error)

	GetV1RunbooksExecutions(params *GetV1RunbooksExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksExecutionsOK, error)

	GetV1RunbooksExecutionsExecutionID(params *GetV1RunbooksExecutionsExecutionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksExecutionsExecutionIDOK, error)

	GetV1RunbooksExecutionsExecutionIDStepsStepIDScript(params *GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK, error)

	GetV1RunbooksRunbookID(params *GetV1RunbooksRunbookIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksRunbookIDOK, error)

	GetV1RunbooksSelectOptionsIntegrationSlugActionSlugField(params *GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK, error)

	PostV1Runbooks(params *PostV1RunbooksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1RunbooksCreated, error)

	PostV1RunbooksExecutions(params *PostV1RunbooksExecutionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1RunbooksExecutionsCreated, error)

	PutV1RunbooksExecutionsExecutionIDStepsStepID(params *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK, error)

	PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptState(params *PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK, error)

	PutV1RunbooksRunbookID(params *PutV1RunbooksRunbookIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1RunbooksRunbookIDOK, 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 runbooks API client.

type DeleteV1RunbooksExecutionsExecutionIDNoContent

type DeleteV1RunbooksExecutionsExecutionIDNoContent struct {
}

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

Terminates a runbook execution, preventing any further steps from being executed

func NewDeleteV1RunbooksExecutionsExecutionIDNoContent

func NewDeleteV1RunbooksExecutionsExecutionIDNoContent() *DeleteV1RunbooksExecutionsExecutionIDNoContent

NewDeleteV1RunbooksExecutionsExecutionIDNoContent creates a DeleteV1RunbooksExecutionsExecutionIDNoContent with default headers values

func (*DeleteV1RunbooksExecutionsExecutionIDNoContent) Error

func (*DeleteV1RunbooksExecutionsExecutionIDNoContent) IsClientError

IsClientError returns true when this delete v1 runbooks executions execution Id no content response has a 4xx status code

func (*DeleteV1RunbooksExecutionsExecutionIDNoContent) IsCode

IsCode returns true when this delete v1 runbooks executions execution Id no content response a status code equal to that given

func (*DeleteV1RunbooksExecutionsExecutionIDNoContent) IsRedirect

IsRedirect returns true when this delete v1 runbooks executions execution Id no content response has a 3xx status code

func (*DeleteV1RunbooksExecutionsExecutionIDNoContent) IsServerError

IsServerError returns true when this delete v1 runbooks executions execution Id no content response has a 5xx status code

func (*DeleteV1RunbooksExecutionsExecutionIDNoContent) IsSuccess

IsSuccess returns true when this delete v1 runbooks executions execution Id no content response has a 2xx status code

func (*DeleteV1RunbooksExecutionsExecutionIDNoContent) String

type DeleteV1RunbooksExecutionsExecutionIDParams

type DeleteV1RunbooksExecutionsExecutionIDParams struct {

	// ExecutionID.
	ExecutionID string

	/* Reason.

	   The reason for terminating the runbook execution
	*/
	Reason string

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

DeleteV1RunbooksExecutionsExecutionIDParams contains all the parameters to send to the API endpoint

for the delete v1 runbooks executions execution Id operation.

Typically these are written to a http.Request.

func NewDeleteV1RunbooksExecutionsExecutionIDParams

func NewDeleteV1RunbooksExecutionsExecutionIDParams() *DeleteV1RunbooksExecutionsExecutionIDParams

NewDeleteV1RunbooksExecutionsExecutionIDParams creates a new DeleteV1RunbooksExecutionsExecutionIDParams 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 NewDeleteV1RunbooksExecutionsExecutionIDParamsWithContext

func NewDeleteV1RunbooksExecutionsExecutionIDParamsWithContext(ctx context.Context) *DeleteV1RunbooksExecutionsExecutionIDParams

NewDeleteV1RunbooksExecutionsExecutionIDParamsWithContext creates a new DeleteV1RunbooksExecutionsExecutionIDParams object with the ability to set a context for a request.

func NewDeleteV1RunbooksExecutionsExecutionIDParamsWithHTTPClient

func NewDeleteV1RunbooksExecutionsExecutionIDParamsWithHTTPClient(client *http.Client) *DeleteV1RunbooksExecutionsExecutionIDParams

NewDeleteV1RunbooksExecutionsExecutionIDParamsWithHTTPClient creates a new DeleteV1RunbooksExecutionsExecutionIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1RunbooksExecutionsExecutionIDParamsWithTimeout

func NewDeleteV1RunbooksExecutionsExecutionIDParamsWithTimeout(timeout time.Duration) *DeleteV1RunbooksExecutionsExecutionIDParams

NewDeleteV1RunbooksExecutionsExecutionIDParamsWithTimeout creates a new DeleteV1RunbooksExecutionsExecutionIDParams object with the ability to set a timeout on a request.

func (*DeleteV1RunbooksExecutionsExecutionIDParams) SetContext

SetContext adds the context to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 runbooks executions execution Id params (not the query body).

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

func (*DeleteV1RunbooksExecutionsExecutionIDParams) SetExecutionID

func (o *DeleteV1RunbooksExecutionsExecutionIDParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) SetReason

SetReason adds the reason to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) WithContext

WithContext adds the context to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 runbooks executions execution Id params (not the query body).

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

func (*DeleteV1RunbooksExecutionsExecutionIDParams) WithExecutionID

WithExecutionID adds the executionID to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) WithReason

WithReason adds the reason to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 runbooks executions execution Id params

func (*DeleteV1RunbooksExecutionsExecutionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1RunbooksExecutionsExecutionIDReader

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

DeleteV1RunbooksExecutionsExecutionIDReader is a Reader for the DeleteV1RunbooksExecutionsExecutionID structure.

func (*DeleteV1RunbooksExecutionsExecutionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1RunbooksRunbookIDOK

type DeleteV1RunbooksRunbookIDOK struct {
	Payload *models.RunbookEntity
}

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

Delete a runbook and make it unavailable for any future incidents.

func NewDeleteV1RunbooksRunbookIDOK

func NewDeleteV1RunbooksRunbookIDOK() *DeleteV1RunbooksRunbookIDOK

NewDeleteV1RunbooksRunbookIDOK creates a DeleteV1RunbooksRunbookIDOK with default headers values

func (*DeleteV1RunbooksRunbookIDOK) Error

func (*DeleteV1RunbooksRunbookIDOK) GetPayload

func (*DeleteV1RunbooksRunbookIDOK) IsClientError

func (o *DeleteV1RunbooksRunbookIDOK) IsClientError() bool

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

func (*DeleteV1RunbooksRunbookIDOK) IsCode

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

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

func (*DeleteV1RunbooksRunbookIDOK) IsRedirect

func (o *DeleteV1RunbooksRunbookIDOK) IsRedirect() bool

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

func (*DeleteV1RunbooksRunbookIDOK) IsServerError

func (o *DeleteV1RunbooksRunbookIDOK) IsServerError() bool

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

func (*DeleteV1RunbooksRunbookIDOK) IsSuccess

func (o *DeleteV1RunbooksRunbookIDOK) IsSuccess() bool

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

func (*DeleteV1RunbooksRunbookIDOK) String

func (o *DeleteV1RunbooksRunbookIDOK) String() string

type DeleteV1RunbooksRunbookIDParams

type DeleteV1RunbooksRunbookIDParams struct {

	// RunbookID.
	RunbookID string

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

DeleteV1RunbooksRunbookIDParams contains all the parameters to send to the API endpoint

for the delete v1 runbooks runbook Id operation.

Typically these are written to a http.Request.

func NewDeleteV1RunbooksRunbookIDParams

func NewDeleteV1RunbooksRunbookIDParams() *DeleteV1RunbooksRunbookIDParams

NewDeleteV1RunbooksRunbookIDParams creates a new DeleteV1RunbooksRunbookIDParams 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 NewDeleteV1RunbooksRunbookIDParamsWithContext

func NewDeleteV1RunbooksRunbookIDParamsWithContext(ctx context.Context) *DeleteV1RunbooksRunbookIDParams

NewDeleteV1RunbooksRunbookIDParamsWithContext creates a new DeleteV1RunbooksRunbookIDParams object with the ability to set a context for a request.

func NewDeleteV1RunbooksRunbookIDParamsWithHTTPClient

func NewDeleteV1RunbooksRunbookIDParamsWithHTTPClient(client *http.Client) *DeleteV1RunbooksRunbookIDParams

NewDeleteV1RunbooksRunbookIDParamsWithHTTPClient creates a new DeleteV1RunbooksRunbookIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1RunbooksRunbookIDParamsWithTimeout

func NewDeleteV1RunbooksRunbookIDParamsWithTimeout(timeout time.Duration) *DeleteV1RunbooksRunbookIDParams

NewDeleteV1RunbooksRunbookIDParamsWithTimeout creates a new DeleteV1RunbooksRunbookIDParams object with the ability to set a timeout on a request.

func (*DeleteV1RunbooksRunbookIDParams) SetContext

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

SetContext adds the context to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) SetDefaults

func (o *DeleteV1RunbooksRunbookIDParams) SetDefaults()

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

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

func (*DeleteV1RunbooksRunbookIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) SetRunbookID

func (o *DeleteV1RunbooksRunbookIDParams) SetRunbookID(runbookID string)

SetRunbookID adds the runbookId to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) SetTimeout

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

SetTimeout adds the timeout to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) WithContext

WithContext adds the context to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) WithDefaults

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

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

func (*DeleteV1RunbooksRunbookIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) WithRunbookID

WithRunbookID adds the runbookID to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 runbooks runbook Id params

func (*DeleteV1RunbooksRunbookIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1RunbooksRunbookIDReader

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

DeleteV1RunbooksRunbookIDReader is a Reader for the DeleteV1RunbooksRunbookID structure.

func (*DeleteV1RunbooksRunbookIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbookAuditsOK

type GetV1RunbookAuditsOK struct {
}

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

List runbook audits

func NewGetV1RunbookAuditsOK

func NewGetV1RunbookAuditsOK() *GetV1RunbookAuditsOK

NewGetV1RunbookAuditsOK creates a GetV1RunbookAuditsOK with default headers values

func (*GetV1RunbookAuditsOK) Error

func (o *GetV1RunbookAuditsOK) Error() string

func (*GetV1RunbookAuditsOK) IsClientError

func (o *GetV1RunbookAuditsOK) IsClientError() bool

IsClientError returns true when this get v1 runbook audits o k response has a 4xx status code

func (*GetV1RunbookAuditsOK) IsCode

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

IsCode returns true when this get v1 runbook audits o k response a status code equal to that given

func (*GetV1RunbookAuditsOK) IsRedirect

func (o *GetV1RunbookAuditsOK) IsRedirect() bool

IsRedirect returns true when this get v1 runbook audits o k response has a 3xx status code

func (*GetV1RunbookAuditsOK) IsServerError

func (o *GetV1RunbookAuditsOK) IsServerError() bool

IsServerError returns true when this get v1 runbook audits o k response has a 5xx status code

func (*GetV1RunbookAuditsOK) IsSuccess

func (o *GetV1RunbookAuditsOK) IsSuccess() bool

IsSuccess returns true when this get v1 runbook audits o k response has a 2xx status code

func (*GetV1RunbookAuditsOK) String

func (o *GetV1RunbookAuditsOK) String() string

type GetV1RunbookAuditsParams

type GetV1RunbookAuditsParams struct {

	/* AuditableType.

	   A query to filter audits by type

	   Default: "Runbooks::Step"
	*/
	AuditableType *string

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

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

	/* Sort.

	   A query to sort audits by their created_at timestamp. Options are 'asc' or 'desc'
	*/
	Sort *string

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

GetV1RunbookAuditsParams contains all the parameters to send to the API endpoint

for the get v1 runbook audits operation.

Typically these are written to a http.Request.

func NewGetV1RunbookAuditsParams

func NewGetV1RunbookAuditsParams() *GetV1RunbookAuditsParams

NewGetV1RunbookAuditsParams creates a new GetV1RunbookAuditsParams 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 NewGetV1RunbookAuditsParamsWithContext

func NewGetV1RunbookAuditsParamsWithContext(ctx context.Context) *GetV1RunbookAuditsParams

NewGetV1RunbookAuditsParamsWithContext creates a new GetV1RunbookAuditsParams object with the ability to set a context for a request.

func NewGetV1RunbookAuditsParamsWithHTTPClient

func NewGetV1RunbookAuditsParamsWithHTTPClient(client *http.Client) *GetV1RunbookAuditsParams

NewGetV1RunbookAuditsParamsWithHTTPClient creates a new GetV1RunbookAuditsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbookAuditsParamsWithTimeout

func NewGetV1RunbookAuditsParamsWithTimeout(timeout time.Duration) *GetV1RunbookAuditsParams

NewGetV1RunbookAuditsParamsWithTimeout creates a new GetV1RunbookAuditsParams object with the ability to set a timeout on a request.

func (*GetV1RunbookAuditsParams) SetAuditableType

func (o *GetV1RunbookAuditsParams) SetAuditableType(auditableType *string)

SetAuditableType adds the auditableType to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) SetContext

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

SetContext adds the context to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) SetDefaults

func (o *GetV1RunbookAuditsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 runbook audits params (not the query body).

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

func (*GetV1RunbookAuditsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) SetPage

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

SetPage adds the page to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) SetSort

func (o *GetV1RunbookAuditsParams) SetSort(sort *string)

SetSort adds the sort to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WithAuditableType

func (o *GetV1RunbookAuditsParams) WithAuditableType(auditableType *string) *GetV1RunbookAuditsParams

WithAuditableType adds the auditableType to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WithContext

WithContext adds the context to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbook audits params (not the query body).

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

func (*GetV1RunbookAuditsParams) WithHTTPClient

func (o *GetV1RunbookAuditsParams) WithHTTPClient(client *http.Client) *GetV1RunbookAuditsParams

WithHTTPClient adds the HTTPClient to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WithPage

WithPage adds the page to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WithPerPage

func (o *GetV1RunbookAuditsParams) WithPerPage(perPage *int32) *GetV1RunbookAuditsParams

WithPerPage adds the perPage to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WithSort

WithSort adds the sort to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbook audits params

func (*GetV1RunbookAuditsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbookAuditsReader

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

GetV1RunbookAuditsReader is a Reader for the GetV1RunbookAudits structure.

func (*GetV1RunbookAuditsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbooksActionsOK

type GetV1RunbooksActionsOK struct {
	Payload *models.RunbooksActionsEntityPaginated
}

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

List all runbook actions available through your connected integrations

func NewGetV1RunbooksActionsOK

func NewGetV1RunbooksActionsOK() *GetV1RunbooksActionsOK

NewGetV1RunbooksActionsOK creates a GetV1RunbooksActionsOK with default headers values

func (*GetV1RunbooksActionsOK) Error

func (o *GetV1RunbooksActionsOK) Error() string

func (*GetV1RunbooksActionsOK) GetPayload

func (*GetV1RunbooksActionsOK) IsClientError

func (o *GetV1RunbooksActionsOK) IsClientError() bool

IsClientError returns true when this get v1 runbooks actions o k response has a 4xx status code

func (*GetV1RunbooksActionsOK) IsCode

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

IsCode returns true when this get v1 runbooks actions o k response a status code equal to that given

func (*GetV1RunbooksActionsOK) IsRedirect

func (o *GetV1RunbooksActionsOK) IsRedirect() bool

IsRedirect returns true when this get v1 runbooks actions o k response has a 3xx status code

func (*GetV1RunbooksActionsOK) IsServerError

func (o *GetV1RunbooksActionsOK) IsServerError() bool

IsServerError returns true when this get v1 runbooks actions o k response has a 5xx status code

func (*GetV1RunbooksActionsOK) IsSuccess

func (o *GetV1RunbooksActionsOK) IsSuccess() bool

IsSuccess returns true when this get v1 runbooks actions o k response has a 2xx status code

func (*GetV1RunbooksActionsOK) String

func (o *GetV1RunbooksActionsOK) String() string

type GetV1RunbooksActionsParams

type GetV1RunbooksActionsParams struct {

	/* Lite.

	   Boolean to determine whether to return a slimified version of the action object's integration
	*/
	Lite *bool

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

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

	/* Type.

	   List actions supporting this specific Runbook type
	*/
	Type *string

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

GetV1RunbooksActionsParams contains all the parameters to send to the API endpoint

for the get v1 runbooks actions operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksActionsParams

func NewGetV1RunbooksActionsParams() *GetV1RunbooksActionsParams

NewGetV1RunbooksActionsParams creates a new GetV1RunbooksActionsParams 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 NewGetV1RunbooksActionsParamsWithContext

func NewGetV1RunbooksActionsParamsWithContext(ctx context.Context) *GetV1RunbooksActionsParams

NewGetV1RunbooksActionsParamsWithContext creates a new GetV1RunbooksActionsParams object with the ability to set a context for a request.

func NewGetV1RunbooksActionsParamsWithHTTPClient

func NewGetV1RunbooksActionsParamsWithHTTPClient(client *http.Client) *GetV1RunbooksActionsParams

NewGetV1RunbooksActionsParamsWithHTTPClient creates a new GetV1RunbooksActionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksActionsParamsWithTimeout

func NewGetV1RunbooksActionsParamsWithTimeout(timeout time.Duration) *GetV1RunbooksActionsParams

NewGetV1RunbooksActionsParamsWithTimeout creates a new GetV1RunbooksActionsParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksActionsParams) SetContext

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

SetContext adds the context to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) SetDefaults

func (o *GetV1RunbooksActionsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 runbooks actions params (not the query body).

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

func (*GetV1RunbooksActionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) SetLite

func (o *GetV1RunbooksActionsParams) SetLite(lite *bool)

SetLite adds the lite to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) SetPage

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

SetPage adds the page to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) SetType

func (o *GetV1RunbooksActionsParams) SetType(typeVar *string)

SetType adds the type to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WithContext

WithContext adds the context to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbooks actions params (not the query body).

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

func (*GetV1RunbooksActionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WithLite

WithLite adds the lite to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WithPage

WithPage adds the page to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WithPerPage

WithPerPage adds the perPage to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WithType

WithType adds the typeVar to the get v1 runbooks actions params

func (*GetV1RunbooksActionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksActionsReader

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

GetV1RunbooksActionsReader is a Reader for the GetV1RunbooksActions structure.

func (*GetV1RunbooksActionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbooksExecutionsExecutionIDOK

type GetV1RunbooksExecutionsExecutionIDOK struct {
	Payload *models.RunbooksExecutionEntity
}

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

Retrieve a runbook execution by ID

func NewGetV1RunbooksExecutionsExecutionIDOK

func NewGetV1RunbooksExecutionsExecutionIDOK() *GetV1RunbooksExecutionsExecutionIDOK

NewGetV1RunbooksExecutionsExecutionIDOK creates a GetV1RunbooksExecutionsExecutionIDOK with default headers values

func (*GetV1RunbooksExecutionsExecutionIDOK) Error

func (*GetV1RunbooksExecutionsExecutionIDOK) GetPayload

func (*GetV1RunbooksExecutionsExecutionIDOK) IsClientError

func (o *GetV1RunbooksExecutionsExecutionIDOK) IsClientError() bool

IsClientError returns true when this get v1 runbooks executions execution Id o k response has a 4xx status code

func (*GetV1RunbooksExecutionsExecutionIDOK) IsCode

IsCode returns true when this get v1 runbooks executions execution Id o k response a status code equal to that given

func (*GetV1RunbooksExecutionsExecutionIDOK) IsRedirect

IsRedirect returns true when this get v1 runbooks executions execution Id o k response has a 3xx status code

func (*GetV1RunbooksExecutionsExecutionIDOK) IsServerError

func (o *GetV1RunbooksExecutionsExecutionIDOK) IsServerError() bool

IsServerError returns true when this get v1 runbooks executions execution Id o k response has a 5xx status code

func (*GetV1RunbooksExecutionsExecutionIDOK) IsSuccess

IsSuccess returns true when this get v1 runbooks executions execution Id o k response has a 2xx status code

func (*GetV1RunbooksExecutionsExecutionIDOK) String

type GetV1RunbooksExecutionsExecutionIDParams

type GetV1RunbooksExecutionsExecutionIDParams struct {

	// ExecutionID.
	ExecutionID string

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

GetV1RunbooksExecutionsExecutionIDParams contains all the parameters to send to the API endpoint

for the get v1 runbooks executions execution Id operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksExecutionsExecutionIDParams

func NewGetV1RunbooksExecutionsExecutionIDParams() *GetV1RunbooksExecutionsExecutionIDParams

NewGetV1RunbooksExecutionsExecutionIDParams creates a new GetV1RunbooksExecutionsExecutionIDParams 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 NewGetV1RunbooksExecutionsExecutionIDParamsWithContext

func NewGetV1RunbooksExecutionsExecutionIDParamsWithContext(ctx context.Context) *GetV1RunbooksExecutionsExecutionIDParams

NewGetV1RunbooksExecutionsExecutionIDParamsWithContext creates a new GetV1RunbooksExecutionsExecutionIDParams object with the ability to set a context for a request.

func NewGetV1RunbooksExecutionsExecutionIDParamsWithHTTPClient

func NewGetV1RunbooksExecutionsExecutionIDParamsWithHTTPClient(client *http.Client) *GetV1RunbooksExecutionsExecutionIDParams

NewGetV1RunbooksExecutionsExecutionIDParamsWithHTTPClient creates a new GetV1RunbooksExecutionsExecutionIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksExecutionsExecutionIDParamsWithTimeout

func NewGetV1RunbooksExecutionsExecutionIDParamsWithTimeout(timeout time.Duration) *GetV1RunbooksExecutionsExecutionIDParams

NewGetV1RunbooksExecutionsExecutionIDParamsWithTimeout creates a new GetV1RunbooksExecutionsExecutionIDParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksExecutionsExecutionIDParams) SetContext

SetContext adds the context to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 runbooks executions execution Id params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDParams) SetExecutionID

func (o *GetV1RunbooksExecutionsExecutionIDParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) WithContext

WithContext adds the context to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbooks executions execution Id params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDParams) WithExecutionID

WithExecutionID adds the executionID to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks executions execution Id params

func (*GetV1RunbooksExecutionsExecutionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksExecutionsExecutionIDReader

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

GetV1RunbooksExecutionsExecutionIDReader is a Reader for the GetV1RunbooksExecutionsExecutionID structure.

func (*GetV1RunbooksExecutionsExecutionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK

type GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK struct {
	Payload *models.RunbooksExecutionEntity
}

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

Retrieves the bash script from a "script" step.

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK() *GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK creates a GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK with default headers values

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) Error

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) GetPayload

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) IsClientError

IsClientError returns true when this get v1 runbooks executions execution Id steps step Id script o k response has a 4xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) IsCode

IsCode returns true when this get v1 runbooks executions execution Id steps step Id script o k response a status code equal to that given

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) IsRedirect

IsRedirect returns true when this get v1 runbooks executions execution Id steps step Id script o k response has a 3xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) IsServerError

IsServerError returns true when this get v1 runbooks executions execution Id steps step Id script o k response has a 5xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) IsSuccess

IsSuccess returns true when this get v1 runbooks executions execution Id steps step Id script o k response has a 2xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptOK) String

type GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams

type GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams struct {

	// ExecutionID.
	ExecutionID string

	// StepID.
	StepID string

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

GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams contains all the parameters to send to the API endpoint

for the get v1 runbooks executions execution Id steps step Id script operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams() *GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams 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 NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithContext

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithContext(ctx context.Context) *GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithContext creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams object with the ability to set a context for a request.

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithHTTPClient

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithHTTPClient(client *http.Client) *GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithHTTPClient creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithTimeout

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithTimeout(timeout time.Duration) *GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParamsWithTimeout creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) SetContext

SetContext adds the context to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) SetDefaults

SetDefaults hydrates default values in the get v1 runbooks executions execution Id steps step Id script params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) SetExecutionID

SetExecutionID adds the executionId to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) SetStepID

SetStepID adds the stepId to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) SetTimeout

SetTimeout adds the timeout to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) WithContext

WithContext adds the context to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbooks executions execution Id steps step Id script params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) WithExecutionID

WithExecutionID adds the executionID to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) WithStepID

WithStepID adds the stepID to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks executions execution Id steps step Id script params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptReader

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

GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptReader is a Reader for the GetV1RunbooksExecutionsExecutionIDStepsStepIDScript structure.

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDScriptReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK

type GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK struct {
	Payload *models.VotesEntity
}

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

Returns the current vote counts for an object

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK() *GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK creates a GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK with default headers values

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) Error

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) GetPayload

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) IsClientError

IsClientError returns true when this get v1 runbooks executions execution Id steps step Id votes status o k response has a 4xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) IsCode

IsCode returns true when this get v1 runbooks executions execution Id steps step Id votes status o k response a status code equal to that given

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) IsRedirect

IsRedirect returns true when this get v1 runbooks executions execution Id steps step Id votes status o k response has a 3xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) IsServerError

IsServerError returns true when this get v1 runbooks executions execution Id steps step Id votes status o k response has a 5xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) IsSuccess

IsSuccess returns true when this get v1 runbooks executions execution Id steps step Id votes status o k response has a 2xx status code

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusOK) String

type GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams

type GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams struct {

	// ExecutionID.
	ExecutionID string

	// StepID.
	StepID string

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

GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams contains all the parameters to send to the API endpoint

for the get v1 runbooks executions execution Id steps step Id votes status operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams() *GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams 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 NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithContext

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithContext(ctx context.Context) *GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithContext creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams object with the ability to set a context for a request.

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithHTTPClient

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithHTTPClient(client *http.Client) *GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithHTTPClient creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithTimeout

func NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithTimeout(timeout time.Duration) *GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParamsWithTimeout creates a new GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) SetContext

SetContext adds the context to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) SetDefaults

SetDefaults hydrates default values in the get v1 runbooks executions execution Id steps step Id votes status params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) SetExecutionID

SetExecutionID adds the executionId to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) SetStepID

SetStepID adds the stepId to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) SetTimeout

SetTimeout adds the timeout to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) WithContext

WithContext adds the context to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbooks executions execution Id steps step Id votes status params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) WithExecutionID

WithExecutionID adds the executionID to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) WithStepID

WithStepID adds the stepID to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks executions execution Id steps step Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusReader

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

GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusReader is a Reader for the GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatus structure.

func (*GetV1RunbooksExecutionsExecutionIDStepsStepIDVotesStatusReader) ReadResponse

ReadResponse reads a server response into the received o.

type GetV1RunbooksExecutionsExecutionIDVotesStatusOK

type GetV1RunbooksExecutionsExecutionIDVotesStatusOK struct {
	Payload *models.VotesEntity
}

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

Returns the current vote counts for an object

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusOK

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusOK() *GetV1RunbooksExecutionsExecutionIDVotesStatusOK

NewGetV1RunbooksExecutionsExecutionIDVotesStatusOK creates a GetV1RunbooksExecutionsExecutionIDVotesStatusOK with default headers values

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) Error

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) GetPayload

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) IsClientError

IsClientError returns true when this get v1 runbooks executions execution Id votes status o k response has a 4xx status code

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) IsCode

IsCode returns true when this get v1 runbooks executions execution Id votes status o k response a status code equal to that given

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) IsRedirect

IsRedirect returns true when this get v1 runbooks executions execution Id votes status o k response has a 3xx status code

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) IsServerError

IsServerError returns true when this get v1 runbooks executions execution Id votes status o k response has a 5xx status code

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) IsSuccess

IsSuccess returns true when this get v1 runbooks executions execution Id votes status o k response has a 2xx status code

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusOK) String

type GetV1RunbooksExecutionsExecutionIDVotesStatusParams

type GetV1RunbooksExecutionsExecutionIDVotesStatusParams struct {

	// ExecutionID.
	ExecutionID string

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

GetV1RunbooksExecutionsExecutionIDVotesStatusParams contains all the parameters to send to the API endpoint

for the get v1 runbooks executions execution Id votes status operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusParams

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusParams() *GetV1RunbooksExecutionsExecutionIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDVotesStatusParams creates a new GetV1RunbooksExecutionsExecutionIDVotesStatusParams 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 NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithContext

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithContext(ctx context.Context) *GetV1RunbooksExecutionsExecutionIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithContext creates a new GetV1RunbooksExecutionsExecutionIDVotesStatusParams object with the ability to set a context for a request.

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithHTTPClient

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithHTTPClient(client *http.Client) *GetV1RunbooksExecutionsExecutionIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithHTTPClient creates a new GetV1RunbooksExecutionsExecutionIDVotesStatusParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithTimeout

func NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithTimeout(timeout time.Duration) *GetV1RunbooksExecutionsExecutionIDVotesStatusParams

NewGetV1RunbooksExecutionsExecutionIDVotesStatusParamsWithTimeout creates a new GetV1RunbooksExecutionsExecutionIDVotesStatusParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) SetContext

SetContext adds the context to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) SetDefaults

SetDefaults hydrates default values in the get v1 runbooks executions execution Id votes status params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) SetExecutionID

func (o *GetV1RunbooksExecutionsExecutionIDVotesStatusParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) SetTimeout

SetTimeout adds the timeout to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) WithContext

WithContext adds the context to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbooks executions execution Id votes status params (not the query body).

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

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) WithExecutionID

WithExecutionID adds the executionID to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks executions execution Id votes status params

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksExecutionsExecutionIDVotesStatusReader

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

GetV1RunbooksExecutionsExecutionIDVotesStatusReader is a Reader for the GetV1RunbooksExecutionsExecutionIDVotesStatus structure.

func (*GetV1RunbooksExecutionsExecutionIDVotesStatusReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbooksExecutionsOK

type GetV1RunbooksExecutionsOK struct {
	Payload *models.RunbooksExecutionEntityPaginated
}

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

List all runbook executions across all runbooks

func NewGetV1RunbooksExecutionsOK

func NewGetV1RunbooksExecutionsOK() *GetV1RunbooksExecutionsOK

NewGetV1RunbooksExecutionsOK creates a GetV1RunbooksExecutionsOK with default headers values

func (*GetV1RunbooksExecutionsOK) Error

func (o *GetV1RunbooksExecutionsOK) Error() string

func (*GetV1RunbooksExecutionsOK) GetPayload

func (*GetV1RunbooksExecutionsOK) IsClientError

func (o *GetV1RunbooksExecutionsOK) IsClientError() bool

IsClientError returns true when this get v1 runbooks executions o k response has a 4xx status code

func (*GetV1RunbooksExecutionsOK) IsCode

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

IsCode returns true when this get v1 runbooks executions o k response a status code equal to that given

func (*GetV1RunbooksExecutionsOK) IsRedirect

func (o *GetV1RunbooksExecutionsOK) IsRedirect() bool

IsRedirect returns true when this get v1 runbooks executions o k response has a 3xx status code

func (*GetV1RunbooksExecutionsOK) IsServerError

func (o *GetV1RunbooksExecutionsOK) IsServerError() bool

IsServerError returns true when this get v1 runbooks executions o k response has a 5xx status code

func (*GetV1RunbooksExecutionsOK) IsSuccess

func (o *GetV1RunbooksExecutionsOK) IsSuccess() bool

IsSuccess returns true when this get v1 runbooks executions o k response has a 2xx status code

func (*GetV1RunbooksExecutionsOK) String

func (o *GetV1RunbooksExecutionsOK) String() string

type GetV1RunbooksExecutionsParams

type GetV1RunbooksExecutionsParams struct {

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

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

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

GetV1RunbooksExecutionsParams contains all the parameters to send to the API endpoint

for the get v1 runbooks executions operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksExecutionsParams

func NewGetV1RunbooksExecutionsParams() *GetV1RunbooksExecutionsParams

NewGetV1RunbooksExecutionsParams creates a new GetV1RunbooksExecutionsParams 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 NewGetV1RunbooksExecutionsParamsWithContext

func NewGetV1RunbooksExecutionsParamsWithContext(ctx context.Context) *GetV1RunbooksExecutionsParams

NewGetV1RunbooksExecutionsParamsWithContext creates a new GetV1RunbooksExecutionsParams object with the ability to set a context for a request.

func NewGetV1RunbooksExecutionsParamsWithHTTPClient

func NewGetV1RunbooksExecutionsParamsWithHTTPClient(client *http.Client) *GetV1RunbooksExecutionsParams

NewGetV1RunbooksExecutionsParamsWithHTTPClient creates a new GetV1RunbooksExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksExecutionsParamsWithTimeout

func NewGetV1RunbooksExecutionsParamsWithTimeout(timeout time.Duration) *GetV1RunbooksExecutionsParams

NewGetV1RunbooksExecutionsParamsWithTimeout creates a new GetV1RunbooksExecutionsParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksExecutionsParams) SetContext

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

SetContext adds the context to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) SetDefaults

func (o *GetV1RunbooksExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 runbooks executions params (not the query body).

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

func (*GetV1RunbooksExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) SetPage

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

SetPage adds the page to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) WithContext

WithContext adds the context to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbooks executions params (not the query body).

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

func (*GetV1RunbooksExecutionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) WithPage

WithPage adds the page to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) WithPerPage

WithPerPage adds the perPage to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks executions params

func (*GetV1RunbooksExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksExecutionsReader

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

GetV1RunbooksExecutionsReader is a Reader for the GetV1RunbooksExecutions structure.

func (*GetV1RunbooksExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbooksOK

type GetV1RunbooksOK struct {
	Payload *models.RunbookEntity
}

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

Lists all available runbooks.

func NewGetV1RunbooksOK

func NewGetV1RunbooksOK() *GetV1RunbooksOK

NewGetV1RunbooksOK creates a GetV1RunbooksOK with default headers values

func (*GetV1RunbooksOK) Error

func (o *GetV1RunbooksOK) Error() string

func (*GetV1RunbooksOK) GetPayload

func (o *GetV1RunbooksOK) GetPayload() *models.RunbookEntity

func (*GetV1RunbooksOK) IsClientError

func (o *GetV1RunbooksOK) IsClientError() bool

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

func (*GetV1RunbooksOK) IsCode

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

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

func (*GetV1RunbooksOK) IsRedirect

func (o *GetV1RunbooksOK) IsRedirect() bool

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

func (*GetV1RunbooksOK) IsServerError

func (o *GetV1RunbooksOK) IsServerError() bool

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

func (*GetV1RunbooksOK) IsSuccess

func (o *GetV1RunbooksOK) IsSuccess() bool

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

func (*GetV1RunbooksOK) String

func (o *GetV1RunbooksOK) String() string

type GetV1RunbooksParams

type GetV1RunbooksParams struct {

	/* Name.

	   A query to search runbooks by their name
	*/
	Name *string

	/* OrderBy.

	   Sort runbooks by their updated date or name. Accepts 'updated_at', 'name', and 'created_at'.
	*/
	OrderBy *string

	/* OrderDirection.

	   Allows assigning a direction to how the specified `order_by` parameter is sorted. This parameter must be paired with `order_by` and does nothing on its own.
	*/
	OrderDirection *string

	/* Owners.

	   A query to search runbooks by their owners
	*/
	Owners *string

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

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

	/* Sort.

	   Sort runbooks by their updated date. Accepts 'asc', 'desc'. This parameter is deprecated in favor of 'order_by' and 'order_direction'.
	*/
	Sort *string

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

GetV1RunbooksParams contains all the parameters to send to the API endpoint

for the get v1 runbooks operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksParams

func NewGetV1RunbooksParams() *GetV1RunbooksParams

NewGetV1RunbooksParams creates a new GetV1RunbooksParams 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 NewGetV1RunbooksParamsWithContext

func NewGetV1RunbooksParamsWithContext(ctx context.Context) *GetV1RunbooksParams

NewGetV1RunbooksParamsWithContext creates a new GetV1RunbooksParams object with the ability to set a context for a request.

func NewGetV1RunbooksParamsWithHTTPClient

func NewGetV1RunbooksParamsWithHTTPClient(client *http.Client) *GetV1RunbooksParams

NewGetV1RunbooksParamsWithHTTPClient creates a new GetV1RunbooksParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksParamsWithTimeout

func NewGetV1RunbooksParamsWithTimeout(timeout time.Duration) *GetV1RunbooksParams

NewGetV1RunbooksParamsWithTimeout creates a new GetV1RunbooksParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksParams) SetContext

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

SetContext adds the context to the get v1 runbooks params

func (*GetV1RunbooksParams) SetDefaults

func (o *GetV1RunbooksParams) SetDefaults()

SetDefaults hydrates default values in the get v1 runbooks params (not the query body).

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

func (*GetV1RunbooksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 runbooks params

func (*GetV1RunbooksParams) SetName

func (o *GetV1RunbooksParams) SetName(name *string)

SetName adds the name to the get v1 runbooks params

func (*GetV1RunbooksParams) SetOrderBy

func (o *GetV1RunbooksParams) SetOrderBy(orderBy *string)

SetOrderBy adds the orderBy to the get v1 runbooks params

func (*GetV1RunbooksParams) SetOrderDirection

func (o *GetV1RunbooksParams) SetOrderDirection(orderDirection *string)

SetOrderDirection adds the orderDirection to the get v1 runbooks params

func (*GetV1RunbooksParams) SetOwners

func (o *GetV1RunbooksParams) SetOwners(owners *string)

SetOwners adds the owners to the get v1 runbooks params

func (*GetV1RunbooksParams) SetPage

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

SetPage adds the page to the get v1 runbooks params

func (*GetV1RunbooksParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 runbooks params

func (*GetV1RunbooksParams) SetSort

func (o *GetV1RunbooksParams) SetSort(sort *string)

SetSort adds the sort to the get v1 runbooks params

func (*GetV1RunbooksParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 runbooks params

func (*GetV1RunbooksParams) WithContext

WithContext adds the context to the get v1 runbooks params

func (*GetV1RunbooksParams) WithDefaults

func (o *GetV1RunbooksParams) WithDefaults() *GetV1RunbooksParams

WithDefaults hydrates default values in the get v1 runbooks params (not the query body).

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

func (*GetV1RunbooksParams) WithHTTPClient

func (o *GetV1RunbooksParams) WithHTTPClient(client *http.Client) *GetV1RunbooksParams

WithHTTPClient adds the HTTPClient to the get v1 runbooks params

func (*GetV1RunbooksParams) WithName

func (o *GetV1RunbooksParams) WithName(name *string) *GetV1RunbooksParams

WithName adds the name to the get v1 runbooks params

func (*GetV1RunbooksParams) WithOrderBy

func (o *GetV1RunbooksParams) WithOrderBy(orderBy *string) *GetV1RunbooksParams

WithOrderBy adds the orderBy to the get v1 runbooks params

func (*GetV1RunbooksParams) WithOrderDirection

func (o *GetV1RunbooksParams) WithOrderDirection(orderDirection *string) *GetV1RunbooksParams

WithOrderDirection adds the orderDirection to the get v1 runbooks params

func (*GetV1RunbooksParams) WithOwners

func (o *GetV1RunbooksParams) WithOwners(owners *string) *GetV1RunbooksParams

WithOwners adds the owners to the get v1 runbooks params

func (*GetV1RunbooksParams) WithPage

func (o *GetV1RunbooksParams) WithPage(page *int32) *GetV1RunbooksParams

WithPage adds the page to the get v1 runbooks params

func (*GetV1RunbooksParams) WithPerPage

func (o *GetV1RunbooksParams) WithPerPage(perPage *int32) *GetV1RunbooksParams

WithPerPage adds the perPage to the get v1 runbooks params

func (*GetV1RunbooksParams) WithSort

func (o *GetV1RunbooksParams) WithSort(sort *string) *GetV1RunbooksParams

WithSort adds the sort to the get v1 runbooks params

func (*GetV1RunbooksParams) WithTimeout

func (o *GetV1RunbooksParams) WithTimeout(timeout time.Duration) *GetV1RunbooksParams

WithTimeout adds the timeout to the get v1 runbooks params

func (*GetV1RunbooksParams) WriteToRequest

func (o *GetV1RunbooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetV1RunbooksReader

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

GetV1RunbooksReader is a Reader for the GetV1Runbooks structure.

func (*GetV1RunbooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbooksRunbookIDOK

type GetV1RunbooksRunbookIDOK struct {
	Payload *models.RunbookEntity
}

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

Get a runbook and all its configuration

func NewGetV1RunbooksRunbookIDOK

func NewGetV1RunbooksRunbookIDOK() *GetV1RunbooksRunbookIDOK

NewGetV1RunbooksRunbookIDOK creates a GetV1RunbooksRunbookIDOK with default headers values

func (*GetV1RunbooksRunbookIDOK) Error

func (o *GetV1RunbooksRunbookIDOK) Error() string

func (*GetV1RunbooksRunbookIDOK) GetPayload

func (*GetV1RunbooksRunbookIDOK) IsClientError

func (o *GetV1RunbooksRunbookIDOK) IsClientError() bool

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

func (*GetV1RunbooksRunbookIDOK) IsCode

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

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

func (*GetV1RunbooksRunbookIDOK) IsRedirect

func (o *GetV1RunbooksRunbookIDOK) IsRedirect() bool

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

func (*GetV1RunbooksRunbookIDOK) IsServerError

func (o *GetV1RunbooksRunbookIDOK) IsServerError() bool

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

func (*GetV1RunbooksRunbookIDOK) IsSuccess

func (o *GetV1RunbooksRunbookIDOK) IsSuccess() bool

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

func (*GetV1RunbooksRunbookIDOK) String

func (o *GetV1RunbooksRunbookIDOK) String() string

type GetV1RunbooksRunbookIDParams

type GetV1RunbooksRunbookIDParams struct {

	// RunbookID.
	RunbookID string

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

GetV1RunbooksRunbookIDParams contains all the parameters to send to the API endpoint

for the get v1 runbooks runbook Id operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksRunbookIDParams

func NewGetV1RunbooksRunbookIDParams() *GetV1RunbooksRunbookIDParams

NewGetV1RunbooksRunbookIDParams creates a new GetV1RunbooksRunbookIDParams 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 NewGetV1RunbooksRunbookIDParamsWithContext

func NewGetV1RunbooksRunbookIDParamsWithContext(ctx context.Context) *GetV1RunbooksRunbookIDParams

NewGetV1RunbooksRunbookIDParamsWithContext creates a new GetV1RunbooksRunbookIDParams object with the ability to set a context for a request.

func NewGetV1RunbooksRunbookIDParamsWithHTTPClient

func NewGetV1RunbooksRunbookIDParamsWithHTTPClient(client *http.Client) *GetV1RunbooksRunbookIDParams

NewGetV1RunbooksRunbookIDParamsWithHTTPClient creates a new GetV1RunbooksRunbookIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksRunbookIDParamsWithTimeout

func NewGetV1RunbooksRunbookIDParamsWithTimeout(timeout time.Duration) *GetV1RunbooksRunbookIDParams

NewGetV1RunbooksRunbookIDParamsWithTimeout creates a new GetV1RunbooksRunbookIDParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksRunbookIDParams) SetContext

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

SetContext adds the context to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) SetDefaults

func (o *GetV1RunbooksRunbookIDParams) SetDefaults()

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

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

func (*GetV1RunbooksRunbookIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) SetRunbookID

func (o *GetV1RunbooksRunbookIDParams) SetRunbookID(runbookID string)

SetRunbookID adds the runbookId to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) WithContext

WithContext adds the context to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) WithDefaults

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

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

func (*GetV1RunbooksRunbookIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) WithRunbookID

WithRunbookID adds the runbookID to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks runbook Id params

func (*GetV1RunbooksRunbookIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksRunbookIDReader

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

GetV1RunbooksRunbookIDReader is a Reader for the GetV1RunbooksRunbookID structure.

func (*GetV1RunbooksRunbookIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK

type GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK struct {
}

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

List select options for a runbook integration action field

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK() *GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK

NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK creates a GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK with default headers values

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK) Error

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK) IsClientError

IsClientError returns true when this get v1 runbooks select options integration slug action slug field o k response has a 4xx status code

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK) IsCode

IsCode returns true when this get v1 runbooks select options integration slug action slug field o k response a status code equal to that given

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK) IsRedirect

IsRedirect returns true when this get v1 runbooks select options integration slug action slug field o k response has a 3xx status code

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK) IsServerError

IsServerError returns true when this get v1 runbooks select options integration slug action slug field o k response has a 5xx status code

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK) IsSuccess

IsSuccess returns true when this get v1 runbooks select options integration slug action slug field o k response has a 2xx status code

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldOK) String

type GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams

type GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams struct {

	// ActionSlug.
	ActionSlug string

	// Field.
	Field string

	// IntegrationSlug.
	IntegrationSlug string

	/* PerPage.

	   Maximum number of items to return.

	   Format: int32
	*/
	PerPage *int32

	/* Query.

	   Text string of a query for filtering values.
	*/
	Query *string

	/* Scope.

	   Generic params used to add specificity (eg an id of some kind) to the select options request
	*/
	Scope *string

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

GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams contains all the parameters to send to the API endpoint

for the get v1 runbooks select options integration slug action slug field operation.

Typically these are written to a http.Request.

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams() *GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams

NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams creates a new GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams 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 NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithContext

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithContext(ctx context.Context) *GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams

NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithContext creates a new GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams object with the ability to set a context for a request.

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithHTTPClient

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithHTTPClient(client *http.Client) *GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams

NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithHTTPClient creates a new GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithTimeout

func NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithTimeout(timeout time.Duration) *GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams

NewGetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParamsWithTimeout creates a new GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams object with the ability to set a timeout on a request.

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetActionSlug

SetActionSlug adds the actionSlug to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetContext

SetContext adds the context to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetDefaults

SetDefaults hydrates default values in the get v1 runbooks select options integration slug action slug field params (not the query body).

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

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetField

SetField adds the field to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetIntegrationSlug

func (o *GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetIntegrationSlug(integrationSlug string)

SetIntegrationSlug adds the integrationSlug to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetPerPage

SetPerPage adds the perPage to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetQuery

SetQuery adds the query to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetScope

SetScope adds the scope to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) SetTimeout

SetTimeout adds the timeout to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithActionSlug

WithActionSlug adds the actionSlug to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithContext

WithContext adds the context to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithDefaults

WithDefaults hydrates default values in the get v1 runbooks select options integration slug action slug field params (not the query body).

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

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithField

WithField adds the field to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithIntegrationSlug

WithIntegrationSlug adds the integrationSlug to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithPerPage

WithPerPage adds the perPage to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithQuery

WithQuery adds the query to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithScope

WithScope adds the scope to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WithTimeout

WithTimeout adds the timeout to the get v1 runbooks select options integration slug action slug field params

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldReader

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

GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldReader is a Reader for the GetV1RunbooksSelectOptionsIntegrationSlugActionSlugField structure.

func (*GetV1RunbooksSelectOptionsIntegrationSlugActionSlugFieldReader) ReadResponse

ReadResponse reads a server response into the received o.

type PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK

type PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK struct {
	Payload *models.VotesEntity
}

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

Allows for upvoting or downvoting an event

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK() *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK

NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK creates a PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK with default headers values

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) Error

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) GetPayload

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) IsClientError

IsClientError returns true when this patch v1 runbooks executions execution Id steps step Id votes o k response has a 4xx status code

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) IsCode

IsCode returns true when this patch v1 runbooks executions execution Id steps step Id votes o k response a status code equal to that given

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) IsRedirect

IsRedirect returns true when this patch v1 runbooks executions execution Id steps step Id votes o k response has a 3xx status code

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) IsServerError

IsServerError returns true when this patch v1 runbooks executions execution Id steps step Id votes o k response has a 5xx status code

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) IsSuccess

IsSuccess returns true when this patch v1 runbooks executions execution Id steps step Id votes o k response has a 2xx status code

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesOK) String

type PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams

type PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams struct {

	// ExecutionID.
	ExecutionID string

	// PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes.
	PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes *models.PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes

	// StepID.
	StepID string

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

PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams contains all the parameters to send to the API endpoint

for the patch v1 runbooks executions execution Id steps step Id votes operation.

Typically these are written to a http.Request.

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams() *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams creates a new PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams 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 NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithContext

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithContext(ctx context.Context) *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithContext creates a new PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams object with the ability to set a context for a request.

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithHTTPClient

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithHTTPClient(client *http.Client) *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithHTTPClient creates a new PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithTimeout

func NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithTimeout(timeout time.Duration) *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParamsWithTimeout creates a new PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams object with the ability to set a timeout on a request.

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetContext

SetContext adds the context to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetDefaults

SetDefaults hydrates default values in the patch v1 runbooks executions execution Id steps step Id votes params (not the query body).

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

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetExecutionID

SetExecutionID adds the executionId to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes

func (o *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes(patchV1RunbooksExecutionsExecutionIDStepsStepIDVotes *models.PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes)

SetPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes adds the patchV1RunbooksExecutionsExecutionIdStepsStepIdVotes to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetStepID

SetStepID adds the stepId to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) SetTimeout

SetTimeout adds the timeout to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithContext

WithContext adds the context to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithDefaults

WithDefaults hydrates default values in the patch v1 runbooks executions execution Id steps step Id votes params (not the query body).

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

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithExecutionID

WithExecutionID adds the executionID to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes

func (o *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes(patchV1RunbooksExecutionsExecutionIDStepsStepIDVotes *models.PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes) *PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams

WithPatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes adds the patchV1RunbooksExecutionsExecutionIDStepsStepIDVotes to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithStepID

WithStepID adds the stepID to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WithTimeout

WithTimeout adds the timeout to the patch v1 runbooks executions execution Id steps step Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesReader

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

PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesReader is a Reader for the PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotes structure.

func (*PatchV1RunbooksExecutionsExecutionIDStepsStepIDVotesReader) ReadResponse

ReadResponse reads a server response into the received o.

type PatchV1RunbooksExecutionsExecutionIDVotesOK

type PatchV1RunbooksExecutionsExecutionIDVotesOK struct {
	Payload *models.VotesEntity
}

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

Allows for upvoting or downvoting an event

func NewPatchV1RunbooksExecutionsExecutionIDVotesOK

func NewPatchV1RunbooksExecutionsExecutionIDVotesOK() *PatchV1RunbooksExecutionsExecutionIDVotesOK

NewPatchV1RunbooksExecutionsExecutionIDVotesOK creates a PatchV1RunbooksExecutionsExecutionIDVotesOK with default headers values

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) Error

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) GetPayload

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) IsClientError

IsClientError returns true when this patch v1 runbooks executions execution Id votes o k response has a 4xx status code

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) IsCode

IsCode returns true when this patch v1 runbooks executions execution Id votes o k response a status code equal to that given

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) IsRedirect

IsRedirect returns true when this patch v1 runbooks executions execution Id votes o k response has a 3xx status code

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) IsServerError

IsServerError returns true when this patch v1 runbooks executions execution Id votes o k response has a 5xx status code

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) IsSuccess

IsSuccess returns true when this patch v1 runbooks executions execution Id votes o k response has a 2xx status code

func (*PatchV1RunbooksExecutionsExecutionIDVotesOK) String

type PatchV1RunbooksExecutionsExecutionIDVotesParams

type PatchV1RunbooksExecutionsExecutionIDVotesParams struct {

	// ExecutionID.
	ExecutionID string

	// PatchV1RunbooksExecutionsExecutionIDVotes.
	PatchV1RunbooksExecutionsExecutionIDVotes *models.PatchV1RunbooksExecutionsExecutionIDVotes

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

PatchV1RunbooksExecutionsExecutionIDVotesParams contains all the parameters to send to the API endpoint

for the patch v1 runbooks executions execution Id votes operation.

Typically these are written to a http.Request.

func NewPatchV1RunbooksExecutionsExecutionIDVotesParams

func NewPatchV1RunbooksExecutionsExecutionIDVotesParams() *PatchV1RunbooksExecutionsExecutionIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDVotesParams creates a new PatchV1RunbooksExecutionsExecutionIDVotesParams 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 NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithContext

func NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithContext(ctx context.Context) *PatchV1RunbooksExecutionsExecutionIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithContext creates a new PatchV1RunbooksExecutionsExecutionIDVotesParams object with the ability to set a context for a request.

func NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithHTTPClient

func NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithHTTPClient(client *http.Client) *PatchV1RunbooksExecutionsExecutionIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithHTTPClient creates a new PatchV1RunbooksExecutionsExecutionIDVotesParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithTimeout

func NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithTimeout(timeout time.Duration) *PatchV1RunbooksExecutionsExecutionIDVotesParams

NewPatchV1RunbooksExecutionsExecutionIDVotesParamsWithTimeout creates a new PatchV1RunbooksExecutionsExecutionIDVotesParams object with the ability to set a timeout on a request.

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) SetContext

SetContext adds the context to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) SetDefaults

SetDefaults hydrates default values in the patch v1 runbooks executions execution Id votes params (not the query body).

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

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) SetExecutionID

func (o *PatchV1RunbooksExecutionsExecutionIDVotesParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) SetPatchV1RunbooksExecutionsExecutionIDVotes

func (o *PatchV1RunbooksExecutionsExecutionIDVotesParams) SetPatchV1RunbooksExecutionsExecutionIDVotes(patchV1RunbooksExecutionsExecutionIDVotes *models.PatchV1RunbooksExecutionsExecutionIDVotes)

SetPatchV1RunbooksExecutionsExecutionIDVotes adds the patchV1RunbooksExecutionsExecutionIdVotes to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) SetTimeout

SetTimeout adds the timeout to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) WithContext

WithContext adds the context to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) WithDefaults

WithDefaults hydrates default values in the patch v1 runbooks executions execution Id votes params (not the query body).

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

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) WithExecutionID

WithExecutionID adds the executionID to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) WithPatchV1RunbooksExecutionsExecutionIDVotes

func (o *PatchV1RunbooksExecutionsExecutionIDVotesParams) WithPatchV1RunbooksExecutionsExecutionIDVotes(patchV1RunbooksExecutionsExecutionIDVotes *models.PatchV1RunbooksExecutionsExecutionIDVotes) *PatchV1RunbooksExecutionsExecutionIDVotesParams

WithPatchV1RunbooksExecutionsExecutionIDVotes adds the patchV1RunbooksExecutionsExecutionIDVotes to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) WithTimeout

WithTimeout adds the timeout to the patch v1 runbooks executions execution Id votes params

func (*PatchV1RunbooksExecutionsExecutionIDVotesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1RunbooksExecutionsExecutionIDVotesReader

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

PatchV1RunbooksExecutionsExecutionIDVotesReader is a Reader for the PatchV1RunbooksExecutionsExecutionIDVotes structure.

func (*PatchV1RunbooksExecutionsExecutionIDVotesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1RunbooksCreated

type PostV1RunbooksCreated struct {
	Payload *models.RunbookEntity
}

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

Create a new runbook for use with incidents.

func NewPostV1RunbooksCreated

func NewPostV1RunbooksCreated() *PostV1RunbooksCreated

NewPostV1RunbooksCreated creates a PostV1RunbooksCreated with default headers values

func (*PostV1RunbooksCreated) Error

func (o *PostV1RunbooksCreated) Error() string

func (*PostV1RunbooksCreated) GetPayload

func (o *PostV1RunbooksCreated) GetPayload() *models.RunbookEntity

func (*PostV1RunbooksCreated) IsClientError

func (o *PostV1RunbooksCreated) IsClientError() bool

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

func (*PostV1RunbooksCreated) IsCode

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

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

func (*PostV1RunbooksCreated) IsRedirect

func (o *PostV1RunbooksCreated) IsRedirect() bool

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

func (*PostV1RunbooksCreated) IsServerError

func (o *PostV1RunbooksCreated) IsServerError() bool

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

func (*PostV1RunbooksCreated) IsSuccess

func (o *PostV1RunbooksCreated) IsSuccess() bool

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

func (*PostV1RunbooksCreated) String

func (o *PostV1RunbooksCreated) String() string

type PostV1RunbooksExecutionsCreated

type PostV1RunbooksExecutionsCreated struct {
	Payload *models.RunbooksExecutionEntity
}

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

Attaches a runbook to an incident and executes it

func NewPostV1RunbooksExecutionsCreated

func NewPostV1RunbooksExecutionsCreated() *PostV1RunbooksExecutionsCreated

NewPostV1RunbooksExecutionsCreated creates a PostV1RunbooksExecutionsCreated with default headers values

func (*PostV1RunbooksExecutionsCreated) Error

func (*PostV1RunbooksExecutionsCreated) GetPayload

func (*PostV1RunbooksExecutionsCreated) IsClientError

func (o *PostV1RunbooksExecutionsCreated) IsClientError() bool

IsClientError returns true when this post v1 runbooks executions created response has a 4xx status code

func (*PostV1RunbooksExecutionsCreated) IsCode

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

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

func (*PostV1RunbooksExecutionsCreated) IsRedirect

func (o *PostV1RunbooksExecutionsCreated) IsRedirect() bool

IsRedirect returns true when this post v1 runbooks executions created response has a 3xx status code

func (*PostV1RunbooksExecutionsCreated) IsServerError

func (o *PostV1RunbooksExecutionsCreated) IsServerError() bool

IsServerError returns true when this post v1 runbooks executions created response has a 5xx status code

func (*PostV1RunbooksExecutionsCreated) IsSuccess

func (o *PostV1RunbooksExecutionsCreated) IsSuccess() bool

IsSuccess returns true when this post v1 runbooks executions created response has a 2xx status code

func (*PostV1RunbooksExecutionsCreated) String

type PostV1RunbooksExecutionsParams

type PostV1RunbooksExecutionsParams struct {

	// PostV1RunbooksExecutions.
	PostV1RunbooksExecutions *models.PostV1RunbooksExecutions

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

PostV1RunbooksExecutionsParams contains all the parameters to send to the API endpoint

for the post v1 runbooks executions operation.

Typically these are written to a http.Request.

func NewPostV1RunbooksExecutionsParams

func NewPostV1RunbooksExecutionsParams() *PostV1RunbooksExecutionsParams

NewPostV1RunbooksExecutionsParams creates a new PostV1RunbooksExecutionsParams 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 NewPostV1RunbooksExecutionsParamsWithContext

func NewPostV1RunbooksExecutionsParamsWithContext(ctx context.Context) *PostV1RunbooksExecutionsParams

NewPostV1RunbooksExecutionsParamsWithContext creates a new PostV1RunbooksExecutionsParams object with the ability to set a context for a request.

func NewPostV1RunbooksExecutionsParamsWithHTTPClient

func NewPostV1RunbooksExecutionsParamsWithHTTPClient(client *http.Client) *PostV1RunbooksExecutionsParams

NewPostV1RunbooksExecutionsParamsWithHTTPClient creates a new PostV1RunbooksExecutionsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1RunbooksExecutionsParamsWithTimeout

func NewPostV1RunbooksExecutionsParamsWithTimeout(timeout time.Duration) *PostV1RunbooksExecutionsParams

NewPostV1RunbooksExecutionsParamsWithTimeout creates a new PostV1RunbooksExecutionsParams object with the ability to set a timeout on a request.

func (*PostV1RunbooksExecutionsParams) SetContext

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

SetContext adds the context to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) SetDefaults

func (o *PostV1RunbooksExecutionsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 runbooks executions params (not the query body).

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

func (*PostV1RunbooksExecutionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) SetPostV1RunbooksExecutions

func (o *PostV1RunbooksExecutionsParams) SetPostV1RunbooksExecutions(postV1RunbooksExecutions *models.PostV1RunbooksExecutions)

SetPostV1RunbooksExecutions adds the postV1RunbooksExecutions to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) WithContext

WithContext adds the context to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) WithDefaults

WithDefaults hydrates default values in the post v1 runbooks executions params (not the query body).

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

func (*PostV1RunbooksExecutionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) WithPostV1RunbooksExecutions

func (o *PostV1RunbooksExecutionsParams) WithPostV1RunbooksExecutions(postV1RunbooksExecutions *models.PostV1RunbooksExecutions) *PostV1RunbooksExecutionsParams

WithPostV1RunbooksExecutions adds the postV1RunbooksExecutions to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) WithTimeout

WithTimeout adds the timeout to the post v1 runbooks executions params

func (*PostV1RunbooksExecutionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1RunbooksExecutionsReader

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

PostV1RunbooksExecutionsReader is a Reader for the PostV1RunbooksExecutions structure.

func (*PostV1RunbooksExecutionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1RunbooksParams

type PostV1RunbooksParams struct {

	// PostV1Runbooks.
	PostV1Runbooks *models.PostV1Runbooks

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

PostV1RunbooksParams contains all the parameters to send to the API endpoint

for the post v1 runbooks operation.

Typically these are written to a http.Request.

func NewPostV1RunbooksParams

func NewPostV1RunbooksParams() *PostV1RunbooksParams

NewPostV1RunbooksParams creates a new PostV1RunbooksParams 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 NewPostV1RunbooksParamsWithContext

func NewPostV1RunbooksParamsWithContext(ctx context.Context) *PostV1RunbooksParams

NewPostV1RunbooksParamsWithContext creates a new PostV1RunbooksParams object with the ability to set a context for a request.

func NewPostV1RunbooksParamsWithHTTPClient

func NewPostV1RunbooksParamsWithHTTPClient(client *http.Client) *PostV1RunbooksParams

NewPostV1RunbooksParamsWithHTTPClient creates a new PostV1RunbooksParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1RunbooksParamsWithTimeout

func NewPostV1RunbooksParamsWithTimeout(timeout time.Duration) *PostV1RunbooksParams

NewPostV1RunbooksParamsWithTimeout creates a new PostV1RunbooksParams object with the ability to set a timeout on a request.

func (*PostV1RunbooksParams) SetContext

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

SetContext adds the context to the post v1 runbooks params

func (*PostV1RunbooksParams) SetDefaults

func (o *PostV1RunbooksParams) SetDefaults()

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

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

func (*PostV1RunbooksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 runbooks params

func (*PostV1RunbooksParams) SetPostV1Runbooks

func (o *PostV1RunbooksParams) SetPostV1Runbooks(postV1Runbooks *models.PostV1Runbooks)

SetPostV1Runbooks adds the postV1Runbooks to the post v1 runbooks params

func (*PostV1RunbooksParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 runbooks params

func (*PostV1RunbooksParams) WithContext

WithContext adds the context to the post v1 runbooks params

func (*PostV1RunbooksParams) WithDefaults

func (o *PostV1RunbooksParams) WithDefaults() *PostV1RunbooksParams

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

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

func (*PostV1RunbooksParams) WithHTTPClient

func (o *PostV1RunbooksParams) WithHTTPClient(client *http.Client) *PostV1RunbooksParams

WithHTTPClient adds the HTTPClient to the post v1 runbooks params

func (*PostV1RunbooksParams) WithPostV1Runbooks

func (o *PostV1RunbooksParams) WithPostV1Runbooks(postV1Runbooks *models.PostV1Runbooks) *PostV1RunbooksParams

WithPostV1Runbooks adds the postV1Runbooks to the post v1 runbooks params

func (*PostV1RunbooksParams) WithTimeout

func (o *PostV1RunbooksParams) WithTimeout(timeout time.Duration) *PostV1RunbooksParams

WithTimeout adds the timeout to the post v1 runbooks params

func (*PostV1RunbooksParams) WriteToRequest

func (o *PostV1RunbooksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type PostV1RunbooksReader

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

PostV1RunbooksReader is a Reader for the PostV1Runbooks structure.

func (*PostV1RunbooksReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1RunbooksExecutionsExecutionIDStepsStepIDOK

type PutV1RunbooksExecutionsExecutionIDStepsStepIDOK struct {
	Payload *models.RunbooksExecutionEntity
}

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

Updates a runbook step execution, especially for changing the state of a step execution.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDOK

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDOK() *PutV1RunbooksExecutionsExecutionIDStepsStepIDOK

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDOK creates a PutV1RunbooksExecutionsExecutionIDStepsStepIDOK with default headers values

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) Error

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) GetPayload

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) IsClientError

IsClientError returns true when this put v1 runbooks executions execution Id steps step Id o k response has a 4xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) IsCode

IsCode returns true when this put v1 runbooks executions execution Id steps step Id o k response a status code equal to that given

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) IsRedirect

IsRedirect returns true when this put v1 runbooks executions execution Id steps step Id o k response has a 3xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) IsServerError

IsServerError returns true when this put v1 runbooks executions execution Id steps step Id o k response has a 5xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) IsSuccess

IsSuccess returns true when this put v1 runbooks executions execution Id steps step Id o k response has a 2xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDOK) String

type PutV1RunbooksExecutionsExecutionIDStepsStepIDParams

type PutV1RunbooksExecutionsExecutionIDStepsStepIDParams struct {

	// ExecutionID.
	ExecutionID string

	// PutV1RunbooksExecutionsExecutionIDStepsStepID.
	PutV1RunbooksExecutionsExecutionIDStepsStepID *models.PutV1RunbooksExecutionsExecutionIDStepsStepID

	// StepID.
	StepID string

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

PutV1RunbooksExecutionsExecutionIDStepsStepIDParams contains all the parameters to send to the API endpoint

for the put v1 runbooks executions execution Id steps step Id operation.

Typically these are written to a http.Request.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParams

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParams() *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParams creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDParams 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 NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithContext

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithContext(ctx context.Context) *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithContext creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDParams object with the ability to set a context for a request.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithHTTPClient

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithHTTPClient(client *http.Client) *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithHTTPClient creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithTimeout

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithTimeout(timeout time.Duration) *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDParamsWithTimeout creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDParams object with the ability to set a timeout on a request.

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetContext

SetContext adds the context to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetDefaults

SetDefaults hydrates default values in the put v1 runbooks executions execution Id steps step Id params (not the query body).

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

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetExecutionID

func (o *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetExecutionID(executionID string)

SetExecutionID adds the executionId to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetPutV1RunbooksExecutionsExecutionIDStepsStepID

func (o *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetPutV1RunbooksExecutionsExecutionIDStepsStepID(putV1RunbooksExecutionsExecutionIDStepsStepID *models.PutV1RunbooksExecutionsExecutionIDStepsStepID)

SetPutV1RunbooksExecutionsExecutionIDStepsStepID adds the putV1RunbooksExecutionsExecutionIdStepsStepId to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetStepID

SetStepID adds the stepId to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) SetTimeout

SetTimeout adds the timeout to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithContext

WithContext adds the context to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithDefaults

WithDefaults hydrates default values in the put v1 runbooks executions execution Id steps step Id params (not the query body).

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

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithExecutionID

WithExecutionID adds the executionID to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithPutV1RunbooksExecutionsExecutionIDStepsStepID

func (o *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithPutV1RunbooksExecutionsExecutionIDStepsStepID(putV1RunbooksExecutionsExecutionIDStepsStepID *models.PutV1RunbooksExecutionsExecutionIDStepsStepID) *PutV1RunbooksExecutionsExecutionIDStepsStepIDParams

WithPutV1RunbooksExecutionsExecutionIDStepsStepID adds the putV1RunbooksExecutionsExecutionIDStepsStepID to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithStepID

WithStepID adds the stepID to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 runbooks executions execution Id steps step Id params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1RunbooksExecutionsExecutionIDStepsStepIDReader

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

PutV1RunbooksExecutionsExecutionIDStepsStepIDReader is a Reader for the PutV1RunbooksExecutionsExecutionIDStepsStepID structure.

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK

type PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK struct {
	Payload *models.RunbooksExecutionEntity
}

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

Updates the execution's step.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK() *PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK creates a PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK with default headers values

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) Error

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) GetPayload

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) IsClientError

IsClientError returns true when this put v1 runbooks executions execution Id steps step Id script state o k response has a 4xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) IsCode

IsCode returns true when this put v1 runbooks executions execution Id steps step Id script state o k response a status code equal to that given

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) IsRedirect

IsRedirect returns true when this put v1 runbooks executions execution Id steps step Id script state o k response has a 3xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) IsServerError

IsServerError returns true when this put v1 runbooks executions execution Id steps step Id script state o k response has a 5xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) IsSuccess

IsSuccess returns true when this put v1 runbooks executions execution Id steps step Id script state o k response has a 2xx status code

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateOK) String

type PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams

type PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams struct {

	// ExecutionID.
	ExecutionID string

	// State.
	State string

	// StepID.
	StepID string

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

PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams contains all the parameters to send to the API endpoint

for the put v1 runbooks executions execution Id steps step Id script state operation.

Typically these are written to a http.Request.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams() *PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams 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 NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithContext

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithContext(ctx context.Context) *PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithContext creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams object with the ability to set a context for a request.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithHTTPClient

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithHTTPClient(client *http.Client) *PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithHTTPClient creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithTimeout

func NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithTimeout(timeout time.Duration) *PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams

NewPutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParamsWithTimeout creates a new PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams object with the ability to set a timeout on a request.

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) SetContext

SetContext adds the context to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) SetDefaults

SetDefaults hydrates default values in the put v1 runbooks executions execution Id steps step Id script state params (not the query body).

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

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) SetExecutionID

SetExecutionID adds the executionId to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) SetState

SetState adds the state to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) SetStepID

SetStepID adds the stepId to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) SetTimeout

SetTimeout adds the timeout to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WithContext

WithContext adds the context to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WithDefaults

WithDefaults hydrates default values in the put v1 runbooks executions execution Id steps step Id script state params (not the query body).

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

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WithExecutionID

WithExecutionID adds the executionID to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WithState

WithState adds the state to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WithStepID

WithStepID adds the stepID to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WithTimeout

WithTimeout adds the timeout to the put v1 runbooks executions execution Id steps step Id script state params

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateReader

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

PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateReader is a Reader for the PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptState structure.

func (*PutV1RunbooksExecutionsExecutionIDStepsStepIDScriptStateReader) ReadResponse

ReadResponse reads a server response into the received o.

type PutV1RunbooksRunbookIDOK

type PutV1RunbooksRunbookIDOK struct {
	Payload *models.RunbookEntity
}
PutV1RunbooksRunbookIDOK describes a response with status code 200, with default header values.

Update a runbook and any attachment rules associated with it. This endpoint is used to configure nearly everything

about a runbook, including but not limited to the steps, environments, attachment rules, and severities.

func NewPutV1RunbooksRunbookIDOK

func NewPutV1RunbooksRunbookIDOK() *PutV1RunbooksRunbookIDOK

NewPutV1RunbooksRunbookIDOK creates a PutV1RunbooksRunbookIDOK with default headers values

func (*PutV1RunbooksRunbookIDOK) Error

func (o *PutV1RunbooksRunbookIDOK) Error() string

func (*PutV1RunbooksRunbookIDOK) GetPayload

func (*PutV1RunbooksRunbookIDOK) IsClientError

func (o *PutV1RunbooksRunbookIDOK) IsClientError() bool

IsClientError returns true when this put v1 runbooks runbook Id o k response has a 4xx status code

func (*PutV1RunbooksRunbookIDOK) IsCode

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

IsCode returns true when this put v1 runbooks runbook Id o k response a status code equal to that given

func (*PutV1RunbooksRunbookIDOK) IsRedirect

func (o *PutV1RunbooksRunbookIDOK) IsRedirect() bool

IsRedirect returns true when this put v1 runbooks runbook Id o k response has a 3xx status code

func (*PutV1RunbooksRunbookIDOK) IsServerError

func (o *PutV1RunbooksRunbookIDOK) IsServerError() bool

IsServerError returns true when this put v1 runbooks runbook Id o k response has a 5xx status code

func (*PutV1RunbooksRunbookIDOK) IsSuccess

func (o *PutV1RunbooksRunbookIDOK) IsSuccess() bool

IsSuccess returns true when this put v1 runbooks runbook Id o k response has a 2xx status code

func (*PutV1RunbooksRunbookIDOK) String

func (o *PutV1RunbooksRunbookIDOK) String() string

type PutV1RunbooksRunbookIDParams

type PutV1RunbooksRunbookIDParams struct {

	// PutV1RunbooksRunbookID.
	PutV1RunbooksRunbookID *models.PutV1RunbooksRunbookID

	// RunbookID.
	RunbookID string

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

PutV1RunbooksRunbookIDParams contains all the parameters to send to the API endpoint

for the put v1 runbooks runbook Id operation.

Typically these are written to a http.Request.

func NewPutV1RunbooksRunbookIDParams

func NewPutV1RunbooksRunbookIDParams() *PutV1RunbooksRunbookIDParams

NewPutV1RunbooksRunbookIDParams creates a new PutV1RunbooksRunbookIDParams 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 NewPutV1RunbooksRunbookIDParamsWithContext

func NewPutV1RunbooksRunbookIDParamsWithContext(ctx context.Context) *PutV1RunbooksRunbookIDParams

NewPutV1RunbooksRunbookIDParamsWithContext creates a new PutV1RunbooksRunbookIDParams object with the ability to set a context for a request.

func NewPutV1RunbooksRunbookIDParamsWithHTTPClient

func NewPutV1RunbooksRunbookIDParamsWithHTTPClient(client *http.Client) *PutV1RunbooksRunbookIDParams

NewPutV1RunbooksRunbookIDParamsWithHTTPClient creates a new PutV1RunbooksRunbookIDParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1RunbooksRunbookIDParamsWithTimeout

func NewPutV1RunbooksRunbookIDParamsWithTimeout(timeout time.Duration) *PutV1RunbooksRunbookIDParams

NewPutV1RunbooksRunbookIDParamsWithTimeout creates a new PutV1RunbooksRunbookIDParams object with the ability to set a timeout on a request.

func (*PutV1RunbooksRunbookIDParams) SetContext

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

SetContext adds the context to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) SetDefaults

func (o *PutV1RunbooksRunbookIDParams) SetDefaults()

SetDefaults hydrates default values in the put v1 runbooks runbook Id params (not the query body).

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

func (*PutV1RunbooksRunbookIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) SetPutV1RunbooksRunbookID

func (o *PutV1RunbooksRunbookIDParams) SetPutV1RunbooksRunbookID(putV1RunbooksRunbookID *models.PutV1RunbooksRunbookID)

SetPutV1RunbooksRunbookID adds the putV1RunbooksRunbookId to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) SetRunbookID

func (o *PutV1RunbooksRunbookIDParams) SetRunbookID(runbookID string)

SetRunbookID adds the runbookId to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) SetTimeout

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

SetTimeout adds the timeout to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) WithContext

WithContext adds the context to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) WithDefaults

WithDefaults hydrates default values in the put v1 runbooks runbook Id params (not the query body).

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

func (*PutV1RunbooksRunbookIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) WithPutV1RunbooksRunbookID

func (o *PutV1RunbooksRunbookIDParams) WithPutV1RunbooksRunbookID(putV1RunbooksRunbookID *models.PutV1RunbooksRunbookID) *PutV1RunbooksRunbookIDParams

WithPutV1RunbooksRunbookID adds the putV1RunbooksRunbookID to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) WithRunbookID

WithRunbookID adds the runbookID to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) WithTimeout

WithTimeout adds the timeout to the put v1 runbooks runbook Id params

func (*PutV1RunbooksRunbookIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1RunbooksRunbookIDReader

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

PutV1RunbooksRunbookIDReader is a Reader for the PutV1RunbooksRunbookID structure.

func (*PutV1RunbooksRunbookIDReader) ReadResponse

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