Table of Contents

Class GnmiResponseValue

Namespace
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Models
Assembly
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll

A class that represents the value of the gNMI response.

public class GnmiResponseValue
Inheritance
GnmiResponseValue
Extension Methods

Constructors

GnmiResponseValue()

Constructor with empty values.

GnmiResponseValue(Path, long, Path)

Constructor used for deleted values.

GnmiResponseValue(Path, long, Path, TypedValue)

Constructor used for updated values.

Properties

IsDeleted

Gets a boolean indicating if the path has been deleted.

IsSyncResponse

Gets a boolean indicating that the initial transmission of updates has concluded.

StringPath

Gets the path of the gNMI response as a string value.

TimestampRawEpoch

Gets the associated timestamp of the value in nanoseconds since Epoch. Usage of this property is recommended only when using Subscribe, not Get.

TimestampUtc

Gets the associated timestamp of the value in UTC time format. Usage of this property is recommended only when using Subscribe, not Get.

Value

The value as one of the corresponding base types:

  • null
  • bool
  • ulong
  • long
  • double
  • string
ValueType

Returns the parsed value type, this will return one of these expected types:

  • null
  • bool
  • ulong
  • long
  • double
  • string