ai

package
v0.0.0-...-c0d51b7 Latest Latest
Warning

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

Go to latest
Published: May 1, 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 ai API

func (*Client) GetV1AiPreferences

func (a *Client) GetV1AiPreferences(params *GetV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AiPreferencesOK, error)

GetV1AiPreferences preferences

Retrieves the current AI preferences

func (*Client) GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoted

GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoted get v1 ai summarize incident incident Id generated summary Id voted API

func (*Client) PatchV1AiPreferences

func (a *Client) PatchV1AiPreferences(params *PatchV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1AiPreferencesOK, error)

PatchV1AiPreferences updates preferences

Updates the AI preferences

func (*Client) PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVote

PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVote put v1 ai summarize incident incident Id generated summary Id vote API

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 {
	GetV1AiPreferences(params *GetV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AiPreferencesOK, error)

	GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoted(params *GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK, error)

	PatchV1AiPreferences(params *PatchV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1AiPreferencesOK, error)

	PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVote(params *PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK, 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 ai API client.

type GetV1AiPreferencesOK

type GetV1AiPreferencesOK struct {
	Payload *models.AIEntitiesPreferencesEntity
}

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

Retrieves the current AI preferences

func NewGetV1AiPreferencesOK

func NewGetV1AiPreferencesOK() *GetV1AiPreferencesOK

NewGetV1AiPreferencesOK creates a GetV1AiPreferencesOK with default headers values

func (*GetV1AiPreferencesOK) Error

func (o *GetV1AiPreferencesOK) Error() string

func (*GetV1AiPreferencesOK) GetPayload

func (*GetV1AiPreferencesOK) IsClientError

func (o *GetV1AiPreferencesOK) IsClientError() bool

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

func (*GetV1AiPreferencesOK) IsCode

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

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

func (*GetV1AiPreferencesOK) IsRedirect

func (o *GetV1AiPreferencesOK) IsRedirect() bool

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

func (*GetV1AiPreferencesOK) IsServerError

func (o *GetV1AiPreferencesOK) IsServerError() bool

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

func (*GetV1AiPreferencesOK) IsSuccess

func (o *GetV1AiPreferencesOK) IsSuccess() bool

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

func (*GetV1AiPreferencesOK) String

func (o *GetV1AiPreferencesOK) String() string

type GetV1AiPreferencesParams

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

GetV1AiPreferencesParams contains all the parameters to send to the API endpoint

for the get v1 ai preferences operation.

Typically these are written to a http.Request.

func NewGetV1AiPreferencesParams

func NewGetV1AiPreferencesParams() *GetV1AiPreferencesParams

NewGetV1AiPreferencesParams creates a new GetV1AiPreferencesParams 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 NewGetV1AiPreferencesParamsWithContext

func NewGetV1AiPreferencesParamsWithContext(ctx context.Context) *GetV1AiPreferencesParams

NewGetV1AiPreferencesParamsWithContext creates a new GetV1AiPreferencesParams object with the ability to set a context for a request.

func NewGetV1AiPreferencesParamsWithHTTPClient

func NewGetV1AiPreferencesParamsWithHTTPClient(client *http.Client) *GetV1AiPreferencesParams

NewGetV1AiPreferencesParamsWithHTTPClient creates a new GetV1AiPreferencesParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1AiPreferencesParamsWithTimeout

func NewGetV1AiPreferencesParamsWithTimeout(timeout time.Duration) *GetV1AiPreferencesParams

NewGetV1AiPreferencesParamsWithTimeout creates a new GetV1AiPreferencesParams object with the ability to set a timeout on a request.

func (*GetV1AiPreferencesParams) SetContext

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

SetContext adds the context to the get v1 ai preferences params

func (*GetV1AiPreferencesParams) SetDefaults

func (o *GetV1AiPreferencesParams) SetDefaults()

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

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

func (*GetV1AiPreferencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get v1 ai preferences params

func (*GetV1AiPreferencesParams) SetTimeout

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

SetTimeout adds the timeout to the get v1 ai preferences params

func (*GetV1AiPreferencesParams) WithContext

WithContext adds the context to the get v1 ai preferences params

func (*GetV1AiPreferencesParams) WithDefaults

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

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

func (*GetV1AiPreferencesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get v1 ai preferences params

func (*GetV1AiPreferencesParams) WithTimeout

WithTimeout adds the timeout to the get v1 ai preferences params

func (*GetV1AiPreferencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1AiPreferencesReader

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

GetV1AiPreferencesReader is a Reader for the GetV1AiPreferences structure.

func (*GetV1AiPreferencesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK

type GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK struct {
}

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

get Voted(s)

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK() *GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK

NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK creates a GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK with default headers values

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK) Error

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK) IsClientError

IsClientError returns true when this get v1 ai summarize incident incident Id generated summary Id voted o k response has a 4xx status code

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK) IsCode

IsCode returns true when this get v1 ai summarize incident incident Id generated summary Id voted o k response a status code equal to that given

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK) IsRedirect

IsRedirect returns true when this get v1 ai summarize incident incident Id generated summary Id voted o k response has a 3xx status code

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK) IsServerError

IsServerError returns true when this get v1 ai summarize incident incident Id generated summary Id voted o k response has a 5xx status code

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK) IsSuccess

