integration

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0, GPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package integration provides requests and response structures to achieve Integration API actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DisableIntegrationRequest

type DisableIntegrationRequest struct {
	APIKey string `json:"apiKey,omitempty"`
	ID     string `json:"id,omitempty"`
	Name   string `json:"name,omitempty"`
}

DisableIntegrationRequest provides necessary parameter structure to Disable an integration at OpsGenie.

type DisableIntegrationResponse

type DisableIntegrationResponse struct {
	Status string `json:"status"`
	Code   int    `json:"code"`
}

DisableIntegrationResponse holds the result data of the DisableIntegrationRequest.

type EnableIntegrationRequest

type EnableIntegrationRequest struct {
	APIKey string `json:"apiKey,omitempty"`
	ID     string `json:"id,omitempty"`
	Name   string `json:"name,omitempty"`
}

EnableIntegrationRequest provides necessary parameter structure to Enable an integration at OpsGenie.

type EnableIntegrationResponse

type EnableIntegrationResponse struct {
	Status string `json:"status"`
	Code   int    `json:"code"`
}

EnableIntegrationResponse holds the result data of the EnableIntegrationRequest.

Jump to

Keyboard shortcuts

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