severity_matrix

package
v0.0.0-...-d3fc958 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for severity matrix API

func (*Client) DeleteV1SeverityMatrixConditionsConditionID

DeleteV1SeverityMatrixConditionsConditionID deletes a specific condition

Delete a specific condition

func (*Client) DeleteV1SeverityMatrixImpactsImpactID

func (a *Client) DeleteV1SeverityMatrixImpactsImpactID(params *DeleteV1SeverityMatrixImpactsImpactIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1SeverityMatrixImpactsImpactIDOK, error)

DeleteV1SeverityMatrixImpactsImpactID deletes a specific impact

Delete a specific impact

func (*Client) GetV1SeverityMatrix

func (a *Client) GetV1SeverityMatrix(params *GetV1SeverityMatrixParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SeverityMatrixOK, error)

GetV1SeverityMatrix retrieves your severity matrix

Retrieve the Severity matrix for your organization and its components and configured severities.

func (*Client) GetV1SeverityMatrixConditions

func (a *Client) GetV1SeverityMatrixConditions(params *GetV1SeverityMatrixConditionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SeverityMatrixConditionsOK, error)

GetV1SeverityMatrixConditions lists conditions

Lists conditions

func (*Client) GetV1SeverityMatrixConditionsConditionID

GetV1SeverityMatrixConditionsConditionID get v1 severity matrix conditions condition Id API

func (*Client) GetV1SeverityMatrixImpacts

func (a *Client) GetV1SeverityMatrixImpacts(params *GetV1SeverityMatrixImpactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SeverityMatrixImpactsOK, error)

GetV1SeverityMatrixImpacts lists impacts

Lists impacts

func (*Client) PatchV1SeverityMatrix

func (a *Client) PatchV1SeverityMatrix(params *PatchV1SeverityMatrixParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1SeverityMatrixOK, error)

PatchV1SeverityMatrix updates your severity matrix

Update available severities and impacts in your organization's severity matrix.

func (*Client) PatchV1SeverityMatrixConditionsConditionID

PatchV1SeverityMatrixConditionsConditionID updates a specific condition

Update a specific condition

func (*Client) PatchV1SeverityMatrixImpactsImpactID

func (a *Client) PatchV1SeverityMatrixImpactsImpactID(params *PatchV1SeverityMatrixImpactsImpactIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1SeverityMatrixImpactsImpactIDOK, error)

PatchV1SeverityMatrixImpactsImpactID updates a specific impact

Update a specific impact

func (*Client) PostV1SeverityMatrixConditions

PostV1SeverityMatrixConditions creates condition

Create a new condition

func (*Client) PostV1SeverityMatrixImpacts

func (a *Client) PostV1SeverityMatrixImpacts(params *PostV1SeverityMatrixImpactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1SeverityMatrixImpactsCreated, error)

PostV1SeverityMatrixImpacts creates impact

Create a new impact

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 {
	DeleteV1SeverityMatrixConditionsConditionID(params *DeleteV1SeverityMatrixConditionsConditionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1SeverityMatrixConditionsConditionIDOK, error)

	DeleteV1SeverityMatrixImpactsImpactID(params *DeleteV1SeverityMatrixImpactsImpactIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteV1SeverityMatrixImpactsImpactIDOK, error)

	GetV1SeverityMatrix(params *GetV1SeverityMatrixParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SeverityMatrixOK, error)

	GetV1SeverityMatrixConditions(params *GetV1SeverityMatrixConditionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SeverityMatrixConditionsOK, error)

	GetV1SeverityMatrixConditionsConditionID(params *GetV1SeverityMatrixConditionsConditionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SeverityMatrixConditionsConditionIDOK, error)

	GetV1SeverityMatrixImpacts(params *GetV1SeverityMatrixImpactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1SeverityMatrixImpactsOK, error)

	PatchV1SeverityMatrix(params *PatchV1SeverityMatrixParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1SeverityMatrixOK, error)

	PatchV1SeverityMatrixConditionsConditionID(params *PatchV1SeverityMatrixConditionsConditionIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1SeverityMatrixConditionsConditionIDOK, error)

	PatchV1SeverityMatrixImpactsImpactID(params *PatchV1SeverityMatrixImpactsImpactIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1SeverityMatrixImpactsImpactIDOK, error)

	PostV1SeverityMatrixConditions(params *PostV1SeverityMatrixConditionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1SeverityMatrixConditionsCreated, error)

	PostV1SeverityMatrixImpacts(params *PostV1SeverityMatrixImpactsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostV1SeverityMatrixImpactsCreated, 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 severity matrix API client.

type DeleteV1SeverityMatrixConditionsConditionIDOK

type DeleteV1SeverityMatrixConditionsConditionIDOK struct {
	Payload *models.SeverityMatrixConditionEntity
}

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

Delete a specific condition

func NewDeleteV1SeverityMatrixConditionsConditionIDOK

func NewDeleteV1SeverityMatrixConditionsConditionIDOK() *DeleteV1SeverityMatrixConditionsConditionIDOK

NewDeleteV1SeverityMatrixConditionsConditionIDOK creates a DeleteV1SeverityMatrixConditionsConditionIDOK with default headers values

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) Error

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) GetPayload

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) IsClientError

IsClientError returns true when this delete v1 severity matrix conditions condition Id o k response has a 4xx status code

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) IsCode

IsCode returns true when this delete v1 severity matrix conditions condition Id o k response a status code equal to that given

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) IsRedirect

IsRedirect returns true when this delete v1 severity matrix conditions condition Id o k response has a 3xx status code

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) IsServerError

IsServerError returns true when this delete v1 severity matrix conditions condition Id o k response has a 5xx status code

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) IsSuccess

IsSuccess returns true when this delete v1 severity matrix conditions condition Id o k response has a 2xx status code

func (*DeleteV1SeverityMatrixConditionsConditionIDOK) String

type DeleteV1SeverityMatrixConditionsConditionIDParams

type DeleteV1SeverityMatrixConditionsConditionIDParams struct {

	// ConditionID.
	ConditionID string

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

DeleteV1SeverityMatrixConditionsConditionIDParams contains all the parameters to send to the API endpoint

for the delete v1 severity matrix conditions condition Id operation.

Typically these are written to a http.Request.

func NewDeleteV1SeverityMatrixConditionsConditionIDParams

func NewDeleteV1SeverityMatrixConditionsConditionIDParams() *DeleteV1SeverityMatrixConditionsConditionIDParams

NewDeleteV1SeverityMatrixConditionsConditionIDParams creates a new DeleteV1SeverityMatrixConditionsConditionIDParams 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 NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithContext

func NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithContext(ctx context.Context) *DeleteV1SeverityMatrixConditionsConditionIDParams

NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithContext creates a new DeleteV1SeverityMatrixConditionsConditionIDParams object with the ability to set a context for a request.

func NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient

func NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient(client *http.Client) *DeleteV1SeverityMatrixConditionsConditionIDParams

NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient creates a new DeleteV1SeverityMatrixConditionsConditionIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithTimeout

func NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithTimeout(timeout time.Duration) *DeleteV1SeverityMatrixConditionsConditionIDParams

NewDeleteV1SeverityMatrixConditionsConditionIDParamsWithTimeout creates a new DeleteV1SeverityMatrixConditionsConditionIDParams object with the ability to set a timeout on a request.

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) SetConditionID