IsSuccess returns true when this get v1 ai summarize incident incident Id generated summary Id voted o k response has a 2xx status code

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedOK) String

type GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams

type GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams struct {

	// GeneratedSummaryID.
	//
	// Format: int32
	GeneratedSummaryID int32

	// IncidentID.
	//
	// Format: int32
	IncidentID int32

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

GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams contains all the parameters to send to the API endpoint

for the get v1 ai summarize incident incident Id generated summary Id voted operation.

Typically these are written to a http.Request.

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams() *GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams

NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams creates a new GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams 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 NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithContext

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithContext(ctx context.Context) *GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams

NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithContext creates a new GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams object with the ability to set a context for a request.

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithHTTPClient

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithHTTPClient(client *http.Client) *GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams

NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithHTTPClient creates a new GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams object with the ability to set a custom HTTPClient for a request.

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithTimeout

func NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithTimeout(timeout time.Duration) *GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams

NewGetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParamsWithTimeout creates a new GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams object with the ability to set a timeout on a request.

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) SetContext

SetContext adds the context to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) SetDefaults

SetDefaults hydrates default values in the get v1 ai summarize incident incident Id generated summary Id voted params (not the query body).

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

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) SetGeneratedSummaryID

func (o *GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) SetGeneratedSummaryID(generatedSummaryID int32)

SetGeneratedSummaryID adds the generatedSummaryId to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) SetIncidentID

SetIncidentID adds the incidentId to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) SetTimeout

SetTimeout adds the timeout to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) WithContext

WithContext adds the context to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) WithDefaults

WithDefaults hydrates default values in the get v1 ai summarize incident incident Id generated summary Id voted params (not the query body).

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

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) WithGeneratedSummaryID

WithGeneratedSummaryID adds the generatedSummaryID to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) WithIncidentID

WithIncidentID adds the incidentID to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) WithTimeout

WithTimeout adds the timeout to the get v1 ai summarize incident incident Id generated summary Id voted params

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedReader

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

GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedReader is a Reader for the GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoted structure.

func (*GetV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVotedReader) ReadResponse

ReadResponse reads a server response into the received o.

type PatchV1AiPreferencesOK

type PatchV1AiPreferencesOK struct {
	Payload *models.AIEntitiesPreferencesEntity
}

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

Updates the AI preferences

func NewPatchV1AiPreferencesOK

func NewPatchV1AiPreferencesOK() *PatchV1AiPreferencesOK

NewPatchV1AiPreferencesOK creates a PatchV1AiPreferencesOK with default headers values

func (*PatchV1AiPreferencesOK) Error

func (o *PatchV1AiPreferencesOK) Error() string

func (*PatchV1AiPreferencesOK) GetPayload

func (*PatchV1AiPreferencesOK) IsClientError

func (o *PatchV1AiPreferencesOK) IsClientError() bool

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

func (*PatchV1AiPreferencesOK) IsCode

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

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

func (*PatchV1AiPreferencesOK) IsRedirect

func (o *PatchV1AiPreferencesOK) IsRedirect() bool

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

