Documentation
¶
Index ¶
- type Client
- func (a *Client) GetV1AiPreferences(params *GetV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1AiPreferencesOK, error)
- func (a *Client) GetV1Bootstrap(params *GetV1BootstrapParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1BootstrapOK, error)
- func (a *Client) GetV1Entitlements(params *GetV1EntitlementsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1EntitlementsOK, error)
- func (a *Client) GetV1NoauthPing(params *GetV1NoauthPingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1NoauthPingOK, error)
- func (a *Client) GetV1Ping(params *GetV1PingParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetV1PingOK, error)
- func (a *Client) PatchV1AiPreferences(params *PatchV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchV1AiPreferencesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetV1AiPreferencesOK
- func (o *GetV1AiPreferencesOK) Error() string
- func (o *GetV1AiPreferencesOK) GetPayload() *models.AIEntitiesPreferencesEntity
- func (o *GetV1AiPreferencesOK) IsClientError() bool
- func (o *GetV1AiPreferencesOK) IsCode(code int) bool
- func (o *GetV1AiPreferencesOK) IsRedirect() bool
- func (o *GetV1AiPreferencesOK) IsServerError() bool
- func (o *GetV1AiPreferencesOK) IsSuccess() bool
- func (o *GetV1AiPreferencesOK) String() string
- type GetV1AiPreferencesParams
- func NewGetV1AiPreferencesParams() *GetV1AiPreferencesParams
- func NewGetV1AiPreferencesParamsWithContext(ctx context.Context) *GetV1AiPreferencesParams
- func NewGetV1AiPreferencesParamsWithHTTPClient(client *http.Client) *GetV1AiPreferencesParams
- func NewGetV1AiPreferencesParamsWithTimeout(timeout time.Duration) *GetV1AiPreferencesParams
- func (o *GetV1AiPreferencesParams) SetContext(ctx context.Context)
- func (o *GetV1AiPreferencesParams) SetDefaults()
- func (o *GetV1AiPreferencesParams) SetHTTPClient(client *http.Client)
- func (o *GetV1AiPreferencesParams) SetTimeout(timeout time.Duration)
- func (o *GetV1AiPreferencesParams) WithContext(ctx context.Context) *GetV1AiPreferencesParams
- func (o *GetV1AiPreferencesParams) WithDefaults() *GetV1AiPreferencesParams
- func (o *GetV1AiPreferencesParams) WithHTTPClient(client *http.Client) *GetV1AiPreferencesParams
- func (o *GetV1AiPreferencesParams) WithTimeout(timeout time.Duration) *GetV1AiPreferencesParams
- func (o *GetV1AiPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1AiPreferencesReader
- type GetV1BootstrapOK
- func (o *GetV1BootstrapOK) Error() string
- func (o *GetV1BootstrapOK) GetPayload() *models.PublicAPIV1BootstrapEntity
- func (o *GetV1BootstrapOK) IsClientError() bool
- func (o *GetV1BootstrapOK) IsCode(code int) bool
- func (o *GetV1BootstrapOK) IsRedirect() bool
- func (o *GetV1BootstrapOK) IsServerError() bool
- func (o *GetV1BootstrapOK) IsSuccess() bool
- func (o *GetV1BootstrapOK) String() string
- type GetV1BootstrapParams
- func NewGetV1BootstrapParams() *GetV1BootstrapParams
- func NewGetV1BootstrapParamsWithContext(ctx context.Context) *GetV1BootstrapParams
- func NewGetV1BootstrapParamsWithHTTPClient(client *http.Client) *GetV1BootstrapParams
- func NewGetV1BootstrapParamsWithTimeout(timeout time.Duration) *GetV1BootstrapParams
- func (o *GetV1BootstrapParams) SetContext(ctx context.Context)
- func (o *GetV1BootstrapParams) SetDefaults()
- func (o *GetV1BootstrapParams) SetHTTPClient(client *http.Client)
- func (o *GetV1BootstrapParams) SetTimeout(timeout time.Duration)
- func (o *GetV1BootstrapParams) WithContext(ctx context.Context) *GetV1BootstrapParams
- func (o *GetV1BootstrapParams) WithDefaults() *GetV1BootstrapParams
- func (o *GetV1BootstrapParams) WithHTTPClient(client *http.Client) *GetV1BootstrapParams
- func (o *GetV1BootstrapParams) WithTimeout(timeout time.Duration) *GetV1BootstrapParams
- func (o *GetV1BootstrapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1BootstrapReader
- type GetV1EntitlementsOK
- func (o *GetV1EntitlementsOK) Error() string
- func (o *GetV1EntitlementsOK) GetPayload() *models.EntitlementEntityPaginated
- func (o *GetV1EntitlementsOK) IsClientError() bool
- func (o *GetV1EntitlementsOK) IsCode(code int) bool
- func (o *GetV1EntitlementsOK) IsRedirect() bool
- func (o *GetV1EntitlementsOK) IsServerError() bool
- func (o *GetV1EntitlementsOK) IsSuccess() bool
- func (o *GetV1EntitlementsOK) String() string
- type GetV1EntitlementsParams
- func NewGetV1EntitlementsParams() *GetV1EntitlementsParams
- func NewGetV1EntitlementsParamsWithContext(ctx context.Context) *GetV1EntitlementsParams
- func NewGetV1EntitlementsParamsWithHTTPClient(client *http.Client) *GetV1EntitlementsParams
- func NewGetV1EntitlementsParamsWithTimeout(timeout time.Duration) *GetV1EntitlementsParams
- func (o *GetV1EntitlementsParams) SetContext(ctx context.Context)
- func (o *GetV1EntitlementsParams) SetDefaults()
- func (o *GetV1EntitlementsParams) SetHTTPClient(client *http.Client)
- func (o *GetV1EntitlementsParams) SetName(name *string)
- func (o *GetV1EntitlementsParams) SetTimeout(timeout time.Duration)
- func (o *GetV1EntitlementsParams) SetType(typeVar *string)
- func (o *GetV1EntitlementsParams) WithContext(ctx context.Context) *GetV1EntitlementsParams
- func (o *GetV1EntitlementsParams) WithDefaults() *GetV1EntitlementsParams
- func (o *GetV1EntitlementsParams) WithHTTPClient(client *http.Client) *GetV1EntitlementsParams
- func (o *GetV1EntitlementsParams) WithName(name *string) *GetV1EntitlementsParams
- func (o *GetV1EntitlementsParams) WithTimeout(timeout time.Duration) *GetV1EntitlementsParams
- func (o *GetV1EntitlementsParams) WithType(typeVar *string) *GetV1EntitlementsParams
- func (o *GetV1EntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1EntitlementsReader
- type GetV1NoauthPingOK
- func (o *GetV1NoauthPingOK) Error() string
- func (o *GetV1NoauthPingOK) GetPayload() *models.PongEntity
- func (o *GetV1NoauthPingOK) IsClientError() bool
- func (o *GetV1NoauthPingOK) IsCode(code int) bool
- func (o *GetV1NoauthPingOK) IsRedirect() bool
- func (o *GetV1NoauthPingOK) IsServerError() bool
- func (o *GetV1NoauthPingOK) IsSuccess() bool
- func (o *GetV1NoauthPingOK) String() string
- type GetV1NoauthPingParams
- func NewGetV1NoauthPingParams() *GetV1NoauthPingParams
- func NewGetV1NoauthPingParamsWithContext(ctx context.Context) *GetV1NoauthPingParams
- func NewGetV1NoauthPingParamsWithHTTPClient(client *http.Client) *GetV1NoauthPingParams
- func NewGetV1NoauthPingParamsWithTimeout(timeout time.Duration) *GetV1NoauthPingParams
- func (o *GetV1NoauthPingParams) SetContext(ctx context.Context)
- func (o *GetV1NoauthPingParams) SetDefaults()
- func (o *GetV1NoauthPingParams) SetHTTPClient(client *http.Client)
- func (o *GetV1NoauthPingParams) SetTimeout(timeout time.Duration)
- func (o *GetV1NoauthPingParams) WithContext(ctx context.Context) *GetV1NoauthPingParams
- func (o *GetV1NoauthPingParams) WithDefaults() *GetV1NoauthPingParams
- func (o *GetV1NoauthPingParams) WithHTTPClient(client *http.Client) *GetV1NoauthPingParams
- func (o *GetV1NoauthPingParams) WithTimeout(timeout time.Duration) *GetV1NoauthPingParams
- func (o *GetV1NoauthPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1NoauthPingReader
- type GetV1PingOK
- func (o *GetV1PingOK) Error() string
- func (o *GetV1PingOK) GetPayload() *models.PongEntity
- func (o *GetV1PingOK) IsClientError() bool
- func (o *GetV1PingOK) IsCode(code int) bool
- func (o *GetV1PingOK) IsRedirect() bool
- func (o *GetV1PingOK) IsServerError() bool
- func (o *GetV1PingOK) IsSuccess() bool
- func (o *GetV1PingOK) String() string
- type GetV1PingParams
- func (o *GetV1PingParams) SetContext(ctx context.Context)
- func (o *GetV1PingParams) SetDefaults()
- func (o *GetV1PingParams) SetHTTPClient(client *http.Client)
- func (o *GetV1PingParams) SetTimeout(timeout time.Duration)
- func (o *GetV1PingParams) WithContext(ctx context.Context) *GetV1PingParams
- func (o *GetV1PingParams) WithDefaults() *GetV1PingParams
- func (o *GetV1PingParams) WithHTTPClient(client *http.Client) *GetV1PingParams
- func (o *GetV1PingParams) WithTimeout(timeout time.Duration) *GetV1PingParams
- func (o *GetV1PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetV1PingReader
- type PatchV1AiPreferencesOK
- func (o *PatchV1AiPreferencesOK) Error() string
- func (o *PatchV1AiPreferencesOK) GetPayload() *models.AIEntitiesPreferencesEntity
- func (o *PatchV1AiPreferencesOK) IsClientError() bool
- func (o *PatchV1AiPreferencesOK) IsCode(code int) bool
- func (o *PatchV1AiPreferencesOK) IsRedirect() bool
- func (o *PatchV1AiPreferencesOK) IsServerError() bool
- func (o *PatchV1AiPreferencesOK) IsSuccess() bool
- func (o *PatchV1AiPreferencesOK) String() string
- type PatchV1AiPreferencesParams
- func NewPatchV1AiPreferencesParams() *PatchV1AiPreferencesParams
- func NewPatchV1AiPreferencesParamsWithContext(ctx context.Context) *PatchV1AiPreferencesParams
- func NewPatchV1AiPreferencesParamsWithHTTPClient(client *http.Client) *PatchV1AiPreferencesParams
- func NewPatchV1AiPreferencesParamsWithTimeout(timeout time.Duration) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) SetAi(ai *bool)
- func (o *PatchV1AiPreferencesParams) SetContext(ctx context.Context)
- func (o *PatchV1AiPreferencesParams) SetDefaults()
- func (o *PatchV1AiPreferencesParams) SetDescription(description *bool)
- func (o *PatchV1AiPreferencesParams) SetFollowups(followups *bool)
- func (o *PatchV1AiPreferencesParams) SetHTTPClient(client *http.Client)
- func (o *PatchV1AiPreferencesParams) SetImpact(impact *bool)
- func (o *PatchV1AiPreferencesParams) SetRetros(retros *bool)
- func (o *PatchV1AiPreferencesParams) SetSimilarIncidents(similarIncidents *bool)
- func (o *PatchV1AiPreferencesParams) SetSummaries(summaries *bool)
- func (o *PatchV1AiPreferencesParams) SetTimeout(timeout time.Duration)
- func (o *PatchV1AiPreferencesParams) SetUpdates(updates *bool)
- func (o *PatchV1AiPreferencesParams) WithAi(ai *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithContext(ctx context.Context) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithDefaults() *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithDescription(description *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithFollowups(followups *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithHTTPClient(client *http.Client) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithImpact(impact *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithRetros(retros *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithSimilarIncidents(similarIncidents *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithSummaries(summaries *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithTimeout(timeout time.Duration) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WithUpdates(updates *bool) *PatchV1AiPreferencesParams
- func (o *PatchV1AiPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchV1AiPreferencesReader
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 account settings API
func (*Client) GetV1AiPreferences ¶
func (a *Client) GetV1AiPreferences(params *GetV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1AiPreferencesOK, error)
GetV1AiPreferences gets a i preferences
Retrieves the current AI preferences
func (*Client) GetV1Bootstrap ¶
func (a *Client) GetV1Bootstrap(params *GetV1BootstrapParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1BootstrapOK, error)
GetV1Bootstrap gets initial application configuration
Get initial application configuration
func (*Client) GetV1Entitlements ¶
func (a *Client) GetV1Entitlements(params *GetV1EntitlementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1EntitlementsOK, error)
GetV1Entitlements lists entitlements
List the organization's entitlements
func (*Client) GetV1NoauthPing ¶
func (a *Client) GetV1NoauthPing(params *GetV1NoauthPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1NoauthPingOK, error)
GetV1NoauthPing checks API connectivity
Simple endpoint to verify your API connection is working
func (*Client) GetV1Ping ¶
func (a *Client) GetV1Ping(params *GetV1PingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PingOK, error)
GetV1Ping checks API connectivity
Simple endpoint to verify your API connection is working
func (*Client) PatchV1AiPreferences ¶
func (a *Client) PatchV1AiPreferences(params *PatchV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1AiPreferencesOK, error)
PatchV1AiPreferences updates a i preferences
Updates the AI preferences
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)
GetV1Bootstrap(params *GetV1BootstrapParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1BootstrapOK, error)
GetV1Entitlements(params *GetV1EntitlementsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1EntitlementsOK, error)
GetV1NoauthPing(params *GetV1NoauthPingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1NoauthPingOK, error)
GetV1Ping(params *GetV1PingParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetV1PingOK, error)
PatchV1AiPreferences(params *PatchV1AiPreferencesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchV1AiPreferencesOK, 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 account settings 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 (o *GetV1AiPreferencesOK) GetPayload() *models.AIEntitiesPreferencesEntity
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 ¶
func (o *GetV1AiPreferencesParams) WithContext(ctx context.Context) *GetV1AiPreferencesParams
WithContext adds the context to the get v1 ai preferences params
func (*GetV1AiPreferencesParams) WithDefaults ¶
func (o *GetV1AiPreferencesParams) WithDefaults() *GetV1AiPreferencesParams
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 ¶
func (o *GetV1AiPreferencesParams) WithTimeout(timeout time.Duration) *GetV1AiPreferencesParams
WithTimeout adds the timeout to the get v1 ai preferences params
func (*GetV1AiPreferencesParams) WriteToRequest ¶
func (o *GetV1AiPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetV1BootstrapOK ¶
type GetV1BootstrapOK struct {
Payload *models.PublicAPIV1BootstrapEntity
}
GetV1BootstrapOK describes a response with status code 200, with default header values.
Get initial application configuration
func NewGetV1BootstrapOK ¶
func NewGetV1BootstrapOK() *GetV1BootstrapOK
NewGetV1BootstrapOK creates a GetV1BootstrapOK with default headers values
func (*GetV1BootstrapOK) Error ¶
func (o *GetV1BootstrapOK) Error() string
func (*GetV1BootstrapOK) GetPayload ¶
func (o *GetV1BootstrapOK) GetPayload() *models.PublicAPIV1BootstrapEntity
func (*GetV1BootstrapOK) IsClientError ¶
func (o *GetV1BootstrapOK) IsClientError() bool
IsClientError returns true when this get v1 bootstrap o k response has a 4xx status code
func (*GetV1BootstrapOK) IsCode ¶
func (o *GetV1BootstrapOK) IsCode(code int) bool
IsCode returns true when this get v1 bootstrap o k response a status code equal to that given
func (*GetV1BootstrapOK) IsRedirect ¶
func (o *GetV1BootstrapOK) IsRedirect() bool
IsRedirect returns true when this get v1 bootstrap o k response has a 3xx status code
func (*GetV1BootstrapOK) IsServerError ¶
func (o *GetV1BootstrapOK) IsServerError() bool
IsServerError returns true when this get v1 bootstrap o k response has a 5xx status code
func (*GetV1BootstrapOK) IsSuccess ¶
func (o *GetV1BootstrapOK) IsSuccess() bool
IsSuccess returns true when this get v1 bootstrap o k response has a 2xx status code
func (*GetV1BootstrapOK) String ¶
func (o *GetV1BootstrapOK) String() string
type GetV1BootstrapParams ¶
type GetV1BootstrapParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1BootstrapParams contains all the parameters to send to the API endpoint
for the get v1 bootstrap operation. Typically these are written to a http.Request.
func NewGetV1BootstrapParams ¶
func NewGetV1BootstrapParams() *GetV1BootstrapParams
NewGetV1BootstrapParams creates a new GetV1BootstrapParams 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 NewGetV1BootstrapParamsWithContext ¶
func NewGetV1BootstrapParamsWithContext(ctx context.Context) *GetV1BootstrapParams
NewGetV1BootstrapParamsWithContext creates a new GetV1BootstrapParams object with the ability to set a context for a request.
func NewGetV1BootstrapParamsWithHTTPClient ¶
func NewGetV1BootstrapParamsWithHTTPClient(client *http.Client) *GetV1BootstrapParams
NewGetV1BootstrapParamsWithHTTPClient creates a new GetV1BootstrapParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1BootstrapParamsWithTimeout ¶
func NewGetV1BootstrapParamsWithTimeout(timeout time.Duration) *GetV1BootstrapParams
NewGetV1BootstrapParamsWithTimeout creates a new GetV1BootstrapParams object with the ability to set a timeout on a request.
func (*GetV1BootstrapParams) SetContext ¶
func (o *GetV1BootstrapParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 bootstrap params
func (*GetV1BootstrapParams) SetDefaults ¶
func (o *GetV1BootstrapParams) SetDefaults()
SetDefaults hydrates default values in the get v1 bootstrap params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1BootstrapParams) SetHTTPClient ¶
func (o *GetV1BootstrapParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 bootstrap params
func (*GetV1BootstrapParams) SetTimeout ¶
func (o *GetV1BootstrapParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 bootstrap params
func (*GetV1BootstrapParams) WithContext ¶
func (o *GetV1BootstrapParams) WithContext(ctx context.Context) *GetV1BootstrapParams
WithContext adds the context to the get v1 bootstrap params
func (*GetV1BootstrapParams) WithDefaults ¶
func (o *GetV1BootstrapParams) WithDefaults() *GetV1BootstrapParams
WithDefaults hydrates default values in the get v1 bootstrap params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1BootstrapParams) WithHTTPClient ¶
func (o *GetV1BootstrapParams) WithHTTPClient(client *http.Client) *GetV1BootstrapParams
WithHTTPClient adds the HTTPClient to the get v1 bootstrap params
func (*GetV1BootstrapParams) WithTimeout ¶
func (o *GetV1BootstrapParams) WithTimeout(timeout time.Duration) *GetV1BootstrapParams
WithTimeout adds the timeout to the get v1 bootstrap params
func (*GetV1BootstrapParams) WriteToRequest ¶
func (o *GetV1BootstrapParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1BootstrapReader ¶
type GetV1BootstrapReader struct {
// contains filtered or unexported fields
}
GetV1BootstrapReader is a Reader for the GetV1Bootstrap structure.
func (*GetV1BootstrapReader) ReadResponse ¶
func (o *GetV1BootstrapReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1EntitlementsOK ¶
type GetV1EntitlementsOK struct {
Payload *models.EntitlementEntityPaginated
}
GetV1EntitlementsOK describes a response with status code 200, with default header values.
List the organization's entitlements
func NewGetV1EntitlementsOK ¶
func NewGetV1EntitlementsOK() *GetV1EntitlementsOK
NewGetV1EntitlementsOK creates a GetV1EntitlementsOK with default headers values
func (*GetV1EntitlementsOK) Error ¶
func (o *GetV1EntitlementsOK) Error() string
func (*GetV1EntitlementsOK) GetPayload ¶
func (o *GetV1EntitlementsOK) GetPayload() *models.EntitlementEntityPaginated
func (*GetV1EntitlementsOK) IsClientError ¶
func (o *GetV1EntitlementsOK) IsClientError() bool
IsClientError returns true when this get v1 entitlements o k response has a 4xx status code
func (*GetV1EntitlementsOK) IsCode ¶
func (o *GetV1EntitlementsOK) IsCode(code int) bool
IsCode returns true when this get v1 entitlements o k response a status code equal to that given
func (*GetV1EntitlementsOK) IsRedirect ¶
func (o *GetV1EntitlementsOK) IsRedirect() bool
IsRedirect returns true when this get v1 entitlements o k response has a 3xx status code
func (*GetV1EntitlementsOK) IsServerError ¶
func (o *GetV1EntitlementsOK) IsServerError() bool
IsServerError returns true when this get v1 entitlements o k response has a 5xx status code
func (*GetV1EntitlementsOK) IsSuccess ¶
func (o *GetV1EntitlementsOK) IsSuccess() bool
IsSuccess returns true when this get v1 entitlements o k response has a 2xx status code
func (*GetV1EntitlementsOK) String ¶
func (o *GetV1EntitlementsOK) String() string
type GetV1EntitlementsParams ¶
type GetV1EntitlementsParams struct {
/* Name.
Name of Entitlement
*/
Name *string
/* Type.
Type of Entitlement
*/
Type *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1EntitlementsParams contains all the parameters to send to the API endpoint
for the get v1 entitlements operation. Typically these are written to a http.Request.
func NewGetV1EntitlementsParams ¶
func NewGetV1EntitlementsParams() *GetV1EntitlementsParams
NewGetV1EntitlementsParams creates a new GetV1EntitlementsParams 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 NewGetV1EntitlementsParamsWithContext ¶
func NewGetV1EntitlementsParamsWithContext(ctx context.Context) *GetV1EntitlementsParams
NewGetV1EntitlementsParamsWithContext creates a new GetV1EntitlementsParams object with the ability to set a context for a request.
func NewGetV1EntitlementsParamsWithHTTPClient ¶
func NewGetV1EntitlementsParamsWithHTTPClient(client *http.Client) *GetV1EntitlementsParams
NewGetV1EntitlementsParamsWithHTTPClient creates a new GetV1EntitlementsParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1EntitlementsParamsWithTimeout ¶
func NewGetV1EntitlementsParamsWithTimeout(timeout time.Duration) *GetV1EntitlementsParams
NewGetV1EntitlementsParamsWithTimeout creates a new GetV1EntitlementsParams object with the ability to set a timeout on a request.
func (*GetV1EntitlementsParams) SetContext ¶
func (o *GetV1EntitlementsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 entitlements params
func (*GetV1EntitlementsParams) SetDefaults ¶
func (o *GetV1EntitlementsParams) SetDefaults()
SetDefaults hydrates default values in the get v1 entitlements params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1EntitlementsParams) SetHTTPClient ¶
func (o *GetV1EntitlementsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 entitlements params
func (*GetV1EntitlementsParams) SetName ¶
func (o *GetV1EntitlementsParams) SetName(name *string)
SetName adds the name to the get v1 entitlements params
func (*GetV1EntitlementsParams) SetTimeout ¶
func (o *GetV1EntitlementsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 entitlements params
func (*GetV1EntitlementsParams) SetType ¶
func (o *GetV1EntitlementsParams) SetType(typeVar *string)
SetType adds the type to the get v1 entitlements params
func (*GetV1EntitlementsParams) WithContext ¶
func (o *GetV1EntitlementsParams) WithContext(ctx context.Context) *GetV1EntitlementsParams
WithContext adds the context to the get v1 entitlements params
func (*GetV1EntitlementsParams) WithDefaults ¶
func (o *GetV1EntitlementsParams) WithDefaults() *GetV1EntitlementsParams
WithDefaults hydrates default values in the get v1 entitlements params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1EntitlementsParams) WithHTTPClient ¶
func (o *GetV1EntitlementsParams) WithHTTPClient(client *http.Client) *GetV1EntitlementsParams
WithHTTPClient adds the HTTPClient to the get v1 entitlements params
func (*GetV1EntitlementsParams) WithName ¶
func (o *GetV1EntitlementsParams) WithName(name *string) *GetV1EntitlementsParams
WithName adds the name to the get v1 entitlements params
func (*GetV1EntitlementsParams) WithTimeout ¶
func (o *GetV1EntitlementsParams) WithTimeout(timeout time.Duration) *GetV1EntitlementsParams
WithTimeout adds the timeout to the get v1 entitlements params
func (*GetV1EntitlementsParams) WithType ¶
func (o *GetV1EntitlementsParams) WithType(typeVar *string) *GetV1EntitlementsParams
WithType adds the typeVar to the get v1 entitlements params
func (*GetV1EntitlementsParams) WriteToRequest ¶
func (o *GetV1EntitlementsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1EntitlementsReader ¶
type GetV1EntitlementsReader struct {
// contains filtered or unexported fields
}
GetV1EntitlementsReader is a Reader for the GetV1Entitlements structure.
func (*GetV1EntitlementsReader) ReadResponse ¶
func (o *GetV1EntitlementsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1NoauthPingOK ¶
type GetV1NoauthPingOK struct {
Payload *models.PongEntity
}
GetV1NoauthPingOK describes a response with status code 200, with default header values.
Simple endpoint to verify your API connection is working
func NewGetV1NoauthPingOK ¶
func NewGetV1NoauthPingOK() *GetV1NoauthPingOK
NewGetV1NoauthPingOK creates a GetV1NoauthPingOK with default headers values
func (*GetV1NoauthPingOK) Error ¶
func (o *GetV1NoauthPingOK) Error() string
func (*GetV1NoauthPingOK) GetPayload ¶
func (o *GetV1NoauthPingOK) GetPayload() *models.PongEntity
func (*GetV1NoauthPingOK) IsClientError ¶
func (o *GetV1NoauthPingOK) IsClientError() bool
IsClientError returns true when this get v1 noauth ping o k response has a 4xx status code
func (*GetV1NoauthPingOK) IsCode ¶
func (o *GetV1NoauthPingOK) IsCode(code int) bool
IsCode returns true when this get v1 noauth ping o k response a status code equal to that given
func (*GetV1NoauthPingOK) IsRedirect ¶
func (o *GetV1NoauthPingOK) IsRedirect() bool
IsRedirect returns true when this get v1 noauth ping o k response has a 3xx status code
func (*GetV1NoauthPingOK) IsServerError ¶
func (o *GetV1NoauthPingOK) IsServerError() bool
IsServerError returns true when this get v1 noauth ping o k response has a 5xx status code
func (*GetV1NoauthPingOK) IsSuccess ¶
func (o *GetV1NoauthPingOK) IsSuccess() bool
IsSuccess returns true when this get v1 noauth ping o k response has a 2xx status code
func (*GetV1NoauthPingOK) String ¶
func (o *GetV1NoauthPingOK) String() string
type GetV1NoauthPingParams ¶
type GetV1NoauthPingParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1NoauthPingParams contains all the parameters to send to the API endpoint
for the get v1 noauth ping operation. Typically these are written to a http.Request.
func NewGetV1NoauthPingParams ¶
func NewGetV1NoauthPingParams() *GetV1NoauthPingParams
NewGetV1NoauthPingParams creates a new GetV1NoauthPingParams 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 NewGetV1NoauthPingParamsWithContext ¶
func NewGetV1NoauthPingParamsWithContext(ctx context.Context) *GetV1NoauthPingParams
NewGetV1NoauthPingParamsWithContext creates a new GetV1NoauthPingParams object with the ability to set a context for a request.
func NewGetV1NoauthPingParamsWithHTTPClient ¶
func NewGetV1NoauthPingParamsWithHTTPClient(client *http.Client) *GetV1NoauthPingParams
NewGetV1NoauthPingParamsWithHTTPClient creates a new GetV1NoauthPingParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1NoauthPingParamsWithTimeout ¶
func NewGetV1NoauthPingParamsWithTimeout(timeout time.Duration) *GetV1NoauthPingParams
NewGetV1NoauthPingParamsWithTimeout creates a new GetV1NoauthPingParams object with the ability to set a timeout on a request.
func (*GetV1NoauthPingParams) SetContext ¶
func (o *GetV1NoauthPingParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 noauth ping params
func (*GetV1NoauthPingParams) SetDefaults ¶
func (o *GetV1NoauthPingParams) SetDefaults()
SetDefaults hydrates default values in the get v1 noauth ping params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1NoauthPingParams) SetHTTPClient ¶
func (o *GetV1NoauthPingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 noauth ping params
func (*GetV1NoauthPingParams) SetTimeout ¶
func (o *GetV1NoauthPingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 noauth ping params
func (*GetV1NoauthPingParams) WithContext ¶
func (o *GetV1NoauthPingParams) WithContext(ctx context.Context) *GetV1NoauthPingParams
WithContext adds the context to the get v1 noauth ping params
func (*GetV1NoauthPingParams) WithDefaults ¶
func (o *GetV1NoauthPingParams) WithDefaults() *GetV1NoauthPingParams
WithDefaults hydrates default values in the get v1 noauth ping params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1NoauthPingParams) WithHTTPClient ¶
func (o *GetV1NoauthPingParams) WithHTTPClient(client *http.Client) *GetV1NoauthPingParams
WithHTTPClient adds the HTTPClient to the get v1 noauth ping params
func (*GetV1NoauthPingParams) WithTimeout ¶
func (o *GetV1NoauthPingParams) WithTimeout(timeout time.Duration) *GetV1NoauthPingParams
WithTimeout adds the timeout to the get v1 noauth ping params
func (*GetV1NoauthPingParams) WriteToRequest ¶
func (o *GetV1NoauthPingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1NoauthPingReader ¶
type GetV1NoauthPingReader struct {
// contains filtered or unexported fields
}
GetV1NoauthPingReader is a Reader for the GetV1NoauthPing structure.
func (*GetV1NoauthPingReader) ReadResponse ¶
func (o *GetV1NoauthPingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetV1PingOK ¶
type GetV1PingOK struct {
Payload *models.PongEntity
}
GetV1PingOK describes a response with status code 200, with default header values.
Simple endpoint to verify your API connection is working
func NewGetV1PingOK ¶
func NewGetV1PingOK() *GetV1PingOK
NewGetV1PingOK creates a GetV1PingOK with default headers values
func (*GetV1PingOK) Error ¶
func (o *GetV1PingOK) Error() string
func (*GetV1PingOK) GetPayload ¶
func (o *GetV1PingOK) GetPayload() *models.PongEntity
func (*GetV1PingOK) IsClientError ¶
func (o *GetV1PingOK) IsClientError() bool
IsClientError returns true when this get v1 ping o k response has a 4xx status code
func (*GetV1PingOK) IsCode ¶
func (o *GetV1PingOK) IsCode(code int) bool
IsCode returns true when this get v1 ping o k response a status code equal to that given
func (*GetV1PingOK) IsRedirect ¶
func (o *GetV1PingOK) IsRedirect() bool
IsRedirect returns true when this get v1 ping o k response has a 3xx status code
func (*GetV1PingOK) IsServerError ¶
func (o *GetV1PingOK) IsServerError() bool
IsServerError returns true when this get v1 ping o k response has a 5xx status code
func (*GetV1PingOK) IsSuccess ¶
func (o *GetV1PingOK) IsSuccess() bool
IsSuccess returns true when this get v1 ping o k response has a 2xx status code
func (*GetV1PingOK) String ¶
func (o *GetV1PingOK) String() string
type GetV1PingParams ¶
type GetV1PingParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetV1PingParams contains all the parameters to send to the API endpoint
for the get v1 ping operation. Typically these are written to a http.Request.
func NewGetV1PingParams ¶
func NewGetV1PingParams() *GetV1PingParams
NewGetV1PingParams creates a new GetV1PingParams 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 NewGetV1PingParamsWithContext ¶
func NewGetV1PingParamsWithContext(ctx context.Context) *GetV1PingParams
NewGetV1PingParamsWithContext creates a new GetV1PingParams object with the ability to set a context for a request.
func NewGetV1PingParamsWithHTTPClient ¶
func NewGetV1PingParamsWithHTTPClient(client *http.Client) *GetV1PingParams
NewGetV1PingParamsWithHTTPClient creates a new GetV1PingParams object with the ability to set a custom HTTPClient for a request.
func NewGetV1PingParamsWithTimeout ¶
func NewGetV1PingParamsWithTimeout(timeout time.Duration) *GetV1PingParams
NewGetV1PingParamsWithTimeout creates a new GetV1PingParams object with the ability to set a timeout on a request.
func (*GetV1PingParams) SetContext ¶
func (o *GetV1PingParams) SetContext(ctx context.Context)
SetContext adds the context to the get v1 ping params
func (*GetV1PingParams) SetDefaults ¶
func (o *GetV1PingParams) SetDefaults()
SetDefaults hydrates default values in the get v1 ping params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1PingParams) SetHTTPClient ¶
func (o *GetV1PingParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v1 ping params
func (*GetV1PingParams) SetTimeout ¶
func (o *GetV1PingParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v1 ping params
func (*GetV1PingParams) WithContext ¶
func (o *GetV1PingParams) WithContext(ctx context.Context) *GetV1PingParams
WithContext adds the context to the get v1 ping params
func (*GetV1PingParams) WithDefaults ¶
func (o *GetV1PingParams) WithDefaults() *GetV1PingParams
WithDefaults hydrates default values in the get v1 ping params (not the query body).
All values with no default are reset to their zero value.
func (*GetV1PingParams) WithHTTPClient ¶
func (o *GetV1PingParams) WithHTTPClient(client *http.Client) *GetV1PingParams
WithHTTPClient adds the HTTPClient to the get v1 ping params
func (*GetV1PingParams) WithTimeout ¶
func (o *GetV1PingParams) WithTimeout(timeout time.Duration) *GetV1PingParams
WithTimeout adds the timeout to the get v1 ping params
func (*GetV1PingParams) WriteToRequest ¶
func (o *GetV1PingParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetV1PingReader ¶
type GetV1PingReader struct {
// contains filtered or unexported fields
}
GetV1PingReader is a Reader for the GetV1Ping structure.
func (*GetV1PingReader) ReadResponse ¶
func (o *GetV1PingReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
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 (o *PatchV1AiPreferencesOK) GetPayload() *models.AIEntitiesPreferencesEntity
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 ¶
func (o *PatchV1AiPreferencesParams) WithAi(ai *bool) *PatchV1AiPreferencesParams
WithAi adds the ai to the patch v1 ai preferences params
func (*PatchV1AiPreferencesParams) WithContext ¶
func (o *PatchV1AiPreferencesParams) WithContext(ctx context.Context) *PatchV1AiPreferencesParams
WithContext adds the context to the patch v1 ai preferences params
func (*PatchV1AiPreferencesParams) WithDefaults ¶
func (o *PatchV1AiPreferencesParams) WithDefaults() *PatchV1AiPreferencesParams
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 ¶
func (o *PatchV1AiPreferencesParams) WithHTTPClient(client *http.Client) *PatchV1AiPreferencesParams
WithHTTPClient adds the HTTPClient to the patch v1 ai preferences params
func (*PatchV1AiPreferencesParams) WithImpact ¶
func (o *PatchV1AiPreferencesParams) WithImpact(impact *bool) *PatchV1AiPreferencesParams
WithImpact adds the impact to the patch v1 ai preferences params
func (*PatchV1AiPreferencesParams) WithRetros ¶
func (o *PatchV1AiPreferencesParams) WithRetros(retros *bool) *PatchV1AiPreferencesParams
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 ¶
func (o *PatchV1AiPreferencesParams) WithTimeout(timeout time.Duration) *PatchV1AiPreferencesParams
WithTimeout adds the timeout to the patch v1 ai preferences params
func (*PatchV1AiPreferencesParams) WithUpdates ¶
func (o *PatchV1AiPreferencesParams) WithUpdates(updates *bool) *PatchV1AiPreferencesParams
WithUpdates adds the updates to the patch v1 ai preferences params
func (*PatchV1AiPreferencesParams) WriteToRequest ¶
func (o *PatchV1AiPreferencesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- account_settings_client.go
- get_v1_ai_preferences_parameters.go
- get_v1_ai_preferences_responses.go
- get_v1_bootstrap_parameters.go
- get_v1_bootstrap_responses.go
- get_v1_entitlements_parameters.go
- get_v1_entitlements_responses.go
- get_v1_noauth_ping_parameters.go
- get_v1_noauth_ping_responses.go
- get_v1_ping_parameters.go
- get_v1_ping_responses.go
- patch_v1_ai_preferences_parameters.go
- patch_v1_ai_preferences_responses.go