connectors

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

OpenAPI specs is copied from Kibana repo with some modifications:

  • .slack_api connector support comes from version 8.8 of the API specification;
  • added .slack_api as a possible value for connector_types;
  • added mapping section for discriminator field in POST /s/{spaceId}/api/actions/connector;
  • added explicit object definitions for 400, 401 and 404 errors (oapi-codegen doesn't generate proper code for embedded anonymous objects in some cases) - bad_request_error, authorization_error and object_not_found_error;
  • added missing oneOf types in requestBody for PUT /s/{spaceId}/api/actions/connector/{connectorId} - the original bundled.yaml misses some connector types in the PUT requestBody defintion:
    • update_connector_request_email;
    • update_connector_request_pagerduty;
    • update_connector_request_servicenow_sir;
    • update_connector_request_slack;
    • update_connector_request_slack_api;
    • update_connector_request_teams;
    • update_connector_request_tines;
    • update_connector_request_webhook;
    • update_connector_request_xmatters.
  • response definitions of /s/{spaceId}/api/actions/connector/{connectorId}/_execute and /s/{spaceId}/api/actions/action/{actionId}/_execute are modified from embedded object definitions to named ones run_connector_general_response and legacy_run_connector_general_response;
  • specified properties for following types. The original bundled.yaml defines them as dynamic objects (additionalProperties: true):
    • config_propeties_email;
    • config_properties_pagerduty;
    • config_properties_tines;
    • config_properties_webhook;
    • config_properties_xmatters;
  • is_deprecated is marked as optional field (it's required field in the vanilla bundled.yaml) in the following objects (Kibana responses may omit it):
    • connector_response_properties_cases_webhook;
    • connector_response_properties_email;
    • connector_response_properties_index;
    • connector_response_properties_jira;
    • connector_response_properties_opsgenie;
    • connector_response_properties_pagerduty;
    • connector_response_properties_resilient;
    • connector_response_properties_serverlog;
    • connector_response_properties_servicenow;
    • connector_response_properties_servicenow_itom;
    • connector_response_properties_servicenow_sir;
    • connector_response_properties_slack;
    • connector_response_properties_slack_api;
    • connector_response_properties_swimlane;
    • connector_response_properties_teams;
    • connector_response_properties_tines;
    • connector_response_properties_webhook;
    • connector_response_properties_xmatters.
  • added mapping section for discriminator field in connector_response_properties.

Documentation

Overview

Package connectors provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "apiKeyAuth.Scopes"
	BasicAuthScopes  = "basicAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateConnectorRequest

func NewCreateConnectorRequest(server string, spaceId SpaceId, params *CreateConnectorParams, body CreateConnectorJSONRequestBody) (*http.Request, error)

NewCreateConnectorRequest calls the generic CreateConnector builder with application/json body

func NewCreateConnectorRequestWithBody

func NewCreateConnectorRequestWithBody(server string, spaceId SpaceId, params *CreateConnectorParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateConnectorRequestWithBody generates requests for CreateConnector with any type of body

func NewDeleteConnectorRequest

func NewDeleteConnectorRequest(server string, spaceId SpaceId, connectorId ConnectorId, params *DeleteConnectorParams) (*http.Request, error)

NewDeleteConnectorRequest generates requests for DeleteConnector

func NewGetConnectorRequest

func NewGetConnectorRequest(server string, spaceId SpaceId, connectorId ConnectorId) (*http.Request, error)

NewGetConnectorRequest generates requests for GetConnector

func NewGetConnectorTypesRequest

func NewGetConnectorTypesRequest(server string, spaceId SpaceId, params *GetConnectorTypesParams) (*http.Request, error)

NewGetConnectorTypesRequest generates requests for GetConnectorTypes

func NewGetConnectorsRequest

func NewGetConnectorsRequest(server string, spaceId SpaceId) (*http.Request, error)

NewGetConnectorsRequest generates requests for GetConnectors

func NewLegacyCreateConnectorRequest

func NewLegacyCreateConnectorRequest(server string, spaceId SpaceId, params *LegacyCreateConnectorParams, body LegacyCreateConnectorJSONRequestBody) (*http.Request, error)

NewLegacyCreateConnectorRequest calls the generic LegacyCreateConnector builder with application/json body

func NewLegacyCreateConnectorRequestWithBody

func NewLegacyCreateConnectorRequestWithBody(server string, spaceId SpaceId, params *LegacyCreateConnectorParams, contentType string, body io.Reader) (*http.Request, error)

NewLegacyCreateConnectorRequestWithBody generates requests for LegacyCreateConnector with any type of body

func NewLegacyDeleteConnectorRequest

func NewLegacyDeleteConnectorRequest(server string, spaceId SpaceId, actionId ActionId, params *LegacyDeleteConnectorParams) (*http.Request, error)

NewLegacyDeleteConnectorRequest generates requests for LegacyDeleteConnector

func NewLegacyGetConnectorRequest

func NewLegacyGetConnectorRequest(server string, spaceId SpaceId, actionId ActionId) (*http.Request, error)

NewLegacyGetConnectorRequest generates requests for LegacyGetConnector

func NewLegacyGetConnectorTypesRequest

func NewLegacyGetConnectorTypesRequest(server string, spaceId SpaceId) (*http.Request, error)

NewLegacyGetConnectorTypesRequest generates requests for LegacyGetConnectorTypes

func NewLegacyGetConnectorsRequest

func NewLegacyGetConnectorsRequest(server string, spaceId SpaceId) (*http.Request, error)

NewLegacyGetConnectorsRequest generates requests for LegacyGetConnectors

func NewLegacyRunConnectorRequest

func NewLegacyRunConnectorRequest(server string, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, body LegacyRunConnectorJSONRequestBody) (*http.Request, error)

NewLegacyRunConnectorRequest calls the generic LegacyRunConnector builder with application/json body

func NewLegacyRunConnectorRequestWithBody

func NewLegacyRunConnectorRequestWithBody(server string, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, contentType string, body io.Reader) (*http.Request, error)

NewLegacyRunConnectorRequestWithBody generates requests for LegacyRunConnector with any type of body

func NewLegacyUpdateConnectorRequest

func NewLegacyUpdateConnectorRequest(server string, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, body LegacyUpdateConnectorJSONRequestBody) (*http.Request, error)

NewLegacyUpdateConnectorRequest calls the generic LegacyUpdateConnector builder with application/json body

func NewLegacyUpdateConnectorRequestWithBody

func NewLegacyUpdateConnectorRequestWithBody(server string, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, contentType string, body io.Reader) (*http.Request, error)

NewLegacyUpdateConnectorRequestWithBody generates requests for LegacyUpdateConnector with any type of body

func NewRunConnectorRequest

func NewRunConnectorRequest(server string, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, body RunConnectorJSONRequestBody) (*http.Request, error)

NewRunConnectorRequest calls the generic RunConnector builder with application/json body

func NewRunConnectorRequestWithBody

func NewRunConnectorRequestWithBody(server string, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, contentType string, body io.Reader) (*http.Request, error)

NewRunConnectorRequestWithBody generates requests for RunConnector with any type of body

func NewUpdateConnectorRequest

func NewUpdateConnectorRequest(server string, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, body UpdateConnectorJSONRequestBody) (*http.Request, error)

NewUpdateConnectorRequest calls the generic UpdateConnector builder with application/json body

func NewUpdateConnectorRequestWithBody

func NewUpdateConnectorRequestWithBody(server string, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, contentType string, body io.Reader) (*http.Request, error)

NewUpdateConnectorRequestWithBody generates requests for UpdateConnector with any type of body

Types

type ActionId

type ActionId = string

ActionId defines model for action_id.

type ActionResponseProperties

type ActionResponseProperties struct {
	ActionTypeId *string                 `json:"actionTypeId,omitempty"`
	Config       *map[string]interface{} `json:"config,omitempty"`
	Id           *string                 `json:"id,omitempty"`

	// IsDeprecated Indicates whether the action type is deprecated.
	IsDeprecated *bool `json:"isDeprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the action.
	IsMissingSecrets *bool `json:"isMissingSecrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured action.
	IsPreconfigured *bool   `json:"isPreconfigured,omitempty"`
	Name            *string `json:"name,omitempty"`
}

ActionResponseProperties The properties vary depending on the action type.

type AuthorizationError

type AuthorizationError struct {
	Error      *AuthorizationErrorError      `json:"error,omitempty"`
	Message    *string                       `json:"message,omitempty"`
	StatusCode *AuthorizationErrorStatusCode `json:"statusCode,omitempty"`
}

AuthorizationError defines model for authorization_error.

type AuthorizationErrorError

type AuthorizationErrorError string

AuthorizationErrorError defines model for AuthorizationError.Error.

const (
	Unauthorized AuthorizationErrorError = "Unauthorized"
)

Defines values for AuthorizationErrorError.

type AuthorizationErrorStatusCode

type AuthorizationErrorStatusCode int

AuthorizationErrorStatusCode defines model for AuthorizationError.StatusCode.

const (
	N401 AuthorizationErrorStatusCode = 401
)

Defines values for AuthorizationErrorStatusCode.

type BadRequestError

type BadRequestError struct {
	Error      *BadRequestErrorError      `json:"error,omitempty"`
	Message    *string                    `json:"message,omitempty"`
	StatusCode *BadRequestErrorStatusCode `json:"statusCode,omitempty"`
}

BadRequestError defines model for bad_request_error.

type BadRequestErrorError

type BadRequestErrorError string

BadRequestErrorError defines model for BadRequestError.Error.

const (
	BadRequest BadRequestErrorError = "Bad Request"
)

Defines values for BadRequestErrorError.

type BadRequestErrorStatusCode

type BadRequestErrorStatusCode int

BadRequestErrorStatusCode defines model for BadRequestError.StatusCode.

const (
	N400 BadRequestErrorStatusCode = 400
)

Defines values for BadRequestErrorStatusCode.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateConnector

func (c *Client) CreateConnector(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, body CreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateConnectorWithBody

func (c *Client) CreateConnectorWithBody(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteConnector

func (c *Client) DeleteConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *DeleteConnectorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConnector

func (c *Client) GetConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConnectorTypes

func (c *Client) GetConnectorTypes(ctx context.Context, spaceId SpaceId, params *GetConnectorTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConnectors

func (c *Client) GetConnectors(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyCreateConnector

func (c *Client) LegacyCreateConnector(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, body LegacyCreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyCreateConnectorWithBody

func (c *Client) LegacyCreateConnectorWithBody(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyDeleteConnector

func (c *Client) LegacyDeleteConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyDeleteConnectorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyGetConnector

func (c *Client) LegacyGetConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyGetConnectorTypes

func (c *Client) LegacyGetConnectorTypes(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyGetConnectors

func (c *Client) LegacyGetConnectors(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyRunConnector

func (c *Client) LegacyRunConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, body LegacyRunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyRunConnectorWithBody

func (c *Client) LegacyRunConnectorWithBody(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyUpdateConnector

func (c *Client) LegacyUpdateConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, body LegacyUpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) LegacyUpdateConnectorWithBody

func (c *Client) LegacyUpdateConnectorWithBody(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RunConnector

func (c *Client) RunConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, body RunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RunConnectorWithBody

func (c *Client) RunConnectorWithBody(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateConnector

func (c *Client) UpdateConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, body UpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateConnectorWithBody

func (c *Client) UpdateConnectorWithBody(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// LegacyGetConnectors request
	LegacyGetConnectors(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LegacyCreateConnectorWithBody request with any body
	LegacyCreateConnectorWithBody(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	LegacyCreateConnector(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, body LegacyCreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LegacyDeleteConnector request
	LegacyDeleteConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyDeleteConnectorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LegacyGetConnector request
	LegacyGetConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LegacyUpdateConnectorWithBody request with any body
	LegacyUpdateConnectorWithBody(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	LegacyUpdateConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, body LegacyUpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LegacyRunConnectorWithBody request with any body
	LegacyRunConnectorWithBody(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	LegacyRunConnector(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, body LegacyRunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateConnectorWithBody request with any body
	CreateConnectorWithBody(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateConnector(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, body CreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteConnector request
	DeleteConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *DeleteConnectorParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConnector request
	GetConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateConnectorWithBody request with any body
	UpdateConnectorWithBody(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, body UpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RunConnectorWithBody request with any body
	RunConnectorWithBody(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	RunConnector(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, body RunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConnectorTypes request
	GetConnectorTypes(ctx context.Context, spaceId SpaceId, params *GetConnectorTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetConnectors request
	GetConnectors(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LegacyGetConnectorTypes request
	LegacyGetConnectorTypes(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateConnectorWithBodyWithResponse

func (c *ClientWithResponses) CreateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateConnectorResponse, error)

CreateConnectorWithBodyWithResponse request with arbitrary body returning *CreateConnectorResponse

func (*ClientWithResponses) CreateConnectorWithResponse

func (c *ClientWithResponses) CreateConnectorWithResponse(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, body CreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConnectorResponse, error)

func (*ClientWithResponses) DeleteConnectorWithResponse

func (c *ClientWithResponses) DeleteConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *DeleteConnectorParams, reqEditors ...RequestEditorFn) (*DeleteConnectorResponse, error)

DeleteConnectorWithResponse request returning *DeleteConnectorResponse

func (*ClientWithResponses) GetConnectorTypesWithResponse

func (c *ClientWithResponses) GetConnectorTypesWithResponse(ctx context.Context, spaceId SpaceId, params *GetConnectorTypesParams, reqEditors ...RequestEditorFn) (*GetConnectorTypesResponse, error)

GetConnectorTypesWithResponse request returning *GetConnectorTypesResponse

func (*ClientWithResponses) GetConnectorWithResponse

func (c *ClientWithResponses) GetConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, reqEditors ...RequestEditorFn) (*GetConnectorResponse, error)

GetConnectorWithResponse request returning *GetConnectorResponse

func (*ClientWithResponses) GetConnectorsWithResponse

func (c *ClientWithResponses) GetConnectorsWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*GetConnectorsResponse, error)

GetConnectorsWithResponse request returning *GetConnectorsResponse

func (*ClientWithResponses) LegacyCreateConnectorWithBodyWithResponse

func (c *ClientWithResponses) LegacyCreateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LegacyCreateConnectorResponse, error)

LegacyCreateConnectorWithBodyWithResponse request with arbitrary body returning *LegacyCreateConnectorResponse

func (*ClientWithResponses) LegacyCreateConnectorWithResponse

func (c *ClientWithResponses) LegacyCreateConnectorWithResponse(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, body LegacyCreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*LegacyCreateConnectorResponse, error)

func (*ClientWithResponses) LegacyDeleteConnectorWithResponse

func (c *ClientWithResponses) LegacyDeleteConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyDeleteConnectorParams, reqEditors ...RequestEditorFn) (*LegacyDeleteConnectorResponse, error)

LegacyDeleteConnectorWithResponse request returning *LegacyDeleteConnectorResponse

func (*ClientWithResponses) LegacyGetConnectorTypesWithResponse

func (c *ClientWithResponses) LegacyGetConnectorTypesWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*LegacyGetConnectorTypesResponse, error)

LegacyGetConnectorTypesWithResponse request returning *LegacyGetConnectorTypesResponse

func (*ClientWithResponses) LegacyGetConnectorWithResponse

func (c *ClientWithResponses) LegacyGetConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, reqEditors ...RequestEditorFn) (*LegacyGetConnectorResponse, error)

LegacyGetConnectorWithResponse request returning *LegacyGetConnectorResponse

func (*ClientWithResponses) LegacyGetConnectorsWithResponse

func (c *ClientWithResponses) LegacyGetConnectorsWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*LegacyGetConnectorsResponse, error)

LegacyGetConnectorsWithResponse request returning *LegacyGetConnectorsResponse

func (*ClientWithResponses) LegacyRunConnectorWithBodyWithResponse

func (c *ClientWithResponses) LegacyRunConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LegacyRunConnectorResponse, error)

LegacyRunConnectorWithBodyWithResponse request with arbitrary body returning *LegacyRunConnectorResponse

func (*ClientWithResponses) LegacyRunConnectorWithResponse

func (c *ClientWithResponses) LegacyRunConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, body LegacyRunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*LegacyRunConnectorResponse, error)

func (*ClientWithResponses) LegacyUpdateConnectorWithBodyWithResponse

func (c *ClientWithResponses) LegacyUpdateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LegacyUpdateConnectorResponse, error)

LegacyUpdateConnectorWithBodyWithResponse request with arbitrary body returning *LegacyUpdateConnectorResponse

func (*ClientWithResponses) LegacyUpdateConnectorWithResponse

func (c *ClientWithResponses) LegacyUpdateConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, body LegacyUpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*LegacyUpdateConnectorResponse, error)

func (*ClientWithResponses) RunConnectorWithBodyWithResponse

func (c *ClientWithResponses) RunConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunConnectorResponse, error)

RunConnectorWithBodyWithResponse request with arbitrary body returning *RunConnectorResponse

func (*ClientWithResponses) RunConnectorWithResponse

func (c *ClientWithResponses) RunConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, body RunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*RunConnectorResponse, error)

func (*ClientWithResponses) UpdateConnectorWithBodyWithResponse

func (c *ClientWithResponses) UpdateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConnectorResponse, error)

UpdateConnectorWithBodyWithResponse request with arbitrary body returning *UpdateConnectorResponse

func (*ClientWithResponses) UpdateConnectorWithResponse

func (c *ClientWithResponses) UpdateConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, body UpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConnectorResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// LegacyGetConnectorsWithResponse request
	LegacyGetConnectorsWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*LegacyGetConnectorsResponse, error)

	// LegacyCreateConnectorWithBodyWithResponse request with any body
	LegacyCreateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LegacyCreateConnectorResponse, error)

	LegacyCreateConnectorWithResponse(ctx context.Context, spaceId SpaceId, params *LegacyCreateConnectorParams, body LegacyCreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*LegacyCreateConnectorResponse, error)

	// LegacyDeleteConnectorWithResponse request
	LegacyDeleteConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyDeleteConnectorParams, reqEditors ...RequestEditorFn) (*LegacyDeleteConnectorResponse, error)

	// LegacyGetConnectorWithResponse request
	LegacyGetConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, reqEditors ...RequestEditorFn) (*LegacyGetConnectorResponse, error)

	// LegacyUpdateConnectorWithBodyWithResponse request with any body
	LegacyUpdateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LegacyUpdateConnectorResponse, error)

	LegacyUpdateConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyUpdateConnectorParams, body LegacyUpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*LegacyUpdateConnectorResponse, error)

	// LegacyRunConnectorWithBodyWithResponse request with any body
	LegacyRunConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LegacyRunConnectorResponse, error)

	LegacyRunConnectorWithResponse(ctx context.Context, spaceId SpaceId, actionId ActionId, params *LegacyRunConnectorParams, body LegacyRunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*LegacyRunConnectorResponse, error)

	// CreateConnectorWithBodyWithResponse request with any body
	CreateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateConnectorResponse, error)

	CreateConnectorWithResponse(ctx context.Context, spaceId SpaceId, params *CreateConnectorParams, body CreateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateConnectorResponse, error)

	// DeleteConnectorWithResponse request
	DeleteConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *DeleteConnectorParams, reqEditors ...RequestEditorFn) (*DeleteConnectorResponse, error)

	// GetConnectorWithResponse request
	GetConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, reqEditors ...RequestEditorFn) (*GetConnectorResponse, error)

	// UpdateConnectorWithBodyWithResponse request with any body
	UpdateConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateConnectorResponse, error)

	UpdateConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *UpdateConnectorParams, body UpdateConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateConnectorResponse, error)

	// RunConnectorWithBodyWithResponse request with any body
	RunConnectorWithBodyWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RunConnectorResponse, error)

	RunConnectorWithResponse(ctx context.Context, spaceId SpaceId, connectorId ConnectorId, params *RunConnectorParams, body RunConnectorJSONRequestBody, reqEditors ...RequestEditorFn) (*RunConnectorResponse, error)

	// GetConnectorTypesWithResponse request
	GetConnectorTypesWithResponse(ctx context.Context, spaceId SpaceId, params *GetConnectorTypesParams, reqEditors ...RequestEditorFn) (*GetConnectorTypesResponse, error)

	// GetConnectorsWithResponse request
	GetConnectorsWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*GetConnectorsResponse, error)

	// LegacyGetConnectorTypesWithResponse request
	LegacyGetConnectorTypesWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*LegacyGetConnectorTypesResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type ConfigPropertiesCasesWebhook