func (o *DeleteV1SeverityMatrixConditionsConditionIDParams) SetConditionID(conditionID string)

SetConditionID adds the conditionId to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) SetContext

SetContext adds the context to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 severity matrix conditions condition Id params (not the query body).

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

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) WithConditionID

WithConditionID adds the conditionID to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) WithContext

WithContext adds the context to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 severity matrix conditions condition Id params (not the query body).

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

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 severity matrix conditions condition Id params

func (*DeleteV1SeverityMatrixConditionsConditionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1SeverityMatrixConditionsConditionIDReader

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

DeleteV1SeverityMatrixConditionsConditionIDReader is a Reader for the DeleteV1SeverityMatrixConditionsConditionID structure.

func (*DeleteV1SeverityMatrixConditionsConditionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteV1SeverityMatrixImpactsImpactIDOK

type DeleteV1SeverityMatrixImpactsImpactIDOK struct {
	Payload *models.SeverityMatrixImpactEntity
}

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

Delete a specific impact

func NewDeleteV1SeverityMatrixImpactsImpactIDOK

func NewDeleteV1SeverityMatrixImpactsImpactIDOK() *DeleteV1SeverityMatrixImpactsImpactIDOK

NewDeleteV1SeverityMatrixImpactsImpactIDOK creates a DeleteV1SeverityMatrixImpactsImpactIDOK with default headers values

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) Error

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) GetPayload

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) IsClientError

func (o *DeleteV1SeverityMatrixImpactsImpactIDOK) IsClientError() bool

IsClientError returns true when this delete v1 severity matrix impacts impact Id o k response has a 4xx status code

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) IsCode

IsCode returns true when this delete v1 severity matrix impacts impact Id o k response a status code equal to that given

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) IsRedirect

IsRedirect returns true when this delete v1 severity matrix impacts impact Id o k response has a 3xx status code

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) IsServerError

func (o *DeleteV1SeverityMatrixImpactsImpactIDOK) IsServerError() bool

IsServerError returns true when this delete v1 severity matrix impacts impact Id o k response has a 5xx status code

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) IsSuccess

IsSuccess returns true when this delete v1 severity matrix impacts impact Id o k response has a 2xx status code

func (*DeleteV1SeverityMatrixImpactsImpactIDOK) String

type DeleteV1SeverityMatrixImpactsImpactIDParams

type DeleteV1SeverityMatrixImpactsImpactIDParams struct {

	// ImpactID.
	ImpactID string

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

DeleteV1SeverityMatrixImpactsImpactIDParams contains all the parameters to send to the API endpoint

for the delete v1 severity matrix impacts impact Id operation.

Typically these are written to a http.Request.

func NewDeleteV1SeverityMatrixImpactsImpactIDParams

func NewDeleteV1SeverityMatrixImpactsImpactIDParams() *DeleteV1SeverityMatrixImpactsImpactIDParams

NewDeleteV1SeverityMatrixImpactsImpactIDParams creates a new DeleteV1SeverityMatrixImpactsImpactIDParams 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 NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithContext

func NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithContext(ctx context.Context) *DeleteV1SeverityMatrixImpactsImpactIDParams

NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithContext creates a new DeleteV1SeverityMatrixImpactsImpactIDParams object with the ability to set a context for a request.

func NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithHTTPClient

func NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithHTTPClient(client *http.Client) *DeleteV1SeverityMatrixImpactsImpactIDParams

NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithHTTPClient creates a new DeleteV1SeverityMatrixImpactsImpactIDParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithTimeout

func NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithTimeout(timeout time.Duration) *DeleteV1SeverityMatrixImpactsImpactIDParams

NewDeleteV1SeverityMatrixImpactsImpactIDParamsWithTimeout creates a new DeleteV1SeverityMatrixImpactsImpactIDParams object with the ability to set a timeout on a request.

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) SetContext

SetContext adds the context to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) SetDefaults

SetDefaults hydrates default values in the delete v1 severity matrix impacts impact Id params (not the query body).

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

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) SetImpactID

func (o *DeleteV1SeverityMatrixImpactsImpactIDParams) SetImpactID(impactID string)

SetImpactID adds the impactId to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) SetTimeout

SetTimeout adds the timeout to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) WithContext

WithContext adds the context to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) WithDefaults

WithDefaults hydrates default values in the delete v1 severity matrix impacts impact Id params (not the query body).

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

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) WithImpactID

WithImpactID adds the impactID to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) WithTimeout

WithTimeout adds the timeout to the delete v1 severity matrix impacts impact Id params