func (*PatchV1AiPreferencesOK) IsServerError

func (o *PatchV1AiPreferencesOK) IsServerError() bool

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

func (*PatchV1AiPreferencesOK) IsSuccess

func (o *PatchV1AiPreferencesOK) IsSuccess() bool

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

func (*PatchV1AiPreferencesOK) String

func (o *PatchV1AiPreferencesOK) String() string

type PatchV1AiPreferencesParams

type PatchV1AiPreferencesParams struct {

	/* Ai.

	   Whether to enable AI features
	*/
	Ai *bool

	/* Description.

	   Whether to enable incident descriptions
	*/
	Description *bool

	/* Followups.

	   Whether to enable incident followups
	*/
	Followups *bool

	/* Impact.

	   Whether to enable incident impact
	*/
	Impact *bool

	/* Retros.

	   Whether to enable incident retrospectives
	*/
	Retros *bool

	/* SimilarIncidents.

	   Whether to enable similar incidents
	*/
	SimilarIncidents *bool

	/* Summaries.

	   Whether to enable incident summaries
	*/
	Summaries *bool

	/* Updates.

	   Whether to enable incident updates
	*/
	Updates *bool

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

PatchV1AiPreferencesParams contains all the parameters to send to the API endpoint

for the patch v1 ai preferences operation.

Typically these are written to a http.Request.

func NewPatchV1AiPreferencesParams

func NewPatchV1AiPreferencesParams() *PatchV1AiPreferencesParams

NewPatchV1AiPreferencesParams creates a new PatchV1AiPreferencesParams 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 NewPatchV1AiPreferencesParamsWithContext

func NewPatchV1AiPreferencesParamsWithContext(ctx context.Context) *PatchV1AiPreferencesParams

NewPatchV1AiPreferencesParamsWithContext creates a new PatchV1AiPreferencesParams object with the ability to set a context for a request.

func NewPatchV1AiPreferencesParamsWithHTTPClient

func NewPatchV1AiPreferencesParamsWithHTTPClient(client *http.Client) *PatchV1AiPreferencesParams

NewPatchV1AiPreferencesParamsWithHTTPClient creates a new PatchV1AiPreferencesParams object with the ability to set a custom HTTPClient for a request.

func NewPatchV1AiPreferencesParamsWithTimeout

func NewPatchV1AiPreferencesParamsWithTimeout(timeout time.Duration) *PatchV1AiPreferencesParams

NewPatchV1AiPreferencesParamsWithTimeout creates a new PatchV1AiPreferencesParams object with the ability to set a timeout on a request.

func (*PatchV1AiPreferencesParams) SetAi

func (o *PatchV1AiPreferencesParams) SetAi(ai *bool)

SetAi adds the ai to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetContext

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

SetContext adds the context to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetDefaults

func (o *PatchV1AiPreferencesParams) SetDefaults()

SetDefaults hydrates default values in the patch v1 ai preferences params (not the query body).

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

func (*PatchV1AiPreferencesParams) SetDescription

func (o *PatchV1AiPreferencesParams) SetDescription(description *bool)

SetDescription adds the description to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetFollowups

func (o *PatchV1AiPreferencesParams) SetFollowups(followups *bool)

SetFollowups adds the followups to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetImpact

func (o *PatchV1AiPreferencesParams) SetImpact(impact *bool)

SetImpact adds the impact to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetRetros

func (o *PatchV1AiPreferencesParams) SetRetros(retros *bool)

SetRetros adds the retros to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetSimilarIncidents

func (o *PatchV1AiPreferencesParams) SetSimilarIncidents(similarIncidents *bool)

SetSimilarIncidents adds the similarIncidents to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetSummaries

func (o *PatchV1AiPreferencesParams) SetSummaries(summaries *bool)

SetSummaries adds the summaries to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetTimeout

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

SetTimeout adds the timeout to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) SetUpdates

func (o *PatchV1AiPreferencesParams) SetUpdates(updates *bool)

SetUpdates adds the updates to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithAi

WithAi adds the ai to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithContext

WithContext adds the context to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithDefaults

WithDefaults hydrates default values in the patch v1 ai preferences params (not the query body).

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