type ConfigPropertiesCasesWebhook struct {
	// CreateCommentJson A JSON payload sent to the create comment URL to create a case comment. You can use variables to add Kibana Cases data to the payload. The required variable is `case.comment`. Due to Mustache template variables (the text enclosed in triple braces, for example, `{{{case.title}}}`), the JSON is not validated when you create the connector. The JSON is validated once the Mustache variables have been placed when the REST method runs. Manually ensure that the JSON is valid, disregarding the Mustache variables, so the later validation will pass.
	CreateCommentJson *string `json:"createCommentJson,omitempty"`

	// CreateCommentMethod The REST API HTTP request method to create a case comment in the third-party system. Valid values are `patch`, `post`, and `put`.
	CreateCommentMethod *ConfigPropertiesCasesWebhookCreateCommentMethod `json:"createCommentMethod,omitempty"`

	// CreateCommentUrl The REST API URL to create a case comment by ID in the third-party system. You can use a variable to add the external system ID to the URL. If you are using the `xpack.actions.allowedHosts setting`, add the hostname to the allowed hosts.
	CreateCommentUrl *string `json:"createCommentUrl,omitempty"`

	// CreateIncidentJson A JSON payload sent to the create case URL to create a case. You can use variables to add case data to the payload. Required variables are `case.title` and `case.description`. Due to Mustache template variables (which is the text enclosed in triple braces, for example, `{{{case.title}}}`), the JSON is not validated when you create the connector. The JSON is validated after the Mustache variables have been placed when REST method runs. Manually ensure that the JSON is valid to avoid future validation errors; disregard Mustache variables during your review.
	CreateIncidentJson string `json:"createIncidentJson"`

	// CreateIncidentMethod The REST API HTTP request method to create a case in the third-party system. Valid values are `patch`, `post`, and `put`.
	CreateIncidentMethod *ConfigPropertiesCasesWebhookCreateIncidentMethod `json:"createIncidentMethod,omitempty"`

	// CreateIncidentResponseKey The JSON key in the create case response that contains the external case ID.
	CreateIncidentResponseKey string `json:"createIncidentResponseKey"`

	// CreateIncidentUrl The REST API URL to create a case in the third-party system. If you are using the `xpack.actions.allowedHosts` setting, add the hostname to the allowed hosts.
	CreateIncidentUrl string `json:"createIncidentUrl"`

	// GetIncidentResponseExternalTitleKey The JSON key in get case response that contains the external case title.
	GetIncidentResponseExternalTitleKey string `json:"getIncidentResponseExternalTitleKey"`

	// GetIncidentUrl The REST API URL to get the case by ID from the third-party system. If you are using the `xpack.actions.allowedHosts` setting, add the hostname to the allowed hosts. You can use a variable to add the external system ID to the URL. Due to Mustache template variables (the text enclosed in triple braces, for example, `{{{case.title}}}`), the JSON is not validated when you create the connector. The JSON is validated after the Mustache variables have been placed when REST method runs. Manually ensure that the JSON is valid, disregarding the Mustache variables, so the later validation will pass.
	GetIncidentUrl string `json:"getIncidentUrl"`

	// HasAuth If true, a username and password for login type authentication must be provided.
	HasAuth *bool `json:"hasAuth,omitempty"`

	// Headers A set of key-value pairs sent as headers with the request URLs for the create case, update case, get case, and create comment methods.
	Headers *string `json:"headers,omitempty"`

	// UpdateIncidentJson The JSON payload sent to the update case URL to update the case. You can use variables to add Kibana Cases data to the payload. Required variables are `case.title` and `case.description`. Due to Mustache template variables (which is the text enclosed in triple braces, for example, `{{{case.title}}}`), the JSON is not validated when you create the connector. The JSON is validated after the Mustache variables have been placed when REST method runs. Manually ensure that the JSON is valid to avoid future validation errors; disregard Mustache variables during your review.
	UpdateIncidentJson string `json:"updateIncidentJson"`

	// UpdateIncidentMethod The REST API HTTP request method to update the case in the third-party system. Valid values are `patch`, `post`, and `put`.
	UpdateIncidentMethod *ConfigPropertiesCasesWebhookUpdateIncidentMethod `json:"updateIncidentMethod,omitempty"`

	// UpdateIncidentUrl The REST API URL to update the case by ID in the third-party system. You can use a variable to add the external system ID to the URL. If you are using the `xpack.actions.allowedHosts` setting, add the hostname to the allowed hosts.
	UpdateIncidentUrl string `json:"updateIncidentUrl"`

	// ViewIncidentUrl The URL to view the case in the external system. You can use variables to add the external system ID or external system title to the URL.
	ViewIncidentUrl string `json:"viewIncidentUrl"`
}

ConfigPropertiesCasesWebhook Defines properties for connectors when type is `.cases-webhook`.

type ConfigPropertiesCasesWebhookCreateCommentMethod

type ConfigPropertiesCasesWebhookCreateCommentMethod string

ConfigPropertiesCasesWebhookCreateCommentMethod The REST API HTTP request method to create a case comment in the third-party system. Valid values are `patch`, `post`, and `put`.

const (
	ConfigPropertiesCasesWebhookCreateCommentMethodPatch ConfigPropertiesCasesWebhookCreateCommentMethod = "patch"
	ConfigPropertiesCasesWebhookCreateCommentMethodPost  ConfigPropertiesCasesWebhookCreateCommentMethod = "post"
	ConfigPropertiesCasesWebhookCreateCommentMethodPut   ConfigPropertiesCasesWebhookCreateCommentMethod = "put"
)

Defines values for ConfigPropertiesCasesWebhookCreateCommentMethod.

type ConfigPropertiesCasesWebhookCreateIncidentMethod

type ConfigPropertiesCasesWebhookCreateIncidentMethod string

ConfigPropertiesCasesWebhookCreateIncidentMethod The REST API HTTP request method to create a case in the third-party system. Valid values are `patch`, `post`, and `put`.

const (
	ConfigPropertiesCasesWebhookCreateIncidentMethodPatch ConfigPropertiesCasesWebhookCreateIncidentMethod = "patch"
	ConfigPropertiesCasesWebhookCreateIncidentMethodPost  ConfigPropertiesCasesWebhookCreateIncidentMethod = "post"
	ConfigPropertiesCasesWebhookCreateIncidentMethodPut   ConfigPropertiesCasesWebhookCreateIncidentMethod = "put"
)

Defines values for ConfigPropertiesCasesWebhookCreateIncidentMethod.

type ConfigPropertiesCasesWebhookUpdateIncidentMethod

type ConfigPropertiesCasesWebhookUpdateIncidentMethod string

ConfigPropertiesCasesWebhookUpdateIncidentMethod The REST API HTTP request method to update the case in the third-party system. Valid values are `patch`, `post`, and `put`.

const (
	ConfigPropertiesCasesWebhookUpdateIncidentMethodPatch ConfigPropertiesCasesWebhookUpdateIncidentMethod = "patch"
	ConfigPropertiesCasesWebhookUpdateIncidentMethodPost  ConfigPropertiesCasesWebhookUpdateIncidentMethod = "post"
	ConfigPropertiesCasesWebhookUpdateIncidentMethodPut   ConfigPropertiesCasesWebhookUpdateIncidentMethod = "put"
)

Defines values for ConfigPropertiesCasesWebhookUpdateIncidentMethod.

type ConfigPropertiesEmail

type ConfigPropertiesEmail struct {
	ClientId      *string `json:"clientId"`
	From          *string `json:"from,omitempty"`
	HasAuth       *bool   `json:"hasAuth,omitempty"`
	Host          *string `json:"host,omitempty"`
	OauthTokenUrl *string `json:"oauthTokenUrl"`
	Port          *int    `json:"port,omitempty"`
	Secure        *bool   `json:"secure"`
	Service       *string `json:"service,omitempty"`
	TenantId      *string `json:"tenantId"`
}

ConfigPropertiesEmail Defines properties for connectors when type is `.email`.

type ConfigPropertiesIndex

type ConfigPropertiesIndex struct {
	// ExecutionTimeField Specifies a field that will contain the time the alert condition was detected.
	ExecutionTimeField *string `json:"executionTimeField"`

	// Index The Elasticsearch index to be written to.
	Index string `json:"index"`

	// Refresh The refresh policy for the write request, which affects when changes are made visible to search. Refer to the refresh setting for Elasticsearch document APIs.
	Refresh *bool `json:"refresh,omitempty"`
}

ConfigPropertiesIndex Defines properties for connectors when type is `.index`.

type ConfigPropertiesJira

type ConfigPropertiesJira struct {
	// ApiUrl The Jira instance URL.
	ApiUrl string `json:"apiUrl"`

	// ProjectKey The Jira project key.
	ProjectKey string `json:"projectKey"`
}

ConfigPropertiesJira Defines properties for connectors when type is `.jira`.

type ConfigPropertiesOpsgenie

type ConfigPropertiesOpsgenie struct {
	// ApiUrl The Opsgenie URL. For example, `https://api.opsgenie.com` or `https://api.eu.opsgenie.com`. If you are using the `xpack.actions.allowedHosts` setting, add the hostname to the allowed hosts.
	ApiUrl string `json:"apiUrl"`
}

ConfigPropertiesOpsgenie Defines properties for connectors when type is `.opsgenie`.

type ConfigPropertiesPagerduty

type ConfigPropertiesPagerduty struct {
	ApiUrl *string `json:"apiUrl"`
}

ConfigPropertiesPagerduty Defines properties for connectors when type is `.pagerduty`.

type ConfigPropertiesResilient

type ConfigPropertiesResilient struct {
	// ApiUrl The IBM Resilient instance URL.
	ApiUrl string `json:"apiUrl"`

	// OrgId The IBM Resilient organization ID.
	OrgId string `json:"orgId"`
}

ConfigPropertiesResilient Defines properties for connectors when type is `.resilient`.

type ConfigPropertiesServicenow

type ConfigPropertiesServicenow struct {
	// ApiUrl The ServiceNow instance URL.
	ApiUrl string `json:"apiUrl"`

	// ClientId The client ID assigned to your OAuth application. This property is required when `isOAuth` is `true`.
	ClientId *string `json:"clientId,omitempty"`

	// IsOAuth The type of authentication to use. The default value is false, which means basic authentication is used instead of open authorization (OAuth).
	IsOAuth *bool `json:"isOAuth,omitempty"`

	// JwtKeyId The key identifier assigned to the JWT verifier map of your OAuth application. This property is required when `isOAuth` is `true`.
	JwtKeyId *string `json:"jwtKeyId,omitempty"`

	// UserIdentifierValue The identifier to use for OAuth authentication. This identifier should be the user field you selected when you created an OAuth JWT API endpoint for external clients in your ServiceNow instance. For example, if the selected user field is `Email`, the user identifier should be the user's email address. This property is required when `isOAuth` is `true`.
	UserIdentifierValue *string `json:"userIdentifierValue,omitempty"`

	// UsesTableApi Determines whether the connector uses the Table API or the Import Set API. This property is supported only for ServiceNow ITSM and ServiceNow SecOps connectors.  NOTE: If this property is set to `false`, the Elastic application should be installed in ServiceNow.
	UsesTableApi *bool `json:"usesTableApi,omitempty"`
}

ConfigPropertiesServicenow Defines properties for connectors when type is `.servicenow`.

type ConfigPropertiesServicenowItom

type ConfigPropertiesServicenowItom struct {
	// ApiUrl The ServiceNow instance URL.
	ApiUrl string `json:"apiUrl"`

	// ClientId The client ID assigned to your OAuth application. This property is required when `isOAuth` is `true`.
	ClientId *string `json:"clientId,omitempty"`

	// IsOAuth The type of authentication to use. The default value is false, which means basic authentication is used instead of open authorization (OAuth).
	IsOAuth *bool `json:"isOAuth,omitempty"`

	// JwtKeyId The key identifier assigned to the JWT verifier map of your OAuth application. This property is required when `isOAuth` is `true`.
	JwtKeyId *string `json:"jwtKeyId,omitempty"`

	// UserIdentifierValue The identifier to use for OAuth authentication. This identifier should be the user field you selected when you created an OAuth JWT API endpoint for external clients in your ServiceNow instance. For example, if the selected user field is `Email`, the user identifier should be the user's email address. This property is required when `isOAuth` is `true`.
	UserIdentifierValue *string `json:"userIdentifierValue,omitempty"`
}

ConfigPropertiesServicenowItom Defines properties for connectors when type is `.servicenow`.

type ConfigPropertiesSwimlane

type ConfigPropertiesSwimlane struct {
	// ApiUrl The Swimlane instance URL.
	ApiUrl string `json:"apiUrl"`

	// AppId The Swimlane application ID.
	AppId string `json:"appId"`

	// ConnectorType The type of connector. Valid values are `all`, `alerts`, and `cases`.
	ConnectorType ConfigPropertiesSwimlaneConnectorType `json:"connectorType"`

	// Mappings The field mapping.
	Mappings *ConfigPropertiesSwimlaneMappings `json:"mappings,omitempty"`
}

ConfigPropertiesSwimlane Defines properties for connectors when type is `.swimlane`.

type ConfigPropertiesSwimlaneConnectorType

type ConfigPropertiesSwimlaneConnectorType string

ConfigPropertiesSwimlaneConnectorType The type of connector. Valid values are `all`, `alerts`, and `cases`.

const (
	ConfigPropertiesSwimlaneConnectorTypeAlerts ConfigPropertiesSwimlaneConnectorType = "alerts"
	ConfigPropertiesSwimlaneConnectorTypeAll    ConfigPropertiesSwimlaneConnectorType = "all"
	ConfigPropertiesSwimlaneConnectorTypeCases  ConfigPropertiesSwimlaneConnectorType = "cases"
)

Defines values for ConfigPropertiesSwimlaneConnectorType.

type ConfigPropertiesSwimlaneMappings

