logicmonitor

package module
v0.0.0-...-2a625d0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

README

lm-sdk-go

GoDoc

Getting Started

package main

import lmv1 "github.com/logicmonitor/lm-sdk-go"

func NewLMClient(id, key, company string) *lmv1.DefaultApi {
	config := lmv1.NewConfiguration()
	config.APIKey = map[string]map[string]string{
		"Authorization": map[string]string{
			"AccessID":  id,
			"AccessKey": key,
		},
	}
	config.BasePath = "https://" + company + ".logicmonitor.com/santaba/rest"

	api := lmv1.NewDefaultApi()
	api.Configuration = config

	return api
}

func main() {
  client := NewLMClient("foo", "bar", "baz")
}
License

license

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

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

func (*APIClient) CallAPI

func (c *APIClient) CallAPI(path string, method string,
	postBody interface{},
	headerParams map[string]string,
	queryParams url.Values,
	formParams map[string]string,
	fileName string,
	fileBytes []byte) (*resty.Response, error)

func (*APIClient) ParameterToString

func (c *APIClient) ParameterToString(obj interface{}, collectionFormat string) string

func (*APIClient) SelectHeaderAccept

func (c *APIClient) SelectHeaderAccept(accepts []string) string

func (*APIClient) SelectHeaderContentType

func (c *APIClient) SelectHeaderContentType(contentTypes []string) string

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AutomaticUpgradeInfo

type AutomaticUpgradeInfo struct {
	DayOfWeek string `json:"dayOfWeek"`

	Hour int32 `json:"hour"`

	CreatedBy string `json:"createdBy,omitempty"`

	Level string `json:"level,omitempty"`

	Description string `json:"description,omitempty"`

	Occurrence string `json:"occurrence"`

	Type_ string `json:"type,omitempty"`

	Version string `json:"version"`

	Minute int32 `json:"minute"`
}

type Configuration

type Configuration struct {
	Username      string                       `json:"userName,omitempty"`
	Password      string                       `json:"password,omitempty"`
	APIKeyPrefix  map[string]string            `json:"APIKeyPrefix,omitempty"`
	APIKey        map[string]map[string]string `json:"APIKey,omitempty"`
	Debug         bool                         `json:"debug,omitempty"`
	DebugFile     string                       `json:"debugFile,omitempty"`
	OAuthToken    string                       `json:"oAuthToken,omitempty"`
	BasePath      string                       `json:"basePath,omitempty"`
	Host          string                       `json:"host,omitempty"`
	Scheme        string                       `json:"scheme,omitempty"`
	AccessToken   string                       `json:"accessToken,omitempty"`
	DefaultHeader map[string]string            `json:"defaultHeader,omitempty"`
	UserAgent     string                       `json:"userAgent,omitempty"`
	APIClient     *APIClient
	Transport     *http.Transport
	Timeout       *time.Duration `json:"timeout,omitempty"`
}

func NewConfiguration

func NewConfiguration() *Configuration

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

func (*Configuration) GetAPIKeyWithPrefix

func (c *Configuration) GetAPIKeyWithPrefix(APIKeyIdentifier string, ResourcePath string, Method string, Body interface{}) string

func (*Configuration) GetAuthHash

func (c *Configuration) GetAuthHash(APIKeyIdentifier string, ResourcePath string, Method string, Body interface{}) string

func (*Configuration) GetBasicAuthEncodedString

func (c *Configuration) GetBasicAuthEncodedString() string

type DashboardData

type DashboardData struct {
	UserPermission string `json:"userPermission,omitempty"`

	Name string `json:"name,omitempty"`

	Sharable bool `json:"sharable,omitempty"`

	Id int32 `json:"id,omitempty"`
}

type DataPointConfig

type DataPointConfig struct {
	GlobalAlertExpr string `json:"globalAlertExpr,omitempty"`

	DataPointName string `json:"dataPointName,omitempty"`

	DataPointId int32 `json:"dataPointId,omitempty"`

	DisableAlerting bool `json:"disableAlerting"`

	AlertExprNote string `json:"alertExprNote,omitempty"`

	AlertExpr string `json:"alertExpr"`

	DataPointDescription string `json:"dataPointDescription,omitempty"`
}

type DefaultApi

type DefaultApi struct {
	Configuration *Configuration
}

func NewDefaultApi

func NewDefaultApi() *DefaultApi

func NewDefaultApiWithBasePath

func NewDefaultApiWithBasePath(basePath string) *DefaultApi

func (DefaultApi) AckAlertById

func (a DefaultApi) AckAlertById(body RestAlertAck, id string) (*RestNullObjectResponse, *APIResponse, error)

*

  • ack alert by id * *
  • @param body
  • @param id
  • @return *RestNullObjectResponse

func (DefaultApi) AckCollectorDownAlertById

func (a DefaultApi) AckCollectorDownAlertById(id int32, body RestAckCollectorDown) (*RestNullObjectResponse, *APIResponse, error)

*

  • ack collector down alert * *
  • @param id
  • @param body
  • @return *RestNullObjectResponse

func (DefaultApi) AddAdmin

func (a DefaultApi) AddAdmin(body RestAdmin) (*RestAdminResponse, *APIResponse, error)

*

  • add admin * *
  • @param body
  • @return *RestAdminResponse

func (DefaultApi) AddAlertNoteById

func (a DefaultApi) AddAlertNoteById(body RestAlertAck, id string) (*RestNullObjectResponse, *APIResponse, error)

*

  • add alert note * *
  • @param body
  • @param id
  • @return *RestNullObjectResponse

func (DefaultApi) AddAlertRule

func (a DefaultApi) AddAlertRule(body RestAlertRule) (*RestAlertRuleResponse, *APIResponse, error)

*

  • add alert rule * *
  • @param body
  • @return *RestAlertRuleResponse

func (DefaultApi) AddApiTokenByAdminId

func (a DefaultApi) AddApiTokenByAdminId(adminId int32, body RestApiToken) (*RestApiTokenResponse, *APIResponse, error)

*

  • add apiToken by admin * *
  • @param adminId
  • @param body
  • @return *RestApiTokenResponse

func (DefaultApi) AddCollector

func (a DefaultApi) AddCollector(body RestCollector) (*RestCollectorResponse, *APIResponse, error)

*

  • add collector * *
  • @param body
  • @return *RestCollectorResponse

func (DefaultApi) AddCollectorGroup

*

  • add collector group * *
  • @param body
  • @return *RestCollectorGroupResponse

func (DefaultApi) AddDashboard

*

  • add dashboard * *
  • @param body
  • @return *RestDashboardV1Response

func (DefaultApi) AddDashboardGroup

*

  • add dashboard group * *
  • @param body
  • @return *RestDashboardGroupResponse

func (DefaultApi) AddDevice

func (a DefaultApi) AddDevice(body RestDevice, addFromWizard bool) (*RestDeviceResponse, *APIResponse, error)

*

  • add a new device * *
  • @param body
  • @param addFromWizard
  • @return *RestDeviceResponse

func (DefaultApi) AddDeviceDatasourceInstance

func (a DefaultApi) AddDeviceDatasourceInstance(deviceId int32, hdsId int32, body RestDeviceDataSourceInstance) (*RestDeviceDataSourceInstanceResponse, *APIResponse, error)

*

  • add device instance * *
  • @param deviceId
  • @param hdsId
  • @param body
  • @return *RestDeviceDataSourceInstanceResponse

func (DefaultApi) AddDeviceDatasourceInstanceGroup

func (a DefaultApi) AddDeviceDatasourceInstanceGroup(deviceId int32, deviceDsId int32, body RestDeviceDataSourceInstanceGroup) (*RestDeviceDataSourceInstanceGroupResponse, *APIResponse, error)

*

  • add device datasource instance group * *
  • @param deviceId
  • @param deviceDsId
  • @param body
  • @return *RestDeviceDataSourceInstanceGroupResponse

func (DefaultApi) AddDeviceGroup

*

  • add device group * *
  • @param body
  • @return *RestDeviceGroupResponse

func (DefaultApi) AddDeviceGroupProperty

func (a DefaultApi) AddDeviceGroupProperty(gid int32, body RestProperty) (*RestPropertyResponse, *APIResponse, error)

*

  • add device group property * *
  • @param gid
  • @param body
  • @return *RestPropertyResponse

func (DefaultApi) AddDeviceProperty

func (a DefaultApi) AddDeviceProperty(deviceId int32, body RestProperty) (*RestPropertyResponse, *APIResponse, error)

*

  • add device property * *
  • @param deviceId
  • @param body
  • @return *RestPropertyResponse

func (DefaultApi) AddRole

func (a DefaultApi) AddRole(body RestRole) (*RestRoleResponse, *APIResponse, error)

*

  • add role * *
  • @param body
  • @return *RestRoleResponse

func (DefaultApi) AddServiceGroup

*

  • add service group * *
  • @param body
  • @return *RestServiceGroupResponse

func (DefaultApi) DeleteAdminById

func (a DefaultApi) DeleteAdminById(id int32) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete admin * *
  • @param id
  • @return *RestNullObjectResponse

func (DefaultApi) DeleteAlertRuleById

func (a DefaultApi) DeleteAlertRuleById(id int32) (*RestAlertRuleResponse, *APIResponse, error)

*

  • delete alert rule * *
  • @param id
  • @return *RestAlertRuleResponse

func (DefaultApi) DeleteApiTokenById

func (a DefaultApi) DeleteApiTokenById(adminId int32, apitokenId int32) (*RestApiTokenResponse, *APIResponse, error)

*

  • delete apiToken * *
  • @param adminId
  • @param apitokenId
  • @return *RestApiTokenResponse

func (DefaultApi) DeleteCollectorById

func (a DefaultApi) DeleteCollectorById(id int32) (*RestCollectorResponse, *APIResponse, error)

