ApmMetricDto
class ApmMetricDto
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Relativity.Transfer.Dto
{
[JsonObject(MemberSerialization.OptIn)]
internal class ApmMetricDto
{
[JsonProperty(PropertyName = "Name")]
public string Name { get; set; }
[JsonProperty(PropertyName = "CustomData")]
public Dictionary<string, object> CustomData { get; set; }
public ApmMetricDto()
{
Initialize();
}
public ApmMetricDto(string name, IDictionary<string, object> customData)
{
Name = name;
CustomData = new Dictionary<string, object>(customData);
}
private void Initialize()
{
CustomData = new Dictionary<string, object>();
Name = null;
}
}
}