type ConfigPropertiesSwimlaneMappings struct {
	// AlertIdConfig Mapping for the alert ID.
	AlertIdConfig *struct {
		// FieldType The type of field in Swimlane.
		FieldType string `json:"fieldType"`

		// Id The identifier for the field in Swimlane.
		Id string `json:"id"`

		// Key The key for the field in Swimlane.
		Key string `json:"key"`

		// Name The name of the field in Swimlane.
		Name string `json:"name"`
	} `json:"alertIdConfig,omitempty"`

	// CaseIdConfig Mapping for the case ID.
	CaseIdConfig *struct {
		// FieldType The type of field in Swimlane.
		FieldType string `json:"fieldType"`

		// Id The identifier for the field in Swimlane.
		Id string `json:"id"`

		// Key The key for the field in Swimlane.
		Key string `json:"key"`

		// Name The name of the field in Swimlane.
		Name string `json:"name"`
	} `json:"caseIdConfig,omitempty"`

	// CaseNameConfig Mapping for the case name.
	CaseNameConfig *struct {
		// FieldType The type of field in Swimlane.
		FieldType string `json:"fieldType"`

		// Id The identifier for the field in Swimlane.
		Id string `json:"id"`

		// Key The key for the field in Swimlane.
		Key string `json:"key"`

		// Name The name of the field in Swimlane.
		Name string `json:"name"`
	} `json:"caseNameConfig,omitempty"`

	// CommentsConfig Mapping for the case comments.
	CommentsConfig *struct {
		// FieldType The type of field in Swimlane.
		FieldType string `json:"fieldType"`

		// Id The identifier for the field in Swimlane.
		Id string `json:"id"`

		// Key The key for the field in Swimlane.
		Key string `json:"key"`

		// Name The name of the field in Swimlane.
		Name string `json:"name"`
	} `json:"commentsConfig,omitempty"`

	// DescriptionConfig Mapping for the case description.
	DescriptionConfig *struct {
		// FieldType The type of field in Swimlane.
		FieldType string `json:"fieldType"`

		// Id The identifier for the field in Swimlane.
		Id string `json:"id"`

		// Key The key for the field in Swimlane.
		Key string `json:"key"`

		// Name The name of the field in Swimlane.
		Name string `json:"name"`
	} `json:"descriptionConfig,omitempty"`

	// RuleNameConfig Mapping for the name of the alert's rule.
	RuleNameConfig *struct {
		// FieldType The type of field in Swimlane.
		FieldType string `json:"fieldType"`

		// Id The identifier for the field in Swimlane.
		Id string `json:"id"`

		// Key The key for the field in Swimlane.
		Key string `json:"key"`

		// Name The name of the field in Swimlane.
		Name string `json:"name"`
	} `json:"ruleNameConfig,omitempty"`

	// SeverityConfig Mapping for the severity.
	SeverityConfig *struct {
		// FieldType The type of field in Swimlane.
		FieldType string `json:"fieldType"`

		// Id The identifier for the field in Swimlane.
		Id string `json:"id"`

		// Key The key for the field in Swimlane.
		Key string `json:"key"`

		// Name The name of the field in Swimlane.
		Name string `json:"name"`
	} `json:"severityConfig,omitempty"`
}

ConfigPropertiesSwimlaneMappings The field mapping.

type ConfigPropertiesTines

type ConfigPropertiesTines struct {
	Url string `json:"url"`
}

ConfigPropertiesTines Defines properties for connectors when type is `.tines`.

type ConfigPropertiesWebhook

type ConfigPropertiesWebhook struct {
	HasAuth *bool                          `json:"hasAuth,omitempty"`
	Headers *map[string]interface{}        `json:"headers,omitempty"`
	Method  *ConfigPropertiesWebhookMethod `json:"method,omitempty"`
	Url     string                         `json:"url"`
}

ConfigPropertiesWebhook Defines properties for connectors when type is `.webhook`.

type ConfigPropertiesWebhookMethod

type ConfigPropertiesWebhookMethod string

ConfigPropertiesWebhookMethod defines model for ConfigPropertiesWebhook.Method.

const (
	ConfigPropertiesWebhookMethodPatch ConfigPropertiesWebhookMethod = "patch"
	ConfigPropertiesWebhookMethodPost  ConfigPropertiesWebhookMethod = "post"
	ConfigPropertiesWebhookMethodPut   ConfigPropertiesWebhookMethod = "put"
)

Defines values for ConfigPropertiesWebhookMethod.

type ConfigPropertiesXmatters

type ConfigPropertiesXmatters struct {
	ConfigUrl *string `json:"configUrl"`
	UsesBasic *bool   `json:"usesBasic,omitempty"`
}

ConfigPropertiesXmatters Defines properties for connectors when type is `.xmatters`.

type ConnectorId

type ConnectorId = string

ConnectorId defines model for connector_id.

type ConnectorResponseProperties

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

ConnectorResponseProperties The properties vary depending on the connector type.

func (ConnectorResponseProperties) AsConnectorResponsePropertiesCasesWebhook

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesCasesWebhook() (ConnectorResponsePropertiesCasesWebhook, error)

AsConnectorResponsePropertiesCasesWebhook returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesCasesWebhook

func (ConnectorResponseProperties) AsConnectorResponsePropertiesEmail

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesEmail() (ConnectorResponsePropertiesEmail, error)

AsConnectorResponsePropertiesEmail returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesEmail

func (ConnectorResponseProperties) AsConnectorResponsePropertiesIndex

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesIndex() (ConnectorResponsePropertiesIndex, error)

AsConnectorResponsePropertiesIndex returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesIndex

func (ConnectorResponseProperties) AsConnectorResponsePropertiesJira

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesJira() (ConnectorResponsePropertiesJira, error)

AsConnectorResponsePropertiesJira returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesJira

func (ConnectorResponseProperties) AsConnectorResponsePropertiesOpsgenie

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesOpsgenie() (ConnectorResponsePropertiesOpsgenie, error)

AsConnectorResponsePropertiesOpsgenie returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesOpsgenie

func (ConnectorResponseProperties) AsConnectorResponsePropertiesPagerduty

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesPagerduty() (ConnectorResponsePropertiesPagerduty, error)

AsConnectorResponsePropertiesPagerduty returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesPagerduty

func (ConnectorResponseProperties) AsConnectorResponsePropertiesResilient

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesResilient() (ConnectorResponsePropertiesResilient, error)

AsConnectorResponsePropertiesResilient returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesResilient

func (ConnectorResponseProperties) AsConnectorResponsePropertiesServerlog

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesServerlog() (ConnectorResponsePropertiesServerlog, error)

AsConnectorResponsePropertiesServerlog returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesServerlog

func (ConnectorResponseProperties) AsConnectorResponsePropertiesServicenow

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesServicenow() (ConnectorResponsePropertiesServicenow, error)

AsConnectorResponsePropertiesServicenow returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesServicenow

func (ConnectorResponseProperties) AsConnectorResponsePropertiesServicenowItom

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesServicenowItom() (ConnectorResponsePropertiesServicenowItom, error)

AsConnectorResponsePropertiesServicenowItom returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesServicenowItom

func (ConnectorResponseProperties) AsConnectorResponsePropertiesServicenowSir

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesServicenowSir() (ConnectorResponsePropertiesServicenowSir, error)

AsConnectorResponsePropertiesServicenowSir returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesServicenowSir

func (ConnectorResponseProperties) AsConnectorResponsePropertiesSlack

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesSlack() (ConnectorResponsePropertiesSlack, error)

AsConnectorResponsePropertiesSlack returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesSlack

func (ConnectorResponseProperties) AsConnectorResponsePropertiesSlackApi added in v0.8.0

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesSlackApi() (ConnectorResponsePropertiesSlackApi, error)

AsConnectorResponsePropertiesSlackApi returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesSlackApi

func (ConnectorResponseProperties) AsConnectorResponsePropertiesSwimlane

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesSwimlane() (ConnectorResponsePropertiesSwimlane, error)

AsConnectorResponsePropertiesSwimlane returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesSwimlane

func (ConnectorResponseProperties) AsConnectorResponsePropertiesTeams

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesTeams() (ConnectorResponsePropertiesTeams, error)

AsConnectorResponsePropertiesTeams returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesTeams

func (ConnectorResponseProperties) AsConnectorResponsePropertiesTines

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesTines() (ConnectorResponsePropertiesTines, error)

AsConnectorResponsePropertiesTines returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesTines

func (ConnectorResponseProperties) AsConnectorResponsePropertiesWebhook

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesWebhook() (ConnectorResponsePropertiesWebhook, error)

AsConnectorResponsePropertiesWebhook returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesWebhook

func (ConnectorResponseProperties) AsConnectorResponsePropertiesXmatters

func (t ConnectorResponseProperties) AsConnectorResponsePropertiesXmatters() (ConnectorResponsePropertiesXmatters, error)

AsConnectorResponsePropertiesXmatters returns the union data inside the ConnectorResponseProperties as a ConnectorResponsePropertiesXmatters

func (ConnectorResponseProperties) Discriminator

func (t ConnectorResponseProperties) Discriminator() (string, error)

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesCasesWebhook

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesCasesWebhook(v ConnectorResponsePropertiesCasesWebhook) error

FromConnectorResponsePropertiesCasesWebhook overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesCasesWebhook

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesEmail

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesEmail(v ConnectorResponsePropertiesEmail) error

FromConnectorResponsePropertiesEmail overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesEmail

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesIndex

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesIndex(v ConnectorResponsePropertiesIndex) error

FromConnectorResponsePropertiesIndex overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesIndex

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesJira

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesJira(v ConnectorResponsePropertiesJira) error

FromConnectorResponsePropertiesJira overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesJira

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesOpsgenie

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesOpsgenie(v ConnectorResponsePropertiesOpsgenie) error

FromConnectorResponsePropertiesOpsgenie overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesOpsgenie

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesPagerduty

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesPagerduty(v ConnectorResponsePropertiesPagerduty) error

FromConnectorResponsePropertiesPagerduty overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesPagerduty

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesResilient

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesResilient(v ConnectorResponsePropertiesResilient) error

FromConnectorResponsePropertiesResilient overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesResilient

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesServerlog

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesServerlog(v ConnectorResponsePropertiesServerlog) error

FromConnectorResponsePropertiesServerlog overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesServerlog

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesServicenow

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesServicenow(v ConnectorResponsePropertiesServicenow) error

FromConnectorResponsePropertiesServicenow overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesServicenow

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesServicenowItom

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesServicenowItom(v ConnectorResponsePropertiesServicenowItom) error

FromConnectorResponsePropertiesServicenowItom overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesServicenowItom

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesServicenowSir

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesServicenowSir(v ConnectorResponsePropertiesServicenowSir) error

FromConnectorResponsePropertiesServicenowSir overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesServicenowSir

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesSlack

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesSlack(v ConnectorResponsePropertiesSlack) error

FromConnectorResponsePropertiesSlack overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesSlack

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesSlackApi added in v0.8.0

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesSlackApi(v ConnectorResponsePropertiesSlackApi) error

FromConnectorResponsePropertiesSlackApi overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesSlackApi

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesSwimlane

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesSwimlane(v ConnectorResponsePropertiesSwimlane) error

FromConnectorResponsePropertiesSwimlane overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesSwimlane

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesTeams

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesTeams(v ConnectorResponsePropertiesTeams) error

FromConnectorResponsePropertiesTeams overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesTeams

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesTines

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesTines(v ConnectorResponsePropertiesTines) error

FromConnectorResponsePropertiesTines overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesTines

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesWebhook

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesWebhook(v ConnectorResponsePropertiesWebhook) error

FromConnectorResponsePropertiesWebhook overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesWebhook

func (*ConnectorResponseProperties) FromConnectorResponsePropertiesXmatters

func (t *ConnectorResponseProperties) FromConnectorResponsePropertiesXmatters(v ConnectorResponsePropertiesXmatters) error

FromConnectorResponsePropertiesXmatters overwrites any union data inside the ConnectorResponseProperties as the provided ConnectorResponsePropertiesXmatters

func (ConnectorResponseProperties) MarshalJSON

func (t ConnectorResponseProperties) MarshalJSON() ([]byte, error)

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesCasesWebhook

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesCasesWebhook(v ConnectorResponsePropertiesCasesWebhook) error

MergeConnectorResponsePropertiesCasesWebhook performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesCasesWebhook

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesEmail

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesEmail(v ConnectorResponsePropertiesEmail) error

MergeConnectorResponsePropertiesEmail performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesEmail

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesIndex

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesIndex(v ConnectorResponsePropertiesIndex) error

MergeConnectorResponsePropertiesIndex performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesIndex

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesJira

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesJira(v ConnectorResponsePropertiesJira) error

MergeConnectorResponsePropertiesJira performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesJira

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesOpsgenie

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesOpsgenie(v ConnectorResponsePropertiesOpsgenie) error

MergeConnectorResponsePropertiesOpsgenie performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesOpsgenie

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesPagerduty

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesPagerduty(v ConnectorResponsePropertiesPagerduty) error

MergeConnectorResponsePropertiesPagerduty performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesPagerduty

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesResilient

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesResilient(v ConnectorResponsePropertiesResilient) error

MergeConnectorResponsePropertiesResilient performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesResilient

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesServerlog

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesServerlog(v ConnectorResponsePropertiesServerlog) error

MergeConnectorResponsePropertiesServerlog performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesServerlog

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesServicenow

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesServicenow(v ConnectorResponsePropertiesServicenow) error

MergeConnectorResponsePropertiesServicenow performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesServicenow

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesServicenowItom

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesServicenowItom(v ConnectorResponsePropertiesServicenowItom) error

MergeConnectorResponsePropertiesServicenowItom performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesServicenowItom

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesServicenowSir

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesServicenowSir(v ConnectorResponsePropertiesServicenowSir) error

MergeConnectorResponsePropertiesServicenowSir performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesServicenowSir

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesSlack

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesSlack(v ConnectorResponsePropertiesSlack) error

MergeConnectorResponsePropertiesSlack performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesSlack

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesSlackApi added in v0.8.0

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesSlackApi(v ConnectorResponsePropertiesSlackApi) error

MergeConnectorResponsePropertiesSlackApi performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesSlackApi

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesSwimlane

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesSwimlane(v ConnectorResponsePropertiesSwimlane) error

MergeConnectorResponsePropertiesSwimlane performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesSwimlane

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesTeams

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesTeams(v ConnectorResponsePropertiesTeams) error

MergeConnectorResponsePropertiesTeams performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesTeams

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesTines

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesTines(v ConnectorResponsePropertiesTines) error

MergeConnectorResponsePropertiesTines performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesTines

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesWebhook

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesWebhook(v ConnectorResponsePropertiesWebhook) error

MergeConnectorResponsePropertiesWebhook performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesWebhook

func (*ConnectorResponseProperties) MergeConnectorResponsePropertiesXmatters

func (t *ConnectorResponseProperties) MergeConnectorResponsePropertiesXmatters(v ConnectorResponsePropertiesXmatters) error

MergeConnectorResponsePropertiesXmatters performs a merge with any union data inside the ConnectorResponseProperties, using the provided ConnectorResponsePropertiesXmatters

func (*ConnectorResponseProperties) UnmarshalJSON

func (t *ConnectorResponseProperties) UnmarshalJSON(b []byte) error

func (ConnectorResponseProperties) ValueByDiscriminator

func (t ConnectorResponseProperties) ValueByDiscriminator() (interface{}, error)

type ConnectorResponsePropertiesCasesWebhook

type ConnectorResponsePropertiesCasesWebhook struct {
	// Config Defines properties for connectors when type is `.cases-webhook`.
	Config ConfigPropertiesCasesWebhook `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesCasesWebhookConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesCasesWebhook defines model for connector_response_properties_cases_webhook.

type ConnectorResponsePropertiesCasesWebhookConnectorTypeId

type ConnectorResponsePropertiesCasesWebhookConnectorTypeId string

ConnectorResponsePropertiesCasesWebhookConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesCasesWebhookConnectorTypeIdDotCasesWebhook ConnectorResponsePropertiesCasesWebhookConnectorTypeId = ".cases-webhook"
)

Defines values for ConnectorResponsePropertiesCasesWebhookConnectorTypeId.

type ConnectorResponsePropertiesEmail

type ConnectorResponsePropertiesEmail struct {
	// Config Defines properties for connectors when type is `.email`.
	Config ConfigPropertiesEmail `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesEmailConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesEmail defines model for connector_response_properties_email.

type ConnectorResponsePropertiesEmailConnectorTypeId

type ConnectorResponsePropertiesEmailConnectorTypeId string

ConnectorResponsePropertiesEmailConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesEmailConnectorTypeIdDotEmail ConnectorResponsePropertiesEmailConnectorTypeId = ".email"
)

Defines values for ConnectorResponsePropertiesEmailConnectorTypeId.

type ConnectorResponsePropertiesIndex