*

  • delete collector * *
  • @param id
  • @return *RestCollectorResponse

func (DefaultApi) DeleteCollectorGroupById

func (a DefaultApi) DeleteCollectorGroupById(id int32) (*RestCollectorGroupResponse, *APIResponse, error)

*

  • delete collector group * *
  • @param id
  • @return *RestCollectorGroupResponse

func (DefaultApi) DeleteDashboardById

func (a DefaultApi) DeleteDashboardById(id int32) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete dashboard * *
  • @param id
  • @return *RestNullObjectResponse

func (DefaultApi) DeleteDashboardGroupById

func (a DefaultApi) DeleteDashboardGroupById(id int32) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete dashboard group * *
  • @param id
  • @return *RestNullObjectResponse

func (DefaultApi) DeleteDevice

func (a DefaultApi) DeleteDevice(id int32) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete a device * *
  • @param id
  • @return *RestNullObjectResponse

func (DefaultApi) DeleteDeviceGroupById

func (a DefaultApi) DeleteDeviceGroupById(id int32, deleteChildren bool) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete device group * *
  • @param id
  • @param deleteChildren
  • @return *RestNullObjectResponse

func (DefaultApi) DeleteDeviceGroupPropertyByName

func (a DefaultApi) DeleteDeviceGroupPropertyByName(gid int32, name string) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete device group property * *
  • @param gid
  • @param name
  • @return *RestNullObjectResponse

func (DefaultApi) DeleteDevicePropertyByName

func (a DefaultApi) DeleteDevicePropertyByName(deviceId int32, name string) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete device property * *
  • @param deviceId
  • @param name
  • @return *RestNullObjectResponse

func (DefaultApi) DeleteRoleById

func (a DefaultApi) DeleteRoleById(id int32) (*RestRoleResponse, *APIResponse, error)

*

  • delete role * *
  • @param id
  • @return *RestRoleResponse

func (DefaultApi) DeleteServiceGroupById

func (a DefaultApi) DeleteServiceGroupById(id int32, deleteChildren int32) (*RestNullObjectResponse, *APIResponse, error)

*

  • delete service group * *
  • @param id
  • @param deleteChildren
  • @return *RestNullObjectResponse

func (DefaultApi) GetAdminById

func (a DefaultApi) GetAdminById(id int32, fields string) (*RestAdminResponse, *APIResponse, error)

*

  • get admin * *
  • @param id
  • @param fields
  • @return *RestAdminResponse

func (DefaultApi) GetAdminList

func (a DefaultApi) GetAdminList(fields string, size int32, offset int32, filter string) (*RestAdminPaginationResponse, *APIResponse, error)

*

  • get admin list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestAdminPaginationResponse

func (DefaultApi) GetAlertById

func (a DefaultApi) GetAlertById(id string, needMessage bool, customColumns string, fields string) (*RestAlertResponse, *APIResponse, error)

*

  • get alert * *
  • @param id
  • @param needMessage
  • @param customColumns
  • @param fields
  • @return *RestAlertResponse

func (DefaultApi) GetAlertList

func (a DefaultApi) GetAlertList(needMessage bool, customColumns string, fields string, size int32, offset int32, searchId string, filter string) (*RestAlertPaginationResponse, *APIResponse, error)

*

  • get alert list * *
  • @param needMessage
  • @param customColumns
  • @param fields
  • @param size
  • @param offset
  • @param searchId
  • @param filter
  • @return *RestAlertPaginationResponse

func (DefaultApi) GetAlertListByDeviceGroupId

func (a DefaultApi) GetAlertListByDeviceGroupId(id int32, needMessage bool, customColumns string, fields string, size int32, offset int32, searchId string, filter string) (*RestAlertPaginationResponse, *APIResponse, error)

*

  • get device group alerts * *
  • @param id
  • @param needMessage
  • @param customColumns
  • @param fields
  • @param size
  • @param offset
  • @param searchId
  • @param filter
  • @return *RestAlertPaginationResponse

func (DefaultApi) GetAlertListByDeviceId

func (a DefaultApi) GetAlertListByDeviceId(id int32, needMessage bool, customColumns string, fields string, size int32, offset int32, searchId string, filter string) (*RestAlertPaginationResponse, *APIResponse, error)

*

  • get alerts * *
  • @param id
  • @param needMessage
  • @param customColumns
  • @param fields
  • @param size
  • @param offset
  • @param searchId
  • @param filter
  • @return *RestAlertPaginationResponse

func (DefaultApi) GetAlertRuleById

func (a DefaultApi) GetAlertRuleById(id int32, fields string) (*RestAlertRuleResponse, *APIResponse, error)

*

  • get alert rule by id * *
  • @param id
  • @param fields
  • @return *RestAlertRuleResponse

func (DefaultApi) GetAlertRuleList

func (a DefaultApi) GetAlertRuleList(fields string, size int32, offset int32, filter string) (*RestAlertRulePaginationResponse, *APIResponse, error)

*

  • get alert rule list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestAlertRulePaginationResponse

func (DefaultApi) GetApiTokenListByAdminId

func (a DefaultApi) GetApiTokenListByAdminId(adminId int32, fields string, size int32, offset int32, filter string) (*RestApiTokenPaginationResponse, *APIResponse, error)

*

  • get apiToken by admin * *
  • @param adminId
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestApiTokenPaginationResponse

func (DefaultApi) GetCollectorById

func (a DefaultApi) GetCollectorById(id int32, fields string) (*RestCollectorResponse, *APIResponse, error)

*

  • get collector * *
  • @param id
  • @param fields
  • @return *RestCollectorResponse

func (DefaultApi) GetCollectorGroupById

func (a DefaultApi) GetCollectorGroupById(id int32, fields string) (*RestCollectorGroupResponse, *APIResponse, error)

*

  • get collector group * *
  • @param id
  • @param fields
  • @return *RestCollectorGroupResponse

func (DefaultApi) GetCollectorGroupList

func (a DefaultApi) GetCollectorGroupList(fields string, size int32, offset int32, filter string) (*RestCollectorGroupPaginationResponse, *APIResponse, error)

*

  • get collector group list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestCollectorGroupPaginationResponse

func (DefaultApi) GetCollectorList

func (a DefaultApi) GetCollectorList(fields string, size int32, offset int32, filter string) (*RestCollectorPaginationResponse, *APIResponse, error)

*

  • get collector list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestCollectorPaginationResponse

func (DefaultApi) GetDashboardById

func (a DefaultApi) GetDashboardById(id int32, fields string) (*RestDashboardV1Response, *APIResponse, error)

*

  • get dashboard * *
  • @param id
  • @param fields
  • @return *RestDashboardV1Response

func (DefaultApi) GetDashboardGroupById

func (a DefaultApi) GetDashboardGroupById(id int32, fields string) (*RestDashboardGroupResponse, *APIResponse, error)

*

  • get dashboard group * *
  • @param id
  • @param fields
  • @return *RestDashboardGroupResponse

func (DefaultApi) GetDashboardGroupList

func (a DefaultApi) GetDashboardGroupList(fields string, size int32, offset int32, filter string) (*RestDashboardGroupPaginationResponse, *APIResponse, error)

*

  • get dashboard group list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestDashboardGroupPaginationResponse

func (DefaultApi) GetDashboardList

func (a DefaultApi) GetDashboardList(fields string, size int32, offset int32, filter string) (*RestDashboardV1PaginationResponse, *APIResponse, error)

*

  • get dashboard list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestDashboardV1PaginationResponse

func (DefaultApi) GetDeviceById

func (a DefaultApi) GetDeviceById(id int32, fields string) (*RestDeviceResponse, *APIResponse, error)

*

  • get device by id * *
  • @param id
  • @param fields
  • @return *RestDeviceResponse

func (DefaultApi) GetDeviceDatasourceById

func (a DefaultApi) GetDeviceDatasourceById(deviceId int32, id int32, fields string) (*RestDeviceDatasourceResponse, *APIResponse, error)

*

  • get device datasource * *
  • @param deviceId
  • @param id
  • @param fields
  • @return *RestDeviceDatasourceResponse

func (DefaultApi) GetDeviceDatasourceDataById

func (a DefaultApi) GetDeviceDatasourceDataById(deviceId int32, id int32, period float64, start int64, end int64, datapoints string, format string) (*RestDeviceDatasourceDataResponse, *APIResponse, error)

*

  • get device datasource data * *
  • @param deviceId
  • @param id
  • @param period
  • @param start
  • @param end
  • @param datapoints
  • @param format
  • @return *RestDeviceDatasourceDataResponse

func (DefaultApi) GetDeviceDatasourceInstanceAlertSettingById

func (a DefaultApi) GetDeviceDatasourceInstanceAlertSettingById(deviceId int32, hdsId int32, instanceId int32, id int32, fields string) (*RestDeviceDataSourceInstanceAlertSettingResponse, *APIResponse, error)

*

  • get device instance alert setting * *
  • @param deviceId
  • @param hdsId
  • @param instanceId
  • @param id
  • @param fields
  • @return *RestDeviceDataSourceInstanceAlertSettingResponse

func (DefaultApi) GetDeviceDatasourceInstanceById

func (a DefaultApi) GetDeviceDatasourceInstanceById(deviceId int32, hdsId int32, id int32, fields string) (*RestDeviceDataSourceInstanceResponse, *APIResponse, error)

*

  • get device instance * *
  • @param deviceId
  • @param hdsId
  • @param id
  • @param fields
  • @return *RestDeviceDataSourceInstanceResponse

func (DefaultApi) GetDeviceDatasourceInstanceData

func (a DefaultApi) GetDeviceDatasourceInstanceData(deviceId int32, hdsId int32, id int32, period float64, start int64, end int64, datapoints string, format string) (*RestDeviceDataSourceInstanceDataResponse, *APIResponse, error)

