Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TelegrafRequest" /> class.
 /// </summary>
 /// <param name="name">name.</param>
 /// <param name="description">description.</param>
 /// <param name="agent">agent.</param>
 /// <param name="plugins">plugins.</param>
 /// <param name="orgID">orgID.</param>
 public TelegrafRequest(string name = default(string), string description = default(string), TelegrafRequestAgent agent = default(TelegrafRequestAgent), List <TelegrafRequestPlugin> plugins = default(List <TelegrafRequestPlugin>), string orgID = default(string))
 {
     this.Name        = name;
     this.Description = description;
     this.Agent       = agent;
     this.Plugins     = plugins;
     this.OrgID       = orgID;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Telegraf" /> class.
 /// </summary>
 /// <param name="links">links.</param>
 /// <param name="labels">labels.</param>
 public Telegraf(TelegrafLinks links = default(TelegrafLinks), List <Label> labels = default(List <Label>), string name = default(string), string description = default(string), TelegrafRequestAgent agent = default(TelegrafRequestAgent), List <TelegrafRequestPlugin> plugins = default(List <TelegrafRequestPlugin>), string orgID = default(string)) : base(name, description, agent, plugins, orgID)
 {
     this.Links  = links;
     this.Labels = labels;
 }