/// <summary> /// Initializes a new instance of the TimeSeriesHierarchy class. /// </summary> /// <param name="name">User-given unique name for the type. It is /// mutable and not null.</param> /// <param name="source">Definition of how time series hierarchy tree /// levels are created.</param> /// <param name="id">Case-sensitive unique hierarchy identifier. Can be /// null while creating hierarchy objects and then server generates the /// id, not null on get and delete operations.</param> public TimeSeriesHierarchy(string name, TimeSeriesHierarchySource source, string id = default(string)) { Id = id; Name = name; Source = source; CustomInit(); }
/// <summary> /// Initializes a new instance of the TimeSeriesHierarchy class. /// </summary> /// <param name="id">Unique hierarchy identifier that is a immutable /// GUID. Can be null while creating hierarchy objects and then server /// generates the id, not null on get and delete operations.</param> /// <param name="name">User-given unique name for the type. It is /// mutable and not null.</param> /// <param name="source">Definition of how time series hierarchy tree /// levels are created.</param> public TimeSeriesHierarchy(System.Guid id, string name, TimeSeriesHierarchySource source) { Id = id; Name = name; Source = source; CustomInit(); }
/// <summary> /// Initializes a new instance of the TimeSeriesHierarchy class. /// </summary> /// <param name="name">User-given unique name for the type. It is /// mutable and not null.</param> /// <param name="source">Definition of how time series hierarchy tree /// levels are created.</param> /// <param name="id">Unique hierarchy identifier that is a immutable /// GUID. Can be null while creating hierarchy objects and then server /// generates the id, not null on get and delete operations.</param> public TimeSeriesHierarchy(string name, TimeSeriesHierarchySource source, System.Guid?id = default(System.Guid?)) { Id = id; Name = name; Source = source; CustomInit(); }