diff --git a/docs/classes/API.Clause.html b/docs/classes/API.Clause.html index 714e391d6..ba672efc9 100644 --- a/docs/classes/API.Clause.html +++ b/docs/classes/API.Clause.html @@ -1,9 +1,9 @@ Clause | OpenNMS.js - v2.5.10-SNAPSHOT

A restriction and boolean operator pair.

-

Constructors

Constructors

Properties

Methods

Constructors

Properties

operator: Operator

The boolean operator to apply.

-

The associated restriction.

-

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

operator: Operator

The boolean operator to apply.

+

The associated restriction.

+

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/API.Comparator.html b/docs/classes/API.Comparator.html index d2b18934f..2ef87e42a 100644 --- a/docs/classes/API.Comparator.html +++ b/docs/classes/API.Comparator.html @@ -1,5 +1,5 @@ Comparator | OpenNMS.js - v2.5.10-SNAPSHOT

Class Comparator

Represents a filter comparator.

-

Hierarchy

  • OnmsEnum<number>
    • Comparator

Constructors

Hierarchy

  • OnmsEnum<number>
    • Comparator

Constructors

Properties

Accessors

id index @@ -9,13 +9,13 @@ toJSON toString find -

Constructors

Properties

aliases: string[] = ...

Aliases for the command-line.

-

Accessors

Methods

  • Whether this comparator matches the given comparator string.

    -

    Parameters

    • comparator: string

    Returns boolean

  • convert this enum to a string suitable for display

    -

    Returns string

  • convert to the JSON representation

    -

    Returns {
        id: number;
        label: string;
    }

    • id: number
    • label: string

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

aliases: string[] = ...

Aliases for the command-line.

+

Accessors

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/API.Filter.html b/docs/classes/API.Filter.html index 0b731197a..0bc4c78af 100644 --- a/docs/classes/API.Filter.html +++ b/docs/classes/API.Filter.html @@ -1,5 +1,5 @@ Filter | OpenNMS.js - v2.5.10-SNAPSHOT

A query filter for DAOs.

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

clauses: Clause[]

The clauses containing the nested restrictions and their logical operators.

-
limit: number = 1000

how many results to get back by default

-
orderBy: OrderBy[] = []

how to sort results

-

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

clauses: Clause[]

The clauses containing the nested restrictions and their logical operators.

+
limit: number = 1000

how many results to get back by default

+
orderBy: OrderBy[] = []

how to sort results

+

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/API.Logger.html b/docs/classes/API.Logger.html index 215aa1cb8..7666232f4 100644 --- a/docs/classes/API.Logger.html +++ b/docs/classes/API.Logger.html @@ -1,5 +1,5 @@ Logger | OpenNMS.js - v2.5.10-SNAPSHOT

Simple logger used for both CLI and browser use.

-

Constructors

Constructors

Properties

Methods

clear debug @@ -14,23 +14,23 @@ trace warn

Constructors

Properties

impl: Console = console

The actual "console" implementation to use.

-

Methods

  • Normal debug logging. Enabled only if debug is enabled.

    +

Methods

  • Normal debug logging. Enabled only if debug is enabled.

    Parameters

    • Rest ...parms: any[]

      logging parameters

      -

    Returns void

  • Error logging. Enabled unless in silent mode.

    +

Returns void

  • Error logging. Enabled unless in silent mode.

    Parameters

    • Rest ...parms: any[]

      logging parameters

      -

    Returns void

  • "Fatal" logging. Enabled unless in silent mode.

    +

Returns void

Returns void

Returns void

Returns void

Returns void

Generated using TypeDoc

\ No newline at end of file +

Returns void

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/API.NestedRestriction.html b/docs/classes/API.NestedRestriction.html index fd125b301..2e9aa58da 100644 --- a/docs/classes/API.NestedRestriction.html +++ b/docs/classes/API.NestedRestriction.html @@ -1,13 +1,13 @@ NestedRestriction | OpenNMS.js - v2.5.10-SNAPSHOT

Class NestedRestriction

Nested query restrictions.

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

clauses: Clause[]

The clauses containing the nested restrictions and their logical operators.

-

Methods

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

clauses: Clause[]

The clauses containing the nested restrictions and their logical operators.

+

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/API.OnmsAuthConfig.html b/docs/classes/API.OnmsAuthConfig.html index 8c573dc69..f8aa01b39 100644 --- a/docs/classes/API.OnmsAuthConfig.html +++ b/docs/classes/API.OnmsAuthConfig.html @@ -1,12 +1,12 @@ OnmsAuthConfig | OpenNMS.js - v2.5.10-SNAPSHOT

Class OnmsAuthConfig

Represents server authentication config.

-

Constructors

Constructors

Properties

Methods

Constructors

Properties

password: string

The password to authenticate with.

-
username: string

The username to connect as.

-

Methods

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns OnmsAuthConfig

Properties

password: string

The password to authenticate with.

+
username: string

The username to connect as.

+

Methods

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/API.OnmsError.html b/docs/classes/API.OnmsError.html index 8dffb9842..16e733b46 100644 --- a/docs/classes/API.OnmsError.html +++ b/docs/classes/API.OnmsError.html @@ -1,5 +1,5 @@ OnmsError | OpenNMS.js - v2.5.10-SNAPSHOT

Class OnmsError

Represents an OpenNMS.js error.

-

Hierarchy (view full)

Constructors

Hierarchy (view full)

Constructors

Properties

data message name @@ -13,13 +13,13 @@

Constructors

  • Create a new error.

    Parameters

    • message: string

      The error message.

    • Optional code: number

      An optional error code to associate with the error.

      -
    • Optional options: any
    • Optional data: any

    Returns OnmsError

Properties

data: any

The data (payload) associated with a response.

-
message: string
name: string
options: any

The options provided as part of the request that resulted in this erro.

-
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Optional override for formatting stack traces

