/// <summary> /// Initializes a new instance of the HierarchyHit class. /// </summary> /// <param name="name">Name of the hierarchy node. May be empty, cannot /// be null.</param> /// <param name="cumulativeInstanceCount">Total number of instances /// that belong to this node and it's subtrees matching the /// query.</param> /// <param name="hierarchyNodes">Child hierarchy nodes of this node. /// May be empty or null.</param> public HierarchyHit(string name = default(string), int?cumulativeInstanceCount = default(int?), SearchHierarchyNodesResponse hierarchyNodes = default(SearchHierarchyNodesResponse)) { Name = name; CumulativeInstanceCount = cumulativeInstanceCount; HierarchyNodes = hierarchyNodes; CustomInit(); }
/// <summary> /// Initializes a new instance of the SearchInstancesResponsePage /// class. /// </summary> /// <param name="instances">The instances matching the query based on /// the input. May be empty or null.</param> /// <param name="hierarchyNodes">The hierarchy nodes which contains the /// instances matching the query based on the input. May be empty or /// null.</param> public SearchInstancesResponsePage(SearchInstancesResponse instances = default(SearchInstancesResponse), SearchHierarchyNodesResponse hierarchyNodes = default(SearchHierarchyNodesResponse)) { Instances = instances; HierarchyNodes = hierarchyNodes; CustomInit(); }