*

  • get device instance data * *
  • @param deviceId
  • @param hdsId
  • @param id
  • @param period
  • @param start
  • @param end
  • @param datapoints
  • @param format
  • @return *RestDeviceDataSourceInstanceDataResponse

func (DefaultApi) GetDeviceDatasourceInstanceGraphData

func (a DefaultApi) GetDeviceDatasourceInstanceGraphData(deviceId int32, hdsId int32, id int32, graphId int32, start int64, end int64, format string) (*RestGraphPlotResponse, *APIResponse, error)

*

  • get device instance graph data * *
  • @param deviceId
  • @param hdsId
  • @param id
  • @param graphId
  • @param start
  • @param end
  • @param format
  • @return *RestGraphPlotResponse

func (DefaultApi) GetDeviceDatasourceInstanceGroupById

func (a DefaultApi) GetDeviceDatasourceInstanceGroupById(deviceId int32, deviceDsId int32, id int32, fields string) (*RestDeviceDataSourceInstanceGroupResponse, *APIResponse, error)

*

  • get device datasource instance group * *
  • @param deviceId
  • @param deviceDsId
  • @param id
  • @param fields
  • @return *RestDeviceDataSourceInstanceGroupResponse

func (DefaultApi) GetDeviceDatasourceInstanceGroupOverviewGraphData

func (a DefaultApi) GetDeviceDatasourceInstanceGroupOverviewGraphData(deviceId int32, deviceDsId int32, dsigId int32, ographId int32, start int64, end int64, format string) (*RestGraphPlotResponse, *APIResponse, error)

*

  • get device instance group overview graph data * *
  • @param deviceId
  • @param deviceDsId
  • @param dsigId
  • @param ographId
  • @param start
  • @param end
  • @param format
  • @return *RestGraphPlotResponse

func (DefaultApi) GetDeviceDatasourceList

func (a DefaultApi) GetDeviceDatasourceList(deviceId int32, fields string, size int32, offset int32, filter string) (*RestDeviceDatasourcePaginationResponse, *APIResponse, error)

*

  • get device datasource list * *
  • @param deviceId
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestDeviceDatasourcePaginationResponse

func (DefaultApi) GetDeviceGroupById

func (a DefaultApi) GetDeviceGroupById(id int32, fields string) (*RestDeviceGroupResponse, *APIResponse, error)

*

  • get device group * *
  • @param id
  • @param fields
  • @return *RestDeviceGroupResponse

func (DefaultApi) GetDeviceGroupDatasourceAlertSetting

func (a DefaultApi) GetDeviceGroupDatasourceAlertSetting(deviceGroupId int32, dsId int32, fields string) (*RestDeviceGroupDatasourceAlertConfigResponse, *APIResponse, error)

*

  • get device group datasource alert setting * *
  • @param deviceGroupId
  • @param dsId
  • @param fields
  • @return *RestDeviceGroupDatasourceAlertConfigResponse

func (DefaultApi) GetDeviceGroupDatasourceById

func (a DefaultApi) GetDeviceGroupDatasourceById(deviceGroupId int32, id int32, fields string) (*RestDeviceGroupDatasourceResponse, *APIResponse, error)

*

  • get device group datasource * *
  • @param deviceGroupId
  • @param id
  • @param fields
  • @return *RestDeviceGroupDatasourceResponse

func (DefaultApi) GetDeviceGroupDatasourceList

func (a DefaultApi) GetDeviceGroupDatasourceList(deviceGroupId int32, fields string, size int32, offset int32, filter string) (*RestDeviceGroupDatasourceResponse, *APIResponse, error)

*

  • get device group datasource list * *
  • @param deviceGroupId
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestDeviceGroupDatasourceResponse

func (DefaultApi) GetDeviceGroupList

func (a DefaultApi) GetDeviceGroupList(fields string, size int32, offset int32, filter string) (*RestDeviceGroupPaginationResponse, *APIResponse, error)

*

  • get device group list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestDeviceGroupPaginationResponse

func (DefaultApi) GetDeviceGroupProperties

func (a DefaultApi) GetDeviceGroupProperties(gid int32, fields string, size int32, offset int32, filter string) (*RestPropertyPaginationResponse, *APIResponse, error)

*

  • get device group properties * *
  • @param gid
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestPropertyPaginationResponse

func (DefaultApi) GetDeviceGroupPropertyByName

func (a DefaultApi) GetDeviceGroupPropertyByName(gid int32, name string, fields string) (*RestPropertyResponse, *APIResponse, error)

*

  • get device group property by name * *
  • @param gid
  • @param name
  • @param fields
  • @return *RestPropertyResponse

func (DefaultApi) GetDeviceInstanceGraphDataOnlyByInstanceId

func (a DefaultApi) GetDeviceInstanceGraphDataOnlyByInstanceId(instanceId int32, graphId int32, start int64, end int64, format string) (*RestGraphPlotResponse, *APIResponse, error)

*

  • get device instance graphData * *
  • @param instanceId
  • @param graphId
  • @param start
  • @param end
  • @param format
  • @return *RestGraphPlotResponse

func (DefaultApi) GetDeviceList

func (a DefaultApi) GetDeviceList(fields string, size int32, offset int32, filter string) (*RestDevicePaginationResponse, *APIResponse, error)

*

  • get device list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestDevicePaginationResponse

func (DefaultApi) GetDevicePropertiesList

func (a DefaultApi) GetDevicePropertiesList(deviceId int32, fields string, size int32, offset int32, filter string) (*RestPropertyPaginationResponse, *APIResponse, error)

*

  • get device properties * *
  • @param deviceId
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestPropertyPaginationResponse

func (DefaultApi) GetDevicePropertyByName

func (a DefaultApi) GetDevicePropertyByName(deviceId int32, name string, fields string) (*RestPropertyResponse, *APIResponse, error)

*

  • get device property by name * *
  • @param deviceId
  • @param name
  • @param fields
  • @return *RestPropertyResponse

func (DefaultApi) GetImmediateDeviceListByDeviceGroupId

func (a DefaultApi) GetImmediateDeviceListByDeviceGroupId(id int32, fields string, size int32, offset int32, filter string) (*RestDevicePaginationResponse, *APIResponse, error)

*

  • get immediate devices under group * *
  • @param id
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestDevicePaginationResponse

func (DefaultApi) GetRoleById

func (a DefaultApi) GetRoleById(id int32, fields string) (*RestRoleResponse, *APIResponse, error)

*

  • get role by id * *
  • @param id
  • @param fields
  • @return *RestRoleResponse

func (DefaultApi) GetRoleList

func (a DefaultApi) GetRoleList(fields string, size int32, offset int32, filter string) (*RestRolePaginationResponse, *APIResponse, error)

*

  • get role list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestRolePaginationResponse

func (DefaultApi) GetServiceGraphData

func (a DefaultApi) GetServiceGraphData(serviceId int32, checkpointId int32, graphName string, start int64, end int64, format string) (*RestGraphPlotResponse, *APIResponse, error)

*

  • get service graph data * *
  • @param serviceId
  • @param checkpointId
  • @param graphName
  • @param start
  • @param end
  • @param format
  • @return *RestGraphPlotResponse

func (DefaultApi) GetServiceGroupById

func (a DefaultApi) GetServiceGroupById(id int32, fields string) (*RestServiceGroupResponse, *APIResponse, error)

*

  • get service group * *
  • @param id
  • @param fields
  • @return *RestServiceGroupResponse

func (DefaultApi) GetServiceGroupList

func (a DefaultApi) GetServiceGroupList(fields string, size int32, offset int32, filter string) (*RestServiceGroupPaginationResponse, *APIResponse, error)

*

  • get service group list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestServiceGroupPaginationResponse

func (DefaultApi) GetSiteMonitorCheckPointList

func (a DefaultApi) GetSiteMonitorCheckPointList(fields string, size int32, offset int32, filter string) (*RestSmCheckPointPaginationResponse, *APIResponse, error)

*

  • get site monitor checkpoint list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestSmCheckPointPaginationResponse

func (DefaultApi) GetUnmonitoredDeviceList

func (a DefaultApi) GetUnmonitoredDeviceList(fields string, size int32, offset int32, filter string) (*RestUnmonitoredDevicePaginationResponse, *APIResponse, error)

*

  • get unmonitored device list * *
  • @param fields
  • @param size
  • @param offset
  • @param filter
  • @return *RestUnmonitoredDevicePaginationResponse

func (DefaultApi) InstallCollector

func (a DefaultApi) InstallCollector(collectorId int32, osAndArch string, collectorVersion int32, token string, monitorOthers bool, collectorSize string, useEA bool) (**os.File, *APIResponse, error)

*

  • install collector * *
  • @param collectorId
  • @param osAndArch
  • @param collectorVersion
  • @param token
  • @param monitorOthers
  • @param collectorSize
  • @param useEA
  • @return **os.File

func (DefaultApi) PatchDeviceById

func (a DefaultApi) PatchDeviceById(body RestDevice, id int32, opType string, patchFields string) (*RestDeviceResponse, *APIResponse, error)

*

  • patch a device * *
  • @param body
  • @param id
  • @param opType
  • @param patchFields
  • @return *RestDeviceResponse

func (DefaultApi) PatchDeviceGroupById

func (a DefaultApi) PatchDeviceGroupById(id int32, body RestDeviceGroup, opType string, patchFields string) (*RestDeviceGroupResponse, *APIResponse, error)

*

  • patch device group * *
  • @param id
  • @param body
  • @param opType
  • @param patchFields
  • @return *RestDeviceGroupResponse

func (DefaultApi) PatchServiceGroupById

func (a DefaultApi) PatchServiceGroupById(id int32, body RestServiceGroup, opType string, patchFields string) (*RestServiceGroupResponse, *APIResponse, error)

*

  • patch service group * *
  • @param id
  • @param body
  • @param opType
  • @param patchFields
  • @return *RestServiceGroupResponse