type ConnectorResponsePropertiesIndex struct {
	// Config Defines properties for connectors when type is `.index`.
	Config ConfigPropertiesIndex `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesIndexConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesIndex defines model for connector_response_properties_index.

type ConnectorResponsePropertiesIndexConnectorTypeId

type ConnectorResponsePropertiesIndexConnectorTypeId string

ConnectorResponsePropertiesIndexConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesIndexConnectorTypeIdDotIndex ConnectorResponsePropertiesIndexConnectorTypeId = ".index"
)

Defines values for ConnectorResponsePropertiesIndexConnectorTypeId.

type ConnectorResponsePropertiesJira

type ConnectorResponsePropertiesJira struct {
	// Config Defines properties for connectors when type is `.jira`.
	Config ConfigPropertiesJira `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesJiraConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesJira defines model for connector_response_properties_jira.

type ConnectorResponsePropertiesJiraConnectorTypeId

type ConnectorResponsePropertiesJiraConnectorTypeId string

ConnectorResponsePropertiesJiraConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesJiraConnectorTypeIdDotJira ConnectorResponsePropertiesJiraConnectorTypeId = ".jira"
)

Defines values for ConnectorResponsePropertiesJiraConnectorTypeId.

type ConnectorResponsePropertiesOpsgenie

type ConnectorResponsePropertiesOpsgenie struct {
	// Config Defines properties for connectors when type is `.opsgenie`.
	Config ConfigPropertiesOpsgenie `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesOpsgenieConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesOpsgenie defines model for connector_response_properties_opsgenie.

type ConnectorResponsePropertiesOpsgenieConnectorTypeId

type ConnectorResponsePropertiesOpsgenieConnectorTypeId string

ConnectorResponsePropertiesOpsgenieConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesOpsgenieConnectorTypeIdDotOpsgenie ConnectorResponsePropertiesOpsgenieConnectorTypeId = ".opsgenie"
)

Defines values for ConnectorResponsePropertiesOpsgenieConnectorTypeId.

type ConnectorResponsePropertiesPagerduty

type ConnectorResponsePropertiesPagerduty struct {
	// Config Defines properties for connectors when type is `.pagerduty`.
	Config ConfigPropertiesPagerduty `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesPagerdutyConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesPagerduty defines model for connector_response_properties_pagerduty.

type ConnectorResponsePropertiesPagerdutyConnectorTypeId

type ConnectorResponsePropertiesPagerdutyConnectorTypeId string

ConnectorResponsePropertiesPagerdutyConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesPagerdutyConnectorTypeIdDotPagerduty ConnectorResponsePropertiesPagerdutyConnectorTypeId = ".pagerduty"
)

Defines values for ConnectorResponsePropertiesPagerdutyConnectorTypeId.

type ConnectorResponsePropertiesResilient

type ConnectorResponsePropertiesResilient struct {
	// Config Defines properties for connectors when type is `.resilient`.
	Config ConfigPropertiesResilient `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesResilientConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesResilient defines model for connector_response_properties_resilient.

type ConnectorResponsePropertiesResilientConnectorTypeId

type ConnectorResponsePropertiesResilientConnectorTypeId string

ConnectorResponsePropertiesResilientConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesResilientConnectorTypeIdDotResilient ConnectorResponsePropertiesResilientConnectorTypeId = ".resilient"
)

Defines values for ConnectorResponsePropertiesResilientConnectorTypeId.

type ConnectorResponsePropertiesServerlog

type ConnectorResponsePropertiesServerlog struct {
	Config *map[string]interface{} `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesServerlogConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesServerlog defines model for connector_response_properties_serverlog.

type ConnectorResponsePropertiesServerlogConnectorTypeId

type ConnectorResponsePropertiesServerlogConnectorTypeId string

ConnectorResponsePropertiesServerlogConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesServerlogConnectorTypeIdDotServerLog ConnectorResponsePropertiesServerlogConnectorTypeId = ".server-log"
)

Defines values for ConnectorResponsePropertiesServerlogConnectorTypeId.

type ConnectorResponsePropertiesServicenow

type ConnectorResponsePropertiesServicenow struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenow `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesServicenowConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesServicenow defines model for connector_response_properties_servicenow.

type ConnectorResponsePropertiesServicenowConnectorTypeId

type ConnectorResponsePropertiesServicenowConnectorTypeId string

ConnectorResponsePropertiesServicenowConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesServicenowConnectorTypeIdDotServicenow ConnectorResponsePropertiesServicenowConnectorTypeId = ".servicenow"
)

Defines values for ConnectorResponsePropertiesServicenowConnectorTypeId.

type ConnectorResponsePropertiesServicenowItom

type ConnectorResponsePropertiesServicenowItom struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenowItom `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesServicenowItomConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesServicenowItom defines model for connector_response_properties_servicenow_itom.

type ConnectorResponsePropertiesServicenowItomConnectorTypeId

type ConnectorResponsePropertiesServicenowItomConnectorTypeId string

ConnectorResponsePropertiesServicenowItomConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesServicenowItomConnectorTypeIdDotServicenowItom ConnectorResponsePropertiesServicenowItomConnectorTypeId = ".servicenow-itom"
)

Defines values for ConnectorResponsePropertiesServicenowItomConnectorTypeId.

type ConnectorResponsePropertiesServicenowSir

type ConnectorResponsePropertiesServicenowSir struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenow `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesServicenowSirConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesServicenowSir defines model for connector_response_properties_servicenow_sir.

type ConnectorResponsePropertiesServicenowSirConnectorTypeId

type ConnectorResponsePropertiesServicenowSirConnectorTypeId string

ConnectorResponsePropertiesServicenowSirConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesServicenowSirConnectorTypeIdDotServicenowSir ConnectorResponsePropertiesServicenowSirConnectorTypeId = ".servicenow-sir"
)

Defines values for ConnectorResponsePropertiesServicenowSirConnectorTypeId.

type ConnectorResponsePropertiesSlack

type ConnectorResponsePropertiesSlack struct {
	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesSlackConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesSlack defines model for connector_response_properties_slack.

type ConnectorResponsePropertiesSlackApi added in v0.8.0

type ConnectorResponsePropertiesSlackApi struct {
	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesSlackApiConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesSlackApi defines model for connector_response_properties_slack_api.

type ConnectorResponsePropertiesSlackApiConnectorTypeId added in v0.8.0

type ConnectorResponsePropertiesSlackApiConnectorTypeId string

ConnectorResponsePropertiesSlackApiConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesSlackApiConnectorTypeIdDotSlackApi ConnectorResponsePropertiesSlackApiConnectorTypeId = ".slack_api"
)

Defines values for ConnectorResponsePropertiesSlackApiConnectorTypeId.

type ConnectorResponsePropertiesSlackConnectorTypeId

type ConnectorResponsePropertiesSlackConnectorTypeId string

ConnectorResponsePropertiesSlackConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesSlackConnectorTypeIdDotSlack ConnectorResponsePropertiesSlackConnectorTypeId = ".slack"
)

Defines values for ConnectorResponsePropertiesSlackConnectorTypeId.

type ConnectorResponsePropertiesSwimlane

type ConnectorResponsePropertiesSwimlane struct {
	// Config Defines properties for connectors when type is `.swimlane`.
	Config ConfigPropertiesSwimlane `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesSwimlaneConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesSwimlane defines model for connector_response_properties_swimlane.

type ConnectorResponsePropertiesSwimlaneConnectorTypeId

type ConnectorResponsePropertiesSwimlaneConnectorTypeId string

ConnectorResponsePropertiesSwimlaneConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesSwimlaneConnectorTypeIdDotSwimlane ConnectorResponsePropertiesSwimlaneConnectorTypeId = ".swimlane"
)

Defines values for ConnectorResponsePropertiesSwimlaneConnectorTypeId.

type ConnectorResponsePropertiesTeams

type ConnectorResponsePropertiesTeams struct {
	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesTeamsConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesTeams defines model for connector_response_properties_teams.

type ConnectorResponsePropertiesTeamsConnectorTypeId

type ConnectorResponsePropertiesTeamsConnectorTypeId string

ConnectorResponsePropertiesTeamsConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesTeamsConnectorTypeIdDotTeams ConnectorResponsePropertiesTeamsConnectorTypeId = ".teams"
)

Defines values for ConnectorResponsePropertiesTeamsConnectorTypeId.

type ConnectorResponsePropertiesTines

type ConnectorResponsePropertiesTines struct {
	// Config Defines properties for connectors when type is `.tines`.
	Config ConfigPropertiesTines `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesTinesConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesTines defines model for connector_response_properties_tines.

type ConnectorResponsePropertiesTinesConnectorTypeId

type ConnectorResponsePropertiesTinesConnectorTypeId string

ConnectorResponsePropertiesTinesConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesTinesConnectorTypeIdDotTines ConnectorResponsePropertiesTinesConnectorTypeId = ".tines"
)

Defines values for ConnectorResponsePropertiesTinesConnectorTypeId.

type ConnectorResponsePropertiesWebhook

type ConnectorResponsePropertiesWebhook struct {
	// Config Defines properties for connectors when type is `.webhook`.
	Config ConfigPropertiesWebhook `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesWebhookConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesWebhook defines model for connector_response_properties_webhook.

type ConnectorResponsePropertiesWebhookConnectorTypeId

type ConnectorResponsePropertiesWebhookConnectorTypeId string

ConnectorResponsePropertiesWebhookConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesWebhookConnectorTypeIdDotWebhook ConnectorResponsePropertiesWebhookConnectorTypeId = ".webhook"
)

Defines values for ConnectorResponsePropertiesWebhookConnectorTypeId.

type ConnectorResponsePropertiesXmatters

type ConnectorResponsePropertiesXmatters struct {
	// Config Defines properties for connectors when type is `.xmatters`.
	Config ConfigPropertiesXmatters `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId ConnectorResponsePropertiesXmattersConnectorTypeId `json:"connector_type_id"`

	// Id The identifier for the connector.
	Id string `json:"id"`

	// IsDeprecated Indicates whether the connector type is deprecated.
	IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

	// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
	IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

	// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
	IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

ConnectorResponsePropertiesXmatters defines model for connector_response_properties_xmatters.

type ConnectorResponsePropertiesXmattersConnectorTypeId

type ConnectorResponsePropertiesXmattersConnectorTypeId string

ConnectorResponsePropertiesXmattersConnectorTypeId The type of connector.

const (
	ConnectorResponsePropertiesXmattersConnectorTypeIdDotXmatters ConnectorResponsePropertiesXmattersConnectorTypeId = ".xmatters"
)

Defines values for ConnectorResponsePropertiesXmattersConnectorTypeId.

type ConnectorTypes

type ConnectorTypes string

ConnectorTypes The type of connector. For example, `.email`, `.index`, `.jira`, `.opsgenie`, or `.server-log`.

const (
	ConnectorTypesDotCasesWebhook   ConnectorTypes = ".cases-webhook"
	ConnectorTypesDotEmail          ConnectorTypes = ".email"
	ConnectorTypesDotIndex          ConnectorTypes = ".index"
	ConnectorTypesDotJira           ConnectorTypes = ".jira"
	ConnectorTypesDotOpsgenie       ConnectorTypes = ".opsgenie"
	ConnectorTypesDotPagerduty      ConnectorTypes = ".pagerduty"
	ConnectorTypesDotResilient      ConnectorTypes = ".resilient"
	ConnectorTypesDotServerLog      ConnectorTypes = ".server-log"
	ConnectorTypesDotServicenow     ConnectorTypes = ".servicenow"
	ConnectorTypesDotServicenowItom ConnectorTypes = ".servicenow-itom"
	ConnectorTypesDotServicenowSir  ConnectorTypes = ".servicenow-sir"
	ConnectorTypesDotSlack          ConnectorTypes = ".slack"
	ConnectorTypesDotSlackApi       ConnectorTypes = ".slack_api"
	ConnectorTypesDotSwimlane       ConnectorTypes = ".swimlane"
	ConnectorTypesDotTeams          ConnectorTypes = ".teams"
	ConnectorTypesDotTines          ConnectorTypes = ".tines"
	ConnectorTypesDotWebhook        ConnectorTypes = ".webhook"
	ConnectorTypesDotXmatters       ConnectorTypes = ".xmatters"
)

Defines values for ConnectorTypes.

type CreateConnectorJSONBody

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

CreateConnectorJSONBody defines parameters for CreateConnector.

type CreateConnectorJSONRequestBody

type CreateConnectorJSONRequestBody CreateConnectorJSONBody

CreateConnectorJSONRequestBody defines body for CreateConnector for application/json ContentType.

type CreateConnectorParams

type CreateConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

CreateConnectorParams defines parameters for CreateConnector.

type CreateConnectorRequestCasesWebhook

type CreateConnectorRequestCasesWebhook struct {
	// Config Defines properties for connectors when type is `.cases-webhook`.
	Config ConfigPropertiesCasesWebhook `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestCasesWebhookConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name    string                         `json:"name"`
	Secrets *SecretsPropertiesCasesWebhook `json:"secrets,omitempty"`
}

CreateConnectorRequestCasesWebhook The Webhook - Case Management connector uses axios to send POST, PUT, and GET requests to a case management RESTful API web service.

type CreateConnectorRequestCasesWebhookConnectorTypeId

type CreateConnectorRequestCasesWebhookConnectorTypeId string

CreateConnectorRequestCasesWebhookConnectorTypeId The type of connector.

const (
	DotCasesWebhook CreateConnectorRequestCasesWebhookConnectorTypeId = ".cases-webhook"
)

Defines values for CreateConnectorRequestCasesWebhookConnectorTypeId.

type CreateConnectorRequestEmail

type CreateConnectorRequestEmail struct {
	// Config Defines properties for connectors when type is `.email`.
	Config ConfigPropertiesEmail `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestEmailConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.email`.
	Secrets SecretsPropertiesEmail `json:"secrets"`
}

CreateConnectorRequestEmail The email connector uses the SMTP protocol to send mail messages, using an integration of Nodemailer. An exception is Microsoft Exchange, which uses HTTP protocol for sending emails, Send mail. Email message text is sent as both plain text and html text.

type CreateConnectorRequestEmailConnectorTypeId

type CreateConnectorRequestEmailConnectorTypeId string

CreateConnectorRequestEmailConnectorTypeId The type of connector.

const (
	CreateConnectorRequestEmailConnectorTypeIdDotEmail CreateConnectorRequestEmailConnectorTypeId = ".email"
)

Defines values for CreateConnectorRequestEmailConnectorTypeId.

type CreateConnectorRequestIndex

