/// <summary>
 /// Initializes a new instance of the <see cref="GetRegistrationInfoResponse" /> class.
 /// </summary>
 /// <param name="rootNodes">Specifies the registration, protection and permission information of either all or a subset of registered Protection Sources matching the filter parameters. overrideDescription: true.</param>
 /// <param name="stats">Specifies the sum of all the stats of protection of Protection Sources and views selected by the query parameters..</param>
 /// <param name="statsByEnv">Specifies the breakdown of the stats by environment overrideDescription: true.</param>
 public GetRegistrationInfoResponse(List <ProtectionSourceTreeInfo> rootNodes = default(List <ProtectionSourceTreeInfo>), ProtectionSummary stats = default(ProtectionSummary), List <ProtectionSummaryByEnv> statsByEnv = default(List <ProtectionSummaryByEnv>))
 {
     this.RootNodes  = rootNodes;
     this.Stats      = stats;
     this.StatsByEnv = statsByEnv;
     this.RootNodes  = rootNodes;
     this.Stats      = stats;
     this.StatsByEnv = statsByEnv;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectionSourceTreeInfo" /> class.
 /// </summary>
 /// <param name="applications">Array of applications hierarchy registered on this node.  Specifies the application type and the list of instances of the application objects. For example for SQL Server, this list provides the SQL Server instances running on a VM or a Physical Server..</param>
 /// <param name="entityPermissionInfo">entityPermissionInfo.</param>
 /// <param name="logicalSizeBytes">Specifies the logical size of the Protection Source in bytes..</param>
 /// <param name="registrationInfo">Specifies registration information for a root node in a Protection Sources tree. A root node represents a registered Source on the Cohesity Cluster, such as a vCenter Server..</param>
 /// <param name="rootNode">Specifies the Protection Source for the root node of the Protection Source tree..</param>
 /// <param name="stats">Specifies the stats of protection for a Protection Source Tree..</param>
 /// <param name="statsByEnv">Specifies the breakdown of the stats of protection by environment. overrideDescription: true.</param>
 public ProtectionSourceTreeInfo(List <ApplicationInfo> applications = default(List <ApplicationInfo>), EntityPermissionInformation entityPermissionInfo = default(EntityPermissionInformation), long?logicalSizeBytes = default(long?), RegisteredSourceInfo registrationInfo = default(RegisteredSourceInfo), ProtectionSource rootNode = default(ProtectionSource), ProtectionSummary stats = default(ProtectionSummary), List <ProtectionSummaryByEnv> statsByEnv = default(List <ProtectionSummaryByEnv>))
 {
     this.Applications         = applications;
     this.LogicalSizeBytes     = logicalSizeBytes;
     this.RegistrationInfo     = registrationInfo;
     this.RootNode             = rootNode;
     this.Stats                = stats;
     this.StatsByEnv           = statsByEnv;
     this.Applications         = applications;
     this.EntityPermissionInfo = entityPermissionInfo;
     this.LogicalSizeBytes     = logicalSizeBytes;
     this.RegistrationInfo     = registrationInfo;
     this.RootNode             = rootNode;
     this.Stats                = stats;
     this.StatsByEnv           = statsByEnv;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectedVmInfo" /> class.
 /// </summary>
 /// <param name="protectionJobs">Specifies the list of Protection Jobs that protect the VM..</param>
 /// <param name="protectionPolicies">Specifies the list of Policies that are used by the Protection Jobs..</param>
 /// <param name="protectionSource">protectionSource.</param>
 /// <param name="stats">Specifies the protection stats of VM..</param>
 public ProtectedVmInfo(List <ProtectionJob> protectionJobs = default(List <ProtectionJob>), List <ProtectionPolicy> protectionPolicies = default(List <ProtectionPolicy>), ProtectionSource protectionSource = default(ProtectionSource), ProtectionSummary stats = default(ProtectionSummary))
 {
     this.ProtectionJobs     = protectionJobs;
     this.ProtectionPolicies = protectionPolicies;
     this.Stats              = stats;
     this.ProtectionJobs     = protectionJobs;
     this.ProtectionPolicies = protectionPolicies;
     this.ProtectionSource   = protectionSource;
     this.Stats              = stats;
 }