func (*DeleteV1SeverityMatrixImpactsImpactIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteV1SeverityMatrixImpactsImpactIDReader

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

DeleteV1SeverityMatrixImpactsImpactIDReader is a Reader for the DeleteV1SeverityMatrixImpactsImpactID structure.

func (*DeleteV1SeverityMatrixImpactsImpactIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1SeverityMatrixConditionsConditionIDOK

type GetV1SeverityMatrixConditionsConditionIDOK struct {
}

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

get Condition(s)

func NewGetV1SeverityMatrixConditionsConditionIDOK

func NewGetV1SeverityMatrixConditionsConditionIDOK() *GetV1SeverityMatrixConditionsConditionIDOK

NewGetV1SeverityMatrixConditionsConditionIDOK creates a GetV1SeverityMatrixConditionsConditionIDOK with default headers values

func (*GetV1SeverityMatrixConditionsConditionIDOK) Error

func (*GetV1SeverityMatrixConditionsConditionIDOK) IsClientError

IsClientError returns true when this get v1 severity matrix conditions condition Id o k response has a 4xx status code

func (*GetV1SeverityMatrixConditionsConditionIDOK) IsCode

IsCode returns true when this get v1 severity matrix conditions condition Id o k response a status code equal to that given

func (*GetV1SeverityMatrixConditionsConditionIDOK) IsRedirect

IsRedirect returns true when this get v1 severity matrix conditions condition Id o k response has a 3xx status code

func (*GetV1SeverityMatrixConditionsConditionIDOK) IsServerError

IsServerError returns true when this get v1 severity matrix conditions condition Id o k response has a 5xx status code

func (*GetV1SeverityMatrixConditionsConditionIDOK) IsSuccess

IsSuccess returns true when this get v1 severity matrix conditions condition Id o k response has a 2xx status code

func (*GetV1SeverityMatrixConditionsConditionIDOK) String

type GetV1SeverityMatrixConditionsConditionIDParams

type GetV1SeverityMatrixConditionsConditionIDParams struct {

	// ConditionID.
	//
	// Format: int32
	ConditionID int32

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

GetV1SeverityMatrixConditionsConditionIDParams contains all the parameters to send to the API endpoint

for the get v1 severity matrix conditions condition Id operation.

Typically these are written to a http.Request.

func NewGetV1SeverityMatrixConditionsConditionIDParams

func NewGetV1SeverityMatrixConditionsConditionIDParams() *GetV1SeverityMatrixConditionsConditionIDParams

NewGetV1SeverityMatrixConditionsConditionIDParams creates a new GetV1SeverityMatrixConditionsConditionIDParams 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 NewGetV1SeverityMatrixConditionsConditionIDParamsWithContext

func NewGetV1SeverityMatrixConditionsConditionIDParamsWithContext(ctx context.Context) *GetV1SeverityMatrixConditionsConditionIDParams

NewGetV1SeverityMatrixConditionsConditionIDParamsWithContext creates a new GetV1SeverityMatrixConditionsConditionIDParams object with the ability to set a context for a request.

func NewGetV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient

func NewGetV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient(client *http.Client) *GetV1SeverityMatrixConditionsConditionIDParams

NewGetV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient creates a new GetV1SeverityMatrixConditionsConditionIDParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1SeverityMatrixConditionsConditionIDParamsWithTimeout

func NewGetV1SeverityMatrixConditionsConditionIDParamsWithTimeout(timeout time.Duration) *GetV1SeverityMatrixConditionsConditionIDParams

NewGetV1SeverityMatrixConditionsConditionIDParamsWithTimeout creates a new GetV1SeverityMatrixConditionsConditionIDParams object with the ability to set a timeout on a request.

func (*GetV1SeverityMatrixConditionsConditionIDParams) SetConditionID

func (o *GetV1SeverityMatrixConditionsConditionIDParams) SetConditionID(conditionID int32)

SetConditionID adds the conditionId to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) SetContext

SetContext adds the context to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) SetDefaults

SetDefaults hydrates default values in the get v1 severity matrix conditions condition Id params (not the query body).

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

func (*GetV1SeverityMatrixConditionsConditionIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) SetTimeout

SetTimeout adds the timeout to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) WithConditionID

WithConditionID adds the conditionID to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) WithContext

WithContext adds the context to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) WithDefaults

WithDefaults hydrates default values in the get v1 severity matrix conditions condition Id params (not the query body).

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

func (*GetV1SeverityMatrixConditionsConditionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) WithTimeout

WithTimeout adds the timeout to the get v1 severity matrix conditions condition Id params

func (*GetV1SeverityMatrixConditionsConditionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1SeverityMatrixConditionsConditionIDReader

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

GetV1SeverityMatrixConditionsConditionIDReader is a Reader for the GetV1SeverityMatrixConditionsConditionID structure.

func (*GetV1SeverityMatrixConditionsConditionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1SeverityMatrixConditionsOK

type GetV1SeverityMatrixConditionsOK struct {
	Payload *models.SeverityMatrixConditionEntity
}

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

Lists conditions

func NewGetV1SeverityMatrixConditionsOK

func NewGetV1SeverityMatrixConditionsOK() *GetV1SeverityMatrixConditionsOK

NewGetV1SeverityMatrixConditionsOK creates a GetV1SeverityMatrixConditionsOK with default headers values

func (*GetV1SeverityMatrixConditionsOK) Error

func (*GetV1SeverityMatrixConditionsOK) GetPayload

func (*GetV1SeverityMatrixConditionsOK) IsClientError

func (o *GetV1SeverityMatrixConditionsOK) IsClientError() bool

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

func (*GetV1SeverityMatrixConditionsOK) IsCode

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

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

func (*GetV1SeverityMatrixConditionsOK) IsRedirect

func (o *GetV1SeverityMatrixConditionsOK) IsRedirect() bool

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

func (*GetV1SeverityMatrixConditionsOK) IsServerError

func (o *GetV1SeverityMatrixConditionsOK) IsServerError() bool

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

func (*GetV1SeverityMatrixConditionsOK) IsSuccess

func (o *GetV1SeverityMatrixConditionsOK) IsSuccess() bool

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

func (*GetV1SeverityMatrixConditionsOK) String

type GetV1SeverityMatrixConditionsParams

type GetV1SeverityMatrixConditionsParams struct {

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

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

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

GetV1SeverityMatrixConditionsParams contains all the parameters to send to the API endpoint

for the get v1 severity matrix conditions operation.

Typically these are written to a http.Request.

func NewGetV1SeverityMatrixConditionsParams

func NewGetV1SeverityMatrixConditionsParams() *GetV1SeverityMatrixConditionsParams

NewGetV1SeverityMatrixConditionsParams creates a new GetV1SeverityMatrixConditionsParams 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 NewGetV1SeverityMatrixConditionsParamsWithContext

func NewGetV1SeverityMatrixConditionsParamsWithContext(ctx context.Context) *GetV1SeverityMatrixConditionsParams

NewGetV1SeverityMatrixConditionsParamsWithContext creates a new GetV1SeverityMatrixConditionsParams object with the ability to set a context for a request.

func NewGetV1SeverityMatrixConditionsParamsWithHTTPClient

func NewGetV1SeverityMatrixConditionsParamsWithHTTPClient(client *http.Client) *GetV1SeverityMatrixConditionsParams

NewGetV1SeverityMatrixConditionsParamsWithHTTPClient creates a new GetV1SeverityMatrixConditionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1SeverityMatrixConditionsParamsWithTimeout

func NewGetV1SeverityMatrixConditionsParamsWithTimeout(timeout time.Duration) *GetV1SeverityMatrixConditionsParams

NewGetV1SeverityMatrixConditionsParamsWithTimeout creates a new GetV1SeverityMatrixConditionsParams object with the ability to set a timeout on a request.

func (*GetV1SeverityMatrixConditionsParams) SetContext

SetContext adds the context to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) SetDefaults

func (o *GetV1SeverityMatrixConditionsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 severity matrix conditions params (not the query body).

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

func (*GetV1SeverityMatrixConditionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) SetPage

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

SetPage adds the page to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) WithContext

WithContext adds the context to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) WithDefaults

WithDefaults hydrates default values in the get v1 severity matrix conditions params (not the query body).

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

func (*GetV1SeverityMatrixConditionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) WithPage

WithPage adds the page to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) WithPerPage

WithPerPage adds the perPage to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) WithTimeout

WithTimeout adds the timeout to the get v1 severity matrix conditions params