func (DefaultApi) ScheduleAutoDiscoveryByDeviceId

func (a DefaultApi) ScheduleAutoDiscoveryByDeviceId(id int32) (*RestStringResponse, *APIResponse, error)

*

  • schedule auto discovery for a host * *
  • @param id
  • @return *RestStringResponse

func (DefaultApi) UpdateAdminById

func (a DefaultApi) UpdateAdminById(id int32, body RestAdmin, changePassword bool) (*RestAdminResponse, *APIResponse, error)

*

  • update admin * *
  • @param id
  • @param body
  • @param changePassword
  • @return *RestAdminResponse

func (DefaultApi) UpdateAlertRuleById

func (a DefaultApi) UpdateAlertRuleById(body RestAlertRule, id int32) (*RestAlertRuleResponse, *APIResponse, error)

*

  • update alert rule * *
  • @param body
  • @param id
  • @return *RestAlertRuleResponse

func (DefaultApi) UpdateApiTokenByAdminId

func (a DefaultApi) UpdateApiTokenByAdminId(adminId int32, apitokenId int32, body RestApiToken) (*RestApiTokenResponse, *APIResponse, error)

*

  • update apiToken by admin * *
  • @param adminId
  • @param apitokenId
  • @param body
  • @return *RestApiTokenResponse

func (DefaultApi) UpdateCollectorById

func (a DefaultApi) UpdateCollectorById(id int32, body RestCollector) (*RestCollectorResponse, *APIResponse, error)

*

  • update collector * *
  • @param id
  • @param body
  • @return *RestCollectorResponse

func (DefaultApi) UpdateCollectorGroupById

func (a DefaultApi) UpdateCollectorGroupById(id int32, body RestCollectorGroup) (*RestCollectorGroupResponse, *APIResponse, error)

*

  • update collector group * *
  • @param id
  • @param body
  • @return *RestCollectorGroupResponse

func (DefaultApi) UpdateDashboardById

func (a DefaultApi) UpdateDashboardById(id int32, body RestDashboardV1, overwriteGroupFields bool) (*RestDashboardV1Response, *APIResponse, error)

*

  • update dashboard * *
  • @param id
  • @param body
  • @param overwriteGroupFields
  • @return *RestDashboardV1Response

func (DefaultApi) UpdateDashboardGroupById

func (a DefaultApi) UpdateDashboardGroupById(id int32, body RestDashboardGroup) (*RestDashboardGroupResponse, *APIResponse, error)

*

  • update dashboard group * *
  • @param id
  • @param body
  • @return *RestDashboardGroupResponse

func (DefaultApi) UpdateDevice

func (a DefaultApi) UpdateDevice(body RestDevice, id int32, opType string) (*RestDeviceResponse, *APIResponse, error)

*

  • update a device * *
  • @param body
  • @param id
  • @param opType
  • @return *RestDeviceResponse

func (DefaultApi) UpdateDeviceDatasourceInstanceAlertSettingById

func (a DefaultApi) UpdateDeviceDatasourceInstanceAlertSettingById(deviceId int32, hdsId int32, instanceId int32, id int32, body RestDeviceDataSourceInstanceAlertSetting) (*RestDeviceDataSourceInstanceAlertSettingResponse, *APIResponse, error)

*

  • update device instance alert setting * *
  • @param deviceId
  • @param hdsId
  • @param instanceId
  • @param id
  • @param body
  • @return *RestDeviceDataSourceInstanceAlertSettingResponse

func (DefaultApi) UpdateDeviceDatasourceInstanceById

func (a DefaultApi) UpdateDeviceDatasourceInstanceById(deviceId int32, hdsId int32, id int32, body RestDeviceDataSourceInstance) (*RestDeviceDataSourceInstanceResponse, *APIResponse, error)

*

  • update device instance * *
  • @param deviceId
  • @param hdsId
  • @param id
  • @param body
  • @return *RestDeviceDataSourceInstanceResponse

func (DefaultApi) UpdateDeviceDatasourceInstanceGroupById

func (a DefaultApi) UpdateDeviceDatasourceInstanceGroupById(deviceId int32, deviceDsId int32, id int32, body RestDeviceDataSourceInstanceGroup) (*RestDeviceDataSourceInstanceGroupResponse, *APIResponse, error)

*

  • update device datasource instance group * *
  • @param deviceId
  • @param deviceDsId
  • @param id
  • @param body
  • @return *RestDeviceDataSourceInstanceGroupResponse

func (DefaultApi) UpdateDeviceGroupById

func (a DefaultApi) UpdateDeviceGroupById(id int32, body RestDeviceGroup) (*RestDeviceGroupResponse, *APIResponse, error)

*

  • update device group * *
  • @param id
  • @param body
  • @return *RestDeviceGroupResponse

func (DefaultApi) UpdateDeviceGroupDatasourceAlertSetting

func (a DefaultApi) UpdateDeviceGroupDatasourceAlertSetting(deviceGroupId int32, dsId int32, body RestDeviceGroupDataSourceAlertConfig) (*RestDeviceGroupDatasourceAlertConfigResponse, *APIResponse, error)

*

  • update device group datasource alert setting * *
  • @param deviceGroupId
  • @param dsId
  • @param body
  • @return *RestDeviceGroupDatasourceAlertConfigResponse

func (DefaultApi) UpdateDeviceGroupPropertyByName

func (a DefaultApi) UpdateDeviceGroupPropertyByName(gid int32, name string, body RestProperty) (*RestPropertyResponse, *APIResponse, error)

*

  • update device group property * *
  • @param gid
  • @param name
  • @param body
  • @return *RestPropertyResponse

func (DefaultApi) UpdateDevicePropertyByName

func (a DefaultApi) UpdateDevicePropertyByName(deviceId int32, name string, body RestProperty) (*RestPropertyResponse, *APIResponse, error)

*

  • update device property * *
  • @param deviceId
  • @param name
  • @param body
  • @return *RestPropertyResponse

func (DefaultApi) UpdateRoleById

func (a DefaultApi) UpdateRoleById(id int32, body RestRole) (*RestRoleResponse, *APIResponse, error)

*

  • update role * *
  • @param id
  • @param body
  • @return *RestRoleResponse

func (DefaultApi) UpdateServiceGroupById

func (a DefaultApi) UpdateServiceGroupById(id int32, body RestServiceGroup) (*RestServiceGroupResponse, *APIResponse, error)

*

  • update service group * *
  • @param id
  • @param body
  • @return *RestServiceGroupResponse

type DeviceGroupAlertThresholdInfo

type DeviceGroupAlertThresholdInfo struct {
	UserPermission string `json:"userPermission,omitempty"`

	GroupId int32 `json:"groupId,omitempty"`

	AlertEnabled bool `json:"alertEnabled,omitempty"`

	GroupFullPath string `json:"groupFullPath,omitempty"`

	AlertExpr string `json:"alertExpr,omitempty"`
}

type DowngradeInfo

type DowngradeInfo struct {
	CreatedBy string `json:"createdBy,omitempty"`

	Level string `json:"level,omitempty"`

	EndEpoch int64 `json:"endEpoch,omitempty"`

	Description string `json:"description,omitempty"`

	Type_ string `json:"type,omitempty"`

	MajorVersion int32 `json:"majorVersion"`

	MinorVersion int32 `json:"minorVersion"`

	StartEpoch int64 `json:"startEpoch"`
}

type GroupData

type GroupData struct {
	NumOfServices int32 `json:"numOfServices,omitempty"`

	AlertStatus string `json:"alertStatus,omitempty"`

	FullPath string `json:"fullPath,omitempty"`

	StopMonitoring bool `json:"stopMonitoring,omitempty"`

	HasServicesDisabled bool `json:"hasServicesDisabled,omitempty"`

	UserPermission string `json:"userPermission,omitempty"`

	Description string `json:"description,omitempty"`

	DisableAlerting bool `json:"disableAlerting,omitempty"`

	SdtStatus string `json:"sdtStatus,omitempty"`

	Name string `json:"name,omitempty"`

	NumOfDirectSubGroups int32 `json:"numOfDirectSubGroups,omitempty"`

	Id int32 `json:"id,omitempty"`

	AlertDisableStatus string `json:"alertDisableStatus,omitempty"`

	NumOfDirectServices int32 `json:"numOfDirectServices,omitempty"`
}

type JsonArray

type JsonArray struct {
}

type JsonObject

type JsonObject struct {
}

type Line

type Line struct {
	ColorName string `json:"colorName,omitempty"`

	Std float64 `json:"std,omitempty"`

	Visible bool `json:"visible,omitempty"`

	Color string `json:"color,omitempty"`

	Data []float64 `json:"data,omitempty"`

	Max float64 `json:"max,omitempty"`

	Legend string `json:"legend,omitempty"`

	Description string `json:"description,omitempty"`

	Label string `json:"label,omitempty"`

	Type_ string `json:"type,omitempty"`

	Min float64 `json:"min,omitempty"`

	Avg float64 `json:"avg,omitempty"`

	Decimal int32 `json:"decimal,omitempty"`

	UseYMax bool `json:"useYMax,omitempty"`
}

type ManualDiscoveryFlags

type ManualDiscoveryFlags struct {
	Winprocess bool `json:"winprocess,omitempty"`

	Winservice bool `json:"winservice,omitempty"`

	Linuxprocess bool `json:"linuxprocess,omitempty"`
}

type NameAndValue

type NameAndValue struct {
	Name string `json:"name,omitempty"`

	Value string `json:"value,omitempty"`
}

type NextUpgradeInfo

type NextUpgradeInfo struct {
	UpgradeTime string `json:"upgradeTime,omitempty"`

	Stable bool `json:"stable,omitempty"`

	MajorVersion int32 `json:"majorVersion,omitempty"`

	MinorVersion int32 `json:"minorVersion,omitempty"`

	Mandatory bool `json:"mandatory,omitempty"`
}