type CreateConnectorRequestIndex struct {
	// Config Defines properties for connectors when type is `.index`.
	Config ConfigPropertiesIndex `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestIndexConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

CreateConnectorRequestIndex The index connector indexes a document into Elasticsearch.

type CreateConnectorRequestIndexConnectorTypeId

type CreateConnectorRequestIndexConnectorTypeId string

CreateConnectorRequestIndexConnectorTypeId The type of connector.

const (
	CreateConnectorRequestIndexConnectorTypeIdDotIndex CreateConnectorRequestIndexConnectorTypeId = ".index"
)

Defines values for CreateConnectorRequestIndexConnectorTypeId.

type CreateConnectorRequestJira

type CreateConnectorRequestJira struct {
	// Config Defines properties for connectors when type is `.jira`.
	Config ConfigPropertiesJira `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestJiraConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.jira`.
	Secrets SecretsPropertiesJira `json:"secrets"`
}

CreateConnectorRequestJira The Jira connector uses the REST API v2 to create Jira issues.

type CreateConnectorRequestJiraConnectorTypeId

type CreateConnectorRequestJiraConnectorTypeId string

CreateConnectorRequestJiraConnectorTypeId The type of connector.

const (
	CreateConnectorRequestJiraConnectorTypeIdDotJira CreateConnectorRequestJiraConnectorTypeId = ".jira"
)

Defines values for CreateConnectorRequestJiraConnectorTypeId.

type CreateConnectorRequestOpsgenie

type CreateConnectorRequestOpsgenie struct {
	// Config Defines properties for connectors when type is `.opsgenie`.
	Config ConfigPropertiesOpsgenie `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestOpsgenieConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.opsgenie`.
	Secrets SecretsPropertiesOpsgenie `json:"secrets"`
}

CreateConnectorRequestOpsgenie The Opsgenie connector uses the Opsgenie alert API.

type CreateConnectorRequestOpsgenieConnectorTypeId

type CreateConnectorRequestOpsgenieConnectorTypeId string

CreateConnectorRequestOpsgenieConnectorTypeId The type of connector.

const (
	CreateConnectorRequestOpsgenieConnectorTypeIdDotOpsgenie CreateConnectorRequestOpsgenieConnectorTypeId = ".opsgenie"
)

Defines values for CreateConnectorRequestOpsgenieConnectorTypeId.

type CreateConnectorRequestPagerduty

type CreateConnectorRequestPagerduty struct {
	// Config Defines properties for connectors when type is `.pagerduty`.
	Config ConfigPropertiesPagerduty `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestPagerdutyConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.pagerduty`.
	Secrets SecretsPropertiesPagerduty `json:"secrets"`
}

CreateConnectorRequestPagerduty The PagerDuty connector uses the v2 Events API to trigger, acknowledge, and resolve PagerDuty alerts.

type CreateConnectorRequestPagerdutyConnectorTypeId

type CreateConnectorRequestPagerdutyConnectorTypeId string

CreateConnectorRequestPagerdutyConnectorTypeId The type of connector.

const (
	CreateConnectorRequestPagerdutyConnectorTypeIdDotPagerduty CreateConnectorRequestPagerdutyConnectorTypeId = ".pagerduty"
)

Defines values for CreateConnectorRequestPagerdutyConnectorTypeId.

type CreateConnectorRequestResilient

type CreateConnectorRequestResilient struct {
	// Config Defines properties for connectors when type is `.resilient`.
	Config ConfigPropertiesResilient `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestResilientConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.resilient`.
	Secrets SecretsPropertiesResilient `json:"secrets"`
}

CreateConnectorRequestResilient The IBM Resilient connector uses the RESILIENT REST v2 to create IBM Resilient incidents.

type CreateConnectorRequestResilientConnectorTypeId

type CreateConnectorRequestResilientConnectorTypeId string

CreateConnectorRequestResilientConnectorTypeId The type of connector.

const (
	CreateConnectorRequestResilientConnectorTypeIdDotResilient CreateConnectorRequestResilientConnectorTypeId = ".resilient"
)

Defines values for CreateConnectorRequestResilientConnectorTypeId.

type CreateConnectorRequestServerlog

type CreateConnectorRequestServerlog struct {
	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestServerlogConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

CreateConnectorRequestServerlog This connector writes an entry to the Kibana server log.

type CreateConnectorRequestServerlogConnectorTypeId

type CreateConnectorRequestServerlogConnectorTypeId string

CreateConnectorRequestServerlogConnectorTypeId The type of connector.

const (
	CreateConnectorRequestServerlogConnectorTypeIdDotServerLog CreateConnectorRequestServerlogConnectorTypeId = ".server-log"
)

Defines values for CreateConnectorRequestServerlogConnectorTypeId.

type CreateConnectorRequestServicenow

type CreateConnectorRequestServicenow struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenow `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestServicenowConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.servicenow`, `.servicenow-sir`, or `.servicenow-itom`.
	Secrets SecretsPropertiesServicenow `json:"secrets"`
}

CreateConnectorRequestServicenow The ServiceNow ITSM connector uses the import set API to create ServiceNow incidents. You can use the connector for rule actions and cases.

type CreateConnectorRequestServicenowConnectorTypeId

type CreateConnectorRequestServicenowConnectorTypeId string

CreateConnectorRequestServicenowConnectorTypeId The type of connector.

const (
	CreateConnectorRequestServicenowConnectorTypeIdDotServicenow CreateConnectorRequestServicenowConnectorTypeId = ".servicenow"
)

Defines values for CreateConnectorRequestServicenowConnectorTypeId.

type CreateConnectorRequestServicenowItom

type CreateConnectorRequestServicenowItom struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenowItom `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestServicenowItomConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.servicenow`, `.servicenow-sir`, or `.servicenow-itom`.
	Secrets SecretsPropertiesServicenow `json:"secrets"`
}

CreateConnectorRequestServicenowItom The ServiceNow ITOM connector uses the event API to create ServiceNow events. You can use the connector for rule actions.

type CreateConnectorRequestServicenowItomConnectorTypeId

type CreateConnectorRequestServicenowItomConnectorTypeId string

CreateConnectorRequestServicenowItomConnectorTypeId The type of connector.

const (
	CreateConnectorRequestServicenowItomConnectorTypeIdDotServicenowItom CreateConnectorRequestServicenowItomConnectorTypeId = ".servicenow-itom"
)

Defines values for CreateConnectorRequestServicenowItomConnectorTypeId.

type CreateConnectorRequestServicenowSir

type CreateConnectorRequestServicenowSir struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenow `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestServicenowSirConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.servicenow`, `.servicenow-sir`, or `.servicenow-itom`.
	Secrets SecretsPropertiesServicenow `json:"secrets"`
}

CreateConnectorRequestServicenowSir The ServiceNow SecOps connector uses the import set API to create ServiceNow security incidents. You can use the connector for rule actions and cases.

type CreateConnectorRequestServicenowSirConnectorTypeId

type CreateConnectorRequestServicenowSirConnectorTypeId string

CreateConnectorRequestServicenowSirConnectorTypeId The type of connector.

const (
	CreateConnectorRequestServicenowSirConnectorTypeIdDotServicenowSir CreateConnectorRequestServicenowSirConnectorTypeId = ".servicenow-sir"
)

Defines values for CreateConnectorRequestServicenowSirConnectorTypeId.

type CreateConnectorRequestSlack

type CreateConnectorRequestSlack struct {
	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestSlackConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.slack`.
	Secrets SecretsPropertiesSlack `json:"secrets"`
}

CreateConnectorRequestSlack The Slack connector uses Slack Incoming Webhooks.

type CreateConnectorRequestSlackApi added in v0.8.0

type CreateConnectorRequestSlackApi struct {
	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestSlackApiConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.slack`.
	Secrets SecretsPropertiesSlackApi `json:"secrets"`
}

CreateConnectorRequestSlackApi The Slack connector uses Slack Incoming Webhooks.

type CreateConnectorRequestSlackApiConnectorTypeId added in v0.8.0

type CreateConnectorRequestSlackApiConnectorTypeId string

CreateConnectorRequestSlackApiConnectorTypeId The type of connector.

const (
	CreateConnectorRequestSlackApiConnectorTypeIdDotSlackApi CreateConnectorRequestSlackApiConnectorTypeId = ".slack_api"
)

Defines values for CreateConnectorRequestSlackApiConnectorTypeId.

type CreateConnectorRequestSlackConnectorTypeId

type CreateConnectorRequestSlackConnectorTypeId string

CreateConnectorRequestSlackConnectorTypeId The type of connector.

const (
	CreateConnectorRequestSlackConnectorTypeIdDotSlack CreateConnectorRequestSlackConnectorTypeId = ".slack"
)

Defines values for CreateConnectorRequestSlackConnectorTypeId.

type CreateConnectorRequestSwimlane

type CreateConnectorRequestSwimlane struct {
	// Config Defines properties for connectors when type is `.swimlane`.
	Config ConfigPropertiesSwimlane `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestSwimlaneConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.swimlane`.
	Secrets SecretsPropertiesSwimlane `json:"secrets"`
}

CreateConnectorRequestSwimlane The Swimlane connector uses the Swimlane REST API to create Swimlane records.

type CreateConnectorRequestSwimlaneConnectorTypeId

type CreateConnectorRequestSwimlaneConnectorTypeId string

CreateConnectorRequestSwimlaneConnectorTypeId The type of connector.

const (
	CreateConnectorRequestSwimlaneConnectorTypeIdDotSwimlane CreateConnectorRequestSwimlaneConnectorTypeId = ".swimlane"
)

Defines values for CreateConnectorRequestSwimlaneConnectorTypeId.

type CreateConnectorRequestTeams

type CreateConnectorRequestTeams struct {
	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestTeamsConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.teams`.
	Secrets SecretsPropertiesTeams `json:"secrets"`
}

CreateConnectorRequestTeams The Microsoft Teams connector uses Incoming Webhooks.

type CreateConnectorRequestTeamsConnectorTypeId

type CreateConnectorRequestTeamsConnectorTypeId string

CreateConnectorRequestTeamsConnectorTypeId The type of connector.

const (
	CreateConnectorRequestTeamsConnectorTypeIdDotTeams CreateConnectorRequestTeamsConnectorTypeId = ".teams"
)

Defines values for CreateConnectorRequestTeamsConnectorTypeId.

type CreateConnectorRequestTines

type CreateConnectorRequestTines struct {
	// Config Defines properties for connectors when type is `.tines`.
	Config ConfigPropertiesTines `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestTinesConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.tines`.
	Secrets SecretsPropertiesTines `json:"secrets"`
}

CreateConnectorRequestTines The Tines connector uses Tines Webhook actions to send events via POST request.

type CreateConnectorRequestTinesConnectorTypeId

type CreateConnectorRequestTinesConnectorTypeId string

CreateConnectorRequestTinesConnectorTypeId The type of connector.

const (
	CreateConnectorRequestTinesConnectorTypeIdDotTines CreateConnectorRequestTinesConnectorTypeId = ".tines"
)

Defines values for CreateConnectorRequestTinesConnectorTypeId.

type CreateConnectorRequestWebhook

type CreateConnectorRequestWebhook struct {
	// Config Defines properties for connectors when type is `.webhook`.
	Config ConfigPropertiesWebhook `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestWebhookConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.webhook`.
	Secrets SecretsPropertiesWebhook `json:"secrets"`
}

CreateConnectorRequestWebhook The Webhook connector uses axios to send a POST or PUT request to a web service.

type CreateConnectorRequestWebhookConnectorTypeId

type CreateConnectorRequestWebhookConnectorTypeId string

CreateConnectorRequestWebhookConnectorTypeId The type of connector.

const (
	CreateConnectorRequestWebhookConnectorTypeIdDotWebhook CreateConnectorRequestWebhookConnectorTypeId = ".webhook"
)

Defines values for CreateConnectorRequestWebhookConnectorTypeId.

type CreateConnectorRequestXmatters

type CreateConnectorRequestXmatters struct {
	// Config Defines properties for connectors when type is `.xmatters`.
	Config ConfigPropertiesXmatters `json:"config"`

	// ConnectorTypeId The type of connector.
	ConnectorTypeId CreateConnectorRequestXmattersConnectorTypeId `json:"connector_type_id"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.xmatters`.
	Secrets SecretsPropertiesXmatters `json:"secrets"`
}

CreateConnectorRequestXmatters The xMatters connector uses the xMatters Workflow for Elastic to send actionable alerts to on-call xMatters resources.

type CreateConnectorRequestXmattersConnectorTypeId

type CreateConnectorRequestXmattersConnectorTypeId string

CreateConnectorRequestXmattersConnectorTypeId The type of connector.

const (
	CreateConnectorRequestXmattersConnectorTypeIdDotXmatters CreateConnectorRequestXmattersConnectorTypeId = ".xmatters"
)

Defines values for CreateConnectorRequestXmattersConnectorTypeId.

type CreateConnectorResponse

type CreateConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ConnectorResponseProperties
	JSON400      *BadRequestError
	JSON401      *AuthorizationError
}

func ParseCreateConnectorResponse

func ParseCreateConnectorResponse(rsp *http.Response) (*CreateConnectorResponse, error)

ParseCreateConnectorResponse parses an HTTP response from a CreateConnectorWithResponse call

func (CreateConnectorResponse) Status

func (r CreateConnectorResponse) Status() string

Status returns HTTPResponse.Status

func (CreateConnectorResponse) StatusCode

func (r CreateConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteConnectorParams

type DeleteConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

DeleteConnectorParams defines parameters for DeleteConnector.

type DeleteConnectorResponse

type DeleteConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *AuthorizationError
	JSON404      *struct {
		Error      *string `json:"error,omitempty"`
		Message    *string `json:"message,omitempty"`
		StatusCode *int    `json:"statusCode,omitempty"`
	}
}

func ParseDeleteConnectorResponse

func ParseDeleteConnectorResponse(rsp *http.Response) (*DeleteConnectorResponse, error)

ParseDeleteConnectorResponse parses an HTTP response from a DeleteConnectorWithResponse call

func (DeleteConnectorResponse) Status

func (r DeleteConnectorResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteConnectorResponse) StatusCode

func (r DeleteConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Features

type Features string

Features The feature that uses the connector. Valid values are `alerting`, `cases`, `uptime`, and `siem`.

const (
	FeaturesAlerting Features = "alerting"
	FeaturesCases    Features = "cases"
	FeaturesSiem     Features = "siem"
	FeaturesUptime   Features = "uptime"
)

Defines values for Features.

type GetConnectorResponse

type GetConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ConnectorResponseProperties
	JSON401      *AuthorizationError
	JSON404      *struct {
		Error      *string `json:"error,omitempty"`
		Message    *string `json:"message,omitempty"`
		StatusCode *int    `json:"statusCode,omitempty"`
	}
}

func ParseGetConnectorResponse

func ParseGetConnectorResponse(rsp *http.Response) (*GetConnectorResponse, error)

ParseGetConnectorResponse parses an HTTP response from a GetConnectorWithResponse call

func (GetConnectorResponse) Status

func (r GetConnectorResponse) Status() string

Status returns HTTPResponse.Status

func (GetConnectorResponse) StatusCode

func (r GetConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConnectorTypesParams

type GetConnectorTypesParams struct {
	// FeatureId A filter to limit the retrieved connector types to those that support a specific feature (such as alerting or cases).
	FeatureId *Features `form:"feature_id,omitempty" json:"feature_id,omitempty"`
}

GetConnectorTypesParams defines parameters for GetConnectorTypes.

type GetConnectorTypesResponse

type GetConnectorTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// Enabled Indicates whether the connector type is enabled in Kibana.
		Enabled *bool `json:"enabled,omitempty"`

		// EnabledInConfig Indicates whether the connector type is enabled in the Kibana `.yml` file.
		EnabledInConfig *bool `json:"enabled_in_config,omitempty"`

		// EnabledInLicense Indicates whether the connector is enabled in the license.
		EnabledInLicense *bool `json:"enabled_in_license,omitempty"`

		// Id The type of connector. For example, `.email`, `.index`, `.jira`, `.opsgenie`, or `.server-log`.
		Id *ConnectorTypes `json:"id,omitempty"`

		// MinimumLicenseRequired The license that is required to use the connector type.
		MinimumLicenseRequired *string `json:"minimum_license_required,omitempty"`

		// Name The name of the connector type.
		Name *string `json:"name,omitempty"`

		// SupportedFeatureIds The Kibana features that are supported by the connector type.
		SupportedFeatureIds *[]Features `json:"supported_feature_ids,omitempty"`
	}
	JSON401 *AuthorizationError
}

func ParseGetConnectorTypesResponse

func ParseGetConnectorTypesResponse(rsp *http.Response) (*GetConnectorTypesResponse, error)

ParseGetConnectorTypesResponse parses an HTTP response from a GetConnectorTypesWithResponse call

func (GetConnectorTypesResponse) Status

func (r GetConnectorTypesResponse) Status() string

Status returns HTTPResponse.Status

func (GetConnectorTypesResponse) StatusCode

func (r GetConnectorTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConnectorsResponse

type GetConnectorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// Config The configuration for the connector. Configuration properties vary depending on the connector type.
		Config *map[string]interface{} `json:"config"`

		// ConnectorTypeId The type of connector. For example, `.email`, `.index`, `.jira`, `.opsgenie`, or `.server-log`.
		ConnectorTypeId ConnectorTypes `json:"connector_type_id"`

		// Id The identifier for the connector.
		Id string `json:"id"`

		// IsDeprecated Indicates whether the connector type is deprecated.
		IsDeprecated *IsDeprecated `json:"is_deprecated,omitempty"`

		// IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.
		IsMissingSecrets *IsMissingSecrets `json:"is_missing_secrets,omitempty"`

		// IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.
		IsPreconfigured IsPreconfigured `json:"is_preconfigured"`

		// Name The display name for the connector.
		Name string `json:"name"`

		// ReferencedByCount Indicates the number of saved objects that reference the connector. If `is_preconfigured` is true, this value is not calculated.
		ReferencedByCount int `json:"referenced_by_count"`
	}
	JSON401 *AuthorizationError
}

func ParseGetConnectorsResponse

func ParseGetConnectorsResponse(rsp *http.Response) (*GetConnectorsResponse, error)

ParseGetConnectorsResponse parses an HTTP response from a GetConnectorsWithResponse call

func (GetConnectorsResponse) Status

func (r GetConnectorsResponse) Status() string

Status returns HTTPResponse.Status

func (GetConnectorsResponse) StatusCode

func (r GetConnectorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type IsDeprecated

type IsDeprecated = bool

IsDeprecated Indicates whether the connector type is deprecated.

type IsMissingSecrets

type IsMissingSecrets = bool

IsMissingSecrets Indicates whether secrets are missing for the connector. Secrets configuration properties vary depending on the connector type.

type IsPreconfigured

type IsPreconfigured = bool

IsPreconfigured Indicates whether it is a preconfigured connector. If true, the `config` and `is_missing_secrets` properties are omitted from the response.

type KbnXsrf

type KbnXsrf = string

KbnXsrf defines model for kbn_xsrf.

type LegacyCreateConnectorJSONBody

type LegacyCreateConnectorJSONBody struct {
	// ActionTypeId The connector type identifier.
	ActionTypeId *string `json:"actionTypeId,omitempty"`

	// Config The configuration for the connector. Configuration properties vary depending on the connector type.
	Config *map[string]interface{} `json:"config,omitempty"`

	// Name The display name for the connector.
	Name *string `json:"name,omitempty"`

	// Secrets The secrets configuration for the connector. Secrets configuration properties vary depending on the connector type. NOTE: Remember these values. You must provide them each time you update the connector.
	Secrets *map[string]interface{} `json:"secrets,omitempty"`
}

LegacyCreateConnectorJSONBody defines parameters for LegacyCreateConnector.

type LegacyCreateConnectorJSONRequestBody

type LegacyCreateConnectorJSONRequestBody LegacyCreateConnectorJSONBody

LegacyCreateConnectorJSONRequestBody defines body for LegacyCreateConnector for application/json ContentType.

type LegacyCreateConnectorParams

type LegacyCreateConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

LegacyCreateConnectorParams defines parameters for LegacyCreateConnector.

type LegacyCreateConnectorResponse

type LegacyCreateConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *N200Actions
	JSON401      *AuthorizationError
}