func (*GetV1SeverityMatrixConditionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1SeverityMatrixConditionsReader

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

GetV1SeverityMatrixConditionsReader is a Reader for the GetV1SeverityMatrixConditions structure.

func (*GetV1SeverityMatrixConditionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1SeverityMatrixImpactsOK

type GetV1SeverityMatrixImpactsOK struct {
	Payload *models.SeverityMatrixImpactEntity
}

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

Lists impacts

func NewGetV1SeverityMatrixImpactsOK

func NewGetV1SeverityMatrixImpactsOK() *GetV1SeverityMatrixImpactsOK

NewGetV1SeverityMatrixImpactsOK creates a GetV1SeverityMatrixImpactsOK with default headers values

func (*GetV1SeverityMatrixImpactsOK) Error

func (*GetV1SeverityMatrixImpactsOK) GetPayload

func (*GetV1SeverityMatrixImpactsOK) IsClientError

func (o *GetV1SeverityMatrixImpactsOK) IsClientError() bool

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

func (*GetV1SeverityMatrixImpactsOK) IsCode

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

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

func (*GetV1SeverityMatrixImpactsOK) IsRedirect

func (o *GetV1SeverityMatrixImpactsOK) IsRedirect() bool

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

func (*GetV1SeverityMatrixImpactsOK) IsServerError

func (o *GetV1SeverityMatrixImpactsOK) IsServerError() bool

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

func (*GetV1SeverityMatrixImpactsOK) IsSuccess

func (o *GetV1SeverityMatrixImpactsOK) IsSuccess() bool

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

func (*GetV1SeverityMatrixImpactsOK) String

type GetV1SeverityMatrixImpactsParams

type GetV1SeverityMatrixImpactsParams struct {

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

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

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

GetV1SeverityMatrixImpactsParams contains all the parameters to send to the API endpoint

for the get v1 severity matrix impacts operation.

Typically these are written to a http.Request.

func NewGetV1SeverityMatrixImpactsParams

func NewGetV1SeverityMatrixImpactsParams() *GetV1SeverityMatrixImpactsParams

NewGetV1SeverityMatrixImpactsParams creates a new GetV1SeverityMatrixImpactsParams 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 NewGetV1SeverityMatrixImpactsParamsWithContext

func NewGetV1SeverityMatrixImpactsParamsWithContext(ctx context.Context) *GetV1SeverityMatrixImpactsParams

NewGetV1SeverityMatrixImpactsParamsWithContext creates a new GetV1SeverityMatrixImpactsParams object with the ability to set a context for a request.

func NewGetV1SeverityMatrixImpactsParamsWithHTTPClient

func NewGetV1SeverityMatrixImpactsParamsWithHTTPClient(client *http.Client) *GetV1SeverityMatrixImpactsParams

NewGetV1SeverityMatrixImpactsParamsWithHTTPClient creates a new GetV1SeverityMatrixImpactsParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1SeverityMatrixImpactsParamsWithTimeout

func NewGetV1SeverityMatrixImpactsParamsWithTimeout(timeout time.Duration) *GetV1SeverityMatrixImpactsParams

NewGetV1SeverityMatrixImpactsParamsWithTimeout creates a new GetV1SeverityMatrixImpactsParams object with the ability to set a timeout on a request.

func (*GetV1SeverityMatrixImpactsParams) SetContext

SetContext adds the context to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) SetDefaults

func (o *GetV1SeverityMatrixImpactsParams) SetDefaults()

SetDefaults hydrates default values in the get v1 severity matrix impacts params (not the query body).

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

func (*GetV1SeverityMatrixImpactsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) SetPage

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

SetPage adds the page to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) SetPerPage

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

SetPerPage adds the perPage to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) WithContext

WithContext adds the context to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) WithDefaults

WithDefaults hydrates default values in the get v1 severity matrix impacts params (not the query body).

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

func (*GetV1SeverityMatrixImpactsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) WithPage

WithPage adds the page to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) WithPerPage

WithPerPage adds the perPage to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) WithTimeout

WithTimeout adds the timeout to the get v1 severity matrix impacts params