type OnetimeUpgradeInfo

type OnetimeUpgradeInfo struct {
	CreatedBy string `json:"createdBy,omitempty"`

	Level string `json:"level,omitempty"`

	EndEpoch int64 `json:"endEpoch,omitempty"`

	Description string `json:"description,omitempty"`

	Type_ string `json:"type,omitempty"`

	MajorVersion int32 `json:"majorVersion"`

	MinorVersion int32 `json:"minorVersion"`

	StartEpoch int64 `json:"startEpoch"`
}

type Response

type Response struct {
	Data interface{} `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestAckCollectorDown

type RestAckCollectorDown struct {
	Comment string `json:"comment,omitempty"`
}

type RestAdmin

type RestAdmin struct {
	LastName string `json:"lastName,omitempty"`

	Note string `json:"note,omitempty"`

	ViewPermission JsonObject `json:"viewPermission,omitempty"`

	AcceptEULAOn int64 `json:"acceptEULAOn,omitempty"`

	Roles []RestRole `json:"roles"`

	LastLoginOn int64 `json:"lastLoginOn,omitempty"`

	SmsEmail string `json:"smsEmail,omitempty"`

	LastActionOnLocal string `json:"lastActionOnLocal,omitempty"`

	TwoFAEnabled bool `json:"twoFAEnabled,omitempty"`

	SmsEmailFormat string `json:"smsEmailFormat,omitempty"`

	FirstName string `json:"firstName,omitempty"`

	ApiTokens []RestApiToken `json:"apiTokens,omitempty"`

	Password string `json:"password"`

	LastAction string `json:"lastAction,omitempty"`

	Phone string `json:"phone,omitempty"`

	CreatedBy string `json:"createdBy,omitempty"`

	ForcePasswordChange bool `json:"forcePasswordChange,omitempty"`

	LastActionOn int64 `json:"lastActionOn,omitempty"`

	Id int32 `json:"id,omitempty"`

	AcceptEULA bool `json:"acceptEULA,omitempty"`

	Email string `json:"email"`

	ContactMethod string `json:"contactMethod,omitempty"`

	Username string `json:"username"`

	Status string `json:"status,omitempty"`
}

type RestAdminPagination

type RestAdminPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestAdmin `json:"items,omitempty"`
}

type RestAdminPaginationResponse

type RestAdminPaginationResponse struct {
	Data RestAdminPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestAdminResponse

type RestAdminResponse struct {
	Data RestAdmin `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestAlert

type RestAlert struct {
	ResourceId int32 `json:"resourceId,omitempty"`

	InstanceName string `json:"instanceName,omitempty"`

	MonitorObjectId int32 `json:"monitorObjectId,omitempty"`

	EndEpoch int64 `json:"endEpoch,omitempty"`

	Rule string `json:"rule,omitempty"`

	Threshold string `json:"threshold,omitempty"`

	Type_ string `json:"type,omitempty"`

	StartEpoch int64 `json:"startEpoch,omitempty"`

	InternalId string `json:"internalId,omitempty"`

	AckComment string `json:"ackComment,omitempty"`

	MonitorObjectName string `json:"monitorObjectName,omitempty"`

	DataPointName string `json:"dataPointName,omitempty"`

	InstanceId int32 `json:"instanceId,omitempty"`

	DataPointId int32 `json:"dataPointId,omitempty"`

	NextRecipient int32 `json:"nextRecipient,omitempty"`

	Id string `json:"id,omitempty"`

	DetailMessage JsonObject `json:"detailMessage,omitempty"`

	RuleId int32 `json:"ruleId,omitempty"`

	AlertValue string `json:"alertValue,omitempty"`

	AckedBy string `json:"ackedBy,omitempty"`

	Severity int32 `json:"severity,omitempty"`

	Sdted bool `json:"sdted,omitempty"`

	AckedEpoch int64 `json:"ackedEpoch,omitempty"`

	Chain string `json:"chain,omitempty"`

	SDT JsonObject `json:"SDT,omitempty"`

	SubChainId int32 `json:"subChainId,omitempty"`

	ReceivedList string `json:"receivedList,omitempty"`

	CustomColumns JsonObject `json:"customColumns,omitempty"`

	Acked bool `json:"acked,omitempty"`

	ResourceTemplateType string `json:"resourceTemplateType,omitempty"`

	ClearValue string `json:"clearValue,omitempty"`

	InstanceDescription string `json:"instanceDescription,omitempty"`

	MonitorObjectGroups JsonArray `json:"monitorObjectGroups,omitempty"`

	ChainId int32 `json:"chainId,omitempty"`

	ResourceTemplateId int32 `json:"resourceTemplateId,omitempty"`

	Cleared bool `json:"cleared,omitempty"`

	ResourceTemplateName string `json:"resourceTemplateName,omitempty"`
}

type RestAlertAck

type RestAlertAck struct {
	AckComment string `json:"ackComment"`
}

type RestAlertPagination

type RestAlertPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestAlert `json:"items,omitempty"`
}

type RestAlertPaginationResponse