+
  • Optional options: any
  • Optional data: any
  • Returns OnmsError

    Properties

    data: any

    The data (payload) associated with a response.

    +
    message: string
    name: string
    options: any

    The options provided as part of the request that resulted in this erro.

    +
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Optional override for formatting stack traces

    Type declaration

    stackTraceLimit: number

    Accessors

    Methods

    • Create .stack property on a target object

      +

      Returns number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.OnmsHTTPOptions.html b/docs/classes/API.OnmsHTTPOptions.html index 9be06d041..a034fdc4d 100644 --- a/docs/classes/API.OnmsHTTPOptions.html +++ b/docs/classes/API.OnmsHTTPOptions.html @@ -1,5 +1,5 @@ OnmsHTTPOptions | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsHTTPOptions

    Options to be used when making HTTP ReST calls.

    -

    Constructors

    Constructors

    Properties

    [AUTH_PROP] [TIMEOUT_PROP] data @@ -11,19 +11,19 @@

    Methods

    Constructors

    Properties

    [AUTH_PROP]: OnmsAuthConfig

    The default authentication credentials associated with these options.

    +

    Parameters

    • Optional timeout: number
    • Optional server: OnmsServer
    • Optional auth: OnmsAuthConfig
    • Optional headers: IHash<string>
    • Optional parameters: IHash<string | string[]>
    • Optional data: any

    Returns OnmsHTTPOptions

    Properties

    [AUTH_PROP]: OnmsAuthConfig

    The default authentication credentials associated with these options.

    This is a trick for making sure serialization to JSON happens properly without exposing internals.

    -
    [TIMEOUT_PROP]: number

    The default timeout associated with these options.

    +
    [TIMEOUT_PROP]: number

    The default timeout associated with these options.

    This is a trick for making sure serialization to JSON happens properly without exposing internals.

    -
    data: any

    HTTP data to be passed when POSTing

    -
    headers: IHash<string> = ...

    HTTP headers to be passed to the request.

    -
    parameters: IHash<string | string[]> = ...

    HTTP parameters to be passed on the URL.

    -
    server: OnmsServer

    The server to use instead of that provided by the HTTP implementation.

    -

    Accessors

    Methods

    data: any

    HTTP data to be passed when POSTing

    +
    headers: IHash<string> = ...

    HTTP headers to be passed to the request.

    +
    parameters: IHash<string | string[]> = ...

    HTTP parameters to be passed on the URL.

    +
    server: OnmsServer

    The server to use instead of that provided by the HTTP implementation.

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Returns OnmsHTTPOptionsBuilder

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.OnmsHTTPOptionsBuilder.html b/docs/classes/API.OnmsHTTPOptionsBuilder.html index 97a16147a..1b6b177fd 100644 --- a/docs/classes/API.OnmsHTTPOptionsBuilder.html +++ b/docs/classes/API.OnmsHTTPOptionsBuilder.html @@ -1,5 +1,5 @@ OnmsHTTPOptionsBuilder | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsHTTPOptionsBuilder

    A builder for [[OnmsHTTPOptions]]. Create a new one with [[OnmsHTTPOptions.newBuilder]].

    -

    Constructors

    Constructors

    Methods

    addParameter build merge @@ -14,41 +14,41 @@

    Constructors

    Methods

    Methods

    • A parameter to add or append to the request.

      If undefined is passed, that parameter will be reset to defaults. If the value is a string array, the existing value in the builder will be replaced. Otherwise, if the parameter already exists in the builder, the parameter will be converted to an array if necessary and this parameter will be added to it.

      Parameters

      • parameter: string

        the parameter name

      • Optional value: string | number | boolean | string[]

        the value of the parameter to add (or undefined)

        -

      Returns OnmsHTTPOptionsBuilder

    • Merge the contents of the provided [[OnmsHTTPOptions]] object, additively. +

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Returns OnmsHTTPOptionsBuilder

    Generated using TypeDoc

    \ No newline at end of file +

    Returns OnmsHTTPOptionsBuilder

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.OnmsResult.html b/docs/classes/API.OnmsResult.html index dc9b7cecd..267bfd2c3 100644 --- a/docs/classes/API.OnmsResult.html +++ b/docs/classes/API.OnmsResult.html @@ -1,5 +1,5 @@ OnmsResult | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsResult<T>

    An [[IOnmsHTTP]] query result.

    -

    Type Parameters

    • T

    Constructors

    Type Parameters

    • T

    Constructors

    Properties

    code? data message? @@ -12,11 +12,11 @@
  • Optional message: string

    The status message associated with the result.

  • Optional code: number

    The response code of the response.

  • Optional type: string

    The request type of the response.

    -
  • Returns OnmsResult<T>

    Properties

    code?: number

    The response code associated with this result.

    -
    data: T

    The data, if any.

    -
    message?: string

    The status message associated with this result.

    -
    type?: string

    The request type, if any.

    -

    Methods

    • Create a new success result.

      -

      Parameters

      • response: any
      • Optional message: string
      • Optional code: number
      • Optional type: string

      Returns OnmsResult<any>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns OnmsResult<T>

    Properties

    code?: number

    The response code associated with this result.

    +
    data: T

    The data, if any.

    +
    message?: string

    The status message associated with this result.

    +
    type?: string

    The request type, if any.

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.OnmsServer.html b/docs/classes/API.OnmsServer.html index fea34bde4..2fede9104 100644 --- a/docs/classes/API.OnmsServer.html +++ b/docs/classes/API.OnmsServer.html @@ -1,5 +1,5 @@ OnmsServer | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsServer

    Represents a remote OpenNMS server.

    -

    Constructors

    Constructors

    Properties

    auth id metadata @@ -15,18 +15,18 @@

    Parameters

    Returns OnmsServer

    Example

    provide a pre-existing [[OnmsAuthConfig]] for auth ```javascript const server = new OnmsServer('Test', 'https://myserver/opennms/', auth); -```

    Properties

    The authorization configuration associated with the server.

    -
    id: string

    A unique identifier for this server.

    -
    metadata: ServerMetadata

    The capabilities of the server

    -
    name?: string

    An optional name associated with this server.

    -
    url: string

    The base URL to the server.

    -

    Accessors

    • get host(): any
    • Get the hostname portion of the URL associated with this server.

      -

      Returns any

    Methods

    • Check whether the provided server has the same settings as this one.

      -

      Parameters

      Returns boolean

    • Given a relative URL fragment, construct a URL for that fragment on the server.

      +```

    Properties

    The authorization configuration associated with the server.

    +
    id: string

    A unique identifier for this server.

    +
    metadata: ServerMetadata

    The capabilities of the server

    +
    name?: string

    An optional name associated with this server.

    +
    url: string

    The base URL to the server.

    +

    Accessors

    • get host(): any
    • Get the hostname portion of the URL associated with this server.

      +

      Returns any

    Methods

    • Check whether the provided server has the same settings as this one.

      +

      Parameters

      Returns boolean

    • Given a relative URL fragment, construct a URL for that fragment on the server.

      Parameters

      • Optional forFragment: string

        The URL fragment to append to the server URL.

      • Optional withQuery: any

      Returns any

      A complete URL.

      Parm

      withQuery - Query parameters to be appended to the URL.

      -
    • A string representation of this server suitable for display.

      -

      Returns string

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.OnmsServerBuilder.html b/docs/classes/API.OnmsServerBuilder.html index 4e2d59eeb..89c3c185a 100644 --- a/docs/classes/API.OnmsServerBuilder.html +++ b/docs/classes/API.OnmsServerBuilder.html @@ -1,5 +1,5 @@ OnmsServerBuilder | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsServerBuilder

    A builder for [[OnmsServer]]. Create a new one with [[OnmsServer.newBuilder]].

    -

    Constructors

    Constructors

    Accessors

    auth metadata name @@ -10,17 +10,17 @@ setName setUrl

    Constructors

    Accessors

    Methods

    Accessors

    Methods

    • The server metadata to associate with the server.

      +

    Returns OnmsServerBuilder

    Returns OnmsServerBuilder

    Returns OnmsServerBuilder

    Generated using TypeDoc

    \ No newline at end of file +

    Returns OnmsServerBuilder

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.OnmsVersion.html b/docs/classes/API.OnmsVersion.html index 09339d67d..43e4249ce 100644 --- a/docs/classes/API.OnmsVersion.html +++ b/docs/classes/API.OnmsVersion.html @@ -1,5 +1,5 @@ OnmsVersion | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsVersion

    An OpenNMS version.

    -

    Constructors

    Constructors

    Properties

    Accessors

    Methods

    clone @@ -14,14 +14,14 @@

    Parameters

    • Optional version: string

      The numeric version.

    • Optional displayVersion: string

      The full display version (including extra designators like x.x.x-SNAPSHOT).

      -

    Returns OnmsVersion

    Properties

    version: string

    The numeric version (ex: 19.0.0).

    -

    Accessors

    Methods

    • Returns true if this version is equal to the passed version.

      -

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is greater than or equal to the passed version.

      -

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is greater than the passed version.

      -

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is less than or equal to the passed version.

      -

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    • Returns true if this version is less than the passed version.

      -

      Parameters

      • compare: string = '0.0.0'

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +

    Returns OnmsVersion

    Properties

    version: string

    The numeric version (ex: 19.0.0).

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.Operator.html b/docs/classes/API.Operator.html index fc3d90bb1..09754f89d 100644 --- a/docs/classes/API.Operator.html +++ b/docs/classes/API.Operator.html @@ -1,5 +1,5 @@ Operator | OpenNMS.js - v2.5.10-SNAPSHOT

    Class Operator

    Represents a filter comparator.

    -

    Hierarchy

    • OnmsEnum<number>
      • Operator

    Constructors

    Hierarchy

    • OnmsEnum<number>
      • Operator

    Constructors

    Properties

    Accessors

    id index @@ -9,13 +9,13 @@ toJSON toString forLabel -

    Constructors

    • Parameters

      • id: number
      • label: string
      • Rest ...aliases: string[]

      Returns Operator

    Properties

    aliases: string[] = ...

    Aliases for the command-line.

    -

    Accessors

    Methods

    • Whether this comparator matches the given comparator string.

      -

      Parameters

      • comparator: string

      Returns boolean

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: number;
          label: string;
      }

      • id: number
      • label: string
    • Given a label ('and', 'or'), return the corresponding operator.

      -

      Parameters

      • label: string

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    aliases: string[] = ...

    Aliases for the command-line.

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.Order.html b/docs/classes/API.Order.html index 582de4cfa..d09e36127 100644 --- a/docs/classes/API.Order.html +++ b/docs/classes/API.Order.html @@ -1,5 +1,5 @@ Order | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents a sort order.

    -

    Hierarchy

    • OnmsEnum<string>
      • Order

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • Order

    Constructors

    Accessors

    id index label @@ -10,13 +10,13 @@ forLabel fromString

    Constructors

    • construct an enum object with an id and label

      -

      Parameters

      • id: string
      • label: string

      Returns Order

    Accessors

    Methods

    • Whether this order matches the given order string.

      -

      Parameters

      • label: string

      Returns boolean

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string
    • Given a label ('ASC', 'DESC'), return the corresponding order.

      -

      Parameters

      • label: string

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns Order

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.OrderBy.html b/docs/classes/API.OrderBy.html index 227cb2271..506a4913c 100644 --- a/docs/classes/API.OrderBy.html +++ b/docs/classes/API.OrderBy.html @@ -1,11 +1,11 @@ OrderBy | OpenNMS.js - v2.5.10-SNAPSHOT

    Column ordering.

    -

    Constructors

    Constructors

    Properties

    Methods

    Constructors

    Properties

    attribute: string

    the attribute to order by

    -
    order: Order

    the order to sort

    -

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    attribute: string

    the attribute to order by

    +
    order: Order

    the order to sort

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.Restriction.html b/docs/classes/API.Restriction.html index 4056eb89a..c68dbba5e 100644 --- a/docs/classes/API.Restriction.html +++ b/docs/classes/API.Restriction.html @@ -1,15 +1,15 @@ Restriction | OpenNMS.js - v2.5.10-SNAPSHOT

    Class Restriction

    A query restriction.

    -

    Constructors

    Constructors

    Properties

    attribute: string

    The model attribute (name, id, etc.) to query.

    -
    comparator: Comparator

    The comparator to use when querying.

    -
    value?: any

    The value to compare the attribute property to.

    -

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    attribute: string

    The model attribute (name, id, etc.) to query.

    +
    comparator: Comparator

    The comparator to use when querying.

    +
    value?: any

    The value to compare the attribute property to.

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.SearchProperty.html b/docs/classes/API.SearchProperty.html index 2fa529c5b..5e8ccd72b 100644 --- a/docs/classes/API.SearchProperty.html +++ b/docs/classes/API.SearchProperty.html @@ -1,5 +1,5 @@ SearchProperty | OpenNMS.js - v2.5.10-SNAPSHOT

    Class SearchProperty

    Represents a query search property.

    -

    Constructors

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id?: string

    the search property ID

    -
    name?: string

    a descriptive name for the property

    -
    orderBy?: boolean

    whether the property is sortable

    -

    the property type

    -
    valueProvider: IValueProvider

    The value provider

    -
    values: any

    the values if any

    -

    Methods

    • Hook to gather all the values for this property.

      +

    Constructors

    Properties

    id?: string

    the search property ID

    +
    name?: string

    a descriptive name for the property

    +
    orderBy?: boolean

    whether the property is sortable

    +

    the property type

    +
    valueProvider: IValueProvider

    The value provider

    +
    values: any

    the values if any

    +

    Methods

    • Hook to gather all the values for this property.

      Parameters

      • options: any

        Some additional options, to for example restrict the values or limit the query.

        -

      Returns Promise<any>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns Promise<any>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.SearchPropertyType.html b/docs/classes/API.SearchPropertyType.html index c373a9d13..8519e2353 100644 --- a/docs/classes/API.SearchPropertyType.html +++ b/docs/classes/API.SearchPropertyType.html @@ -1,5 +1,5 @@ SearchPropertyType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class SearchPropertyType

    Represents a search property type.

    -

    Hierarchy

    • OnmsEnum<string>
      • SearchPropertyType

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • SearchPropertyType

    Constructors

    Properties

    Accessors

    id index @@ -10,13 +10,13 @@ toString forId forLabel -

    Constructors

    Properties

    comparators: Comparator[]

    supported comparators.

    -

    Accessors

    Methods

    • Returns the comparators supported by this type.

      +

    Constructors

    Properties

    comparators: Comparator[]

    supported comparators.

    +

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.ServerMetadata.html b/docs/classes/API.ServerMetadata.html index f1c8913e2..c63653a66 100644 --- a/docs/classes/API.ServerMetadata.html +++ b/docs/classes/API.ServerMetadata.html @@ -1,5 +1,5 @@ ServerMetadata | OpenNMS.js - v2.5.10-SNAPSHOT

    Class ServerMetadata

    A class that represents the capabilities an OpenNMS server has and other information about it.

    -

    Constructors

    Constructors

    Properties

    ticketerConfig? type version @@ -24,25 +24,25 @@

    Constructors

    Properties

    ticketerConfig?: TicketerConfig

    The ticketer config. Requires at least version 21.0.0 of OpenNMS.

    -

    The type of server (Horizon, Meridian).

    -
    version: OnmsVersion

    The version of the server.

    -

    Methods

    • Returns a convenient data structure with all capabilities listed.

      -

      Returns {
          [key: string]: any;
      }

      • [key: string]: any
    • Does this version support the api/v2/ipinterfaces ReST endpoint?

      -

      Returns boolean

    • Does this version support the rest/resources/select ReST endpoint?

      -

      Returns boolean

    Generated using TypeDoc

    \ No newline at end of file +
  • Optional ticketerConfig: TicketerConfig
  • Returns ServerMetadata

    Properties

    ticketerConfig?: TicketerConfig

    The ticketer config. Requires at least version 21.0.0 of OpenNMS.

    +

    The type of server (Horizon, Meridian).

    +
    version: OnmsVersion

    The version of the server.

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.ServerType.html b/docs/classes/API.ServerType.html index 20939edf3..6bc387b22 100644 --- a/docs/classes/API.ServerType.html +++ b/docs/classes/API.ServerType.html @@ -1,5 +1,5 @@ ServerType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class ServerType

    Represents an OpenNMS server type.

    -

    Hierarchy

    • OnmsEnum<number>
      • ServerType

    Constructors

    Hierarchy

    • OnmsEnum<number>
      • ServerType

    Constructors

    Accessors

    id index label @@ -7,10 +7,10 @@ toJSON toString

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: number;
          label: string;
      }

      • id: number
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns ServerType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/API.TicketerConfig.html b/docs/classes/API.TicketerConfig.html index 97122638b..e9e523e36 100644 --- a/docs/classes/API.TicketerConfig.html +++ b/docs/classes/API.TicketerConfig.html @@ -1,11 +1,11 @@ TicketerConfig | OpenNMS.js - v2.5.10-SNAPSHOT

    Class TicketerConfig

    States the current ticket configuration.

    -

    Constructors

    Constructors

    Properties

    Methods

    Constructors

    Properties

    enabled: boolean

    Defines if the ticketer integration is enabled. True if enabled, False otherwise.

    -
    plugin: string

    The name of the ticketer plugin currently in use.

    -

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    enabled: boolean

    Defines if the ticketer integration is enabled. True if enabled, False otherwise.

    +
    plugin: string

    The name of the ticketer plugin currently in use.

    +

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Client.html b/docs/classes/Client.html index 4c22a7d0e..9dc153703 100644 --- a/docs/classes/Client.html +++ b/docs/classes/Client.html @@ -1,5 +1,5 @@ Client | OpenNMS.js - v2.5.10-SNAPSHOT

    Class Client

    The OpenNMS client. This is the primary interface to OpenNMS servers.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Methods

    alarms @@ -18,29 +18,29 @@

    If no httpImpl parameter is provided, the class in [[Client.defaultHttp]] will be used by default. Unless overridden, this defaults to [[AxiosHTTP]].

    Parameters

    • Optional httpImpl: IOnmsHTTP

      The IOnmsHTTP implementation to use.

      -

    Returns Client

    Properties

    http: IOnmsHTTP

    the OnmsHTTP implementation that will be used when making requests

    -
    defaultHttp: typeof AxiosHTTP = AxiosHTTP

    The default OnmsHTTP implementation to be used when making requests

    -

    Methods

    • Connect to an OpenNMS server.

      +

    Returns Client

    Properties

    http: IOnmsHTTP

    the OnmsHTTP implementation that will be used when making requests

    +
    defaultHttp: typeof AxiosHTTP = AxiosHTTP

    The default OnmsHTTP implementation to be used when making requests

    +

    Methods

    • Connect to an OpenNMS server.

      NOTE: This method will connect to the server using the provided information, get the server metadata, and then assign that server to the existing [[IOnmsHTTP]] implementation associated with this client (or the default impl, if one has not yet been provided).

      -

      Parameters

      • name: string
      • url: string
      • username: string
      • password: string
      • Optional timeout: number

      Returns Promise<Client>

    • Given an OnmsServer object, check that it can be connected to.

      +

      Parameters

      • name: string
      • url: string
      • username: string
      • password: string
      • Optional timeout: number

      Returns Promise<Client>

    • Given an OnmsServer object, check that it can be connected to.

      Parameters

      • server: OnmsServer

        the server to check

      • Optional httpImpl: IOnmsHTTP

        the [[IOnmsHTTP]] implementation to use

      • Optional timeout: number

        how long to wait before giving up when making ReST calls

        -

      Returns Promise<boolean>

    • Given an OnmsServer object, query what capabilities it has, and return the capabilities +

    Returns Promise<boolean>

    Generated using TypeDoc

    \ No newline at end of file +

    Returns Promise<ServerMetadata>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.AlarmDAO.html b/docs/classes/DAO.AlarmDAO.html index 416545496..18018d44c 100644 --- a/docs/classes/DAO.AlarmDAO.html +++ b/docs/classes/DAO.AlarmDAO.html @@ -1,5 +1,5 @@ AlarmDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Class AlarmDAO

    Data access for [[OnmsAlarm]] objects.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Accessors

    Methods

    acknowledge @@ -35,102 +35,102 @@ useJson visitClause visitFilter -

    Constructors

    Accessors

    Methods

    • Acknowledge an alarm.

      +

    Constructors

    Accessors

    Methods

    • Acknowledge an alarm.

      Parameters

      • alarm: number | OnmsAlarm
      • Optional user: string

        The user to ack the alarm as. (Only administrators have the right to do this.)

      Returns Promise<void>

      Version

      ReST v1+

      -
    • Clear an alarm.

      Parameters

      • alarm: number | OnmsAlarm

        The [[OnmsAlarm]] or alarm ID.

      Returns Promise<void>

      Version

      ReST v1+

      -
    • Close the ticket associated with the given alarm.

      +
    • Close the ticket associated with the given alarm.

      Parameters

      • alarm: number | OnmsAlarm

        The [[OnmsAlarm]] or alarm ID.

      Returns Promise<void>

      Version

      ReST v2

      -
    • Create a trouble ticket for the specified alarm.

      +
    • Create a trouble ticket for the specified alarm.

      Parameters

      • alarm: number | OnmsAlarm

        The [[OnmsAlarm]] or alarm ID.

      Returns Promise<void>

      Version

      ReST v2

      -
    • Delete the journal memo ticket associated with the given alarm.

      +
    • Delete the journal memo ticket associated with the given alarm.

      Parameters

      • alarm: number | OnmsAlarm

        The [[OnmsAlarm]] or alarm ID.

      Returns Promise<void>

      Version

      ReST v2

      -
    • Delete the sticky memo ticket associated with the given alarm.

      +
    • Delete the sticky memo ticket associated with the given alarm.

      Parameters

      • alarm: number | OnmsAlarm

        The [[OnmsAlarm]] or alarm ID.

      Returns Promise<void>

      Version

      ReST v2

      -
    • Escalate an alarm.

      Parameters

      • alarm: number | OnmsAlarm

        The [[OnmsAlarm]] or alarm ID.

      Returns Promise<void>

      Version

      ReST v1+

      -
    • Find matching alarms.

      Parameters

      • Optional filter: Filter

        The filter to use when querying.

      Returns Promise<OnmsAlarm[]>

      An array of [[OnmsAlarm]] objects.

      Version

      ReST v1+

      -
    • Finds the values for the given propertyId, if it exists.

      +
    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -
    • Retrieve the API version from the currently configured server.

      -

      Returns number

    • A convenience method to make it easy for implementers to extract the count +

    • Retrieve the API version from the currently configured server.

      +

      Returns number

    • A convenience method to make it easy for implementers to extract the count (or totalCount) values from response data.

      -

      Parameters

      • data: any
      • Optional status: number

      Returns number

    • Extracts the data from an HTTP Request result.

      +

      Parameters

      • data: any
      • Optional status: number

      Returns number

    • Retrieves the URL to the details page for the given alarm.

      +
    • Retrieves the URL to the details page for the given alarm.

      Parameters

      • alarm: number | OnmsAlarm

        The [[OnmsAlarm]] or alarm ID.

      Returns string

      URL on the associated OpenNMS server for the alarm details page.

      -
    • Returns or creates a cache of properties for this dao.

      +
    • Returns or creates a cache of properties for this dao.

      Returns Promise<any>

      the cache for this dao. It is created if it does not exist.

      -
    • Handle response errors and automatically log "ticketing not enabled" responses.

      +
    • Fetches the data from the result and verfifes that the dataFieldName exists in the data property. +

    Returns void

    Returns any[]

    Returns Promise<SearchProperty>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.EventDAO.html b/docs/classes/DAO.EventDAO.html index 945467b2a..18901d448 100644 --- a/docs/classes/DAO.EventDAO.html +++ b/docs/classes/DAO.EventDAO.html @@ -1,5 +1,5 @@ EventDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Class EventDAO

    Data access for [[OnmsEvent]] objects.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Accessors

    Methods

    find @@ -20,42 +20,42 @@ useJson visitClause visitFilter -

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      +

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -
    • Retrieve the API version from the currently configured server.

      -

      Returns number

    • A convenience method to make it easy for implementers to extract the count +

    • Retrieve the API version from the currently configured server.

      +

      Returns number

    • A convenience method to make it easy for implementers to extract the count (or totalCount) values from response data.

      -

      Parameters

      • data: any
      • Optional status: number

      Returns number

    • Create an [[OnmsHTTPOptions]] object for DAO calls given an optional filter.

      +

      Parameters

      • data: any
      • Optional status: number

      Returns number

    • Returns or creates a cache of properties for this dao.

      +

    Returns Promise<OnmsHTTPOptionsBuilder>

    Returns any[]

    Returns Promise<SearchProperty>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.FlowDAO.html b/docs/classes/DAO.FlowDAO.html index 94bafd79d..3a91cec73 100644 --- a/docs/classes/DAO.FlowDAO.html +++ b/docs/classes/DAO.FlowDAO.html @@ -1,5 +1,5 @@ FlowDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    DAO for accessing flow (Netflow/IPFIX/sFlow) data.

    -

    Hierarchy

    • BaseDAO
      • FlowDAO

    Constructors

    Hierarchy

    • BaseDAO
      • FlowDAO

    Constructors

    Accessors

    Methods

    checkForEnhancedFlows @@ -32,44 +32,44 @@

    Constructors

    • Construct a DAO instance.

      Parameters

      • impl: IOnmsHTTP | IHasHTTP

        The HTTP implementation to use. It is also legal to pass any object conforming to the [[IHasHTTP]] interface (like a [[Client]]).

        -

      Returns FlowDAO

    Accessors

    Methods

    • Check if this version of OpenNMS supports enhanced flow API and if not throw an error.

      -

      Returns void

    • Check if this version of OpenNMS supports ToS filtering API and if not throw an error.

      -

      Returns void

    • Enumerate the applications matching the given prefix and filters.

      +

    Returns FlowDAO

    Accessors

    Methods

    • Check if this version of OpenNMS supports enhanced flow API and if not throw an error.

      +

      Returns void

    • Check if this version of OpenNMS supports ToS filtering API and if not throw an error.

      +

      Returns void

    • Enumerate the applications matching the given prefix and filters.

      Parameters

      • Optional prefix: string

        the prefix to match

      • Optional start: number

        the start of the timespan to query (defaults to 4 hours ago)

      • Optional end: number

        the end of the timespan to query (defaults to now)

      • Optional exporterNodeCriteria: string

        the node ID or foreignSource:foreignId tuple

      • Optional ifIndex: number

        filter for flows that came through this SNMP interface

      • Optional dscp: string[]

        filter for flows with this Dscp value

        -

      Returns Promise<string[]>

    • A convenience method to make it easy for implementers to extract the count +

    Returns Promise<string[]>

    Returns Promise<number[]>

    Returns Promise<OnmsFlowExporter>

    Returns Promise<OnmsFlowExporterSummary[]>

    Returns Promise<string[]>

    Returns Promise<OnmsFlowSeries>

    Returns Promise<OnmsFlowSeries>

    Returns Promise<OnmsFlowSeries>

    Returns Promise<OnmsFlowSeries>

    Returns Promise<OnmsFlowSeries>

    Returns Promise<OnmsFlowSeries>

    Returns Promise<OnmsFlowSeries>

    Returns Promise<OnmsFlowTable>

    Returns Promise<OnmsFlowTable>

    Returns Promise<OnmsFlowTable>

    Returns Promise<OnmsFlowTable>

    Returns Promise<OnmsFlowTable>

    Returns Promise<OnmsFlowTable>

    Returns Promise<OnmsFlowTable>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.IpInterfaceDAO.html b/docs/classes/DAO.IpInterfaceDAO.html index d7907d416..e0bf65aa0 100644 --- a/docs/classes/DAO.IpInterfaceDAO.html +++ b/docs/classes/DAO.IpInterfaceDAO.html @@ -1,5 +1,5 @@ IpInterfaceDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Class IpInterfaceDAO

    Data access for [[OnmsIpInterface]] objects.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Accessors

    Methods

    find @@ -20,43 +20,43 @@ useJson visitClause visitFilter -

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      +

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -
    • Retrieve the API version from the currently configured server.

      -

      Returns number

    • A convenience method to make it easy for implementers to extract the count +

    Returns Promise<OnmsIpInterface>

    Returns Promise<OnmsHTTPOptionsBuilder>

    Returns any[]

    Returns Promise<SearchProperty>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.MonitoredServiceDAO.html b/docs/classes/DAO.MonitoredServiceDAO.html index 28fa19067..ec697ff0f 100644 --- a/docs/classes/DAO.MonitoredServiceDAO.html +++ b/docs/classes/DAO.MonitoredServiceDAO.html @@ -1,5 +1,5 @@ MonitoredServiceDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Class MonitoredServiceDAO

    Data access for [[OnmsMonitoredService]] objects.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Accessors

    Methods

    find @@ -20,43 +20,43 @@ useJson visitClause visitFilter -

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      +

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -
    • Retrieve the API version from the currently configured server.

      -

      Returns number

    • A convenience method to make it easy for implementers to extract the count +

    Returns Promise<OnmsMonitoredService>

    Returns Promise<OnmsHTTPOptionsBuilder>

    Returns any[]

    Returns Promise<SearchProperty>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.NodeDAO.html b/docs/classes/DAO.NodeDAO.html index 83cf70fd3..adaddbd3e 100644 --- a/docs/classes/DAO.NodeDAO.html +++ b/docs/classes/DAO.NodeDAO.html @@ -1,5 +1,5 @@ NodeDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Data access for [[OnmsNode]] objects.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Accessors

    Methods

    fetch @@ -25,50 +25,50 @@ useJson visitClause visitFilter -

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      +

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -
    • Get an node, given the node's ID.

      Parameters

      • id: number

        The node's ID.

      • recurse: boolean = false

        Optionally fetch all sub-model objects. (ipInterface, etc.)

        -

      Returns Promise<OnmsNode>

    • Retrieve the API version from the currently configured server.

      -

      Returns number

    • A convenience method to make it easy for implementers to extract the count +

    Returns Promise<OnmsNode>

    Returns number

    Returns Promise<OnmsHTTPOptionsBuilder>

    Returns any[]

    Returns Promise<SearchProperty>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.OutageDAO.html b/docs/classes/DAO.OutageDAO.html index 757084107..7f119f0da 100644 --- a/docs/classes/DAO.OutageDAO.html +++ b/docs/classes/DAO.OutageDAO.html @@ -1,5 +1,5 @@ OutageDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OutageDAO

    Data access for [[OnmsOutage]] objects.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Accessors

    Methods

    find @@ -20,43 +20,43 @@ useJson visitClause visitFilter -

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      +

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -
    • Retrieve the API version from the currently configured server.

      -

      Returns number

    • A convenience method to make it easy for implementers to extract the count +

    Returns Promise<OnmsOutage>

    Returns Promise<OnmsHTTPOptionsBuilder>

    Returns any[]

    Returns Promise<SearchProperty>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.SituationFeedbackDAO.html b/docs/classes/DAO.SituationFeedbackDAO.html index 6b9372299..319ae001e 100644 --- a/docs/classes/DAO.SituationFeedbackDAO.html +++ b/docs/classes/DAO.SituationFeedbackDAO.html @@ -1,5 +1,5 @@ SituationFeedbackDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Class SituationFeedbackDAO

    Data access for [[OnmsSituationFeedback]] objects.

    -

    Hierarchy

    • BaseDAO
      • SituationFeedbackDAO

    Constructors

    Hierarchy

    • BaseDAO
      • SituationFeedbackDAO

    Constructors

    Accessors

    Methods

    getCount @@ -11,28 +11,28 @@ toDate toNumber useJson -

    Constructors

    Accessors

    Methods

    • A convenience method to make it easy for implementers to extract the count +

    Constructors

    Accessors

    Methods

    • A convenience method to make it easy for implementers to extract the count (or totalCount) values from response data.

      -

      Parameters

      • data: any
      • Optional status: number

      Returns number

    • Retrieve the tags for a given prefix

      Parameters

      • prefix: string

        the prefix associated with the tags

        -

      Returns Promise<string[]>

    • Called whenever the OpenNMS server has changed.

      +

    Returns Promise<string[]>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.SnmpInterfaceDAO.html b/docs/classes/DAO.SnmpInterfaceDAO.html index b6b783156..9c6b1eb5c 100644 --- a/docs/classes/DAO.SnmpInterfaceDAO.html +++ b/docs/classes/DAO.SnmpInterfaceDAO.html @@ -1,5 +1,5 @@ SnmpInterfaceDAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Class SnmpInterfaceDAO

    Data access for [[OnmsSnmpInterface]] objects.

    -

    Hierarchy

    Constructors

    Hierarchy

    Constructors

    Accessors

    Methods

    find @@ -20,43 +20,43 @@ useJson visitClause visitFilter -

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      +

    Constructors

    Accessors

    Methods

    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -
    • Retrieve the API version from the currently configured server.

      -

      Returns number

    • A convenience method to make it easy for implementers to extract the count +

    Returns Promise<OnmsSnmpInterface>

    Returns Promise<OnmsHTTPOptionsBuilder>

    Returns any[]

    Returns Promise<SearchProperty>

    Returns void

    Generated using TypeDoc

    \ No newline at end of file +

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.V1FilterProcessor.html b/docs/classes/DAO.V1FilterProcessor.html index 4c648a916..987b1847e 100644 --- a/docs/classes/DAO.V1FilterProcessor.html +++ b/docs/classes/DAO.V1FilterProcessor.html @@ -1,5 +1,5 @@ V1FilterProcessor | OpenNMS.js - v2.5.10-SNAPSHOT

    Class V1FilterProcessor

    Converts a [[Filter]] into ReSTv1 parameters.

    -

    Implements

    Constructors

    Implements

    Constructors

    Methods

    Constructors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns IHash<string | string[]>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/DAO.V2FilterProcessor.html b/docs/classes/DAO.V2FilterProcessor.html index 3b3f751a6..f5a33a43f 100644 --- a/docs/classes/DAO.V2FilterProcessor.html +++ b/docs/classes/DAO.V2FilterProcessor.html @@ -1,5 +1,5 @@ V2FilterProcessor | OpenNMS.js - v2.5.10-SNAPSHOT

    Class V2FilterProcessor

    Converts a [[Filter]] into ReSTv2 FIQL parameters.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    searchProperties?: SearchProperty[]

    The accessor for Properties

    -
    NULL_DATE: string = '1970-01-01T00:00:00.000+0000'

    Constant used to represent null dates in the V2 API. +

    Constructors

    Properties

    searchProperties?: SearchProperty[]

    The accessor for Properties

    +
    NULL_DATE: string = '1970-01-01T00:00:00.000+0000'

    Constant used to represent null dates in the V2 API. This must be explicitly set as the restriction value when using either the NULL or NOTNULL comparators on date fields.

    -
    NULL_VALUE: string = '\u0000'

    Constant used to represent null values in the V2 API.

    -

    Methods

    • If the given value is a date value, it is converted to be properly parsed by the OpenNMS ReST API, +

    NULL_VALUE: string = '\u0000'

    Constant used to represent null values in the V2 API.

    +

    Methods

    • If the given value is a date value, it is converted to be properly parsed by the OpenNMS ReST API, otherwise it is not modified.

      Parameters

      • value: any

        Any value which may need conversion.

        -

      Returns any

    • Given a comparator, convert it to a correspond comparator +

    Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns "==" | "!=" | "=gt=" | "=lt=" | "=ge=" | "=le="

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsAlarm.html b/docs/classes/Model.OnmsAlarm.html index 74d3d02d1..14401b876 100644 --- a/docs/classes/Model.OnmsAlarm.html +++ b/docs/classes/Model.OnmsAlarm.html @@ -1,5 +1,5 @@ OnmsAlarm | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents an OpenNMS alarm.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Constructors

    Properties

    ackTime?: Moment

    the time this alarm was acknowledged

    -
    ackUser?: string

    the user that acknowledged this alarm

    -
    affectedNodeCount?: number

    If this alarm is a Situation, the number of Nodes affected by its RelatedAlarms, a value of 1 otherwise

    -
    count?: number

    the number of times this alarm has triggered

    -
    description?: string

    the alarm's description

    -
    detailsPage?: string

    link to the alarm details page on the source instance

    -
    firstEventTime?: Moment

    the first time an event has triggered this alarm

    -
    id?: number

    the alarm ID

    -
    journal?: OnmsMemo

    journal memo - a note associated with the reduction key for this alarm

    -
    lastEvent?: OnmsEvent

    the most recent event that triggered this alarm

    -
    location?: string

    which location the alarm originated from

    -
    logMessage?: string

    the alarm's log message

    -
    managedObjectInstance?: string

    managedObjectInstance - the instance associated with this alarm if it is a situation

    -
    managedObjectType?: string

    managedObjectType - the type associated with this alarm if it is a situation

    -
    nodeId?: number

    the node's ID associated with this alarm

    -
    nodeLabel?: string

    the node's label associated with this alarm

    -
    operatorInstructions?: string

    operator instructions

    -
    parameters?: OnmsParm[]

    the parameters emitted with this alarm's event

    -
    reductionKey?: string

    the alarm's reduction key

    -
    relatedAlarms?: OnmsAlarmSummary[]

    relatedAlarms - A list of alarms related to this alarm/situation

    -
    service?: OnmsServiceType

    the service associated with the event

    -
    severity?: OnmsSeverity

    the alarm's severity

    -
    sticky?: OnmsMemo

    sticky memo - a note associated with this specific alarm instance

    -
    suppressedBy?: string

    who the alarm was suppressed by

    -
    suppressedTime?: Moment

    when the alarm was suppressed

    -
    suppressedUntil?: Moment

    when the alarm will stop being suppressed

    -
    troubleTicket?: string

    the trouble ticket ID associated with this alarm

    -
    troubleTicketLink?: string

    the link to the trouble ticket system if defined

    -
    troubleTicketState?: OnmsTroubleTicketState

    the state of the trouble ticket associated with this alarm

    -

    the alarm's type

    -
    uei?: string

    the UEI of the event associated with this alarm

    -

    Accessors

    • get lastEventTime(): Moment
    • the most recent time the event has triggered this alarm

      -

      Returns Moment

    Generated using TypeDoc

    \ No newline at end of file +
    ackUser?: string

    the user that acknowledged this alarm

    +
    affectedNodeCount?: number

    If this alarm is a Situation, the number of Nodes affected by its RelatedAlarms, a value of 1 otherwise

    +
    count?: number

    the number of times this alarm has triggered

    +
    description?: string

    the alarm's description

    +
    detailsPage?: string

    link to the alarm details page on the source instance

    +
    firstEventTime?: Moment

    the first time an event has triggered this alarm

    +
    id?: number

    the alarm ID

    +
    journal?: OnmsMemo

    journal memo - a note associated with the reduction key for this alarm

    +
    lastEvent?: OnmsEvent

    the most recent event that triggered this alarm

    +
    location?: string

    which location the alarm originated from

    +
    logMessage?: string

    the alarm's log message

    +
    managedObjectInstance?: string

    managedObjectInstance - the instance associated with this alarm if it is a situation

    +
    managedObjectType?: string

    managedObjectType - the type associated with this alarm if it is a situation

    +
    nodeId?: number

    the node's ID associated with this alarm

    +
    nodeLabel?: string

    the node's label associated with this alarm

    +
    operatorInstructions?: string

    operator instructions

    +
    parameters?: OnmsParm[]

    the parameters emitted with this alarm's event

    +
    reductionKey?: string

    the alarm's reduction key

    +
    relatedAlarms?: OnmsAlarmSummary[]

    relatedAlarms - A list of alarms related to this alarm/situation

    +
    service?: OnmsServiceType

    the service associated with the event

    +
    severity?: OnmsSeverity

    the alarm's severity

    +
    sticky?: OnmsMemo

    sticky memo - a note associated with this specific alarm instance

    +
    suppressedBy?: string

    who the alarm was suppressed by

    +
    suppressedTime?: Moment

    when the alarm was suppressed

    +
    suppressedUntil?: Moment

    when the alarm will stop being suppressed

    +
    troubleTicket?: string

    the trouble ticket ID associated with this alarm

    +
    troubleTicketLink?: string

    the link to the trouble ticket system if defined

    +
    troubleTicketState?: OnmsTroubleTicketState

    the state of the trouble ticket associated with this alarm

    +
    type?: OnmsAlarmType

    the alarm's type

    +
    uei?: string

    the UEI of the event associated with this alarm

    +

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsAlarmSummary.html b/docs/classes/Model.OnmsAlarmSummary.html index 8e7bb933c..67b070f06 100644 --- a/docs/classes/Model.OnmsAlarmSummary.html +++ b/docs/classes/Model.OnmsAlarmSummary.html @@ -1,5 +1,5 @@ OnmsAlarmSummary | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsAlarmSummary

    Represents an OpenNMS alarm.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    description? id? label? @@ -9,11 +9,11 @@ type?

    Accessors

    Constructors

    Properties

    description?: string

    the alarm's description

    -
    id?: number

    the alarm ID

    -
    label?: string

    the label of this alarm as defined in the alarm configuration

    -
    logMessage?: string

    the alarm's log message

    -
    reductionKey?: string

    the alarm's reduction key

    -
    severity?: OnmsSeverity

    the alarm's severity

    -

    the alarm's type

    -

    Accessors

    Generated using TypeDoc

    \ No newline at end of file +
    id?: number

    the alarm ID

    +
    label?: string

    the label of this alarm as defined in the alarm configuration

    +
    logMessage?: string

    the alarm's log message

    +
    reductionKey?: string

    the alarm's reduction key

    +
    severity?: OnmsSeverity

    the alarm's severity

    +
    type?: OnmsAlarmType

    the alarm's type

    +

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsAlarmType.html b/docs/classes/Model.OnmsAlarmType.html index 317ecf8a9..f60bb6f73 100644 --- a/docs/classes/Model.OnmsAlarmType.html +++ b/docs/classes/Model.OnmsAlarmType.html @@ -1,5 +1,5 @@ OnmsAlarmType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsAlarmType

    Represents an OpenNMS alarm type.

    -

    Hierarchy

    • OnmsEnum<number>
      • OnmsAlarmType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<number>
      • OnmsAlarmType

    Implements

    Constructors

    Accessors

    id index label @@ -9,11 +9,11 @@ toString forId

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: number;
          label: string;
      }

      • id: number
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsAlarmType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsCategory.html b/docs/classes/Model.OnmsCategory.html index 7c7cd70cf..65b4190ea 100644 --- a/docs/classes/Model.OnmsCategory.html +++ b/docs/classes/Model.OnmsCategory.html @@ -1,12 +1,12 @@ OnmsCategory | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsCategory

    Represents an OpenNMS category.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    id: number

    The service ID.

    -
    name: string

    The service name.

    -

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsCategory

    Properties

    id: number

    The service ID.

    +
    name: string

    The service name.

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsCollectType.html b/docs/classes/Model.OnmsCollectType.html index 0613a6a88..53bb4c9eb 100644 --- a/docs/classes/Model.OnmsCollectType.html +++ b/docs/classes/Model.OnmsCollectType.html @@ -1,5 +1,5 @@ OnmsCollectType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsCollectType

    Represents an OpenNMS SNMP interface "should collect" type.

    -

    Hierarchy

    • OnmsEnum<string>
      • OnmsCollectType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • OnmsCollectType

    Implements

    Constructors

    Accessors

    id index label @@ -11,14 +11,14 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string
    • given a label, return the matching collect type object

      -

      Parameters

      • Optional label: string

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsCollectType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsEvent.html b/docs/classes/Model.OnmsEvent.html index d14c1e627..f510c016c 100644 --- a/docs/classes/Model.OnmsEvent.html +++ b/docs/classes/Model.OnmsEvent.html @@ -1,5 +1,5 @@ OnmsEvent | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents an OpenNMS event.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    createTime? description? id? @@ -19,21 +19,21 @@ urlValue

    Methods

    Constructors

    Properties

    createTime?: Moment

    when the event was created

    -
    description?: string

    the description of is event

    -
    id?: number

    the event ID

    -
    ipAddress?: Address6 | Address4

    the interface associated with this event

    -
    label?: string

    the label of this event as defined in the event configuration

    -
    location?: string

    which location the event originated from

    -
    logMessage?: string

    the log message of the event

    -
    nodeId?: number

    the node's ID associated with this event

    -
    nodeLabel?: string

    the node's label associated with this event

    -
    parameters?: OnmsParm[]

    the parameters emitted with this alarm's event

    -
    service?: OnmsServiceType

    the service associated with the event

    -
    severity?: OnmsSeverity

    the severity of this event

    -
    source?: string

    which subsystem the event came from

    -
    time?: Moment

    when the event was received by OpenNMS

    -
    uei?: string

    the UEI of this event

    -

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +
    description?: string

    the description of is event

    +
    id?: number

    the event ID

    +
    ipAddress?: Address6 | Address4

    the interface associated with this event

    +
    label?: string

    the label of this event as defined in the event configuration

    +
    location?: string

    which location the event originated from

    +
    logMessage?: string

    the log message of the event

    +
    nodeId?: number

    the node's ID associated with this event

    +
    nodeLabel?: string

    the node's label associated with this event

    +
    parameters?: OnmsParm[]

    the parameters emitted with this alarm's event

    +
    service?: OnmsServiceType

    the service associated with the event

    +
    severity?: OnmsSeverity

    the severity of this event

    +
    source?: string

    which subsystem the event came from

    +
    time?: Moment

    when the event was received by OpenNMS

    +
    uei?: string

    the UEI of this event

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsFlowExporter.html b/docs/classes/Model.OnmsFlowExporter.html index eef7d9025..6b2e0a3d3 100644 --- a/docs/classes/Model.OnmsFlowExporter.html +++ b/docs/classes/Model.OnmsFlowExporter.html @@ -1,5 +1,5 @@ OnmsFlowExporter | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsFlowExporter

    Represents OpenNMS flow information about a node and its interfaces.

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Constructors

    Properties

    categories?: string[]

    the categories the node is in

    -
    foreignId?: string

    node foreign ID

    -
    foreignSource?: string

    node foreign source

    -
    id?: number

    node unique identifier

    -
    interfaces?: OnmsFlowSnmpInterface[]

    a collection of interface information

    -
    label?: string

    node label

    -

    Generated using TypeDoc

    \ No newline at end of file +
    foreignId?: string

    node foreign ID

    +
    foreignSource?: string

    node foreign source

    +
    id?: number

    node unique identifier

    +
    interfaces?: OnmsFlowSnmpInterface[]

    a collection of interface information

    +
    label?: string

    node label

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsFlowExporterSummary.html b/docs/classes/Model.OnmsFlowExporterSummary.html index eeb4774cf..c8854c4b3 100644 --- a/docs/classes/Model.OnmsFlowExporterSummary.html +++ b/docs/classes/Model.OnmsFlowExporterSummary.html @@ -1,13 +1,13 @@ OnmsFlowExporterSummary | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsFlowExporterSummary

    Represents basic OpenNMS flow information about node.

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    categories?: string[]

    the categories the node is in

    -
    foreignId?: string

    node foreign ID

    -
    foreignSource?: string

    node foreign source

    -
    id?: number

    node unique identifier

    -
    label?: string

    node label

    -

    Generated using TypeDoc

    \ No newline at end of file +
    foreignId?: string

    node foreign ID

    +
    foreignSource?: string

    node foreign source

    +
    id?: number

    node unique identifier

    +
    label?: string

    node label

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsFlowSeries.html b/docs/classes/Model.OnmsFlowSeries.html index bc9a30e38..859408654 100644 --- a/docs/classes/Model.OnmsFlowSeries.html +++ b/docs/classes/Model.OnmsFlowSeries.html @@ -1,13 +1,13 @@ OnmsFlowSeries | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsFlowSeries

    Time series metrics derived from flow data.

    -

    Constructors

    Constructors

    Properties

    columns

    -
    end?: Moment

    end time

    -
    start?: Moment

    start time

    -
    timestamps?: number[]

    row timestamps

    -
    values?: number[][]

    cell values

    -

    Generated using TypeDoc

    \ No newline at end of file +
    end?: Moment

    end time

    +
    start?: Moment

    start time

    +
    timestamps?: number[]

    row timestamps

    +
    values?: number[][]

    cell values

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsFlowSeriesColumn.html b/docs/classes/Model.OnmsFlowSeriesColumn.html index b37e9470e..78f340e54 100644 --- a/docs/classes/Model.OnmsFlowSeriesColumn.html +++ b/docs/classes/Model.OnmsFlowSeriesColumn.html @@ -1,7 +1,7 @@ OnmsFlowSeriesColumn | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsFlowSeriesColumn

    Time series column.

    -

    Constructors

    Constructors

    Properties

    Constructors

    Properties

    ingress: boolean

    direction

    -
    label: string

    label

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    ingress: boolean

    direction

    +
    label: string

    label

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsFlowSnmpInterface.html b/docs/classes/Model.OnmsFlowSnmpInterface.html index e5829eb04..4989caad4 100644 --- a/docs/classes/Model.OnmsFlowSnmpInterface.html +++ b/docs/classes/Model.OnmsFlowSnmpInterface.html @@ -1,11 +1,11 @@ OnmsFlowSnmpInterface | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsFlowSnmpInterface

    OpenNMS flow node SNMP interface metadata.

    -

    Constructors

    Constructors

    Properties

    description?: string

    the interface's ifDescription

    -
    index?: number

    the interface's ifIndex

    -
    name?: string

    the interface name

    -
    resourceId?: string

    the interface's OpenNMS resource identifier

    -

    Generated using TypeDoc

    \ No newline at end of file +
    index?: number

    the interface's ifIndex

    +
    name?: string

    the interface name

    +
    resourceId?: string

    the interface's OpenNMS resource identifier

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsFlowTable.html b/docs/classes/Model.OnmsFlowTable.html index 657c61c67..0f2facedb 100644 --- a/docs/classes/Model.OnmsFlowTable.html +++ b/docs/classes/Model.OnmsFlowTable.html @@ -1,11 +1,11 @@ OnmsFlowTable | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsFlowTable

    A collection of flow time-series data.

    -

    Constructors

    Constructors

    Properties

    Constructors

    Properties

    end?: Moment

    end time

    -
    headers?: string[]

    headers

    -
    rows?: any[][]

    rows

    -
    start?: Moment

    start time

    -

    Generated using TypeDoc

    \ No newline at end of file +
    headers?: string[]

    headers

    +
    rows?: any[][]

    rows

    +
    start?: Moment

    start time

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsIpInterface.html b/docs/classes/Model.OnmsIpInterface.html index 7d88e8118..030b0ac62 100644 --- a/docs/classes/Model.OnmsIpInterface.html +++ b/docs/classes/Model.OnmsIpInterface.html @@ -1,5 +1,5 @@ OnmsIpInterface | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsIpInterface

    Represents an OpenNMS IP interface.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    _snmpInterface? hostname? id? @@ -17,19 +17,19 @@

    Accessors

    Constructors

    Properties

    _snmpInterface?: OnmsSnmpInterface

    store the interface's associated SNMP interface, used by get/set .snmpInterface

    -
    hostname?: string

    the hostname

    -
    id?: number

    the interface ID

    -
    ipAddress?: Address6 | Address4

    the IP address

    -
    isDown?: boolean

    whether the interface is down

    -
    isManaged?: OnmsManagedType

    whether the interface is managed

    -
    lastCapsdPoll?: Moment

    the last time the interface was provisioned

    -
    lastEgressFlow?: Moment

    the last time egress flows were received

    -
    lastIngressFlow?: Moment

    the last time ingress flows were received

    -
    monitoredServiceCount?: number

    the number of monitored services this interface has

    -
    node?: any

    the node this interface is associated with

    -
    services: OnmsMonitoredService[] = ...

    the services on this interface

    -
    snmpInterfaceId?: number

    the SNMP interface ID associated with this interface

    -
    snmpPrimary?: OnmsPrimaryType

    the SNMP primary status of the interface

    -

    Accessors

    Generated using TypeDoc

    \ No newline at end of file +
    hostname?: string

    the hostname

    +
    id?: number

    the interface ID

    +
    ipAddress?: Address6 | Address4

    the IP address

    +
    isDown?: boolean

    whether the interface is down

    +
    isManaged?: OnmsManagedType

    whether the interface is managed

    +
    lastCapsdPoll?: Moment

    the last time the interface was provisioned

    +
    lastEgressFlow?: Moment

    the last time egress flows were received

    +
    lastIngressFlow?: Moment

    the last time ingress flows were received

    +
    monitoredServiceCount?: number

    the number of monitored services this interface has

    +
    node?: any

    the node this interface is associated with

    +
    services: OnmsMonitoredService[] = ...

    the services on this interface

    +
    snmpInterfaceId?: number

    the SNMP interface ID associated with this interface

    +
    snmpPrimary?: OnmsPrimaryType

    the SNMP primary status of the interface

    +

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsManagedType.html b/docs/classes/Model.OnmsManagedType.html index 580702d95..2164efbe8 100644 --- a/docs/classes/Model.OnmsManagedType.html +++ b/docs/classes/Model.OnmsManagedType.html @@ -1,5 +1,5 @@ OnmsManagedType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsManagedType

    Represents an OpenNMS node "is managed" type.

    -

    Hierarchy

    • OnmsEnum<string>
      • OnmsManagedType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • OnmsManagedType

    Implements

    Constructors

    Accessors

    id index label @@ -11,14 +11,14 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string
    • Given a label, return the matching managed type object.

      -

      Parameters

      • Optional label: string

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsManagedType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsMemo.html b/docs/classes/Model.OnmsMemo.html index f8cdd0039..9427ae394 100644 --- a/docs/classes/Model.OnmsMemo.html +++ b/docs/classes/Model.OnmsMemo.html @@ -1,13 +1,13 @@ OnmsMemo | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents an OpenNMS memo.

    -

    Constructors

    Constructors

    Properties

    Constructors

    Properties

    author?: string

    the user who last updated (or created) the memo

    -
    body?: string

    the content of the memo

    -
    created?: Moment

    when the memo was created

    -
    id?: number

    the memo ID

    -
    updated?: Moment

    when the memo was last updated

    -

    Generated using TypeDoc

    \ No newline at end of file +
    body?: string

    the content of the memo

    +
    created?: Moment

    when the memo was created

    +
    id?: number

    the memo ID

    +
    updated?: Moment

    when the memo was last updated

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsMonitoredService.html b/docs/classes/Model.OnmsMonitoredService.html index bcbd8dd36..79143f3f7 100644 --- a/docs/classes/Model.OnmsMonitoredService.html +++ b/docs/classes/Model.OnmsMonitoredService.html @@ -1,5 +1,5 @@ OnmsMonitoredService | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsMonitoredService

    Represents an OpenNMS monitored service.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    down? id? ipAddress? @@ -14,12 +14,12 @@ type?

    Accessors

    Constructors

    Properties

    down?: boolean

    true if the service is down

    -
    id?: number

    the service ID

    -
    ipAddress?: string
    ipInterface?: any

    the ipInterface associated with this service

    -
    ipInterfaceId?: number
    lastFail?: Moment

    the last time the service failed

    -
    lastGood?: Moment

    the last time the service passed

    -
    node?: any

    the node associated with this service

    -
    nodeId?: number
    nodeLabel?: string

    the current status

    -

    the service type associated with this service

    -

    Accessors

    Generated using TypeDoc

    \ No newline at end of file +
    id?: number

    the service ID

    +
    ipAddress?: string
    ipInterface?: any

    the ipInterface associated with this service

    +
    ipInterfaceId?: number
    lastFail?: Moment

    the last time the service failed

    +
    lastGood?: Moment

    the last time the service passed

    +
    node?: any

    the node associated with this service

    +
    nodeId?: number
    nodeLabel?: string
    status?: OnmsServiceStatusType

    the current status

    +
    type?: OnmsServiceType

    the service type associated with this service

    +

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsNode.html b/docs/classes/Model.OnmsNode.html index 45dca2752..cb6798001 100644 --- a/docs/classes/Model.OnmsNode.html +++ b/docs/classes/Model.OnmsNode.html @@ -1,5 +1,5 @@ OnmsNode | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents an OpenNMS node.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    assets categories createTime? @@ -24,26 +24,26 @@ type?

    Accessors

    Constructors

    Properties

    assets: any = ...

    the assets of the node

    -
    categories: OnmsCategory[] = ...

    the categories the node is in

    -
    createTime?: Moment

    the time the node was created

    -
    foreignId?: string

    the foreign ID of the node

    -
    foreignSource?: string

    the foreign source of the node

    -
    id?: number

    the node ID

    -
    ipInterfaces: OnmsIpInterface[] = ...

    the IP interfaces on this node

    -
    label?: string

    the label (name) of the node

    -
    labelSource?: OnmsNodeLabelSource

    how the label was set

    -
    lastCapsdPoll?: Moment

    the last time this node was provisioned

    -
    location?: string

    the location of the node

    -
    netBiosDomain?: string

    the NETBIOS/SMB domain for the node

    -
    netBiosName?: string

    the NETBIOS/SMB name for the node

    -
    operatingSystem?: string

    the operating system of the node

    -
    parent?: OnmsNode

    the parent of this node

    -
    snmpInterfaces: OnmsSnmpInterface[] = ...

    the SNMP interfaces on this node

    -
    sysContact?: string

    the SNMP sysContact for the node

    -
    sysDescription?: string

    the SNMP sysDescription of the node

    -
    sysLocation?: string

    the SNMP sysLocation of the node

    -
    sysName?: string

    the SNMP sysName of the node

    -
    sysObjectId?: string

    the SNMP sysObjectId of the node

    -

    the type of node

    -

    Accessors

    Generated using TypeDoc

    \ No newline at end of file +
    categories: OnmsCategory[] = ...

    the categories the node is in

    +
    createTime?: Moment

    the time the node was created

    +
    foreignId?: string

    the foreign ID of the node

    +
    foreignSource?: string

    the foreign source of the node

    +
    id?: number

    the node ID

    +
    ipInterfaces: OnmsIpInterface[] = ...

    the IP interfaces on this node

    +
    label?: string

    the label (name) of the node

    +
    labelSource?: OnmsNodeLabelSource

    how the label was set

    +
    lastCapsdPoll?: Moment

    the last time this node was provisioned

    +
    location?: string

    the location of the node

    +
    netBiosDomain?: string

    the NETBIOS/SMB domain for the node

    +
    netBiosName?: string

    the NETBIOS/SMB name for the node

    +
    operatingSystem?: string

    the operating system of the node

    +
    parent?: OnmsNode

    the parent of this node

    +
    snmpInterfaces: OnmsSnmpInterface[] = ...

    the SNMP interfaces on this node

    +
    sysContact?: string

    the SNMP sysContact for the node

    +
    sysDescription?: string

    the SNMP sysDescription of the node

    +
    sysLocation?: string

    the SNMP sysLocation of the node

    +
    sysName?: string

    the SNMP sysName of the node

    +
    sysObjectId?: string

    the SNMP sysObjectId of the node

    +
    type?: OnmsNodeType

    the type of node

    +

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsNodeLabelSource.html b/docs/classes/Model.OnmsNodeLabelSource.html index 7b950ae66..5c8b0c978 100644 --- a/docs/classes/Model.OnmsNodeLabelSource.html +++ b/docs/classes/Model.OnmsNodeLabelSource.html @@ -1,5 +1,5 @@ OnmsNodeLabelSource | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsNodeLabelSource

    Represents an OpenNMS node label source.

    -

    Hierarchy

    • OnmsEnum<string>
      • OnmsNodeLabelSource

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • OnmsNodeLabelSource

    Implements

    Constructors

    Accessors

    id index label @@ -10,13 +10,13 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsNodeLabelSource

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsNodeType.html b/docs/classes/Model.OnmsNodeType.html index f6914f2be..a349ebbaa 100644 --- a/docs/classes/Model.OnmsNodeType.html +++ b/docs/classes/Model.OnmsNodeType.html @@ -1,5 +1,5 @@ OnmsNodeType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsNodeType

    Represents an OpenNMS node type.

    -

    Hierarchy

    • OnmsEnum<string>
      • OnmsNodeType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • OnmsNodeType

    Implements

    Constructors

    Accessors

    id index label @@ -10,13 +10,13 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string
    • Given an ID (A, D, etc.), return the corresponding node type object.

      -

      Parameters

      • Optional id: string

      Returns any

    • Given a label (ACTIVE, etc.), return the corresponding node type object.

      -

      Parameters

      • Optional label: string

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsNodeType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsOutage.html b/docs/classes/Model.OnmsOutage.html index 018373e89..51733f36b 100644 --- a/docs/classes/Model.OnmsOutage.html +++ b/docs/classes/Model.OnmsOutage.html @@ -1,5 +1,5 @@ OnmsOutage | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents an OpenNMS outage.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    foreignId?: string

    the foreign ID asociated with the outage

    -
    foreignSource?: string

    the foreign source associated with the outage

    -
    id?: number

    the node ID

    -
    ifLostService?: Moment

    when the outage started

    -
    ifRegainedService?: Moment

    when the outage was resolved

    -
    ipAddress?: Address6 | Address4

    the IP address associated with the outage

    -
    monitoredService?: OnmsMonitoredService

    the monitored service associated with the outage

    -
    nodeId?: number

    the ID of the node associated with the outage

    -
    nodeLabel?: string

    the label of the node associated with the outage

    -
    perspective?: string

    the perspective of the outage

    -
    serviceLostEvent?: OnmsEvent

    the event associated with the start of the outage

    -
    serviceRegainedEvent?: OnmsEvent

    the event associated with the end of the outage

    -
    suppressTime?: Moment

    when the outage was suppressed

    -
    suppressedBy?: string

    who the outage was suppressed by

    -

    Accessors

    Generated using TypeDoc

    \ No newline at end of file +
    foreignSource?: string

    the foreign source associated with the outage

    +
    id?: number

    the node ID

    +
    ifLostService?: Moment

    when the outage started

    +
    ifRegainedService?: Moment

    when the outage was resolved

    +
    ipAddress?: Address6 | Address4

    the IP address associated with the outage

    +
    monitoredService?: OnmsMonitoredService

    the monitored service associated with the outage

    +
    nodeId?: number

    the ID of the node associated with the outage

    +
    nodeLabel?: string

    the label of the node associated with the outage

    +
    perspective?: string

    the perspective of the outage

    +
    serviceLostEvent?: OnmsEvent

    the event associated with the start of the outage

    +
    serviceRegainedEvent?: OnmsEvent

    the event associated with the end of the outage

    +
    suppressTime?: Moment

    when the outage was suppressed

    +
    suppressedBy?: string

    who the outage was suppressed by

    +

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsParm.html b/docs/classes/Model.OnmsParm.html index cb0955b9c..4fc86d2ae 100644 --- a/docs/classes/Model.OnmsParm.html +++ b/docs/classes/Model.OnmsParm.html @@ -1,15 +1,15 @@ OnmsParm | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents an OpenNMS event or alarm parameter.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    name: string

    the name of the parm

    -
    type: string

    the parm type

    -
    valueString: string

    the raw parm value from the server (as a string)

    -

    Accessors

    • get value(): string | number | Address6 | Address4
    • the value coerced to a native type (if possible)

      -

      Returns string | number | Address6 | Address4

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    name: string

    the name of the parm

    +
    type: string

    the parm type

    +
    valueString: string

    the raw parm value from the server (as a string)

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsPrimaryType.html b/docs/classes/Model.OnmsPrimaryType.html index 01ddd22ec..9c7175cf7 100644 --- a/docs/classes/Model.OnmsPrimaryType.html +++ b/docs/classes/Model.OnmsPrimaryType.html @@ -1,5 +1,5 @@ OnmsPrimaryType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsPrimaryType

    Represents an OpenNMS "SNMP primary" type.

    -

    Hierarchy

    • OnmsEnum<string>
      • OnmsPrimaryType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • OnmsPrimaryType

    Implements

    Constructors

    Accessors

    id index label @@ -11,14 +11,14 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string
    • Given a label, return the matching primary type object.

      -

      Parameters

      • Optional label: string

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsPrimaryType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsServiceStatusType.html b/docs/classes/Model.OnmsServiceStatusType.html index 681077389..758d5ae2d 100644 --- a/docs/classes/Model.OnmsServiceStatusType.html +++ b/docs/classes/Model.OnmsServiceStatusType.html @@ -1,5 +1,5 @@ OnmsServiceStatusType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsServiceStatusType

    Represents an OpenNMS monitored service status type.

    -

    Hierarchy

    • OnmsEnum<string>
      • OnmsServiceStatusType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • OnmsServiceStatusType

    Implements

    Constructors

    Accessors

    id index label @@ -11,14 +11,14 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsServiceStatusType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsServiceType.html b/docs/classes/Model.OnmsServiceType.html index 01550e4ca..616123d12 100644 --- a/docs/classes/Model.OnmsServiceType.html +++ b/docs/classes/Model.OnmsServiceType.html @@ -1,12 +1,12 @@ OnmsServiceType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsServiceType

    Represents an OpenNMS service.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    id: number

    The service ID.

    -
    name: string

    The service name.

    -

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsServiceType

    Properties

    id: number

    The service ID.

    +
    name: string

    The service name.

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsSeverity.html b/docs/classes/Model.OnmsSeverity.html index 2d9d6b430..e3546328e 100644 --- a/docs/classes/Model.OnmsSeverity.html +++ b/docs/classes/Model.OnmsSeverity.html @@ -1,5 +1,5 @@ OnmsSeverity | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsSeverity

    Represents an OpenNMS severity.

    -

    Hierarchy

    • OnmsEnum<number>
      • OnmsSeverity

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<number>
      • OnmsSeverity

    Implements

    Constructors

    Accessors

    id index label @@ -10,11 +10,11 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: number;
          label: string;
      }

      • id: number
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsSeverity

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsSituationFeedback.html b/docs/classes/Model.OnmsSituationFeedback.html index cadd77e04..b33e049ac 100644 --- a/docs/classes/Model.OnmsSituationFeedback.html +++ b/docs/classes/Model.OnmsSituationFeedback.html @@ -1,5 +1,5 @@ OnmsSituationFeedback | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsSituationFeedback

    Represents an OpenNMS alarm.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    alarmKey?: string

    the related alarm reduction key

    -

    the related alarm reduction key

    -
    fingerprint?: string

    signature of situation having given set of alarms

    -
    reason?: string

    the related alarm reduction key

    -
    rootCause?: boolean

    TRUE if Alarm in this Feedback is the Root Cause of the Situation in this Feedback

    -
    situationKey?: string

    the situation reduction key

    -
    tags?: string[]

    User defined attributes relating to the Situation/Feedback

    -
    timestamp?: number

    the related alarm reduction key

    -
    user?: string

    the related alarm reduction key

    -

    Accessors

    Generated using TypeDoc

    \ No newline at end of file +
    feedbackType?: OnmsSituationFeedbackType

    the related alarm reduction key

    +
    fingerprint?: string

    signature of situation having given set of alarms

    +
    reason?: string

    the related alarm reduction key

    +
    rootCause?: boolean

    TRUE if Alarm in this Feedback is the Root Cause of the Situation in this Feedback

    +
    situationKey?: string

    the situation reduction key

    +
    tags?: string[]

    User defined attributes relating to the Situation/Feedback

    +
    timestamp?: number

    the related alarm reduction key

    +
    user?: string

    the related alarm reduction key

    +

    Accessors

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsSituationFeedbackType.html b/docs/classes/Model.OnmsSituationFeedbackType.html index 0998c0a66..c294ca25f 100644 --- a/docs/classes/Model.OnmsSituationFeedbackType.html +++ b/docs/classes/Model.OnmsSituationFeedbackType.html @@ -1,5 +1,5 @@ OnmsSituationFeedbackType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsSituationFeedbackType

    Represents an OpenNMS "SituationFeedback" type.

    -

    Hierarchy

    • OnmsEnum<string>
      • OnmsSituationFeedbackType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<string>
      • OnmsSituationFeedbackType

    Implements

    Constructors

    Accessors

    id index label @@ -10,13 +10,13 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: string;
          label: string;
      }

      • id: string
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsSituationFeedbackType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsSnmpInterface.html b/docs/classes/Model.OnmsSnmpInterface.html index 95e7cfd0b..cd72e47db 100644 --- a/docs/classes/Model.OnmsSnmpInterface.html +++ b/docs/classes/Model.OnmsSnmpInterface.html @@ -1,5 +1,5 @@ OnmsSnmpInterface | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsSnmpInterface

    Represents an OpenNMS SNMP interface.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    collect? id? ifAdminStatus? @@ -19,21 +19,21 @@

    Accessors

    Methods

    Constructors

    Properties

    collect?: OnmsCollectType

    whether the SNMP interface will be collected

    -
    id?: number

    the interface ID

    -
    ifAdminStatus?: OnmsSnmpStatusType

    the administrative status of the interface

    -
    ifAlias?: string

    the alias of the interface

    -
    ifDescr?: string

    the description of the interface

    -
    ifIndex?: number

    the SNMP interface index

    -
    ifName?: string

    the name of the interface

    -
    ifOperStatus?: OnmsSnmpStatusType

    the operator status of the interface

    -
    ifSpeed?: number

    the speed of the interface

    -
    ifType?: number

    the type of interface

    -
    lastCapsdPoll?: Moment

    the last time the SNMP interface was provisioned

    -
    lastSnmpPoll?: Moment

    the last time the SNMP interface was polled

    -
    node?: any

    the node associated with this interface

    -
    nodeId?: number

    The node associated to this snmpInterface

    -
    physAddr?: PhysAddr

    the physical (MAC) address of the interface

    -
    poll?: boolean

    whether the interface is set to poll

    -

    Accessors

    Methods

    • convert to JSON object

      -

      Returns {
          collect: {
              id: string;
              label: string;
          };
          id: number;
          ifAdminStatus: {
              id: number;
              label: string;
          };
          ifAlias: string;
          ifDescr: string;
          ifIndex: number;
          ifName: string;
          ifOperStatus: {
              id: number;
              label: string;
          };
          ifSpeed: number;
          ifType: number;
          lastCapsdPoll: number;
          lastSnmpPoll: string;
          nodeId: number;
          physAddr: string;
          poll: boolean;
      }

      • collect: {
            id: string;
            label: string;
        }
        • id: string
        • label: string
      • id: number
      • ifAdminStatus: {
            id: number;
            label: string;
        }
        • id: number
        • label: string
      • ifAlias: string
      • ifDescr: string
      • ifIndex: number
      • ifName: string
      • ifOperStatus: {
            id: number;
            label: string;
        }
        • id: number
        • label: string
      • ifSpeed: number
      • ifType: number
      • lastCapsdPoll: number
      • lastSnmpPoll: string
      • nodeId: number
      • physAddr: string
      • poll: boolean

    Generated using TypeDoc

    \ No newline at end of file +
    id?: number

    the interface ID

    +
    ifAdminStatus?: OnmsSnmpStatusType

    the administrative status of the interface

    +
    ifAlias?: string

    the alias of the interface

    +
    ifDescr?: string

    the description of the interface

    +
    ifIndex?: number

    the SNMP interface index

    +
    ifName?: string

    the name of the interface

    +
    ifOperStatus?: OnmsSnmpStatusType

    the operator status of the interface

    +
    ifSpeed?: number

    the speed of the interface

    +
    ifType?: number

    the type of interface

    +
    lastCapsdPoll?: Moment

    the last time the SNMP interface was provisioned

    +
    lastSnmpPoll?: Moment

    the last time the SNMP interface was polled

    +
    node?: any

    the node associated with this interface

    +
    nodeId?: number

    The node associated to this snmpInterface

    +
    physAddr?: PhysAddr

    the physical (MAC) address of the interface

    +
    poll?: boolean

    whether the interface is set to poll

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsSnmpStatusType.html b/docs/classes/Model.OnmsSnmpStatusType.html index e066f6b1e..bf02d9ef6 100644 --- a/docs/classes/Model.OnmsSnmpStatusType.html +++ b/docs/classes/Model.OnmsSnmpStatusType.html @@ -1,5 +1,5 @@ OnmsSnmpStatusType | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsSnmpStatusType

    Represents an OpenNMS SNMP admin/oper status type.

    -

    Hierarchy

    • OnmsEnum<number>
      • OnmsSnmpStatusType

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<number>
      • OnmsSnmpStatusType

    Implements

    Constructors

    Accessors

    id index label @@ -10,13 +10,13 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: number;
          label: string;
      }

      • id: number
      • label: string
    • Given a label, return the matching snmp status type object.

      -

      Parameters

      • Optional label: string

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsSnmpStatusType

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.OnmsTroubleTicketState.html b/docs/classes/Model.OnmsTroubleTicketState.html index 299b827b4..11468e92a 100644 --- a/docs/classes/Model.OnmsTroubleTicketState.html +++ b/docs/classes/Model.OnmsTroubleTicketState.html @@ -1,5 +1,5 @@ OnmsTroubleTicketState | OpenNMS.js - v2.5.10-SNAPSHOT

    Class OnmsTroubleTicketState

    Represents an OpenNMS trouble ticket state.

    -

    Hierarchy

    • OnmsEnum<number>
      • OnmsTroubleTicketState

    Implements

    Constructors

    Hierarchy

    • OnmsEnum<number>
      • OnmsTroubleTicketState

    Implements

    Constructors

    Accessors

    id index label @@ -10,11 +10,11 @@ forId forLabel

    Constructors

    Accessors

    Methods

    • convert this enum to a string suitable for display

      -

      Returns string

    • convert to the JSON representation

      -

      Returns {
          id: number;
          label: string;
      }

      • id: number
      • label: string

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns OnmsTroubleTicketState

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Model.PhysAddr.html b/docs/classes/Model.PhysAddr.html index 96df1ec72..96ba415f0 100644 --- a/docs/classes/Model.PhysAddr.html +++ b/docs/classes/Model.PhysAddr.html @@ -1,9 +1,9 @@ PhysAddr | OpenNMS.js - v2.5.10-SNAPSHOT

    Represents a physical (MAC) address.

    -

    Implements

    Constructors

    Implements

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    addr: string

    The MAC address string.

    -

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Constructors

    Properties

    addr: string

    The MAC address string.

    +

    Accessors

    Methods

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Rest.AbstractHTTP.html b/docs/classes/Rest.AbstractHTTP.html index ba83386ce..223cdd709 100644 --- a/docs/classes/Rest.AbstractHTTP.html +++ b/docs/classes/Rest.AbstractHTTP.html @@ -1,6 +1,6 @@ AbstractHTTP | OpenNMS.js - v2.5.10-SNAPSHOT

    Class AbstractHTTPAbstract

    Abstract implementation of the OnmsHTTP interface meant to be extended by a concrete class.

    Implements

    IOnmsHTTP

    -

    Hierarchy (view full)

    Implements

    Constructors

    Hierarchy (view full)

    Implements

    Constructors

    Accessors

    Methods

    get @@ -17,26 +17,26 @@

    Constructors

    Accessors

    Methods

    • Attempt to extract the data from a response.

      -

      Parameters

      • response: any

      Returns any

    • Get the union of [[OnmsHTTPOptions]] based on the passed options, defaults, +

    Returns AbstractHTTP

    Accessors

    Methods

    • Attempt to extract the data from a response.

      +

      Parameters

      • response: any

      Returns any

    • Get the [[OnmsServer]] object that should be used for making requests. Favors the one passed in the [[OnmsHTTPOptions]], otherwise it falls back to the default server associated with the HTTP implementation.

      -

      Parameters

      Returns OnmsServer

    • Implementers should override this method if they have actions that need to be performed (like clearing a cache) when server settings change.

      -

      Returns void

    • A convenience method for implementers to use to turn JSON into a javascript object. +

      Returns void

    • A convenience method for implementers to use to turn JSON into a javascript object. Use this to process a JSON response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    • A convenience method for implementers to use to turn XML into a javascript object. +

      Parameters

      • data: any

      Returns any

    • A convenience method for implementers to use to turn XML into a javascript object. Use this to process an XML response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Rest.AxiosHTTP.html b/docs/classes/Rest.AxiosHTTP.html index 401595dac..8e8093e6c 100644 --- a/docs/classes/Rest.AxiosHTTP.html +++ b/docs/classes/Rest.AxiosHTTP.html @@ -1,6 +1,6 @@ AxiosHTTP | OpenNMS.js - v2.5.10-SNAPSHOT

    Implementation of the [[IOnmsHTTP]] interface using Axios: https://github.com/mzabriskie/axios

    Implements

    IOnmsHTTP

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    Accessors

    options server @@ -19,28 +19,28 @@

    Parameters

    • Optional server: OnmsServer

      The server to connect to.

    • Optional axiosImpl: AxiosStatic

      The Axios implementation class to use.

    • timeout: number = 10000

      The default timeout for ReST connections.

      -

    Returns AxiosHTTP

    Properties

    axiosObj?: AxiosInstance

    The Axios instance we'll use for making ReST calls. This will be reinitialized whenever +

    Returns AxiosHTTP

    Properties

    axiosObj?: AxiosInstance

    The Axios instance we'll use for making ReST calls. This will be reinitialized whenever the server configuration changes.

    -

    Accessors

    Methods

    Accessors

    Methods

    • A convenience method for implementers to use to turn JSON into a javascript object. Use this to process a JSON response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    • A convenience method for implementers to use to turn XML into a javascript object. Use this to process an XML response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Rest.GrafanaError.html b/docs/classes/Rest.GrafanaError.html index 260060f03..483590285 100644 --- a/docs/classes/Rest.GrafanaError.html +++ b/docs/classes/Rest.GrafanaError.html @@ -1,5 +1,5 @@ GrafanaError | OpenNMS.js - v2.5.10-SNAPSHOT

    Class GrafanaError

    A Grafana error object.

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Properties

    message name stack? @@ -13,11 +13,11 @@
  • Optional code: number

    The response code of the response.

  • Optional options: any

    The request options (configuration).

  • Optional data: any

    The payload of the response.

    -
  • Returns GrafanaError

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Optional override for formatting stack traces

    +

    Returns GrafanaError

    Properties

    message: string
    name: string
    stack?: string
    prepareStackTrace?: ((err, stackTraces) => any)

    Optional override for formatting stack traces

    Type declaration

    stackTraceLimit: number

    Accessors

    • get code(): number
    • The error code associated with this error.

      -

      Returns number

    Methods

    • Create .stack property on a target object

      +

      Returns number

    Methods

    • Create .stack property on a target object

      Parameters

      • targetObject: object
      • Optional constructorOpt: Function

      Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Rest.GrafanaHTTP.html b/docs/classes/Rest.GrafanaHTTP.html index 2dd25bbcf..478fd5698 100644 --- a/docs/classes/Rest.GrafanaHTTP.html +++ b/docs/classes/Rest.GrafanaHTTP.html @@ -1,6 +1,6 @@ GrafanaHTTP | OpenNMS.js - v2.5.10-SNAPSHOT

    Class GrafanaHTTP

    Implementation of the [[IOnmsHTTP]] interface for Grafana.

    Implements

    IOnmsHTTP

    -

    Hierarchy (view full)

    Constructors

    Hierarchy (view full)

    Constructors

    Accessors

    Methods

    get @@ -17,26 +17,26 @@

    Constructors

    Accessors

    Methods

    • Get the union of [[OnmsHTTPOptions]] based on the passed options, defaults, +

    • Optional timeout: number

    Returns GrafanaHTTP

    Accessors

    Methods

    • A convenience method for implementers to use to turn JSON into a javascript object. Use this to process a JSON response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    • A convenience method for implementers to use to turn XML into a javascript object. Use this to process an XML response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Rest.JsonTransformer.html b/docs/classes/Rest.JsonTransformer.html index 714d79e7f..4a4eef3d8 100644 --- a/docs/classes/Rest.JsonTransformer.html +++ b/docs/classes/Rest.JsonTransformer.html @@ -1,6 +1,6 @@ JsonTransformer | OpenNMS.js - v2.5.10-SNAPSHOT

    Class JsonTransformer

    Helper to transform a json string to an json object.

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    • A convenience method for implementers to use to turn JSON into a javascript object. Use this to process a JSON response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/classes/Rest.XmlTransformer.html b/docs/classes/Rest.XmlTransformer.html index 730fcb75b..8da713f95 100644 --- a/docs/classes/Rest.XmlTransformer.html +++ b/docs/classes/Rest.XmlTransformer.html @@ -1,6 +1,6 @@ XmlTransformer | OpenNMS.js - v2.5.10-SNAPSHOT

    Class XmlTransformer

    Helper class to transform any xml string to a javascript object.

    -

    Constructors

    Constructors

    Methods

    Constructors

    Methods

    • A convenience method for implementers to use to turn XML into a javascript object. Use this to process an XML response before returning it in an [[OnmsResult]] object.

      -

      Parameters

      • data: any

      Returns any

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns any

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/API.IFilterProcessor.html b/docs/interfaces/API.IFilterProcessor.html index 8a9cd5e1d..64e84dee6 100644 --- a/docs/interfaces/API.IFilterProcessor.html +++ b/docs/interfaces/API.IFilterProcessor.html @@ -1,4 +1,4 @@ IFilterProcessor | OpenNMS.js - v2.5.10-SNAPSHOT

    Interface IFilterProcessor

    Interface that represents a processor to convert a [[Filter]] into a set of HTTP parameters.

    -
    interface IFilterProcessor {
        getParameters(filter): IHash<string | string[]>;
    }

    Implemented by

    Methods

    interface IFilterProcessor {
        getParameters(filter): IHash<string | string[]>;
    }

    Implemented by

    Methods

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns IHash<string | string[]>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/API.IFilterVisitor.html b/docs/interfaces/API.IFilterVisitor.html index 0d970a3a6..8e9ac942c 100644 --- a/docs/interfaces/API.IFilterVisitor.html +++ b/docs/interfaces/API.IFilterVisitor.html @@ -1,14 +1,14 @@ IFilterVisitor | OpenNMS.js - v2.5.10-SNAPSHOT

    Interface IFilterVisitor

    A visitor for filters.

    -
    interface IFilterVisitor {
        onClause?: ((clause) => void);
        onFilter?: ((filter) => void);
        onNestedRestriction?: ((restriction) => void);
        onRestriction?: ((restriction) => void);
    }

    Properties

    interface IFilterVisitor {
        onClause?: ((clause) => void);
        onFilter?: ((filter) => void);
        onNestedRestriction?: ((restriction) => void);
        onRestriction?: ((restriction) => void);
    }

    Properties

    onClause?: ((clause) => void)

    Process a [[Clause]]

    Type declaration

      • (clause): void
      • Process a [[Clause]]

        -

        Parameters

        Returns void

    onFilter?: ((filter) => void)

    Process a [[Filter]]

    +

    Parameters

    Returns void

    onFilter?: ((filter) => void)

    Process a [[Filter]]

    Type declaration

      • (filter): void
      • Process a [[Filter]]

        -

        Parameters

        Returns void

    onNestedRestriction?: ((restriction) => void)

    Process a [[NestedRestriction]]

    +

    Parameters

    Returns void

    onNestedRestriction?: ((restriction) => void)

    Process a [[NestedRestriction]]

    Type declaration

      • (restriction): void
      • Process a [[NestedRestriction]]

        -

        Parameters

        Returns void

    onRestriction?: ((restriction) => void)

    Process a [[Restriction]]

    +

    Parameters

    Returns void

    onRestriction?: ((restriction) => void)

    Process a [[Restriction]]

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Parameters

    Returns void

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/API.IHasHTTP.html b/docs/interfaces/API.IHasHTTP.html index 98bd92f67..da65a9733 100644 --- a/docs/interfaces/API.IHasHTTP.html +++ b/docs/interfaces/API.IHasHTTP.html @@ -1,6 +1,6 @@ IHasHTTP | OpenNMS.js - v2.5.10-SNAPSHOT

    Interface IHasHTTP

    Interface for a class that has an HTTP object.

    This exists to avoid import loops between the DAOs (that need to easily access [[IOnmsHTTP]]) and the [[Client]] which needs to contain an [[IOnmsHTTP]].

    -
    interface IHasHTTP {
        http: IOnmsHTTP;
    }

    Implemented by

    Properties

    interface IHasHTTP {
        http: IOnmsHTTP;
    }

    Implemented by

    Properties

    Properties

    http: IOnmsHTTP

    The HTTP implementation this object should contain.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/API.IHasUrlValue.html b/docs/interfaces/API.IHasUrlValue.html index bc8e6784a..5d0e820b6 100644 --- a/docs/interfaces/API.IHasUrlValue.html +++ b/docs/interfaces/API.IHasUrlValue.html @@ -2,6 +2,6 @@

    Any module implementing this interface should have a urlValue property (ideally a property getter) which represents how the object should be represented when serialized to an OpenNMS URL parameter.

    -
    interface IHasUrlValue {
        urlValue: string;
    }

    Implemented by

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/API.IHash.html b/docs/interfaces/API.IHash.html index 45c7961a3..48c5d1853 100644 --- a/docs/interfaces/API.IHash.html +++ b/docs/interfaces/API.IHash.html @@ -1,3 +1,3 @@ IHash | OpenNMS.js - v2.5.10-SNAPSHOT

    Interface IHash<T>

    A hash type for use in interfaces.

    interface IHash<T> {
        [key: string]: T;
    }

    Type Parameters

    • T

    Indexable

    [key: string]: T

    Key must be string, value must be of type T.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/API.IOnmsHTTP.html b/docs/interfaces/API.IOnmsHTTP.html index f4ba85d75..0acdf2bca 100644 --- a/docs/interfaces/API.IOnmsHTTP.html +++ b/docs/interfaces/API.IOnmsHTTP.html @@ -27,7 +27,7 @@

    Note that if you subclass [[AbstractHTTP]], [[AbstractHTTP.getOptions]] will automatically provide you a hydrated [[OnmsHTTPOptions]] that handles most of this precedence for combining the server metadata.

    -
    interface IOnmsHTTP {
        options?: OnmsHTTPOptions;
        server?: OnmsServer;
        get(url, options?): Promise<OnmsResult<any>>;
        head(url, options?): Promise<OnmsResult<any>>;
        httpDelete(url, options?): Promise<OnmsResult<any>>;
        post(url, options?): Promise<OnmsResult<any>>;
        put(url, options?): Promise<OnmsResult<any>>;
    }

    Implemented by

    Properties

    interface IOnmsHTTP {
        options?: OnmsHTTPOptions;
        server?: OnmsServer;
        get(url, options?): Promise<OnmsResult<any>>;
        head(url, options?): Promise<OnmsResult<any>>;
        httpDelete(url, options?): Promise<OnmsResult<any>>;
        post(url, options?): Promise<OnmsResult<any>>;
        put(url, options?): Promise<OnmsResult<any>>;
    }

    Implemented by

    Properties

    Methods

    get head @@ -35,25 +35,25 @@ post put

    Properties

    options?: OnmsHTTPOptions

    The default options used when making requests with this instance.

    -
    server?: OnmsServer

    The server associated with this instance.

    -

    Methods

    server?: OnmsServer

    The server associated with this instance.

    +

    Methods

    • Perform an HTTP GET to the provided URL.

      Parameters

      • url: string

        The URL to connect to.

      • Optional options: OnmsHTTPOptions

        The [[OnmsHTTPOptions]] options to use when connecting.

      Returns Promise<OnmsResult<any>>

      An [[OnmsResult]] result object.

      -
    • Perform an HTTP HEAD to the provided URL.

      Parameters

      • url: string

        The URL to connect to.

      • Optional options: OnmsHTTPOptions

        The [[OnmsHTTPOptions]] options to use when connecting.

      Returns Promise<OnmsResult<any>>

      An [[OnmsResult]] result object.

      -
    • Perform an HTTP DELETE to the provided URL.

      Parameters

      • url: string

        The URL to connect to.

      • Optional options: OnmsHTTPOptions

        The [[OnmsHTTPOptions]] options to use when connecting.

      Returns Promise<OnmsResult<any>>

      An [[OnmsResult]] result object.

      -
    • Perform an HTTP POST to the provided URL.

      Parameters

      • url: string

        The URL to connect to.

      • Optional options: OnmsHTTPOptions

        The [[OnmsHTTPOptions]] options to use when connecting.

      Returns Promise<OnmsResult<any>>

      An [[OnmsResult]] result object.

      -
    • Perform an HTTP PUT to the provided URL.

      Parameters

      • url: string

        The URL to connect to.

      • Optional options: OnmsHTTPOptions

        The [[OnmsHTTPOptions]] options to use when connecting.

      Returns Promise<OnmsResult<any>>

      An [[OnmsResult]] result object.

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/DAO.ITopNOptions.html b/docs/interfaces/DAO.ITopNOptions.html index 131bef859..ccd81c559 100644 --- a/docs/interfaces/DAO.ITopNOptions.html +++ b/docs/interfaces/DAO.ITopNOptions.html @@ -1,5 +1,5 @@ ITopNOptions | OpenNMS.js - v2.5.10-SNAPSHOT

    Interface ITopNOptions

    Preferred object for providing options to TopN queries.

    -
    interface ITopNOptions {
        N: number;
        end?: number;
        exporterNodeCriteria?: string;
        ifIndex?: number;
        includeOther?: boolean;
        start?: number;
        step?: number;
    }

    Properties

    N +
    interface ITopNOptions {
        N: number;
        end?: number;
        exporterNodeCriteria?: string;
        ifIndex?: number;
        includeOther?: boolean;
        start?: number;
        step?: number;
    }

    Properties

    Properties

    N: number

    how many series to return

    -
    end?: number

    the end of the timespan to query

    -
    exporterNodeCriteria?: string

    the node ID or foreignSource:foreignId tuple

    -
    ifIndex?: number

    filter based on SNMP interface

    -
    includeOther?: boolean

    include an additional "other" result for non-matches

    -
    start?: number

    the start of the timespan to query

    -
    step?: number

    the requested time interval between rows

    -

    Generated using TypeDoc

    \ No newline at end of file +
    end?: number

    the end of the timespan to query

    +
    exporterNodeCriteria?: string

    the node ID or foreignSource:foreignId tuple

    +
    ifIndex?: number

    filter based on SNMP interface

    +
    includeOther?: boolean

    include an additional "other" result for non-matches

    +
    start?: number

    the start of the timespan to query

    +
    step?: number

    the requested time interval between rows

    +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/DAO.IValueProvider.html b/docs/interfaces/DAO.IValueProvider.html index e617723f6..331e8449f 100644 --- a/docs/interfaces/DAO.IValueProvider.html +++ b/docs/interfaces/DAO.IValueProvider.html @@ -1,7 +1,7 @@ IValueProvider | OpenNMS.js - v2.5.10-SNAPSHOT

    Interface IValueProvider

    Interface to provide values to a certain property ID.

    -
    interface IValueProvider {
        findValues(propertyId, options?): Promise<any>;
    }

    Methods

    interface IValueProvider {
        findValues(propertyId, options?): Promise<any>;
    }

    Methods

    Methods

    • Finds the values for the given propertyId, if it exists.

      Parameters

      • propertyId: string

        The propertyId to find the values for

      • Optional options: any

        Some additional options. May be implementer dependent, such as limit, or value restrictions

      Returns Promise<any>

      A promise containing the values.

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/modules/API.html b/docs/modules/API.html index 408f55bf3..997bc4690 100644 --- a/docs/modules/API.html +++ b/docs/modules/API.html @@ -1,4 +1,4 @@ -API | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace API

    Index

    Client

    OnmsAuthConfig +API | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace API

    Index

    Client

    Model

    Operators SearchPropertyTypes diff --git a/docs/modules/DAO.html b/docs/modules/DAO.html index 108668284..dbde8a2fa 100644 --- a/docs/modules/DAO.html +++ b/docs/modules/DAO.html @@ -1,4 +1,4 @@ -DAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace DAO

    Index

    DAO

    AlarmDAO +DAO | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace DAO

    Index

    DAO

    AlarmDAO EventDAO FlowDAO IpInterfaceDAO diff --git a/docs/modules/Model.html b/docs/modules/Model.html index 61c39a698..011028528 100644 --- a/docs/modules/Model.html +++ b/docs/modules/Model.html @@ -1,4 +1,4 @@ -Model | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace Model

    Index

    Model

    OnmsAlarm +Model | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace Model

    Index

    Model

    OnmsAlarm OnmsAlarmSummary OnmsAlarmType OnmsCategory diff --git a/docs/modules/Rest.html b/docs/modules/Rest.html index 4eb5a91c9..986dfa0d8 100644 --- a/docs/modules/Rest.html +++ b/docs/modules/Rest.html @@ -1,4 +1,4 @@ -Rest | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace Rest

    Index

    Rest

    AbstractHTTP +Rest | OpenNMS.js - v2.5.10-SNAPSHOT

    Namespace Rest

    Index

    Rest

    AbstractHTTP AxiosHTTP GrafanaError GrafanaHTTP diff --git a/docs/variables/API.Comparators.html b/docs/variables/API.Comparators.html index 82254df58..26e834715 100644 --- a/docs/variables/API.Comparators.html +++ b/docs/variables/API.Comparators.html @@ -1,2 +1,2 @@ Comparators | OpenNMS.js - v2.5.10-SNAPSHOT

    Variable ComparatorsConst

    Comparators: {
        [key: string]: Comparator;
    } = ...

    Contains constant instances of all available comparators.

    -

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/API.Operators.html b/docs/variables/API.Operators.html index e8f6bc9be..b20a5cdf9 100644 --- a/docs/variables/API.Operators.html +++ b/docs/variables/API.Operators.html @@ -1,4 +1,4 @@ Operators | OpenNMS.js - v2.5.10-SNAPSHOT

    Variable OperatorsConst

    Operators: {
        AND: Operator;
        OR: Operator;
    } = ...

    Contains constant instances of all operators.

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/API.Orders.html b/docs/variables/API.Orders.html index 0387bb932..77a6a63e4 100644 --- a/docs/variables/API.Orders.html +++ b/docs/variables/API.Orders.html @@ -1,2 +1,2 @@ Orders | OpenNMS.js - v2.5.10-SNAPSHOT

    Variable OrdersConst

    Orders: {
        ASC: Order;
        DESC: Order;
    } = ...

    Constant references to all OrderBy types.

    -

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/API.SearchPropertyTypes.html b/docs/variables/API.SearchPropertyTypes.html index f3b8ecb2c..db56159b6 100644 --- a/docs/variables/API.SearchPropertyTypes.html +++ b/docs/variables/API.SearchPropertyTypes.html @@ -1,2 +1,2 @@ SearchPropertyTypes | OpenNMS.js - v2.5.10-SNAPSHOT

    Variable SearchPropertyTypesConst

    SearchPropertyTypes: {
        FLOAT: SearchPropertyType;
        INTEGER: SearchPropertyType;
        IP_ADDRESS: SearchPropertyType;
        LONG: SearchPropertyType;
        STRING: SearchPropertyType;
        TIMESTAMP: SearchPropertyType;
    } = ...

    Constant references to all search property types.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/API.ServerTypes.html b/docs/variables/API.ServerTypes.html index c0f27720e..4d2706698 100644 --- a/docs/variables/API.ServerTypes.html +++ b/docs/variables/API.ServerTypes.html @@ -1,4 +1,4 @@ ServerTypes | OpenNMS.js - v2.5.10-SNAPSHOT

    Variable ServerTypesConst

    ServerTypes: {
        HORIZON: ServerType;
        MERIDIAN: ServerType;
    } = ...

    Contains constant instances of all server types.

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/API.log.html b/docs/variables/API.log.html index bdfccbdf9..1421a986f 100644 --- a/docs/variables/API.log.html +++ b/docs/variables/API.log.html @@ -2,4 +2,4 @@ Import a logger using:

    import {log} from 'api/Logger';
     
    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.AlarmTypes.html b/docs/variables/Model.AlarmTypes.html index a6c0f0e53..1ffc44527 100644 --- a/docs/variables/Model.AlarmTypes.html +++ b/docs/variables/Model.AlarmTypes.html @@ -2,4 +2,4 @@

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.CollectTypes.html b/docs/variables/Model.CollectTypes.html index b1af725ed..c8c445080 100644 --- a/docs/variables/Model.CollectTypes.html +++ b/docs/variables/Model.CollectTypes.html @@ -3,4 +3,4 @@
  • DO_NOT_COLLECT: OnmsCollectType

    Collection is disabled

  • FORCE_COLLECT: OnmsCollectType

    User has forced collection

  • FORCE_DO_NOT_COLLECT: OnmsCollectType

    User has forced collection to be disabled

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.FeedbackTypes.html b/docs/variables/Model.FeedbackTypes.html index 0eb63479c..3e0fe9506 100644 --- a/docs/variables/Model.FeedbackTypes.html +++ b/docs/variables/Model.FeedbackTypes.html @@ -3,4 +3,4 @@
  • CREATE_SITUATION: OnmsSituationFeedbackType

    Alarm should be correlated in a new Situation

  • FALSE_NEGATIVE: OnmsSituationFeedbackType

    Alarm was incorrectly ommitted

  • FALSE_POSITIVE: OnmsSituationFeedbackType

    Alarm was incorrectly correlated

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.ManagedTypes.html b/docs/variables/Model.ManagedTypes.html index 47e8cf38f..fac810ad4 100644 --- a/docs/variables/Model.ManagedTypes.html +++ b/docs/variables/Model.ManagedTypes.html @@ -6,4 +6,4 @@
  • NOT_POLLED: OnmsManagedType

    Interface is not polled

  • REMOTE_ONLY: OnmsManagedType

    Interface should only be polled remotely

  • UNMANAGED: OnmsManagedType

    Interface is not managed

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.NodeLabelSources.html b/docs/variables/Model.NodeLabelSources.html index 0b585a22d..fefa62670 100644 --- a/docs/variables/Model.NodeLabelSources.html +++ b/docs/variables/Model.NodeLabelSources.html @@ -5,4 +5,4 @@
  • SYSNAME: OnmsNodeLabelSource

    Node label is the node's SNMP sysname

  • UNKNOWN: OnmsNodeLabelSource

    Node label source is unknown

  • USER: OnmsNodeLabelSource

    Node label is set by the user.

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.NodeTypes.html b/docs/variables/Model.NodeTypes.html index e1c086244..d9a0a6912 100644 --- a/docs/variables/Model.NodeTypes.html +++ b/docs/variables/Model.NodeTypes.html @@ -2,4 +2,4 @@

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.PrimaryTypes.html b/docs/variables/Model.PrimaryTypes.html index 739a9ca5e..a87f6693b 100644 --- a/docs/variables/Model.PrimaryTypes.html +++ b/docs/variables/Model.PrimaryTypes.html @@ -2,4 +2,4 @@

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.ServiceStatusTypes.html b/docs/variables/Model.ServiceStatusTypes.html index 3a0c90ac0..6e7d56fd2 100644 --- a/docs/variables/Model.ServiceStatusTypes.html +++ b/docs/variables/Model.ServiceStatusTypes.html @@ -7,4 +7,4 @@
  • RESCAN_TO_RESUME: OnmsServiceStatusType

    Service is temporarily unmanaged, rescan to resume

  • RESCAN_TO_SUSPEND: OnmsServiceStatusType

    Service is managed, rescan to suspend monitoring

  • UNMANAGED: OnmsServiceStatusType

    Service is unmanaged

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.Severities.html b/docs/variables/Model.Severities.html index 2a8ef8a76..c28840a3f 100644 --- a/docs/variables/Model.Severities.html +++ b/docs/variables/Model.Severities.html @@ -1,2 +1,2 @@ Severities | OpenNMS.js - v2.5.10-SNAPSHOT

    Variable SeveritiesConst

    Severities: {
        CLEARED: OnmsSeverity;
        CRITICAL: OnmsSeverity;
        INDETERMINATE: OnmsSeverity;
        MAJOR: OnmsSeverity;
        MINOR: OnmsSeverity;
        NORMAL: OnmsSeverity;
        WARNING: OnmsSeverity;
    } = ...

    Contains constant instances of all severities.

    -

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.SnmpStatusTypes.html b/docs/variables/Model.SnmpStatusTypes.html index 4d5f34694..cd3bc350d 100644 --- a/docs/variables/Model.SnmpStatusTypes.html +++ b/docs/variables/Model.SnmpStatusTypes.html @@ -2,4 +2,4 @@

    Type declaration

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/variables/Model.TroubleTicketStates.html b/docs/variables/Model.TroubleTicketStates.html index b8c1cd131..4bf245d78 100644 --- a/docs/variables/Model.TroubleTicketStates.html +++ b/docs/variables/Model.TroubleTicketStates.html @@ -13,4 +13,4 @@
  • RESOLVE_PENDING: OnmsTroubleTicketState

    Trouble ticket is in the process of being marked resolved

  • UPDATE_FAILED: OnmsTroubleTicketState

    Updating ticket state from the remote helpdesk system failed

  • UPDATE_PENDING: OnmsTroubleTicketState

    Trouble ticket is pending an update from the remote helpdesk system

    -
  • Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file