func (*GetV1SeverityMatrixImpactsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1SeverityMatrixImpactsReader

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

GetV1SeverityMatrixImpactsReader is a Reader for the GetV1SeverityMatrixImpacts structure.

func (*GetV1SeverityMatrixImpactsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1SeverityMatrixOK

type GetV1SeverityMatrixOK struct {
	Payload *models.SeverityMatrixSeverityMatrixEntity
}

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

Retrieve the Severity matrix for your organization and its components and configured severities.

func NewGetV1SeverityMatrixOK

func NewGetV1SeverityMatrixOK() *GetV1SeverityMatrixOK

NewGetV1SeverityMatrixOK creates a GetV1SeverityMatrixOK with default headers values

func (*GetV1SeverityMatrixOK) Error

func (o *GetV1SeverityMatrixOK) Error() string

func (*GetV1SeverityMatrixOK) GetPayload

func (*GetV1SeverityMatrixOK) IsClientError

func (o *GetV1SeverityMatrixOK) IsClientError() bool

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

func (*GetV1SeverityMatrixOK) IsCode

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

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

func (*GetV1SeverityMatrixOK) IsRedirect

func (o *GetV1SeverityMatrixOK) IsRedirect() bool

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

func (*GetV1SeverityMatrixOK) IsServerError

func (o *GetV1SeverityMatrixOK) IsServerError() bool

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

func (*GetV1SeverityMatrixOK) IsSuccess

func (o *GetV1SeverityMatrixOK) IsSuccess() bool

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

func (*GetV1SeverityMatrixOK) String

func (o *GetV1SeverityMatrixOK) String() string

type GetV1SeverityMatrixParams

type GetV1SeverityMatrixParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetV1SeverityMatrixParams contains all the parameters to send to the API endpoint

for the get v1 severity matrix operation.

Typically these are written to a http.Request.

func NewGetV1SeverityMatrixParams

func NewGetV1SeverityMatrixParams() *GetV1SeverityMatrixParams

NewGetV1SeverityMatrixParams creates a new GetV1SeverityMatrixParams 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 NewGetV1SeverityMatrixParamsWithContext

func NewGetV1SeverityMatrixParamsWithContext(ctx context.Context) *GetV1SeverityMatrixParams

NewGetV1SeverityMatrixParamsWithContext creates a new GetV1SeverityMatrixParams object with the ability to set a context for a request.

func NewGetV1SeverityMatrixParamsWithHTTPClient

func NewGetV1SeverityMatrixParamsWithHTTPClient(client *http.Client) *GetV1SeverityMatrixParams

NewGetV1SeverityMatrixParamsWithHTTPClient creates a new GetV1SeverityMatrixParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1SeverityMatrixParamsWithTimeout

func NewGetV1SeverityMatrixParamsWithTimeout(timeout time.Duration) *GetV1SeverityMatrixParams

NewGetV1SeverityMatrixParamsWithTimeout creates a new GetV1SeverityMatrixParams object with the ability to set a timeout on a request.

func (*GetV1SeverityMatrixParams) SetContext

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

SetContext adds the context to the get v1 severity matrix params

func (*GetV1SeverityMatrixParams) SetDefaults

func (o *GetV1SeverityMatrixParams) SetDefaults()

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

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

func (*GetV1SeverityMatrixParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 severity matrix params

func (*GetV1SeverityMatrixParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 severity matrix params

func (*GetV1SeverityMatrixParams) WithContext

WithContext adds the context to the get v1 severity matrix params

func (*GetV1SeverityMatrixParams) WithDefaults

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

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

func (*GetV1SeverityMatrixParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 severity matrix params

func (*GetV1SeverityMatrixParams) WithTimeout

WithTimeout adds the timeout to the get v1 severity matrix params

func (*GetV1SeverityMatrixParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1SeverityMatrixReader

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

GetV1SeverityMatrixReader is a Reader for the GetV1SeverityMatrix structure.

func (*GetV1SeverityMatrixReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1SeverityMatrixConditionsConditionIDOK

type PatchV1SeverityMatrixConditionsConditionIDOK struct {
	Payload *models.SeverityMatrixConditionEntity
}

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

Update a specific condition

func NewPatchV1SeverityMatrixConditionsConditionIDOK

func NewPatchV1SeverityMatrixConditionsConditionIDOK() *PatchV1SeverityMatrixConditionsConditionIDOK

NewPatchV1SeverityMatrixConditionsConditionIDOK creates a PatchV1SeverityMatrixConditionsConditionIDOK with default headers values

func (*PatchV1SeverityMatrixConditionsConditionIDOK) Error

func (*PatchV1SeverityMatrixConditionsConditionIDOK) GetPayload

func (*PatchV1SeverityMatrixConditionsConditionIDOK) IsClientError

IsClientError returns true when this patch v1 severity matrix conditions condition Id o k response has a 4xx status code

func (*PatchV1SeverityMatrixConditionsConditionIDOK) IsCode

IsCode returns true when this patch v1 severity matrix conditions condition Id o k response a status code equal to that given

func (*PatchV1SeverityMatrixConditionsConditionIDOK) IsRedirect

IsRedirect returns true when this patch v1 severity matrix conditions condition Id o k response has a 3xx status code

func (*PatchV1SeverityMatrixConditionsConditionIDOK) IsServerError

IsServerError returns true when this patch v1 severity matrix conditions condition Id o k response has a 5xx status code

func (*PatchV1SeverityMatrixConditionsConditionIDOK) IsSuccess

IsSuccess returns true when this patch v1 severity matrix conditions condition Id o k response has a 2xx status code

func (*PatchV1SeverityMatrixConditionsConditionIDOK) String

type PatchV1SeverityMatrixConditionsConditionIDParams

type PatchV1SeverityMatrixConditionsConditionIDParams struct {

	// ConditionID.
	ConditionID string

	// PatchV1SeverityMatrixConditionsConditionID.
	PatchV1SeverityMatrixConditionsConditionID *models.PatchV1SeverityMatrixConditionsConditionID

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

PatchV1SeverityMatrixConditionsConditionIDParams contains all the parameters to send to the API endpoint

for the patch v1 severity matrix conditions condition Id operation.

Typically these are written to a http.Request.

func NewPatchV1SeverityMatrixConditionsConditionIDParams

func NewPatchV1SeverityMatrixConditionsConditionIDParams() *PatchV1SeverityMatrixConditionsConditionIDParams

NewPatchV1SeverityMatrixConditionsConditionIDParams creates a new PatchV1SeverityMatrixConditionsConditionIDParams 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 NewPatchV1SeverityMatrixConditionsConditionIDParamsWithContext

func NewPatchV1SeverityMatrixConditionsConditionIDParamsWithContext(ctx context.Context) *PatchV1SeverityMatrixConditionsConditionIDParams

NewPatchV1SeverityMatrixConditionsConditionIDParamsWithContext creates a new PatchV1SeverityMatrixConditionsConditionIDParams object with the ability to set a context for a request.

func NewPatchV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient

func NewPatchV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient(client *http.Client) *PatchV1SeverityMatrixConditionsConditionIDParams

NewPatchV1SeverityMatrixConditionsConditionIDParamsWithHTTPClient creates a new PatchV1SeverityMatrixConditionsConditionIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1SeverityMatrixConditionsConditionIDParamsWithTimeout

func NewPatchV1SeverityMatrixConditionsConditionIDParamsWithTimeout(timeout time.Duration) *PatchV1SeverityMatrixConditionsConditionIDParams

NewPatchV1SeverityMatrixConditionsConditionIDParamsWithTimeout creates a new PatchV1SeverityMatrixConditionsConditionIDParams object with the ability to set a timeout on a request.

func (*PatchV1SeverityMatrixConditionsConditionIDParams) SetConditionID

func (o *PatchV1SeverityMatrixConditionsConditionIDParams) SetConditionID(conditionID string)

SetConditionID adds the conditionId to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) SetContext

SetContext adds the context to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 severity matrix conditions condition Id params (not the query body).

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

func (*PatchV1SeverityMatrixConditionsConditionIDParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) SetPatchV1SeverityMatrixConditionsConditionID

func (o *PatchV1SeverityMatrixConditionsConditionIDParams) SetPatchV1SeverityMatrixConditionsConditionID(patchV1SeverityMatrixConditionsConditionID *models.PatchV1SeverityMatrixConditionsConditionID)

SetPatchV1SeverityMatrixConditionsConditionID adds the patchV1SeverityMatrixConditionsConditionId to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) WithConditionID

WithConditionID adds the conditionID to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) WithContext

WithContext adds the context to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 severity matrix conditions condition Id params (not the query body).

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

func (*PatchV1SeverityMatrixConditionsConditionIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) WithPatchV1SeverityMatrixConditionsConditionID

func (o *PatchV1SeverityMatrixConditionsConditionIDParams) WithPatchV1SeverityMatrixConditionsConditionID(patchV1SeverityMatrixConditionsConditionID *models.PatchV1SeverityMatrixConditionsConditionID) *PatchV1SeverityMatrixConditionsConditionIDParams

WithPatchV1SeverityMatrixConditionsConditionID adds the patchV1SeverityMatrixConditionsConditionID to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 severity matrix conditions condition Id params

func (*PatchV1SeverityMatrixConditionsConditionIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1SeverityMatrixConditionsConditionIDReader

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

PatchV1SeverityMatrixConditionsConditionIDReader is a Reader for the PatchV1SeverityMatrixConditionsConditionID structure.

func (*PatchV1SeverityMatrixConditionsConditionIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1SeverityMatrixImpactsImpactIDOK

type PatchV1SeverityMatrixImpactsImpactIDOK struct {
	Payload *models.SeverityMatrixImpactEntity
}

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

Update a specific impact

func NewPatchV1SeverityMatrixImpactsImpactIDOK

func NewPatchV1SeverityMatrixImpactsImpactIDOK() *PatchV1SeverityMatrixImpactsImpactIDOK

NewPatchV1SeverityMatrixImpactsImpactIDOK creates a PatchV1SeverityMatrixImpactsImpactIDOK with default headers values

func (*PatchV1SeverityMatrixImpactsImpactIDOK) Error

func (*PatchV1SeverityMatrixImpactsImpactIDOK) GetPayload

func (*PatchV1SeverityMatrixImpactsImpactIDOK) IsClientError

func (o *PatchV1SeverityMatrixImpactsImpactIDOK) IsClientError() bool

IsClientError returns true when this patch v1 severity matrix impacts impact Id o k response has a 4xx status code

func (*PatchV1SeverityMatrixImpactsImpactIDOK) IsCode

IsCode returns true when this patch v1 severity matrix impacts impact Id o k response a status code equal to that given

func (*PatchV1SeverityMatrixImpactsImpactIDOK) IsRedirect

IsRedirect returns true when this patch v1 severity matrix impacts impact Id o k response has a 3xx status code

func (*PatchV1SeverityMatrixImpactsImpactIDOK) IsServerError

func (o *PatchV1SeverityMatrixImpactsImpactIDOK) IsServerError() bool

IsServerError returns true when this patch v1 severity matrix impacts impact Id o k response has a 5xx status code

func (*PatchV1SeverityMatrixImpactsImpactIDOK) IsSuccess

IsSuccess returns true when this patch v1 severity matrix impacts impact Id o k response has a 2xx status code

func (*PatchV1SeverityMatrixImpactsImpactIDOK) String

type PatchV1SeverityMatrixImpactsImpactIDParams

type PatchV1SeverityMatrixImpactsImpactIDParams struct {

	// ImpactID.
	ImpactID string

	// PatchV1SeverityMatrixImpactsImpactID.
	PatchV1SeverityMatrixImpactsImpactID *models.PatchV1SeverityMatrixImpactsImpactID

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

PatchV1SeverityMatrixImpactsImpactIDParams contains all the parameters to send to the API endpoint

for the patch v1 severity matrix impacts impact Id operation.

Typically these are written to a http.Request.

func NewPatchV1SeverityMatrixImpactsImpactIDParams

func NewPatchV1SeverityMatrixImpactsImpactIDParams() *PatchV1SeverityMatrixImpactsImpactIDParams

NewPatchV1SeverityMatrixImpactsImpactIDParams creates a new PatchV1SeverityMatrixImpactsImpactIDParams 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 NewPatchV1SeverityMatrixImpactsImpactIDParamsWithContext

func NewPatchV1SeverityMatrixImpactsImpactIDParamsWithContext(ctx context.Context) *PatchV1SeverityMatrixImpactsImpactIDParams

NewPatchV1SeverityMatrixImpactsImpactIDParamsWithContext creates a new PatchV1SeverityMatrixImpactsImpactIDParams object with the ability to set a context for a request.

func NewPatchV1SeverityMatrixImpactsImpactIDParamsWithHTTPClient

func NewPatchV1SeverityMatrixImpactsImpactIDParamsWithHTTPClient(client *http.Client) *PatchV1SeverityMatrixImpactsImpactIDParams

NewPatchV1SeverityMatrixImpactsImpactIDParamsWithHTTPClient creates a new PatchV1SeverityMatrixImpactsImpactIDParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1SeverityMatrixImpactsImpactIDParamsWithTimeout

func NewPatchV1SeverityMatrixImpactsImpactIDParamsWithTimeout(timeout time.Duration) *PatchV1SeverityMatrixImpactsImpactIDParams

NewPatchV1SeverityMatrixImpactsImpactIDParamsWithTimeout creates a new PatchV1SeverityMatrixImpactsImpactIDParams object with the ability to set a timeout on a request.

func (*PatchV1SeverityMatrixImpactsImpactIDParams) SetContext

SetContext adds the context to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) SetDefaults

SetDefaults hydrates default values in the patch v1 severity matrix impacts impact Id params (not the query body).

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

func (*PatchV1SeverityMatrixImpactsImpactIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) SetImpactID

func (o *PatchV1SeverityMatrixImpactsImpactIDParams) SetImpactID(impactID string)

SetImpactID adds the impactId to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) SetPatchV1SeverityMatrixImpactsImpactID

func (o *PatchV1SeverityMatrixImpactsImpactIDParams) SetPatchV1SeverityMatrixImpactsImpactID(patchV1SeverityMatrixImpactsImpactID *models.PatchV1SeverityMatrixImpactsImpactID)

SetPatchV1SeverityMatrixImpactsImpactID adds the patchV1SeverityMatrixImpactsImpactId to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) SetTimeout

SetTimeout adds the timeout to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) WithContext

WithContext adds the context to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) WithDefaults

WithDefaults hydrates default values in the patch v1 severity matrix impacts impact Id params (not the query body).

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

func (*PatchV1SeverityMatrixImpactsImpactIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) WithImpactID

WithImpactID adds the impactID to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) WithPatchV1SeverityMatrixImpactsImpactID

func (o *PatchV1SeverityMatrixImpactsImpactIDParams) WithPatchV1SeverityMatrixImpactsImpactID(patchV1SeverityMatrixImpactsImpactID *models.PatchV1SeverityMatrixImpactsImpactID) *PatchV1SeverityMatrixImpactsImpactIDParams

WithPatchV1SeverityMatrixImpactsImpactID adds the patchV1SeverityMatrixImpactsImpactID to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) WithTimeout

WithTimeout adds the timeout to the patch v1 severity matrix impacts impact Id params

func (*PatchV1SeverityMatrixImpactsImpactIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1SeverityMatrixImpactsImpactIDReader

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

PatchV1SeverityMatrixImpactsImpactIDReader is a Reader for the PatchV1SeverityMatrixImpactsImpactID structure.

func (*PatchV1SeverityMatrixImpactsImpactIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PatchV1SeverityMatrixOK

type PatchV1SeverityMatrixOK struct {
	Payload *models.SeverityMatrixSeverityMatrixEntity
}

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

Update available severities and impacts in your organization's severity matrix.

func NewPatchV1SeverityMatrixOK

func NewPatchV1SeverityMatrixOK() *PatchV1SeverityMatrixOK

NewPatchV1SeverityMatrixOK creates a PatchV1SeverityMatrixOK with default headers values

func (*PatchV1SeverityMatrixOK) Error

func (o *PatchV1SeverityMatrixOK) Error() string

func (*PatchV1SeverityMatrixOK) GetPayload

func (*PatchV1SeverityMatrixOK) IsClientError

func (o *PatchV1SeverityMatrixOK) IsClientError() bool

IsClientError returns true when this patch v1 severity matrix o k response has a 4xx status code

func (*PatchV1SeverityMatrixOK) IsCode

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

IsCode returns true when this patch v1 severity matrix o k response a status code equal to that given

func (*PatchV1SeverityMatrixOK) IsRedirect

func (o *PatchV1SeverityMatrixOK) IsRedirect() bool

IsRedirect returns true when this patch v1 severity matrix o k response has a 3xx status code

func (*PatchV1SeverityMatrixOK) IsServerError

func (o *PatchV1SeverityMatrixOK) IsServerError() bool

IsServerError returns true when this patch v1 severity matrix o k response has a 5xx status code

func (*PatchV1SeverityMatrixOK) IsSuccess

func (o *PatchV1SeverityMatrixOK) IsSuccess() bool

IsSuccess returns true when this patch v1 severity matrix o k response has a 2xx status code

func (*PatchV1SeverityMatrixOK) String

func (o *PatchV1SeverityMatrixOK) String() string

type PatchV1SeverityMatrixParams

type PatchV1SeverityMatrixParams struct {

	// PatchV1SeverityMatrix.
	PatchV1SeverityMatrix *models.PatchV1SeverityMatrix

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

PatchV1SeverityMatrixParams contains all the parameters to send to the API endpoint

for the patch v1 severity matrix operation.

Typically these are written to a http.Request.

func NewPatchV1SeverityMatrixParams

func NewPatchV1SeverityMatrixParams() *PatchV1SeverityMatrixParams

NewPatchV1SeverityMatrixParams creates a new PatchV1SeverityMatrixParams 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 NewPatchV1SeverityMatrixParamsWithContext

func NewPatchV1SeverityMatrixParamsWithContext(ctx context.Context) *PatchV1SeverityMatrixParams

NewPatchV1SeverityMatrixParamsWithContext creates a new PatchV1SeverityMatrixParams object with the ability to set a context for a request.

func NewPatchV1SeverityMatrixParamsWithHTTPClient

func NewPatchV1SeverityMatrixParamsWithHTTPClient(client *http.Client) *PatchV1SeverityMatrixParams

NewPatchV1SeverityMatrixParamsWithHTTPClient creates a new PatchV1SeverityMatrixParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1SeverityMatrixParamsWithTimeout

func NewPatchV1SeverityMatrixParamsWithTimeout(timeout time.Duration) *PatchV1SeverityMatrixParams

NewPatchV1SeverityMatrixParamsWithTimeout creates a new PatchV1SeverityMatrixParams object with the ability to set a timeout on a request.

func (*PatchV1SeverityMatrixParams) SetContext

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

SetContext adds the context to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) SetDefaults

func (o *PatchV1SeverityMatrixParams) SetDefaults()

SetDefaults hydrates default values in the patch v1 severity matrix params (not the query body).

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

func (*PatchV1SeverityMatrixParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) SetPatchV1SeverityMatrix

func (o *PatchV1SeverityMatrixParams) SetPatchV1SeverityMatrix(patchV1SeverityMatrix *models.PatchV1SeverityMatrix)

SetPatchV1SeverityMatrix adds the patchV1SeverityMatrix to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) SetTimeout

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

SetTimeout adds the timeout to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) WithContext

WithContext adds the context to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) WithDefaults