type RestAlertPaginationResponse struct {
	Data RestAlertPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestAlertResponse

type RestAlertResponse struct {
	Data RestAlert `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestAlertRule

type RestAlertRule struct {
	Datapoint string `json:"datapoint,omitempty"`

	Instance string `json:"instance,omitempty"`

	Devices []string `json:"devices,omitempty"`

	EscalatingChainId int32 `json:"escalatingChainId"`

	Priority int32 `json:"priority"`

	SuppressAlertAckSdt bool `json:"suppressAlertAckSdt,omitempty"`

	Datasource string `json:"datasource,omitempty"`

	SuppressAlertClear bool `json:"suppressAlertClear,omitempty"`

	Name string `json:"name"`

	Id int32 `json:"id,omitempty"`

	LevelStr string `json:"levelStr,omitempty"`

	DeviceGroups []string `json:"deviceGroups,omitempty"`

	EscalatingChain JsonObject `json:"escalatingChain,omitempty"`

	EscalationInterval int32 `json:"escalationInterval,omitempty"`
}

type RestAlertRulePagination

type RestAlertRulePagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestAlertRule `json:"items,omitempty"`
}

type RestAlertRulePaginationResponse

type RestAlertRulePaginationResponse struct {
	Data RestAlertRulePagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestAlertRuleResponse

type RestAlertRuleResponse struct {
	Data RestAlertRule `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestApiToken

type RestApiToken struct {
	AccessId string `json:"accessId,omitempty"`

	AdminName string `json:"adminName,omitempty"`

	Note string `json:"note,omitempty"`

	LastUsedOn int64 `json:"lastUsedOn,omitempty"`

	AccessKey string `json:"accessKey,omitempty"`

	Roles []string `json:"roles,omitempty"`

	AdminId int32 `json:"adminId,omitempty"`

	Id int32 `json:"id,omitempty"`

	CreatedOn int64 `json:"createdOn,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestApiTokenPagination

type RestApiTokenPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestApiToken `json:"items,omitempty"`
}

type RestApiTokenPaginationResponse

type RestApiTokenPaginationResponse struct {
	Data RestApiTokenPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestApiTokenResponse

type RestApiTokenResponse struct {
	Data RestApiToken `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestCollector

type RestCollector struct {
	ConfVersion string `json:"confVersion,omitempty"`

	NumberOfServices int32 `json:"numberOfServices,omitempty"`

	UpdatedOnLocal string `json:"updatedOnLocal,omitempty"`

	Hostname string `json:"hostname,omitempty"`

	Id int32 `json:"id,omitempty"`

	WatchdogUpdatedOnLocal string `json:"watchdogUpdatedOnLocal,omitempty"`

	HasFailOverDevice bool `json:"hasFailOverDevice,omitempty"`

	CollectorGroupName string `json:"collectorGroupName,omitempty"`

	NetscanVersion string `json:"netscanVersion,omitempty"`

	InSDT bool `json:"inSDT,omitempty"`

	UserVisibleServicesNum int32 `json:"userVisibleServicesNum,omitempty"`

	UpdatedOn int64 `json:"updatedOn,omitempty"`

	AutomaticUpgradeInfo *AutomaticUpgradeInfo `json:"automaticUpgradeInfo,omitempty"`

	NumberOfHosts int32 `json:"numberOfHosts,omitempty"`

	CollectorConf string `json:"collectorConf,omitempty"`

	SbproxyConf string `json:"sbproxyConf,omitempty"`

	LastSentNotificationOnLocal string `json:"lastSentNotificationOnLocal,omitempty"`

	OnetimeUpgradeInfo *OnetimeUpgradeInfo `json:"onetimeUpgradeInfo,omitempty"`

	WrapperConf string `json:"wrapperConf,omitempty"`

	ClearSent bool `json:"clearSent,omitempty"`

	Status int32 `json:"status,omitempty"`

	BackupAgentId int32 `json:"backupAgentId,omitempty"`

	SpecifiedCollectorDeviceGroupId int32 `json:"specifiedCollectorDeviceGroupId,omitempty"`

	EscalatingChainId int32 `json:"escalatingChainId,omitempty"`

	AckedOnLocal string `json:"ackedOnLocal,omitempty"`

	WatchdogConf string `json:"watchdogConf,omitempty"`

	Description string `json:"description,omitempty"`

	CreatedOn int64 `json:"createdOn,omitempty"`

	Platform string `json:"platform,omitempty"`

	IsDown bool `json:"isDown,omitempty"`

	UserVisibleHostsNum int32 `json:"userVisibleHostsNum,omitempty"`

	CanDowngrade bool `json:"canDowngrade,omitempty"`

	AckComment string `json:"ackComment,omitempty"`

	NextUpgradeInfo NextUpgradeInfo `json:"nextUpgradeInfo,omitempty"`

	SuppressAlertClear bool `json:"suppressAlertClear,omitempty"`

	NextRecipient int32 `json:"nextRecipient,omitempty"`

	AckedOn int64 `json:"ackedOn,omitempty"`

	UserChangeOnLocal string `json:"userChangeOnLocal,omitempty"`

	AckedBy string `json:"ackedBy,omitempty"`

	UserPermission string `json:"userPermission,omitempty"`

	NeedAutoCreateCollectorDevice bool `json:"needAutoCreateCollectorDevice"`

	WatchdogUpdatedOn int64 `json:"watchdogUpdatedOn,omitempty"`

	CanDowngradeReason string `json:"canDowngradeReason,omitempty"`

	LastSentNotificationOn int64 `json:"lastSentNotificationOn,omitempty"`

	Acked bool `json:"acked,omitempty"`

	OnetimeDowngradeInfo *DowngradeInfo `json:"onetimeDowngradeInfo,omitempty"`

	UpTime int64 `json:"upTime,omitempty"`

	Build string `json:"build,omitempty"`

	PreviousVersion string `json:"previousVersion,omitempty"`

	CollectorGroupId int32 `json:"collectorGroupId,omitempty"`

	CreatedOnLocal string `json:"createdOnLocal,omitempty"`

	EnableFailBack bool `json:"enableFailBack"`

	ResendIval int32 `json:"resendIval,omitempty"`

	EnableFailOverOnCollectorDevice bool `json:"enableFailOverOnCollectorDevice,omitempty"`
}

type RestCollectorGroup

type RestCollectorGroup struct {
	UserPermission string `json:"userPermission,omitempty"`

	NumOfCollectors int32 `json:"numOfCollectors,omitempty"`

	Name string `json:"name"`

	Description string `json:"description,omitempty"`

	CreateOn int64 `json:"createOn,omitempty"`

	Id int32 `json:"id,omitempty"`
}

type RestCollectorGroupPagination

type RestCollectorGroupPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestCollectorGroup `json:"items,omitempty"`
}

type RestCollectorGroupPaginationResponse

type RestCollectorGroupPaginationResponse struct {
	Data RestCollectorGroupPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestCollectorGroupResponse

type RestCollectorGroupResponse struct {
	Data RestCollectorGroup `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestCollectorPagination

type RestCollectorPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestCollector `json:"items,omitempty"`
}

type RestCollectorPaginationResponse

type RestCollectorPaginationResponse struct {
	Data RestCollectorPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestCollectorResponse

type RestCollectorResponse struct {
	Data RestCollector `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDashboardGroup

type RestDashboardGroup struct {
	FullPath string `json:"fullPath,omitempty"`

	UserPermission string `json:"userPermission,omitempty"`

	Name string `json:"name"`

	NumOfDirectSubGroups int64 `json:"numOfDirectSubGroups,omitempty"`

	NumOfDashboards int64 `json:"numOfDashboards,omitempty"`

	Description string `json:"description,omitempty"`

	Id int32 `json:"id,omitempty"`

	Dashboards []DashboardData `json:"dashboards,omitempty"`

	ParentId int32 `json:"parentId,omitempty"`

	NumOfDirectDashboards int64 `json:"numOfDirectDashboards,omitempty"`
}

type RestDashboardGroupPagination

type RestDashboardGroupPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestDashboardGroup `json:"items,omitempty"`
}

type RestDashboardGroupPaginationResponse

type RestDashboardGroupPaginationResponse struct {
	Data RestDashboardGroupPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDashboardGroupResponse

type RestDashboardGroupResponse struct {
	Data RestDashboardGroup `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDashboardV1

type RestDashboardV1 struct {
	Owner string `json:"owner,omitempty"`

	UserPermission string `json:"userPermission,omitempty"`

	GroupId int32 `json:"groupId,omitempty"`

	Description string `json:"description,omitempty"`

	Sharable bool `json:"sharable,omitempty"`

	WidgetsOrder string `json:"widgetsOrder,omitempty"`

	UseDynamicWidget bool `json:"useDynamicWidget,omitempty"`

	WidgetsConfig string `json:"widgetsConfig,omitempty"`

	GroupName string `json:"groupName,omitempty"`

	WidgetTokens JsonArray `json:"widgetTokens,omitempty"`

	Name string `json:"name"`

	Id int32 `json:"id,omitempty"`

	GroupFullPath string `json:"groupFullPath,omitempty"`
}

type RestDashboardV1Pagination

type RestDashboardV1Pagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestDashboardV1 `json:"items,omitempty"`
}

type RestDashboardV1PaginationResponse

type RestDashboardV1PaginationResponse struct {
	Data RestDashboardV1Pagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDashboardV1Response

type RestDashboardV1Response struct {
	Data RestDashboardV1 `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDevice

type RestDevice struct {
	AlertStatus string `json:"alertStatus,omitempty"`

	NetflowCollectorGroupName string `json:"netflowCollectorGroupName,omitempty"`

	AzureState int32 `json:"azureState,omitempty"`

	RelatedDeviceId int32 `json:"relatedDeviceId,omitempty"`

	DisplayName string `json:"displayName"`

	Link string `json:"link,omitempty"`

	AwsState int32 `json:"awsState,omitempty"`

	Description string `json:"description,omitempty"`

	CanUseRemoteSession bool `json:"canUseRemoteSession,omitempty"`

	DisableAlerting bool `json:"disableAlerting,omitempty"`

	NetflowCollectorGroupId int32 `json:"netflowCollectorGroupId,omitempty"`

	CreatedOn int64 `json:"createdOn,omitempty"`

	AncestorHasDisabledLogicModule bool `json:"ancestorHasDisabledLogicModule,omitempty"`

	SystemProperties []NameAndValue `json:"systemProperties,omitempty"`

	ManualDiscoveryFlags ManualDiscoveryFlags `json:"manualDiscoveryFlags,omitempty"`

	HostStatus string `json:"hostStatus,omitempty"`

	AutoPropsUpdatedOn int64 `json:"autoPropsUpdatedOn,omitempty"`

	ScanConfigId int32 `json:"scanConfigId,omitempty"`

	Id int32 `json:"id,omitempty"`

	EnableNetflow bool `json:"enableNetflow,omitempty"`

	LastDataTime int64 `json:"lastDataTime,omitempty"`

	AlertStatusPriority int32 `json:"alertStatusPriority,omitempty"`

	AlertDisableStatus string `json:"alertDisableStatus,omitempty"`

	HostGroupIds string `json:"hostGroupIds"`

	UpTimeInSeconds int64 `json:"upTimeInSeconds,omitempty"`

	DeviceType int32 `json:"deviceType,omitempty"`

	CurrentCollectorId int32 `json:"currentCollectorId,omitempty"`

	NetflowCollectorDescription string `json:"netflowCollectorDescription,omitempty"`

	NetflowCollectorId int32 `json:"netflowCollectorId,omitempty"`

	UserPermission string `json:"userPermission,omitempty"`

	HasDisabledSubResource bool `json:"hasDisabledSubResource,omitempty"`

	AutoPropsAssignedOn int64 `json:"autoPropsAssignedOn,omitempty"`

	UpdatedOn int64 `json:"updatedOn,omitempty"`

	PreferredCollectorGroupName string `json:"preferredCollectorGroupName,omitempty"`

	SdtStatus string `json:"sdtStatus,omitempty"`

	PreferredCollectorGroupId int32 `json:"preferredCollectorGroupId,omitempty"`

	CustomProperties []NameAndValue `json:"customProperties,omitempty"`

	ToDeleteTimeInMs int64 `json:"toDeleteTimeInMs,omitempty"`

	CollectorDescription string `json:"collectorDescription,omitempty"`

	PreferredCollectorId int32 `json:"preferredCollectorId"`

	LastRawdataTime int64 `json:"lastRawdataTime,omitempty"`

	Name string `json:"name"`

	AlertingDisabledOn TreeNode `json:"alertingDisabledOn,omitempty"`

	DeletedTimeInMs int64 `json:"deletedTimeInMs,omitempty"`
}

type RestDeviceDataSource

type RestDeviceDataSource struct {
	AlertStatus string `json:"alertStatus,omitempty"`

	AutoDiscovery bool `json:"autoDiscovery,omitempty"`

	DataSourceDisplayName string `json:"dataSourceDisplayName,omitempty"`

	DeviceId int32 `json:"deviceId,omitempty"`

	DeviceName string `json:"deviceName,omitempty"`

	CreatedOn int64 `json:"createdOn,omitempty"`

	DataSourceId int32 `json:"dataSourceId,omitempty"`

	Graphs []RestGraph `json:"graphs,omitempty"`

	SdtAt string `json:"sdtAt,omitempty"`

	NextAutoDiscoveryOn int64 `json:"nextAutoDiscoveryOn,omitempty"`

	Id int32 `json:"id,omitempty"`

	AlertStatusPriority int32 `json:"alertStatusPriority,omitempty"`

	AlertDisableStatus string `json:"alertDisableStatus,omitempty"`

	DataSourceDescription string `json:"dataSourceDescription,omitempty"`

	OverviewGraphs []RestGraph `json:"overviewGraphs,omitempty"`

	StopMonitoring bool `json:"stopMonitoring,omitempty"`

	AssignedOn int64 `json:"assignedOn,omitempty"`

	IsMultiple bool `json:"isMultiple,omitempty"`

	InstanceNumber int32 `json:"instanceNumber,omitempty"`

	UpdatedOn int64 `json:"updatedOn,omitempty"`

	SdtStatus string `json:"sdtStatus,omitempty"`

	DataSourceName string `json:"dataSourceName,omitempty"`

	DeviceDisplayName string `json:"deviceDisplayName,omitempty"`

	MonitoringInstanceNumber int32 `json:"monitoringInstanceNumber,omitempty"`

	GroupsDisabledThisSource []TreeNode `json:"groupsDisabledThisSource,omitempty"`

	GroupName string `json:"groupName,omitempty"`

	InstanceAutoGroupEnabled bool `json:"instanceAutoGroupEnabled,omitempty"`

	AlertingDisabledOn TreeNode `json:"alertingDisabledOn,omitempty"`

	DataSourceType string `json:"dataSourceType,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceDataSourceData

type RestDeviceDataSourceData struct {
	Instances map[string]RestRawDataValues `json:"instances,omitempty"`

	DataPoints []string `json:"dataPoints,omitempty"`

	DataSourceName string `json:"dataSourceName,omitempty"`
}

type RestDeviceDataSourceInstance

type RestDeviceDataSourceInstance struct {
	AlertStatus string `json:"alertStatus,omitempty"`

	DisplayName string `json:"displayName"`

	GroupId int32 `json:"groupId,omitempty"`

	Description string `json:"description,omitempty"`

	DisableAlerting bool `json:"disableAlerting,omitempty"`

	DeviceId int32 `json:"deviceId,omitempty"`

	DataSourceId int32 `json:"dataSourceId,omitempty"`

	SdtAt string `json:"sdtAt,omitempty"`

	LockDescription bool `json:"lockDescription,omitempty"`

	LastUpdatedTime int64 `json:"lastUpdatedTime,omitempty"`

	Id int32 `json:"id,omitempty"`

	AlertStatusPriority int32 `json:"alertStatusPriority,omitempty"`

	AlertDisableStatus string `json:"alertDisableStatus,omitempty"`

	WildValue string `json:"wildValue"`

	StopMonitoring bool `json:"stopMonitoring,omitempty"`

	DeviceDataSourceId int32 `json:"deviceDataSourceId,omitempty"`

	WildValue2 string `json:"wildValue2,omitempty"`

	SdtStatus string `json:"sdtStatus,omitempty"`

	DeviceDisplayName string `json:"deviceDisplayName,omitempty"`

	GroupsDisabledThisSource []TreeNode `json:"groupsDisabledThisSource,omitempty"`

	LastCollectedTime int64 `json:"lastCollectedTime,omitempty"`

	GroupName string `json:"groupName,omitempty"`

	CustomProperties []NameAndValue `json:"customProperties,omitempty"`

	Name string `json:"name,omitempty"`

	AlertingDisabledOn TreeNode `json:"alertingDisabledOn,omitempty"`

	DataSourceType string `json:"dataSourceType,omitempty"`
}

type RestDeviceDataSourceInstanceAlertSetting

type RestDeviceDataSourceInstanceAlertSetting struct {
	GlobalAlertExpr string `json:"globalAlertExpr,omitempty"`

	AlertClearInterval int32 `json:"alertClearInterval,omitempty"`

	DisableAlerting bool `json:"disableAlerting,omitempty"`

	AlertExprNote string `json:"alertExprNote,omitempty"`

	DataPointDescription string `json:"dataPointDescription,omitempty"`

	DataSourceInstanceId int32 `json:"dataSourceInstanceId,omitempty"`

	DisableDpAlertHostGroups string `json:"disableDpAlertHostGroups,omitempty"`

	DataPointName string `json:"dataPointName,omitempty"`

	DataPointId int32 `json:"dataPointId,omitempty"`

	DeviceGroupId int32 `json:"deviceGroupId,omitempty"`

	CurrentAlertId int32 `json:"currentAlertId,omitempty"`

	ParentDeviceGroupAlertExprList []DeviceGroupAlertThresholdInfo `json:"parentDeviceGroupAlertExprList,omitempty"`

	AlertingDisabledOn string `json:"alertingDisabledOn,omitempty"`

	Id int32 `json:"id,omitempty"`

	DataSourceInstanceAlias string `json:"dataSourceInstanceAlias,omitempty"`

	DeviceGroupFullPath string `json:"deviceGroupFullPath,omitempty"`

	AlertExpr string `json:"alertExpr,omitempty"`

	AlertTransitionInterval int32 `json:"alertTransitionInterval,omitempty"`
}

type RestDeviceDataSourceInstanceAlertSettingResponse

type RestDeviceDataSourceInstanceAlertSettingResponse struct {
	Data RestDeviceDataSourceInstanceAlertSetting `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceDataSourceInstanceData

type RestDeviceDataSourceInstanceData struct {
	Values [][]float64 `json:"values,omitempty"`

	Time []int64 `json:"time,omitempty"`

	DataSourceName string `json:"dataSourceName,omitempty"`
}

type RestDeviceDataSourceInstanceDataResponse

type RestDeviceDataSourceInstanceDataResponse struct {
	Data RestDeviceDataSourceInstanceData `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceDataSourceInstanceGroup

type RestDeviceDataSourceInstanceGroup struct {
	AlertStatus string `json:"alertStatus,omitempty"`

	DeviceDataSourceId int32 `json:"deviceDataSourceId,omitempty"`

	Description string `json:"description"`

	DeviceId int32 `json:"deviceId,omitempty"`

	SdtStatus string `json:"sdtStatus,omitempty"`

	DeviceDisplayName string `json:"deviceDisplayName,omitempty"`

	GroupsDisabledThisSource []TreeNode `json:"groupsDisabledThisSource,omitempty"`

	DisabledInstancesNum int32 `json:"disabledInstancesNum,omitempty"`

	SdtAt string `json:"sdtAt,omitempty"`

	Name string `json:"name"`

	CreateOn int64 `json:"createOn,omitempty"`

	AlertingDisabledOn TreeNode `json:"alertingDisabledOn,omitempty"`

	Id int32 `json:"id,omitempty"`

	AlertStatusPriority int32 `json:"alertStatusPriority,omitempty"`

	AlertDisableStatus string `json:"alertDisableStatus,omitempty"`

	InstancesNum int32 `json:"instancesNum,omitempty"`
}

type RestDeviceDataSourceInstanceGroupResponse

type RestDeviceDataSourceInstanceGroupResponse struct {
	Data RestDeviceDataSourceInstanceGroup `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceDataSourceInstanceResponse

type RestDeviceDataSourceInstanceResponse struct {
	Data RestDeviceDataSourceInstance `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceDatasourceDataResponse

type RestDeviceDatasourceDataResponse struct {
	Data RestDeviceDataSourceData `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceDatasourcePagination

type RestDeviceDatasourcePagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestDeviceDataSource `json:"items,omitempty"`
}

type RestDeviceDatasourcePaginationResponse

type RestDeviceDatasourcePaginationResponse struct {
	Data RestDeviceDatasourcePagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceDatasourceResponse

type RestDeviceDatasourceResponse struct {
	Data RestDeviceDataSource `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceGroup

type RestDeviceGroup struct {
	FullPath string `json:"fullPath,omitempty"`

	AlertStatus string `json:"alertStatus,omitempty"`

	GroupType string `json:"groupType,omitempty"`

	NumOfAWSDevices int64 `json:"numOfAWSDevices,omitempty"`

	Description string `json:"description,omitempty"`

	AppliesTo string `json:"appliesTo,omitempty"`

	DisableAlerting bool `json:"disableAlerting,omitempty"`

	AwsRegionsInfo string `json:"awsRegionsInfo,omitempty"`

	CreatedOn int64 `json:"createdOn,omitempty"`

	HasNetflowEnabledDevices bool `json:"hasNetflowEnabledDevices,omitempty"`

	NumOfAzureDevices int64 `json:"numOfAzureDevices,omitempty"`

	ClusterAlertStatusPriority int32 `json:"clusterAlertStatusPriority,omitempty"`

	DefaultCollectorDescription string `json:"defaultCollectorDescription,omitempty"`

	DefaultCollectorId int32 `json:"defaultCollectorId,omitempty"`

	AwsTestResult string `json:"awsTestResult,omitempty"`

	Extra JsonObject `json:"extra,omitempty"`

	NumOfDirectSubGroups int64 `json:"numOfDirectSubGroups,omitempty"`

	SubGroups []GroupData `json:"subGroups,omitempty"`

	NumOfDirectDevices int64 `json:"numOfDirectDevices,omitempty"`

	Id int32 `json:"id,omitempty"`

	EnableNetflow bool `json:"enableNetflow,omitempty"`

	AlertStatusPriority int32 `json:"alertStatusPriority,omitempty"`

	AlertDisableStatus string `json:"alertDisableStatus,omitempty"`

	AzureTestResultCode int32 `json:"azureTestResultCode,omitempty"`

	EffectiveAlertEnabled bool `json:"effectiveAlertEnabled,omitempty"`

	ClusterAlertStatus string `json:"clusterAlertStatus,omitempty"`

	UserPermission string `json:"userPermission,omitempty"`

	GroupStatus string `json:"groupStatus,omitempty"`

	AzureTestResult string `json:"azureTestResult,omitempty"`

	SdtStatus string `json:"sdtStatus,omitempty"`

	ParentId int32 `json:"parentId,omitempty"`

	AwsTestResultCode int32 `json:"awsTestResultCode,omitempty"`

	CustomProperties []NameAndValue `json:"customProperties,omitempty"`

	NumOfHosts int64 `json:"numOfHosts,omitempty"`

	Name string `json:"name"`

	AlertingDisabledOn TreeNode `json:"alertingDisabledOn,omitempty"`

	AzureRegionsInfo string `json:"azureRegionsInfo,omitempty"`
}

type RestDeviceGroupDataSource

type RestDeviceGroupDataSource struct {
	StopMonitoring bool `json:"stopMonitoring"`

	DataSourceId int32 `json:"dataSourceId,omitempty"`

	DataSourceGroupName string `json:"dataSourceGroupName,omitempty"`

	DeviceGroupId int32 `json:"deviceGroupId,omitempty"`

	DataSourceDisplayName string `json:"dataSourceDisplayName,omitempty"`

	DisableAlerting bool `json:"disableAlerting"`

	DataSourceName string `json:"dataSourceName,omitempty"`

	DataSourceType string `json:"dataSourceType,omitempty"`
}

type RestDeviceGroupDataSourceAlertConfig

type RestDeviceGroupDataSourceAlertConfig struct {
	DatasourceType string `json:"datasourceType,omitempty"`

	DpConfig []DataPointConfig `json:"dpConfig,omitempty"`
}

type RestDeviceGroupDatasourceAlertConfigResponse

type RestDeviceGroupDatasourceAlertConfigResponse struct {
	Data RestDeviceGroupDataSourceAlertConfig `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceGroupDatasourceResponse

type RestDeviceGroupDatasourceResponse struct {
	Data RestDeviceGroupDataSource `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceGroupPagination

type RestDeviceGroupPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestDeviceGroup `json:"items,omitempty"`
}

type RestDeviceGroupPaginationResponse

type RestDeviceGroupPaginationResponse struct {
	Data RestDeviceGroupPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceGroupResponse

type RestDeviceGroupResponse struct {
	Data RestDeviceGroup `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDevicePagination

type RestDevicePagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestDevice `json:"items,omitempty"`
}

type RestDevicePaginationResponse

type RestDevicePaginationResponse struct {
	Data RestDevicePagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestDeviceResponse

type RestDeviceResponse struct {
	Data RestDevice `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestGraph

type RestGraph struct {
	DisplayPrio int32 `json:"displayPrio,omitempty"`

	Name string `json:"name,omitempty"`

	Id int32 `json:"id,omitempty"`

	Title string `json:"title,omitempty"`
}

type RestGraphOpsNoteScope

type RestGraphOpsNoteScope struct {
	Id int32 `json:"id,omitempty"`

	Type_ string `json:"type,omitempty"`
}

type RestGraphPlot

type RestGraphPlot struct {
	Missinglines []string `json:"missinglines,omitempty"`

	TimeScale string `json:"timeScale,omitempty"`

	Timestamps []int64 `json:"timestamps,omitempty"`

	Title string `json:"title,omitempty"`

	MinValue float64 `json:"minValue,omitempty"`

	StartTime int64 `json:"startTime,omitempty"`

	Id int32 `json:"id,omitempty"`

	Rigid bool `json:"rigid,omitempty"`

	Lines []Line `json:"lines,omitempty"`

	Height int32 `json:"height,omitempty"`

	EndTZOffset int32 `json:"endTZOffset,omitempty"`

	Base1024 bool `json:"base1024,omitempty"`

	DsName string `json:"dsName,omitempty"`

	MaxValue float64 `json:"maxValue,omitempty"`

	DisplayPrio int32 `json:"displayPrio,omitempty"`

	TimeZone string `json:"timeZone,omitempty"`

	StartTZOffset int32 `json:"startTZOffset,omitempty"`

	XAxisName string `json:"xAxisName,omitempty"`

	Width int32 `json:"width,omitempty"`

	Name string `json:"name,omitempty"`

	VerticalLabel string `json:"verticalLabel,omitempty"`

	Step int64 `json:"step,omitempty"`

	EndTime int64 `json:"endTime,omitempty"`

	Scopes []RestGraphOpsNoteScope `json:"scopes,omitempty"`

	Base int64 `json:"base,omitempty"`

	ExportFileName string `json:"exportFileName,omitempty"`
}

type RestGraphPlotResponse

type RestGraphPlotResponse struct {
	Data RestGraphPlot `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestInheritanceProp

type RestInheritanceProp struct {
	Fullpath string `json:"fullpath,omitempty"`

	Id int32 `json:"id,omitempty"`

	Type_ string `json:"type,omitempty"`

	Value string `json:"value,omitempty"`
}

type RestNullObjectResponse

type RestNullObjectResponse struct {
	Data interface{} `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestPrivilege

type RestPrivilege struct {
	ObjectName string `json:"objectName,omitempty"`

	Operation string `json:"operation"`

	ObjectId string `json:"objectId"`

	ObjectType string `json:"objectType"`
}

type RestProperty

type RestProperty struct {
	InheritList []RestInheritanceProp `json:"inheritList,omitempty"`

	Name string `json:"name,omitempty"`

	Type_ string `json:"type,omitempty"`

	Value string `json:"value,omitempty"`
}

type RestPropertyPagination

type RestPropertyPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestProperty `json:"items,omitempty"`
}

type RestPropertyPaginationResponse

type RestPropertyPaginationResponse struct {
	Data RestPropertyPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestPropertyResponse

type RestPropertyResponse struct {
	Data RestProperty `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestRawDataValues

type RestRawDataValues struct {
	Values [][]float64 `json:"values,omitempty"`

	Time []int64 `json:"time,omitempty"`
}

type RestRole

type RestRole struct {
	EnableRemoteSessionInCompanyLevel bool `json:"enableRemoteSessionInCompanyLevel,omitempty"`

	CustomHelpLabel string `json:"customHelpLabel,omitempty"`

	CustomHelpURL string `json:"customHelpURL,omitempty"`

	Privileges []RestPrivilege `json:"privileges"`

	AssociatedUserCount int32 `json:"associatedUserCount,omitempty"`

	Name string `json:"name"`

	Description string `json:"description,omitempty"`

	Id int32 `json:"id,omitempty"`

	TwoFARequired bool `json:"twoFARequired,omitempty"`

	RequireEULA bool `json:"requireEULA,omitempty"`
}

type RestRolePagination

type RestRolePagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestRole `json:"items,omitempty"`
}

type RestRolePaginationResponse

type RestRolePaginationResponse struct {
	Data RestRolePagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestRoleResponse

type RestRoleResponse struct {
	Data RestRole `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestServiceGroup

type RestServiceGroup struct {
	AlertStatus string `json:"alertStatus,omitempty"`

	NumOfServices int32 `json:"numOfServices,omitempty"`

	FullPath string `json:"fullPath,omitempty"`

	StopMonitoring bool `json:"stopMonitoring,omitempty"`

	HasServicesDisabled bool `json:"hasServicesDisabled,omitempty"`

	UserPermission string `json:"userPermission,omitempty"`

	TestLocation string `json:"testLocation,omitempty"`

	Description string `json:"description,omitempty"`

	DisableAlerting bool `json:"disableAlerting,omitempty"`

	GroupStatus string `json:"groupStatus,omitempty"`

	SdtStatus string `json:"sdtStatus,omitempty"`

	ParentId int32 `json:"parentId,omitempty"`

	Name string `json:"name"`

	NumOfDirectSubGroups int32 `json:"numOfDirectSubGroups,omitempty"`

	SubGroups []GroupData `json:"subGroups,omitempty"`

	Id int32 `json:"id,omitempty"`

	AlertStatusPriority int32 `json:"alertStatusPriority,omitempty"`

	AlertDisableStatus string `json:"alertDisableStatus,omitempty"`

	ServiceProperties []NameAndValue `json:"serviceProperties,omitempty"`

	NumOfDirectServices int32 `json:"numOfDirectServices,omitempty"`
}

type RestServiceGroupPagination

type RestServiceGroupPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestServiceGroup `json:"items,omitempty"`
}

type RestServiceGroupPaginationResponse

type RestServiceGroupPaginationResponse struct {
	Data RestServiceGroupPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestServiceGroupResponse

type RestServiceGroupResponse struct {
	Data RestServiceGroup `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestSmCheckPointPaginationResponse

type RestSmCheckPointPaginationResponse struct {
	Data RestSmCheckPointpPagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestSmCheckPointpPagination

type RestSmCheckPointpPagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestSmCheckpoint `json:"items,omitempty"`
}

type RestSmCheckpoint

type RestSmCheckpoint struct {
	GeoInfo string `json:"geoInfo,omitempty"`

	DisplayPrio int32 `json:"displayPrio,omitempty"`

	Name string `json:"name,omitempty"`

	Description string `json:"description"`

	Id int32 `json:"id,omitempty"`
}

type RestStringResponse

type RestStringResponse struct {
	Data string `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestUnmonitoredDevicePagination

type RestUnmonitoredDevicePagination struct {
	Total int32 `json:"total,omitempty"`

	SearchId string `json:"searchId,omitempty"`

	Items []RestUnmonitoredDevices `json:"items,omitempty"`
}

type RestUnmonitoredDevicePaginationResponse

type RestUnmonitoredDevicePaginationResponse struct {
	Data RestUnmonitoredDevicePagination `json:"data,omitempty"`

	Errmsg string `json:"errmsg,omitempty"`

	Status int32 `json:"status,omitempty"`
}

type RestUnmonitoredDevices

type RestUnmonitoredDevices struct {
	DeviceType string `json:"deviceType,omitempty"`

	NspId int32 `json:"nspId,omitempty"`

	ForwardIp string `json:"forwardIp,omitempty"`

	EndDate string `json:"endDate,omitempty"`

	Ip string `json:"ip,omitempty"`

	Dns string `json:"dns,omitempty"`

	CollectorId int32 `json:"collectorId,omitempty"`

	Ports string `json:"ports,omitempty"`

	NspName string `json:"nspName,omitempty"`

	DeviceStatus string `json:"deviceStatus,omitempty"`

	CollectorDescription string `json:"collectorDescription,omitempty"`

	DisplayAs string `json:"displayAs,omitempty"`

	SysName string `json:"sysName,omitempty"`

	NseId int32 `json:"nseId,omitempty"`

	Id int32 `json:"id,omitempty"`

	EndTimestamp int64 `json:"endTimestamp,omitempty"`

	Status string `json:"status,omitempty"`

	NseScanId string `json:"nseScanId,omitempty"`
}

type TreeNode

type TreeNode struct {
	UserPermission string `json:"userPermission,omitempty"`

	DisplayName string `json:"displayName,omitempty"`

	Id int32 `json:"id,omitempty"`

	Type_ string `json:"type,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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