func ParseLegacyCreateConnectorResponse

func ParseLegacyCreateConnectorResponse(rsp *http.Response) (*LegacyCreateConnectorResponse, error)

ParseLegacyCreateConnectorResponse parses an HTTP response from a LegacyCreateConnectorWithResponse call

func (LegacyCreateConnectorResponse) Status

Status returns HTTPResponse.Status

func (LegacyCreateConnectorResponse) StatusCode

func (r LegacyCreateConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LegacyDeleteConnectorParams

type LegacyDeleteConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

LegacyDeleteConnectorParams defines parameters for LegacyDeleteConnector.

type LegacyDeleteConnectorResponse

type LegacyDeleteConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *AuthorizationError
}

func ParseLegacyDeleteConnectorResponse

func ParseLegacyDeleteConnectorResponse(rsp *http.Response) (*LegacyDeleteConnectorResponse, error)

ParseLegacyDeleteConnectorResponse parses an HTTP response from a LegacyDeleteConnectorWithResponse call

func (LegacyDeleteConnectorResponse) Status

Status returns HTTPResponse.Status

func (LegacyDeleteConnectorResponse) StatusCode

func (r LegacyDeleteConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LegacyGetConnectorResponse

type LegacyGetConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *N200Actions
	JSON401      *AuthorizationError
}

func ParseLegacyGetConnectorResponse

func ParseLegacyGetConnectorResponse(rsp *http.Response) (*LegacyGetConnectorResponse, error)

ParseLegacyGetConnectorResponse parses an HTTP response from a LegacyGetConnectorWithResponse call

func (LegacyGetConnectorResponse) Status

Status returns HTTPResponse.Status

func (LegacyGetConnectorResponse) StatusCode

func (r LegacyGetConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LegacyGetConnectorTypesResponse

type LegacyGetConnectorTypesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// Enabled Indicates whether the connector type is enabled in Kibana.
		Enabled *bool `json:"enabled,omitempty"`

		// EnabledInConfig Indicates whether the connector type is enabled in the Kibana `.yml` file.
		EnabledInConfig *bool `json:"enabledInConfig,omitempty"`

		// EnabledInLicense Indicates whether the connector is enabled in the license.
		EnabledInLicense *bool `json:"enabledInLicense,omitempty"`

		// Id The unique identifier for the connector type.
		Id *string `json:"id,omitempty"`

		// MinimumLicenseRequired The license that is required to use the connector type.
		MinimumLicenseRequired *string `json:"minimumLicenseRequired,omitempty"`

		// Name The name of the connector type.
		Name *string `json:"name,omitempty"`
	}
	JSON401 *AuthorizationError
}

func ParseLegacyGetConnectorTypesResponse

func ParseLegacyGetConnectorTypesResponse(rsp *http.Response) (*LegacyGetConnectorTypesResponse, error)

ParseLegacyGetConnectorTypesResponse parses an HTTP response from a LegacyGetConnectorTypesWithResponse call

func (LegacyGetConnectorTypesResponse) Status

Status returns HTTPResponse.Status

func (LegacyGetConnectorTypesResponse) StatusCode

func (r LegacyGetConnectorTypesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LegacyGetConnectorsResponse

type LegacyGetConnectorsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ActionResponseProperties
	JSON401      *AuthorizationError
}

func ParseLegacyGetConnectorsResponse

func ParseLegacyGetConnectorsResponse(rsp *http.Response) (*LegacyGetConnectorsResponse, error)

ParseLegacyGetConnectorsResponse parses an HTTP response from a LegacyGetConnectorsWithResponse call

func (LegacyGetConnectorsResponse) Status

Status returns HTTPResponse.Status

func (LegacyGetConnectorsResponse) StatusCode

func (r LegacyGetConnectorsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LegacyRunConnectorGeneralResponse

type LegacyRunConnectorGeneralResponse struct {
	ActionId *string                                 `json:"actionId,omitempty"`
	Data     *LegacyRunConnectorGeneralResponse_Data `json:"data,omitempty"`

	// Status The status of the action.
	Status *string `json:"status,omitempty"`
}

LegacyRunConnectorGeneralResponse defines model for legacy_run_connector_general_response.

type LegacyRunConnectorGeneralResponseData0

type LegacyRunConnectorGeneralResponseData0 map[string]interface{}

LegacyRunConnectorGeneralResponseData0 Information returned from the action.

type LegacyRunConnectorGeneralResponseData1

type LegacyRunConnectorGeneralResponseData1 = []map[string]interface{}

LegacyRunConnectorGeneralResponseData1 An array of information returned from the action.

type LegacyRunConnectorGeneralResponse_Data

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

LegacyRunConnectorGeneralResponse_Data defines model for LegacyRunConnectorGeneralResponse.Data.

func (LegacyRunConnectorGeneralResponse_Data) AsLegacyRunConnectorGeneralResponseData0

func (t LegacyRunConnectorGeneralResponse_Data) AsLegacyRunConnectorGeneralResponseData0() (LegacyRunConnectorGeneralResponseData0, error)

AsLegacyRunConnectorGeneralResponseData0 returns the union data inside the LegacyRunConnectorGeneralResponse_Data as a LegacyRunConnectorGeneralResponseData0

func (LegacyRunConnectorGeneralResponse_Data) AsLegacyRunConnectorGeneralResponseData1

func (t LegacyRunConnectorGeneralResponse_Data) AsLegacyRunConnectorGeneralResponseData1() (LegacyRunConnectorGeneralResponseData1, error)

AsLegacyRunConnectorGeneralResponseData1 returns the union data inside the LegacyRunConnectorGeneralResponse_Data as a LegacyRunConnectorGeneralResponseData1

func (*LegacyRunConnectorGeneralResponse_Data) FromLegacyRunConnectorGeneralResponseData0

func (t *LegacyRunConnectorGeneralResponse_Data) FromLegacyRunConnectorGeneralResponseData0(v LegacyRunConnectorGeneralResponseData0) error

FromLegacyRunConnectorGeneralResponseData0 overwrites any union data inside the LegacyRunConnectorGeneralResponse_Data as the provided LegacyRunConnectorGeneralResponseData0

func (*LegacyRunConnectorGeneralResponse_Data) FromLegacyRunConnectorGeneralResponseData1

func (t *LegacyRunConnectorGeneralResponse_Data) FromLegacyRunConnectorGeneralResponseData1(v LegacyRunConnectorGeneralResponseData1) error

FromLegacyRunConnectorGeneralResponseData1 overwrites any union data inside the LegacyRunConnectorGeneralResponse_Data as the provided LegacyRunConnectorGeneralResponseData1

func (LegacyRunConnectorGeneralResponse_Data) MarshalJSON

func (t LegacyRunConnectorGeneralResponse_Data) MarshalJSON() ([]byte, error)

func (*LegacyRunConnectorGeneralResponse_Data) MergeLegacyRunConnectorGeneralResponseData0

func (t *LegacyRunConnectorGeneralResponse_Data) MergeLegacyRunConnectorGeneralResponseData0(v LegacyRunConnectorGeneralResponseData0) error

MergeLegacyRunConnectorGeneralResponseData0 performs a merge with any union data inside the LegacyRunConnectorGeneralResponse_Data, using the provided LegacyRunConnectorGeneralResponseData0

func (*LegacyRunConnectorGeneralResponse_Data) MergeLegacyRunConnectorGeneralResponseData1

func (t *LegacyRunConnectorGeneralResponse_Data) MergeLegacyRunConnectorGeneralResponseData1(v LegacyRunConnectorGeneralResponseData1) error

MergeLegacyRunConnectorGeneralResponseData1 performs a merge with any union data inside the LegacyRunConnectorGeneralResponse_Data, using the provided LegacyRunConnectorGeneralResponseData1

func (*LegacyRunConnectorGeneralResponse_Data) UnmarshalJSON

func (t *LegacyRunConnectorGeneralResponse_Data) UnmarshalJSON(b []byte) error

type LegacyRunConnectorJSONBody

type LegacyRunConnectorJSONBody struct {
	// Params The parameters of the connector. Parameter properties vary depending on the connector type.
	Params map[string]interface{} `json:"params"`
}

LegacyRunConnectorJSONBody defines parameters for LegacyRunConnector.

type LegacyRunConnectorJSONRequestBody

type LegacyRunConnectorJSONRequestBody LegacyRunConnectorJSONBody

LegacyRunConnectorJSONRequestBody defines body for LegacyRunConnector for application/json ContentType.

type LegacyRunConnectorParams

type LegacyRunConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

LegacyRunConnectorParams defines parameters for LegacyRunConnector.

type LegacyRunConnectorResponse

type LegacyRunConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *LegacyRunConnectorGeneralResponse
	JSON401      *AuthorizationError
}

func ParseLegacyRunConnectorResponse

func ParseLegacyRunConnectorResponse(rsp *http.Response) (*LegacyRunConnectorResponse, error)

ParseLegacyRunConnectorResponse parses an HTTP response from a LegacyRunConnectorWithResponse call

func (LegacyRunConnectorResponse) Status

Status returns HTTPResponse.Status

func (LegacyRunConnectorResponse) StatusCode

func (r LegacyRunConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LegacyUpdateConnectorJSONBody

type LegacyUpdateConnectorJSONBody struct {
	// Config The new connector configuration. Configuration properties vary depending on the connector type.
	Config *map[string]interface{} `json:"config,omitempty"`

	// Name The new name for the connector.
	Name *string `json:"name,omitempty"`

	// Secrets The updated secrets configuration for the connector. Secrets properties vary depending on the connector type.
	Secrets *map[string]interface{} `json:"secrets,omitempty"`
}

LegacyUpdateConnectorJSONBody defines parameters for LegacyUpdateConnector.

type LegacyUpdateConnectorJSONRequestBody

type LegacyUpdateConnectorJSONRequestBody LegacyUpdateConnectorJSONBody

LegacyUpdateConnectorJSONRequestBody defines body for LegacyUpdateConnector for application/json ContentType.

type LegacyUpdateConnectorParams

type LegacyUpdateConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

LegacyUpdateConnectorParams defines parameters for LegacyUpdateConnector.

type LegacyUpdateConnectorResponse

type LegacyUpdateConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *N200Actions
	JSON404      *ObjectNotFoundError
}

func ParseLegacyUpdateConnectorResponse

func ParseLegacyUpdateConnectorResponse(rsp *http.Response) (*LegacyUpdateConnectorResponse, error)

ParseLegacyUpdateConnectorResponse parses an HTTP response from a LegacyUpdateConnectorWithResponse call

func (LegacyUpdateConnectorResponse) Status

Status returns HTTPResponse.Status

func (LegacyUpdateConnectorResponse) StatusCode

func (r LegacyUpdateConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type N200Actions

type N200Actions = ActionResponseProperties

N200Actions The properties vary depending on the action type.

type ObjectNotFoundError

type ObjectNotFoundError struct {
	Error      *ObjectNotFoundErrorError      `json:"error,omitempty"`
	Message    *string                        `json:"message,omitempty"`
	StatusCode *ObjectNotFoundErrorStatusCode `json:"statusCode,omitempty"`
}

ObjectNotFoundError defines model for object_not_found_error.

type ObjectNotFoundErrorError

type ObjectNotFoundErrorError string

ObjectNotFoundErrorError defines model for ObjectNotFoundError.Error.

const (
	NotFound ObjectNotFoundErrorError = "Not Found"
)

Defines values for ObjectNotFoundErrorError.

type ObjectNotFoundErrorStatusCode

type ObjectNotFoundErrorStatusCode int

ObjectNotFoundErrorStatusCode defines model for ObjectNotFoundError.StatusCode.

const (
	N404 ObjectNotFoundErrorStatusCode = 404
)

Defines values for ObjectNotFoundErrorStatusCode.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RunConnectorGeneralResponse

type RunConnectorGeneralResponse struct {
	// ConnectorId The identifier for the connector.
	ConnectorId string                            `json:"connector_id"`
	Data        *RunConnectorGeneralResponse_Data `json:"data,omitempty"`

	// Status The status of the action.
	Status RunConnectorGeneralResponseStatus `json:"status"`
}

RunConnectorGeneralResponse defines model for run_connector_general_response.

type RunConnectorGeneralResponseData0

type RunConnectorGeneralResponseData0 map[string]interface{}

RunConnectorGeneralResponseData0 Information returned from the action.

type RunConnectorGeneralResponseData1

type RunConnectorGeneralResponseData1 = []map[string]interface{}

RunConnectorGeneralResponseData1 An array of information returned from the action.

type RunConnectorGeneralResponseStatus

type RunConnectorGeneralResponseStatus string

RunConnectorGeneralResponseStatus The status of the action.

const (
	RunConnectorGeneralResponseStatusError RunConnectorGeneralResponseStatus = "error"
	RunConnectorGeneralResponseStatusOk    RunConnectorGeneralResponseStatus = "ok"
)

Defines values for RunConnectorGeneralResponseStatus.

type RunConnectorGeneralResponse_Data

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

RunConnectorGeneralResponse_Data defines model for RunConnectorGeneralResponse.Data.

func (RunConnectorGeneralResponse_Data) AsRunConnectorGeneralResponseData0

func (t RunConnectorGeneralResponse_Data) AsRunConnectorGeneralResponseData0() (RunConnectorGeneralResponseData0, error)

AsRunConnectorGeneralResponseData0 returns the union data inside the RunConnectorGeneralResponse_Data as a RunConnectorGeneralResponseData0

func (RunConnectorGeneralResponse_Data) AsRunConnectorGeneralResponseData1

func (t RunConnectorGeneralResponse_Data) AsRunConnectorGeneralResponseData1() (RunConnectorGeneralResponseData1, error)

AsRunConnectorGeneralResponseData1 returns the union data inside the RunConnectorGeneralResponse_Data as a RunConnectorGeneralResponseData1

func (*RunConnectorGeneralResponse_Data) FromRunConnectorGeneralResponseData0

func (t *RunConnectorGeneralResponse_Data) FromRunConnectorGeneralResponseData0(v RunConnectorGeneralResponseData0) error

FromRunConnectorGeneralResponseData0 overwrites any union data inside the RunConnectorGeneralResponse_Data as the provided RunConnectorGeneralResponseData0

func (*RunConnectorGeneralResponse_Data) FromRunConnectorGeneralResponseData1

func (t *RunConnectorGeneralResponse_Data) FromRunConnectorGeneralResponseData1(v RunConnectorGeneralResponseData1) error

FromRunConnectorGeneralResponseData1 overwrites any union data inside the RunConnectorGeneralResponse_Data as the provided RunConnectorGeneralResponseData1

func (RunConnectorGeneralResponse_Data) MarshalJSON

func (t RunConnectorGeneralResponse_Data) MarshalJSON() ([]byte, error)

func (*RunConnectorGeneralResponse_Data) MergeRunConnectorGeneralResponseData0

func (t *RunConnectorGeneralResponse_Data) MergeRunConnectorGeneralResponseData0(v RunConnectorGeneralResponseData0) error

MergeRunConnectorGeneralResponseData0 performs a merge with any union data inside the RunConnectorGeneralResponse_Data, using the provided RunConnectorGeneralResponseData0

func (*RunConnectorGeneralResponse_Data) MergeRunConnectorGeneralResponseData1

func (t *RunConnectorGeneralResponse_Data) MergeRunConnectorGeneralResponseData1(v RunConnectorGeneralResponseData1) error

MergeRunConnectorGeneralResponseData1 performs a merge with any union data inside the RunConnectorGeneralResponse_Data, using the provided RunConnectorGeneralResponseData1

func (*RunConnectorGeneralResponse_Data) UnmarshalJSON

func (t *RunConnectorGeneralResponse_Data) UnmarshalJSON(b []byte) error

type RunConnectorJSONBody

type RunConnectorJSONBody struct {
	Params RunConnectorJSONBody_Params `json:"params"`
}

RunConnectorJSONBody defines parameters for RunConnector.

type RunConnectorJSONBodyParams2

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

RunConnectorJSONBodyParams2 defines parameters for RunConnector.

type RunConnectorJSONBody_Params

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

RunConnectorJSONBody_Params defines parameters for RunConnector.

type RunConnectorJSONRequestBody

type RunConnectorJSONRequestBody RunConnectorJSONBody

RunConnectorJSONRequestBody defines body for RunConnector for application/json ContentType.

type RunConnectorParams

type RunConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

RunConnectorParams defines parameters for RunConnector.

type RunConnectorParamsDocuments

type RunConnectorParamsDocuments struct {
	// Documents The documents in JSON format for index connectors.
	Documents []map[string]interface{} `json:"documents"`
}

RunConnectorParamsDocuments Test an action that indexes a document into Elasticsearch.

type RunConnectorParamsLevelMessage

type RunConnectorParamsLevelMessage struct {
	// Level The log level of the message for server log connectors.
	Level *RunConnectorParamsLevelMessageLevel `json:"level,omitempty"`

	// Message The message for server log connectors.
	Message string `json:"message"`
}

RunConnectorParamsLevelMessage Test an action that writes an entry to the Kibana server log.

type RunConnectorParamsLevelMessageLevel

type RunConnectorParamsLevelMessageLevel string

RunConnectorParamsLevelMessageLevel The log level of the message for server log connectors.

const (
	RunConnectorParamsLevelMessageLevelDebug RunConnectorParamsLevelMessageLevel = "debug"
	RunConnectorParamsLevelMessageLevelError RunConnectorParamsLevelMessageLevel = "error"
	RunConnectorParamsLevelMessageLevelFatal RunConnectorParamsLevelMessageLevel = "fatal"
	RunConnectorParamsLevelMessageLevelInfo  RunConnectorParamsLevelMessageLevel = "info"
	RunConnectorParamsLevelMessageLevelTrace RunConnectorParamsLevelMessageLevel = "trace"
	RunConnectorParamsLevelMessageLevelWarn  RunConnectorParamsLevelMessageLevel = "warn"
)

Defines values for RunConnectorParamsLevelMessageLevel.

type RunConnectorResponse

type RunConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RunConnectorGeneralResponse
	JSON401      *AuthorizationError
}