WithDefaults hydrates default values in the patch v1 severity matrix params (not the query body).

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

func (*PatchV1SeverityMatrixParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) WithPatchV1SeverityMatrix

func (o *PatchV1SeverityMatrixParams) WithPatchV1SeverityMatrix(patchV1SeverityMatrix *models.PatchV1SeverityMatrix) *PatchV1SeverityMatrixParams

WithPatchV1SeverityMatrix adds the patchV1SeverityMatrix to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) WithTimeout

WithTimeout adds the timeout to the patch v1 severity matrix params

func (*PatchV1SeverityMatrixParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1SeverityMatrixReader

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

PatchV1SeverityMatrixReader is a Reader for the PatchV1SeverityMatrix structure.

func (*PatchV1SeverityMatrixReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1SeverityMatrixConditionsCreated

type PostV1SeverityMatrixConditionsCreated struct {
	Payload *models.SeverityMatrixConditionEntity
}

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

Create a new condition

func NewPostV1SeverityMatrixConditionsCreated

func NewPostV1SeverityMatrixConditionsCreated() *PostV1SeverityMatrixConditionsCreated

NewPostV1SeverityMatrixConditionsCreated creates a PostV1SeverityMatrixConditionsCreated with default headers values

func (*PostV1SeverityMatrixConditionsCreated) Error

func (*PostV1SeverityMatrixConditionsCreated) GetPayload

func (*PostV1SeverityMatrixConditionsCreated) IsClientError

func (o *PostV1SeverityMatrixConditionsCreated) IsClientError() bool

IsClientError returns true when this post v1 severity matrix conditions created response has a 4xx status code

func (*PostV1SeverityMatrixConditionsCreated) IsCode

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

func (*PostV1SeverityMatrixConditionsCreated) IsRedirect

IsRedirect returns true when this post v1 severity matrix conditions created response has a 3xx status code

func (*PostV1SeverityMatrixConditionsCreated) IsServerError

func (o *PostV1SeverityMatrixConditionsCreated) IsServerError() bool

IsServerError returns true when this post v1 severity matrix conditions created response has a 5xx status code

func (*PostV1SeverityMatrixConditionsCreated) IsSuccess

IsSuccess returns true when this post v1 severity matrix conditions created response has a 2xx status code

func (*PostV1SeverityMatrixConditionsCreated) String

type PostV1SeverityMatrixConditionsParams

type PostV1SeverityMatrixConditionsParams struct {

	// PostV1SeverityMatrixConditions.
	PostV1SeverityMatrixConditions *models.PostV1SeverityMatrixConditions

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

PostV1SeverityMatrixConditionsParams contains all the parameters to send to the API endpoint

for the post v1 severity matrix conditions operation.

Typically these are written to a http.Request.

func NewPostV1SeverityMatrixConditionsParams

func NewPostV1SeverityMatrixConditionsParams() *PostV1SeverityMatrixConditionsParams

NewPostV1SeverityMatrixConditionsParams creates a new PostV1SeverityMatrixConditionsParams 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 NewPostV1SeverityMatrixConditionsParamsWithContext

func NewPostV1SeverityMatrixConditionsParamsWithContext(ctx context.Context) *PostV1SeverityMatrixConditionsParams

NewPostV1SeverityMatrixConditionsParamsWithContext creates a new PostV1SeverityMatrixConditionsParams object with the ability to set a context for a request.

func NewPostV1SeverityMatrixConditionsParamsWithHTTPClient

func NewPostV1SeverityMatrixConditionsParamsWithHTTPClient(client *http.Client) *PostV1SeverityMatrixConditionsParams

NewPostV1SeverityMatrixConditionsParamsWithHTTPClient creates a new PostV1SeverityMatrixConditionsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1SeverityMatrixConditionsParamsWithTimeout

func NewPostV1SeverityMatrixConditionsParamsWithTimeout(timeout time.Duration) *PostV1SeverityMatrixConditionsParams

NewPostV1SeverityMatrixConditionsParamsWithTimeout creates a new PostV1SeverityMatrixConditionsParams object with the ability to set a timeout on a request.

func (*PostV1SeverityMatrixConditionsParams) SetContext

SetContext adds the context to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) SetDefaults

func (o *PostV1SeverityMatrixConditionsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 severity matrix conditions params (not the query body).

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

func (*PostV1SeverityMatrixConditionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) SetPostV1SeverityMatrixConditions

func (o *PostV1SeverityMatrixConditionsParams) SetPostV1SeverityMatrixConditions(postV1SeverityMatrixConditions *models.PostV1SeverityMatrixConditions)

SetPostV1SeverityMatrixConditions adds the postV1SeverityMatrixConditions to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) WithContext

WithContext adds the context to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) WithDefaults

WithDefaults hydrates default values in the post v1 severity matrix conditions params (not the query body).

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

func (*PostV1SeverityMatrixConditionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) WithPostV1SeverityMatrixConditions

func (o *PostV1SeverityMatrixConditionsParams) WithPostV1SeverityMatrixConditions(postV1SeverityMatrixConditions *models.PostV1SeverityMatrixConditions) *PostV1SeverityMatrixConditionsParams

WithPostV1SeverityMatrixConditions adds the postV1SeverityMatrixConditions to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) WithTimeout