func (*PatchV1AiPreferencesParams) WithDescription

func (o *PatchV1AiPreferencesParams) WithDescription(description *bool) *PatchV1AiPreferencesParams

WithDescription adds the description to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithFollowups

func (o *PatchV1AiPreferencesParams) WithFollowups(followups *bool) *PatchV1AiPreferencesParams

WithFollowups adds the followups to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithImpact

WithImpact adds the impact to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithRetros

WithRetros adds the retros to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithSimilarIncidents

func (o *PatchV1AiPreferencesParams) WithSimilarIncidents(similarIncidents *bool) *PatchV1AiPreferencesParams

WithSimilarIncidents adds the similarIncidents to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithSummaries

func (o *PatchV1AiPreferencesParams) WithSummaries(summaries *bool) *PatchV1AiPreferencesParams

WithSummaries adds the summaries to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithTimeout

WithTimeout adds the timeout to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WithUpdates

WithUpdates adds the updates to the patch v1 ai preferences params

func (*PatchV1AiPreferencesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchV1AiPreferencesReader

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

PatchV1AiPreferencesReader is a Reader for the PatchV1AiPreferences structure.

func (*PatchV1AiPreferencesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK

type PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK struct {
}

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

updated Vote

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK() *PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK

NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK creates a PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK with default headers values

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK) Error

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK) IsClientError

IsClientError returns true when this put v1 ai summarize incident incident Id generated summary Id vote o k response has a 4xx status code

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK) IsCode

IsCode returns true when this put v1 ai summarize incident incident Id generated summary Id vote o k response a status code equal to that given

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK) IsRedirect

IsRedirect returns true when this put v1 ai summarize incident incident Id generated summary Id vote o k response has a 3xx status code

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK) IsServerError

IsServerError returns true when this put v1 ai summarize incident incident Id generated summary Id vote o k response has a 5xx status code

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK) IsSuccess

IsSuccess returns true when this put v1 ai summarize incident incident Id generated summary Id vote o k response has a 2xx status code

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteOK) String

type PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams

type PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams struct {

	// Direction.
	Direction string

	// GeneratedSummaryID.
	//
	// Format: int32
	GeneratedSummaryID int32

	// IncidentID.
	//
	// Format: int32
	IncidentID int32

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

PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams contains all the parameters to send to the API endpoint

for the put v1 ai summarize incident incident Id generated summary Id vote operation.

Typically these are written to a http.Request.

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams() *PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams

NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams creates a new PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams 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 NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithContext

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithContext(ctx context.Context) *PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams

NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithContext creates a new PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams object with the ability to set a context for a request.

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithHTTPClient

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithHTTPClient(client *http.Client) *PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams

NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithHTTPClient creates a new PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams object with the ability to set a custom HTTPClient for a request.

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithTimeout

func NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithTimeout(timeout time.Duration) *PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams

NewPutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParamsWithTimeout creates a new PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams object with the ability to set a timeout on a request.

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetContext

SetContext adds the context to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetDefaults

SetDefaults hydrates default values in the put v1 ai summarize incident incident Id generated summary Id vote params (not the query body).

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

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetDirection

SetDirection adds the direction to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetGeneratedSummaryID

func (o *PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetGeneratedSummaryID(generatedSummaryID int32)

SetGeneratedSummaryID adds the generatedSummaryId to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetIncidentID

SetIncidentID adds the incidentId to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) SetTimeout

SetTimeout adds the timeout to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WithContext

WithContext adds the context to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WithDefaults

WithDefaults hydrates default values in the put v1 ai summarize incident incident Id generated summary Id vote params (not the query body).

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

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WithDirection

WithDirection adds the direction to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WithGeneratedSummaryID

WithGeneratedSummaryID adds the generatedSummaryID to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WithIncidentID

WithIncidentID adds the incidentID to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WithTimeout

WithTimeout adds the timeout to the put v1 ai summarize incident incident Id generated summary Id vote params

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteReader

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

PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteReader is a Reader for the PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVote structure.

func (*PutV1AiSummarizeIncidentIncidentIDGeneratedSummaryIDVoteReader) ReadResponse

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