func ParseRunConnectorResponse

func ParseRunConnectorResponse(rsp *http.Response) (*RunConnectorResponse, error)

ParseRunConnectorResponse parses an HTTP response from a RunConnectorWithResponse call

func (RunConnectorResponse) Status

func (r RunConnectorResponse) Status() string

Status returns HTTPResponse.Status

func (RunConnectorResponse) StatusCode

func (r RunConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RunConnectorSubactionAddevent

type RunConnectorSubactionAddevent struct {
	// SubAction The action to test.
	SubAction RunConnectorSubactionAddeventSubAction `json:"subAction"`

	// SubActionParams The set of configuration properties for the action.
	SubActionParams *struct {
		// AdditionalInfo Additional information about the event.
		AdditionalInfo *string `json:"additional_info,omitempty"`

		// Description The details about the event.
		Description *string `json:"description,omitempty"`

		// EventClass A specific instance of the source.
		EventClass *string `json:"event_class,omitempty"`

		// MessageKey All actions sharing this key are associated with the same ServiceNow alert. The default value is `<rule ID>:<alert instance ID>`.
		MessageKey *string `json:"message_key,omitempty"`

		// MetricName The name of the metric.
		MetricName *string `json:"metric_name,omitempty"`

		// Node The host that the event was triggered for.
		Node *string `json:"node,omitempty"`

		// Resource The name of the resource.
		Resource *string `json:"resource,omitempty"`

		// Severity The severity of the event.
		Severity *string `json:"severity,omitempty"`

		// Source The name of the event source type.
		Source *string `json:"source,omitempty"`

		// TimeOfEvent The time of the event.
		TimeOfEvent *string `json:"time_of_event,omitempty"`

		// Type The type of event.
		Type *string `json:"type,omitempty"`
	} `json:"subActionParams,omitempty"`
}

RunConnectorSubactionAddevent The `addEvent` subaction for ServiceNow ITOM connectors.

type RunConnectorSubactionAddeventSubAction

type RunConnectorSubactionAddeventSubAction string

RunConnectorSubactionAddeventSubAction The action to test.

const (
	AddEvent RunConnectorSubactionAddeventSubAction = "addEvent"
)

Defines values for RunConnectorSubactionAddeventSubAction.

type RunConnectorSubactionClosealert

type RunConnectorSubactionClosealert struct {
	// SubAction The action to test.
	SubAction       RunConnectorSubactionClosealertSubAction `json:"subAction"`
	SubActionParams struct {
		// Alias The unique identifier used for alert deduplication in Opsgenie. The alias must match the value used when creating the alert.
		Alias string `json:"alias"`

		// Note Additional information for the alert.
		Note *string `json:"note,omitempty"`

		// Source The display name for the source of the alert.
		Source *string `json:"source,omitempty"`

		// User The display name for the owner.
		User *string `json:"user,omitempty"`
	} `json:"subActionParams"`
}

RunConnectorSubactionClosealert The `closeAlert` subaction for Opsgenie connectors.

type RunConnectorSubactionClosealertSubAction

type RunConnectorSubactionClosealertSubAction string

RunConnectorSubactionClosealertSubAction The action to test.

const (
	CloseAlert RunConnectorSubactionClosealertSubAction = "closeAlert"
)

Defines values for RunConnectorSubactionClosealertSubAction.

type RunConnectorSubactionCreatealert

type RunConnectorSubactionCreatealert struct {
	// SubAction The action to test.
	SubAction       RunConnectorSubactionCreatealertSubAction `json:"subAction"`
	SubActionParams struct {
		// Actions The custom actions available to the alert.
		Actions *[]string `json:"actions,omitempty"`

		// Alias The unique identifier used for alert deduplication in Opsgenie.
		Alias *string `json:"alias,omitempty"`

		// Description A description that provides detailed information about the alert.
		Description *string `json:"description,omitempty"`

		// Details The custom properties of the alert.
		Details *map[string]interface{} `json:"details,omitempty"`

		// Entity The domain of the alert. For example, the application or server name.
		Entity *string `json:"entity,omitempty"`

		// Message The alert message.
		Message string `json:"message"`

		// Note Additional information for the alert.
		Note *string `json:"note,omitempty"`

		// Priority The priority level for the alert.
		Priority *RunConnectorSubactionCreatealertSubActionParamsPriority `json:"priority,omitempty"`

		// Responders The entities to receive notifications about the alert. If `type` is `user`, either `id` or `username` is required. If `type` is `team`, either `id` or `name` is required.
		Responders *[]struct {
			// Id The identifier for the entity.
			Id *string `json:"id,omitempty"`

			// Name The name of the entity.
			Name *string `json:"name,omitempty"`

			// Type The type of responders, in this case `escalation`.
			Type *RunConnectorSubactionCreatealertSubActionParamsRespondersType `json:"type,omitempty"`

			// Username A valid email address for the user.
			Username *string `json:"username,omitempty"`
		} `json:"responders,omitempty"`

		// Source The display name for the source of the alert.
		Source *string `json:"source,omitempty"`

		// Tags The tags for the alert.
		Tags *[]string `json:"tags,omitempty"`

		// User The display name for the owner.
		User *string `json:"user,omitempty"`

		// VisibleTo The teams and users that the alert will be visible to without sending a notification. Only one of `id`, `name`, or `username` is required.
		VisibleTo *[]struct {
			// Id The identifier for the entity.
			Id *string `json:"id,omitempty"`

			// Name The name of the entity.
			Name *string `json:"name,omitempty"`

			// Type Valid values are `team` and `user`.
			Type RunConnectorSubactionCreatealertSubActionParamsVisibleToType `json:"type"`

			// Username The user name. This property is required only when the `type` is `user`.
			Username *string `json:"username,omitempty"`
		} `json:"visibleTo,omitempty"`
	} `json:"subActionParams"`
}

RunConnectorSubactionCreatealert The `createAlert` subaction for Opsgenie connectors.

type RunConnectorSubactionCreatealertSubAction

type RunConnectorSubactionCreatealertSubAction string

RunConnectorSubactionCreatealertSubAction The action to test.

const (
	CreateAlert RunConnectorSubactionCreatealertSubAction = "createAlert"
)

Defines values for RunConnectorSubactionCreatealertSubAction.

type RunConnectorSubactionCreatealertSubActionParamsPriority

type RunConnectorSubactionCreatealertSubActionParamsPriority string

RunConnectorSubactionCreatealertSubActionParamsPriority The priority level for the alert.

type RunConnectorSubactionCreatealertSubActionParamsRespondersType

type RunConnectorSubactionCreatealertSubActionParamsRespondersType string

RunConnectorSubactionCreatealertSubActionParamsRespondersType The type of responders, in this case `escalation`.

const (
	RunConnectorSubactionCreatealertSubActionParamsRespondersTypeEscalation RunConnectorSubactionCreatealertSubActionParamsRespondersType = "escalation"
	RunConnectorSubactionCreatealertSubActionParamsRespondersTypeSchedule   RunConnectorSubactionCreatealertSubActionParamsRespondersType = "schedule"
	RunConnectorSubactionCreatealertSubActionParamsRespondersTypeTeam       RunConnectorSubactionCreatealertSubActionParamsRespondersType = "team"
	RunConnectorSubactionCreatealertSubActionParamsRespondersTypeUser       RunConnectorSubactionCreatealertSubActionParamsRespondersType = "user"
)

Defines values for RunConnectorSubactionCreatealertSubActionParamsRespondersType.

type RunConnectorSubactionCreatealertSubActionParamsVisibleToType

type RunConnectorSubactionCreatealertSubActionParamsVisibleToType string

RunConnectorSubactionCreatealertSubActionParamsVisibleToType Valid values are `team` and `user`.

const (
	RunConnectorSubactionCreatealertSubActionParamsVisibleToTypeTeam RunConnectorSubactionCreatealertSubActionParamsVisibleToType = "team"
	RunConnectorSubactionCreatealertSubActionParamsVisibleToTypeUser RunConnectorSubactionCreatealertSubActionParamsVisibleToType = "user"
)

Defines values for RunConnectorSubactionCreatealertSubActionParamsVisibleToType.

type RunConnectorSubactionFieldsbyissuetype

type RunConnectorSubactionFieldsbyissuetype struct {
	// SubAction The action to test.
	SubAction       RunConnectorSubactionFieldsbyissuetypeSubAction `json:"subAction"`
	SubActionParams struct {
		// Id The Jira issue type identifier.
		Id string `json:"id"`
	} `json:"subActionParams"`
}

RunConnectorSubactionFieldsbyissuetype The `fieldsByIssueType` subaction for Jira connectors.

type RunConnectorSubactionFieldsbyissuetypeSubAction

type RunConnectorSubactionFieldsbyissuetypeSubAction string

RunConnectorSubactionFieldsbyissuetypeSubAction The action to test.

const (
	FieldsByIssueType RunConnectorSubactionFieldsbyissuetypeSubAction = "fieldsByIssueType"
)

Defines values for RunConnectorSubactionFieldsbyissuetypeSubAction.

type RunConnectorSubactionGetchoices

type RunConnectorSubactionGetchoices struct {
	// SubAction The action to test.
	SubAction RunConnectorSubactionGetchoicesSubAction `json:"subAction"`

	// SubActionParams The set of configuration properties for the action.
	SubActionParams struct {
		// Fields An array of fields.
		Fields []string `json:"fields"`
	} `json:"subActionParams"`
}

RunConnectorSubactionGetchoices The `getChoices` subaction for ServiceNow ITOM, ServiceNow ITSM, and ServiceNow SecOps connectors.

type RunConnectorSubactionGetchoicesSubAction

type RunConnectorSubactionGetchoicesSubAction string

RunConnectorSubactionGetchoicesSubAction The action to test.

const (
	GetChoices RunConnectorSubactionGetchoicesSubAction = "getChoices"
)

Defines values for RunConnectorSubactionGetchoicesSubAction.

type RunConnectorSubactionGetfields

type RunConnectorSubactionGetfields struct {
	// SubAction The action to test.
	SubAction RunConnectorSubactionGetfieldsSubAction `json:"subAction"`
}

RunConnectorSubactionGetfields The `getFields` subaction for Jira, ServiceNow ITSM, and ServiceNow SecOps connectors.

type RunConnectorSubactionGetfieldsSubAction

type RunConnectorSubactionGetfieldsSubAction string

RunConnectorSubactionGetfieldsSubAction The action to test.

const (
	GetFields RunConnectorSubactionGetfieldsSubAction = "getFields"
)

Defines values for RunConnectorSubactionGetfieldsSubAction.

type RunConnectorSubactionGetincident

type RunConnectorSubactionGetincident struct {
	// SubAction The action to test.
	SubAction       RunConnectorSubactionGetincidentSubAction `json:"subAction"`
	SubActionParams struct {
		// ExternalId The Jira, ServiceNow ITSM, or ServiceNow SecOps issue identifier.
		ExternalId string `json:"externalId"`
	} `json:"subActionParams"`
}

RunConnectorSubactionGetincident The `getIncident` subaction for Jira, ServiceNow ITSM, and ServiceNow SecOps connectors.

type RunConnectorSubactionGetincidentSubAction

type RunConnectorSubactionGetincidentSubAction string

RunConnectorSubactionGetincidentSubAction The action to test.

const (
	GetIncident RunConnectorSubactionGetincidentSubAction = "getIncident"
)

Defines values for RunConnectorSubactionGetincidentSubAction.

type RunConnectorSubactionIssue

type RunConnectorSubactionIssue struct {
	// SubAction The action to test.
	SubAction       RunConnectorSubactionIssueSubAction `json:"subAction"`
	SubActionParams *struct {
		// Id The Jira issue identifier.
		Id string `json:"id"`
	} `json:"subActionParams,omitempty"`
}

RunConnectorSubactionIssue The `issue` subaction for Jira connectors.

type RunConnectorSubactionIssueSubAction

type RunConnectorSubactionIssueSubAction string

RunConnectorSubactionIssueSubAction The action to test.

const (
	Issue RunConnectorSubactionIssueSubAction = "issue"
)

Defines values for RunConnectorSubactionIssueSubAction.

type RunConnectorSubactionIssues

type RunConnectorSubactionIssues struct {
	// SubAction The action to test.
	SubAction       RunConnectorSubactionIssuesSubAction `json:"subAction"`
	SubActionParams struct {
		// Title The title of the Jira issue.
		Title string `json:"title"`
	} `json:"subActionParams"`
}

RunConnectorSubactionIssues The `issues` subaction for Jira connectors.

type RunConnectorSubactionIssuesSubAction

type RunConnectorSubactionIssuesSubAction string

RunConnectorSubactionIssuesSubAction The action to test.

const (
	Issues RunConnectorSubactionIssuesSubAction = "issues"
)

Defines values for RunConnectorSubactionIssuesSubAction.

type RunConnectorSubactionIssuetypes

type RunConnectorSubactionIssuetypes struct {
	// SubAction The action to test.
	SubAction RunConnectorSubactionIssuetypesSubAction `json:"subAction"`
}

RunConnectorSubactionIssuetypes The `issueTypes` subaction for Jira connectors.

type RunConnectorSubactionIssuetypesSubAction

type RunConnectorSubactionIssuetypesSubAction string

RunConnectorSubactionIssuetypesSubAction The action to test.

const (
	IssueTypes RunConnectorSubactionIssuetypesSubAction = "issueTypes"
)

Defines values for RunConnectorSubactionIssuetypesSubAction.

type RunConnectorSubactionPushtoservice

type RunConnectorSubactionPushtoservice struct {
	// SubAction The action to test.
	SubAction RunConnectorSubactionPushtoserviceSubAction `json:"subAction"`

	// SubActionParams The set of configuration properties for the action.
	SubActionParams struct {
		// Comments Additional information that is sent to Jira, ServiceNow ITSM, ServiceNow SecOps, or Swimlane.
		Comments *[]struct {
			// Comment A comment related to the incident. For example, describe how to troubleshoot the issue.
			Comment *string `json:"comment,omitempty"`

			// CommentId A unique identifier for the comment.
			CommentId *int `json:"commentId,omitempty"`
		} `json:"comments,omitempty"`

		// Incident Information necessary to create or update a Jira, ServiceNow ITSM, ServiveNow SecOps, or Swimlane incident.
		Incident *struct {
			// AlertId The alert identifier for Swimlane connectors.
			AlertId *string `json:"alertId,omitempty"`

			// CaseId The case identifier for the incident for Swimlane connectors.
			CaseId *string `json:"caseId,omitempty"`

			// CaseName The case name for the incident for Swimlane connectors.
			CaseName *string `json:"caseName,omitempty"`

			// Category The category of the incident for ServiceNow ITSM and ServiceNow SecOps connectors.
			Category *string `json:"category,omitempty"`

			// CorrelationDisplay A descriptive label of the alert for correlation purposes for ServiceNow ITSM and ServiceNow SecOps connectors.
			CorrelationDisplay *string `json:"correlation_display,omitempty"`

			// CorrelationId The correlation identifier for the security incident for ServiceNow ITSM and ServiveNow SecOps connectors. Connectors using the same correlation ID are associated with the same ServiceNow incident. This value determines whether a new ServiceNow incident is created or an existing one is updated. Modifying this value is optional; if not modified, the rule ID and alert ID are combined as `{{ruleID}}:{{alert ID}}` to form the correlation ID value in ServiceNow. The maximum character length for this value is 100 characters. NOTE: Using the default configuration of `{{ruleID}}:{{alert ID}}` ensures that ServiceNow creates a separate incident record for every generated alert that uses a unique alert ID. If the rule generates multiple alerts that use the same alert IDs, ServiceNow creates and continually updates a single incident record for the alert.
			CorrelationId *string `json:"correlation_id,omitempty"`

			// Description The description of the incident for Jira, ServiceNow ITSM, ServiceNow SecOps, and Swimlane connectors.
			Description *string `json:"description,omitempty"`

			// DestIp A list of destination IP addresses related to the security incident for ServiceNow SecOps connectors. The IPs are added as observables to the security incident.
			DestIp *RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp `json:"dest_ip,omitempty"`

			// ExternalId The Jira, ServiceNow ITSM, or ServiceNow SecOps issue identifier. If present, the incident is updated. Otherwise, a new incident is created.
			ExternalId *string `json:"externalId,omitempty"`

			// Impact The impact of the incident for ServiceNow ITSM connectors.
			Impact *string `json:"impact,omitempty"`

			// IssueType The type of incident for Jira connectors. For example, 10006. To obtain the list of valid values, set `subAction` to `issueTypes`.
			IssueType *int `json:"issueType,omitempty"`

			// Labels The labels for the incident for Jira connectors. NOTE: Labels cannot contain spaces.
			Labels *[]string `json:"labels,omitempty"`

			// MalwareHash A list of malware hashes related to the security incident for ServiceNow SecOps connectors. The hashes are added as observables to the security incident.
			MalwareHash *RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash `json:"malware_hash,omitempty"`

			// MalwareUrl A list of malware URLs related to the security incident for ServiceNow SecOps connectors. The URLs are added as observables to the security incident.
			MalwareUrl *string `json:"malware_url,omitempty"`

			// Parent The ID or key of the parent issue for Jira connectors. Applies only to `Sub-task` types of issues.
			Parent *string `json:"parent,omitempty"`

			// Priority The priority of the incident in Jira and ServiceNow SecOps connectors.
			Priority *string `json:"priority,omitempty"`

			// RuleName The rule name for Swimlane connectors.
			RuleName *string `json:"ruleName,omitempty"`

			// Severity The severity of the incident for ServiceNow ITSM and Swimlane connectors.
			Severity *string `json:"severity,omitempty"`

			// ShortDescription A short description of the incident for ServiceNow ITSM and ServiceNow SecOps connectors. It is used for searching the contents of the knowledge base.
			ShortDescription *string `json:"short_description,omitempty"`

			// SourceIp A list of source IP addresses related to the security incident for ServiceNow SecOps connectors. The IPs are added as observables to the security incident.
			SourceIp *RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp `json:"source_ip,omitempty"`

			// Subcategory The subcategory of the incident for ServiceNow ITSM and ServiceNow SecOps connectors.
			Subcategory *string `json:"subcategory,omitempty"`

			// Summary A summary of the incident for Jira connectors.
			Summary *string `json:"summary,omitempty"`

			// Title A title for the incident for Jira connectors. It is used for searching the contents of the knowledge base.
			Title *string `json:"title,omitempty"`

			// Urgency The urgency of the incident for ServiceNow ITSM connectors.
			Urgency *string `json:"urgency,omitempty"`
		} `json:"incident,omitempty"`
	} `json:"subActionParams"`
}

RunConnectorSubactionPushtoservice The `pushToService` subaction for Jira, ServiceNow ITSM, ServiceNow SecOps, and Swimlane connectors.

type RunConnectorSubactionPushtoserviceSubAction

type RunConnectorSubactionPushtoserviceSubAction string

RunConnectorSubactionPushtoserviceSubAction The action to test.

const (
	PushToService RunConnectorSubactionPushtoserviceSubAction = "pushToService"
)

Defines values for RunConnectorSubactionPushtoserviceSubAction.

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0 = string

RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0 defines model for .

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1 = []string

RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1 defines model for .

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0 = string

RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0 defines model for .

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1 = []string

RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1 defines model for .

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0 = string

RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0 defines model for .

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1

type RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1 = []string

RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1 defines model for .

type RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp

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

RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp A list of destination IP addresses related to the security incident for ServiceNow SecOps connectors. The IPs are added as observables to the security incident.

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0

AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0 returns the union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp as a RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1

AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1 returns the union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp as a RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0

FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0 overwrites any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp as the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1

FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1 overwrites any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp as the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) MarshalJSON

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0

MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0 performs a merge with any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp, using the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp0

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1

MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1 performs a merge with any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp, using the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentDestIp1

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_DestIp) UnmarshalJSON

type RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash

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

RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash A list of malware hashes related to the security incident for ServiceNow SecOps connectors. The hashes are added as observables to the security incident.

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0

AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0 returns the union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash as a RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1

AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1 returns the union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash as a RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0

FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0 overwrites any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash as the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1

FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1 overwrites any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash as the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) MarshalJSON

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0

MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0 performs a merge with any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash, using the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash0

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1

MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1 performs a merge with any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash, using the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentMalwareHash1

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_MalwareHash) UnmarshalJSON

type RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp

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

RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp A list of source IP addresses related to the security incident for ServiceNow SecOps connectors. The IPs are added as observables to the security incident.

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0

AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0 returns the union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp as a RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1

AsRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1 returns the union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp as a RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0

FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0 overwrites any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp as the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1

FromRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1 overwrites any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp as the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1

func (RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) MarshalJSON

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0

MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0 performs a merge with any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp, using the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp0

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1

MergeRunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1 performs a merge with any union data inside the RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp, using the provided RunConnectorSubactionPushtoserviceSubActionParamsIncidentSourceIp1

func (*RunConnectorSubactionPushtoservice_SubActionParams_Incident_SourceIp) UnmarshalJSON

type SecretsPropertiesCasesWebhook

type SecretsPropertiesCasesWebhook struct {
	// Password The password for HTTP basic authentication. If `hasAuth` is set to `true`, this property is required.
	Password *string `json:"password,omitempty"`

	// User The username for HTTP basic authentication. If `hasAuth` is set to `true`, this property is required.
	User *string `json:"user,omitempty"`
}

SecretsPropertiesCasesWebhook defines model for secrets_properties_cases_webhook.

type SecretsPropertiesEmail

type SecretsPropertiesEmail map[string]interface{}

SecretsPropertiesEmail Defines secrets for connectors when type is `.email`.

type SecretsPropertiesJira

type SecretsPropertiesJira struct {
	// ApiToken The Jira API authentication token for HTTP basic authentication.
	ApiToken string `json:"apiToken"`

	// Email The account email for HTTP Basic authentication.
	Email string `json:"email"`
}

SecretsPropertiesJira Defines secrets for connectors when type is `.jira`.

type SecretsPropertiesOpsgenie

type SecretsPropertiesOpsgenie struct {
	// ApiKey The Opsgenie API authentication key for HTTP Basic authentication.
	ApiKey string `json:"apiKey"`
}

SecretsPropertiesOpsgenie Defines secrets for connectors when type is `.opsgenie`.

type SecretsPropertiesPagerduty

type SecretsPropertiesPagerduty map[string]interface{}

SecretsPropertiesPagerduty Defines secrets for connectors when type is `.pagerduty`.

type SecretsPropertiesResilient

type SecretsPropertiesResilient struct {
	// ApiKeyId The authentication key ID for HTTP Basic authentication.
	ApiKeyId string `json:"apiKeyId"`

	// ApiKeySecret The authentication key secret for HTTP Basic authentication.
	ApiKeySecret string `json:"apiKeySecret"`
}

SecretsPropertiesResilient Defines secrets for connectors when type is `.resilient`.

type SecretsPropertiesServicenow

type SecretsPropertiesServicenow struct {
	// ClientSecret The client secret assigned to your OAuth application. This property is required when `isOAuth` is `true`.
	ClientSecret *string `json:"clientSecret,omitempty"`

	// Password The password for HTTP basic authentication. This property is required when `isOAuth` is `false`.
	Password *string `json:"password,omitempty"`

	// PrivateKey The RSA private key that you created for use in ServiceNow. This property is required when `isOAuth` is `true`.
	PrivateKey *string `json:"privateKey,omitempty"`

	// PrivateKeyPassword The password for the RSA private key. This property is required when `isOAuth` is `true` and you set a password on your private key.
	PrivateKeyPassword *string `json:"privateKeyPassword,omitempty"`

	// Username The username for HTTP basic authentication. This property is required when `isOAuth` is `false`.
	Username *string `json:"username,omitempty"`
}

SecretsPropertiesServicenow Defines secrets for connectors when type is `.servicenow`, `.servicenow-sir`, or `.servicenow-itom`.

type SecretsPropertiesSlack

type SecretsPropertiesSlack map[string]interface{}

SecretsPropertiesSlack Defines secrets for connectors when type is `.slack`.

type SecretsPropertiesSlackApi added in v0.8.0

type SecretsPropertiesSlackApi struct {
	// Token Slack bot user OAuth token.
	Token string `json:"token"`
}

SecretsPropertiesSlackApi Defines secrets for connectors when type is `.slack`.

type SecretsPropertiesSwimlane

type SecretsPropertiesSwimlane struct {
	// ApiToken Swimlane API authentication token.
	ApiToken *string `json:"apiToken,omitempty"`
}

SecretsPropertiesSwimlane Defines secrets for connectors when type is `.swimlane`.

type SecretsPropertiesTeams

type SecretsPropertiesTeams map[string]interface{}

SecretsPropertiesTeams Defines secrets for connectors when type is `.teams`.

type SecretsPropertiesTines

type SecretsPropertiesTines map[string]interface{}

SecretsPropertiesTines Defines secrets for connectors when type is `.tines`.

type SecretsPropertiesWebhook

type SecretsPropertiesWebhook map[string]interface{}

SecretsPropertiesWebhook Defines secrets for connectors when type is `.webhook`.

type SecretsPropertiesXmatters

type SecretsPropertiesXmatters map[string]interface{}

SecretsPropertiesXmatters Defines secrets for connectors when type is `.xmatters`.

type SpaceId

type SpaceId = string

SpaceId defines model for space_id.

type UpdateConnectorJSONBody

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

UpdateConnectorJSONBody defines parameters for UpdateConnector.

type UpdateConnectorJSONRequestBody

type UpdateConnectorJSONRequestBody UpdateConnectorJSONBody

UpdateConnectorJSONRequestBody defines body for UpdateConnector for application/json ContentType.

type UpdateConnectorParams

type UpdateConnectorParams struct {
	// KbnXsrf Cross-site request forgery protection
	KbnXsrf KbnXsrf `json:"kbn-xsrf"`
}

UpdateConnectorParams defines parameters for UpdateConnector.

type UpdateConnectorRequestCasesWebhook

type UpdateConnectorRequestCasesWebhook struct {
	// Config Defines properties for connectors when type is `.cases-webhook`.
	Config ConfigPropertiesCasesWebhook `json:"config"`

	// Name The display name for the connector.
	Name    string                         `json:"name"`
	Secrets *SecretsPropertiesCasesWebhook `json:"secrets,omitempty"`
}

UpdateConnectorRequestCasesWebhook defines model for update_connector_request_cases_webhook.

type UpdateConnectorRequestEmail

type UpdateConnectorRequestEmail struct {
	// Config Defines properties for connectors when type is `.email`.
	Config ConfigPropertiesEmail `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.email`.
	Secrets SecretsPropertiesEmail `json:"secrets"`
}

UpdateConnectorRequestEmail defines model for update_connector_request_email.

type UpdateConnectorRequestIndex

type UpdateConnectorRequestIndex struct {
	// Config Defines properties for connectors when type is `.index`.
	Config ConfigPropertiesIndex `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`
}

UpdateConnectorRequestIndex defines model for update_connector_request_index.

type UpdateConnectorRequestJira

type UpdateConnectorRequestJira struct {
	// Config Defines properties for connectors when type is `.jira`.
	Config ConfigPropertiesJira `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.jira`.
	Secrets SecretsPropertiesJira `json:"secrets"`
}

UpdateConnectorRequestJira defines model for update_connector_request_jira.

type UpdateConnectorRequestOpsgenie

type UpdateConnectorRequestOpsgenie struct {
	// Config Defines properties for connectors when type is `.opsgenie`.
	Config ConfigPropertiesOpsgenie `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.opsgenie`.
	Secrets SecretsPropertiesOpsgenie `json:"secrets"`
}

UpdateConnectorRequestOpsgenie defines model for update_connector_request_opsgenie.

type UpdateConnectorRequestPagerduty

type UpdateConnectorRequestPagerduty struct {
	// Config Defines properties for connectors when type is `.pagerduty`.
	Config ConfigPropertiesPagerduty `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.pagerduty`.
	Secrets SecretsPropertiesPagerduty `json:"secrets"`
}

UpdateConnectorRequestPagerduty The PagerDuty connector uses the v2 Events API to trigger, acknowledge, and resolve PagerDuty alerts.

type UpdateConnectorRequestResilient

type UpdateConnectorRequestResilient struct {
	// Config Defines properties for connectors when type is `.resilient`.
	Config ConfigPropertiesResilient `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.resilient`.
	Secrets SecretsPropertiesResilient `json:"secrets"`
}

UpdateConnectorRequestResilient defines model for update_connector_request_resilient.

type UpdateConnectorRequestServerlog

type UpdateConnectorRequestServerlog struct {
	// Name The display name for the connector.
	Name string `json:"name"`
}

UpdateConnectorRequestServerlog defines model for update_connector_request_serverlog.

type UpdateConnectorRequestServicenow

type UpdateConnectorRequestServicenow struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenow `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.servicenow`, `.servicenow-sir`, or `.servicenow-itom`.
	Secrets SecretsPropertiesServicenow `json:"secrets"`
}

UpdateConnectorRequestServicenow defines model for update_connector_request_servicenow.

type UpdateConnectorRequestServicenowItom

type UpdateConnectorRequestServicenowItom struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenowItom `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.servicenow`, `.servicenow-sir`, or `.servicenow-itom`.
	Secrets SecretsPropertiesServicenow `json:"secrets"`
}

UpdateConnectorRequestServicenowItom defines model for update_connector_request_servicenow_itom.

type UpdateConnectorRequestServicenowSir

type UpdateConnectorRequestServicenowSir struct {
	// Config Defines properties for connectors when type is `.servicenow`.
	Config ConfigPropertiesServicenow `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.servicenow`, `.servicenow-sir`, or `.servicenow-itom`.
	Secrets SecretsPropertiesServicenow `json:"secrets"`
}

UpdateConnectorRequestServicenowSir The ServiceNow SecOps connector uses the import set API to create ServiceNow security incidents. You can use the connector for rule actions and cases.

type UpdateConnectorRequestSlack

type UpdateConnectorRequestSlack struct {
	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.slack`.
	Secrets SecretsPropertiesSlack `json:"secrets"`
}

UpdateConnectorRequestSlack The Slack connector uses Slack Incoming Webhooks.

type UpdateConnectorRequestSlackApi added in v0.8.0

type UpdateConnectorRequestSlackApi struct {
	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.slack`.
	Secrets SecretsPropertiesSlackApi `json:"secrets"`
}

UpdateConnectorRequestSlackApi defines model for update_connector_request_slack_api.

type UpdateConnectorRequestSwimlane

type UpdateConnectorRequestSwimlane struct {
	// Config Defines properties for connectors when type is `.swimlane`.
	Config ConfigPropertiesSwimlane `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.swimlane`.
	Secrets SecretsPropertiesSwimlane `json:"secrets"`
}

UpdateConnectorRequestSwimlane defines model for update_connector_request_swimlane.

type UpdateConnectorRequestTeams

type UpdateConnectorRequestTeams struct {
	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.teams`.
	Secrets SecretsPropertiesTeams `json:"secrets"`
}

UpdateConnectorRequestTeams The Microsoft Teams connector uses Incoming Webhooks.

type UpdateConnectorRequestTines

type UpdateConnectorRequestTines struct {
	// Config Defines properties for connectors when type is `.tines`.
	Config ConfigPropertiesTines `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.tines`.
	Secrets SecretsPropertiesTines `json:"secrets"`
}

UpdateConnectorRequestTines The Tines connector uses Tines Webhook actions to send events via POST request.

type UpdateConnectorRequestWebhook

type UpdateConnectorRequestWebhook struct {
	// Config Defines properties for connectors when type is `.webhook`.
	Config ConfigPropertiesWebhook `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.webhook`.
	Secrets SecretsPropertiesWebhook `json:"secrets"`
}

UpdateConnectorRequestWebhook The Webhook connector uses axios to send a POST or PUT request to a web service.

type UpdateConnectorRequestXmatters

type UpdateConnectorRequestXmatters struct {
	// Config Defines properties for connectors when type is `.xmatters`.
	Config ConfigPropertiesXmatters `json:"config"`

	// Name The display name for the connector.
	Name string `json:"name"`

	// Secrets Defines secrets for connectors when type is `.xmatters`.
	Secrets SecretsPropertiesXmatters `json:"secrets"`
}

UpdateConnectorRequestXmatters The xMatters connector uses the xMatters Workflow for Elastic to send actionable alerts to on-call xMatters resources.

type UpdateConnectorResponse

type UpdateConnectorResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ConnectorResponseProperties
	JSON400      *BadRequestError
	JSON401      *AuthorizationError
	JSON404      *ObjectNotFoundError
}

func ParseUpdateConnectorResponse

func ParseUpdateConnectorResponse(rsp *http.Response) (*UpdateConnectorResponse, error)

ParseUpdateConnectorResponse parses an HTTP response from a UpdateConnectorWithResponse call

func (UpdateConnectorResponse) Status

func (r UpdateConnectorResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateConnectorResponse) StatusCode

func (r UpdateConnectorResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

Jump to

Keyboard shortcuts

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