WithTimeout adds the timeout to the post v1 severity matrix conditions params

func (*PostV1SeverityMatrixConditionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1SeverityMatrixConditionsReader

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

PostV1SeverityMatrixConditionsReader is a Reader for the PostV1SeverityMatrixConditions structure.

func (*PostV1SeverityMatrixConditionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostV1SeverityMatrixImpactsCreated

type PostV1SeverityMatrixImpactsCreated struct {
	Payload *models.SeverityMatrixImpactEntity
}

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

Create a new impact

func NewPostV1SeverityMatrixImpactsCreated

func NewPostV1SeverityMatrixImpactsCreated() *PostV1SeverityMatrixImpactsCreated

NewPostV1SeverityMatrixImpactsCreated creates a PostV1SeverityMatrixImpactsCreated with default headers values

func (*PostV1SeverityMatrixImpactsCreated) Error

func (*PostV1SeverityMatrixImpactsCreated) GetPayload

func (*PostV1SeverityMatrixImpactsCreated) IsClientError

func (o *PostV1SeverityMatrixImpactsCreated) IsClientError() bool

IsClientError returns true when this post v1 severity matrix impacts created response has a 4xx status code

func (*PostV1SeverityMatrixImpactsCreated) IsCode

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

func (*PostV1SeverityMatrixImpactsCreated) IsRedirect

func (o *PostV1SeverityMatrixImpactsCreated) IsRedirect() bool

IsRedirect returns true when this post v1 severity matrix impacts created response has a 3xx status code

func (*PostV1SeverityMatrixImpactsCreated) IsServerError

func (o *PostV1SeverityMatrixImpactsCreated) IsServerError() bool

IsServerError returns true when this post v1 severity matrix impacts created response has a 5xx status code

func (*PostV1SeverityMatrixImpactsCreated) IsSuccess

IsSuccess returns true when this post v1 severity matrix impacts created response has a 2xx status code

func (*PostV1SeverityMatrixImpactsCreated) String

type PostV1SeverityMatrixImpactsParams

type PostV1SeverityMatrixImpactsParams struct {

	// PostV1SeverityMatrixImpacts.
	PostV1SeverityMatrixImpacts *models.PostV1SeverityMatrixImpacts

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

PostV1SeverityMatrixImpactsParams contains all the parameters to send to the API endpoint

for the post v1 severity matrix impacts operation.

Typically these are written to a http.Request.

func NewPostV1SeverityMatrixImpactsParams

func NewPostV1SeverityMatrixImpactsParams() *PostV1SeverityMatrixImpactsParams

NewPostV1SeverityMatrixImpactsParams creates a new PostV1SeverityMatrixImpactsParams 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 NewPostV1SeverityMatrixImpactsParamsWithContext

func NewPostV1SeverityMatrixImpactsParamsWithContext(ctx context.Context) *PostV1SeverityMatrixImpactsParams

NewPostV1SeverityMatrixImpactsParamsWithContext creates a new PostV1SeverityMatrixImpactsParams object with the ability to set a context for a request.

func NewPostV1SeverityMatrixImpactsParamsWithHTTPClient

func NewPostV1SeverityMatrixImpactsParamsWithHTTPClient(client *http.Client) *PostV1SeverityMatrixImpactsParams

NewPostV1SeverityMatrixImpactsParamsWithHTTPClient creates a new PostV1SeverityMatrixImpactsParams object with the ability to set a custom HTTPClient for a request.

func NewPostV1SeverityMatrixImpactsParamsWithTimeout

func NewPostV1SeverityMatrixImpactsParamsWithTimeout(timeout time.Duration) *PostV1SeverityMatrixImpactsParams

NewPostV1SeverityMatrixImpactsParamsWithTimeout creates a new PostV1SeverityMatrixImpactsParams object with the ability to set a timeout on a request.

func (*PostV1SeverityMatrixImpactsParams) SetContext

SetContext adds the context to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) SetDefaults

func (o *PostV1SeverityMatrixImpactsParams) SetDefaults()

SetDefaults hydrates default values in the post v1 severity matrix impacts params (not the query body).

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

func (*PostV1SeverityMatrixImpactsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) SetPostV1SeverityMatrixImpacts

func (o *PostV1SeverityMatrixImpactsParams) SetPostV1SeverityMatrixImpacts(postV1SeverityMatrixImpacts *models.PostV1SeverityMatrixImpacts)

SetPostV1SeverityMatrixImpacts adds the postV1SeverityMatrixImpacts to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) SetTimeout

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

SetTimeout adds the timeout to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) WithContext

WithContext adds the context to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) WithDefaults

WithDefaults hydrates default values in the post v1 severity matrix impacts params (not the query body).

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

func (*PostV1SeverityMatrixImpactsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) WithPostV1SeverityMatrixImpacts

func (o *PostV1SeverityMatrixImpactsParams) WithPostV1SeverityMatrixImpacts(postV1SeverityMatrixImpacts *models.PostV1SeverityMatrixImpacts) *PostV1SeverityMatrixImpactsParams

WithPostV1SeverityMatrixImpacts adds the postV1SeverityMatrixImpacts to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) WithTimeout

WithTimeout adds the timeout to the post v1 severity matrix impacts params

func (*PostV1SeverityMatrixImpactsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostV1SeverityMatrixImpactsReader

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

PostV1SeverityMatrixImpactsReader is a Reader for the PostV1SeverityMatrixImpacts structure.

func (*PostV1SeverityMatrixImpactsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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