/// <summary>
 /// Initializes a new instance of the <see cref="RemoteProtectionJobInformation" /> class.
 /// </summary>
 /// <param name="clusterName">Specifies the name of the original Cluster that archived the data to the Vault..</param>
 /// <param name="environment">Specifies the environment type (such as kVMware or kSQL) of the original archived Protection Job. Supported environment types include &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, &#39;kPuppeteer&#39;, &#39;kPhysical&#39;, &#39;kPure&#39;, &#39;kNetapp, &#39;kGenericNas, &#39;kHyperV&#39;, &#39;kAcropolis&#39;, &#39;kAzure&#39;. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter..</param>
 /// <param name="jobName">Specifies the name of the Protection Job on the original Cluster..</param>
 /// <param name="jobUid">jobUid.</param>
 public RemoteProtectionJobInformation(string clusterName = default(string), EnvironmentEnum?environment = default(EnvironmentEnum?), string jobName = default(string), ProtectionJobUid1 jobUid = default(ProtectionJobUid1))
 {
     this.ClusterName = clusterName;
     this.Environment = environment;
     this.JobName     = jobName;
     this.JobUid      = jobUid;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BackupRun" /> class.
 /// </summary>
 /// <param name="environment">Specifies the environment type that the task is protecting. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment..</param>
 /// <param name="error">Specifies if an error occurred (if any) while running this task. This field is populated when the status is equal to &#39;kFailure&#39;..</param>
 /// <param name="jobRunId">Specifies the id of the Job Run that ran the backup task and the copy tasks..</param>
 /// <param name="message">Specifies a message after finishing the task successfully. This field is optionally populated when the status is equal to &#39;kSuccess&#39;..</param>
 /// <param name="metadataDeleted">Specifies if the metadata and snapshots associated with this Job Run have been deleted. This field is set to true when the snapshots, which are marked for deletion, are removed by garbage collection. The associated metadata is also deleted..</param>
 /// <param name="quiesced">Specifies if app-consistent snapshot was captured. This field is set to true, if an app-consistent snapshot was taken by quiescing applications and the file system before taking a backup..</param>
 /// <param name="runType">Specifies the type of backup such as &#39;kRegular&#39;, &#39;kFull&#39;, &#39;kLog&#39; or &#39;kSystem&#39;. &#39;kRegular&#39; indicates a incremental (CBT) backup. Incremental backups utilizing CBT (if supported) are captured of the target protection objects. The first run of a kRegular schedule captures all the blocks. &#39;kFull&#39; indicates a full (no CBT) backup. A complete backup (all blocks) of the target protection objects are always captured and Change Block Tracking (CBT) is not utilized. &#39;kLog&#39; indicates a Database Log backup. Capture the database transaction logs to allow rolling back to a specific point in time. &#39;kSystem&#39; indicates a system backup. System backups are used to do bare metal recovery of the system to a specific point in time..</param>
 /// <param name="slaViolated">Specifies if the SLA was violated for the Job Run. This field is set to true, if time to complete the Job Run is longer than the SLA specified. This field is populated when the status is set to &#39;kSuccess&#39; or &#39;kFailure&#39;..</param>
 /// <param name="snapshotsDeleted">Specifies if backup snapshots associated with this Job Run have been marked for deletion because of the retention settings in the Policy or if they were manually deleted from the Cohesity Dashboard..</param>
 /// <param name="snapshotsDeletedTimeUsecs">Specifies if backup snapshots associated with this Job Run have been marked for deletion because of the retention settings in the Policy or if they were manually deleted from the Cohesity Dashboard..</param>
 /// <param name="sourceBackupStatus">Array of Source Object Backup Status.  Specifies the status of backing up each source objects (such as VMs) associated with the job..</param>
 /// <param name="stats">stats.</param>
 /// <param name="status">Specifies the status of Backup task such as &#39;kRunning&#39;, &#39;kSuccess&#39;, &#39;kFailure&#39; etc. &#39;kAccepted&#39; indicates the task is queued to run but not yet running. &#39;kRunning&#39; indicates the task is running. &#39;kCanceling&#39; indicates a request to cancel the task has occurred but the task is not yet canceled. &#39;kCanceled&#39; indicates the task has been canceled. &#39;kSuccess&#39; indicates the task was successful. &#39;kFailure&#39; indicates the task failed..</param>
 /// <param name="warnings">Array of Warnings.  Specifies the warnings that occurred (if any) while running this task..</param>
 /// <param name="wormRetentionType">Specifies WORM retention type for the snapshot as given by the policy. When a WORM retention type is specified, the snapshot will be kept until the maximum of the snapshot retention time. During that time, the snapshot cannot be deleted. &#39;kNone&#39; implies there is no WORM retention set. &#39;kCompliance&#39; implies WORM retention is set for compliance reason. &#39;kAdministrative&#39; implies WORM retention is set for administrative purposes..</param>
 public BackupRun(EnvironmentEnum?environment = default(EnvironmentEnum?), string error = default(string), long?jobRunId = default(long?), string message = default(string), bool?metadataDeleted = default(bool?), bool?quiesced = default(bool?), RunTypeEnum?runType = default(RunTypeEnum?), bool?slaViolated = default(bool?), bool?snapshotsDeleted = default(bool?), long?snapshotsDeletedTimeUsecs = default(long?), List <SourceBackupStatus> sourceBackupStatus = default(List <SourceBackupStatus>), ProtectionJobRunStats stats = default(ProtectionJobRunStats), StatusEnum?status = default(StatusEnum?), List <string> warnings = default(List <string>), WormRetentionTypeEnum?wormRetentionType = default(WormRetentionTypeEnum?))
 {
     this.Environment               = environment;
     this.Error                     = error;
     this.JobRunId                  = jobRunId;
     this.Message                   = message;
     this.MetadataDeleted           = metadataDeleted;
     this.Quiesced                  = quiesced;
     this.RunType                   = runType;
     this.SlaViolated               = slaViolated;
     this.SnapshotsDeleted          = snapshotsDeleted;
     this.SnapshotsDeletedTimeUsecs = snapshotsDeletedTimeUsecs;
     this.SourceBackupStatus        = sourceBackupStatus;
     this.Status                    = status;
     this.Warnings                  = warnings;
     this.WormRetentionType         = wormRetentionType;
     this.Environment               = environment;
     this.Error                     = error;
     this.JobRunId                  = jobRunId;
     this.Message                   = message;
     this.MetadataDeleted           = metadataDeleted;
     this.Quiesced                  = quiesced;
     this.RunType                   = runType;
     this.SlaViolated               = slaViolated;
     this.SnapshotsDeleted          = snapshotsDeleted;
     this.SnapshotsDeletedTimeUsecs = snapshotsDeletedTimeUsecs;
     this.SourceBackupStatus        = sourceBackupStatus;
     this.Stats                     = stats;
     this.Status                    = status;
     this.Warnings                  = warnings;
     this.WormRetentionType         = wormRetentionType;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectionTrend" /> class.
 /// </summary>
 /// <param name="cancelled">Specifies number of cancelled runs across trends..</param>
 /// <param name="environment">Specifies environment. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment..</param>
 /// <param name="failed">Specifies number of failed runs across trends..</param>
 /// <param name="id">Specifies protected object&#39;s Id..</param>
 /// <param name="name">Specifies protected object&#39;s name..</param>
 /// <param name="parentSourceId">Specifies protected object&#39;s parent id..</param>
 /// <param name="parentSourceName">Specifies protected object&#39;s parent name..</param>
 /// <param name="running">Specifies number of in-progress runs across trends..</param>
 /// <param name="successful">Specifies number of successful runs across trends..</param>
 /// <param name="total">Specifies total number of runs across trends..</param>
 /// <param name="trends">Aggregated protection runs information by days/weeks..</param>
 public ProtectionTrend(long?cancelled = default(long?), EnvironmentEnum?environment = default(EnvironmentEnum?), long?failed = default(long?), long?id = default(long?), string name = default(string), long?parentSourceId = default(long?), string parentSourceName = default(string), long?running = default(long?), long?successful = default(long?), long?total = default(long?), List <TrendingData> trends = default(List <TrendingData>))
 {
     this.Cancelled        = cancelled;
     this.Environment      = environment;
     this.Failed           = failed;
     this.Id               = id;
     this.Name             = name;
     this.ParentSourceId   = parentSourceId;
     this.ParentSourceName = parentSourceName;
     this.Running          = running;
     this.Successful       = successful;
     this.Total            = total;
     this.Trends           = trends;
     this.Cancelled        = cancelled;
     this.Environment      = environment;
     this.Failed           = failed;
     this.Id               = id;
     this.Name             = name;
     this.ParentSourceId   = parentSourceId;
     this.ParentSourceName = parentSourceName;
     this.Running          = running;
     this.Successful       = successful;
     this.Total            = total;
     this.Trends           = trends;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConnectorParams" /> class.
 /// </summary>
 /// <param name="endpoint">Specify an IP address or URL of the environment. (such as the IP address of the vCenter Server for a VMware environment)..</param>
 /// <param name="environment">Specifies the environment like VMware, SQL, where the Protection Source exists. Supported environment types include &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, &#39;kPuppeteer&#39;, &#39;kPhysical&#39;, &#39;kPure&#39;, &#39;kNetapp, &#39;kGenericNas, &#39;kHyperV&#39;, &#39;kAcropolis&#39;, &#39;kAzure&#39;. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter..</param>
 /// <param name="id">Specifies a Unique id that is generated when the Source is registered. This is a convenience field that is used to maintain an index to different connection params..</param>
 /// <param name="version">Version is updated each time the connector parameters are updated. This is used to discard older connector parameters..</param>
 public ConnectorParams(string endpoint = default(string), EnvironmentEnum?environment = default(EnvironmentEnum?), long?id = default(long?), long?version = default(long?))
 {
     this.Endpoint    = endpoint;
     this.Environment = environment;
     this.Id          = id;
     this.Version     = version;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SnapshotInfo" /> class.
 /// </summary>
 /// <param name="environment">Specifies the environment type (such as kVMware or kSQL) that contains the source to backup. Supported environment types include &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, &#39;kPuppeteer&#39;, &#39;kPhysical&#39;, &#39;kPure&#39;, &#39;kNetapp, &#39;kGenericNas, &#39;kHyperV&#39;, &#39;kAcropolis&#39;, &#39;kAzure&#39;. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter..</param>
 /// <param name="relativeSnapshotDirectory">Specifies the relative directory path from root path where the snapshot is stored..</param>
 /// <param name="rootPath">Specifies the root path where the snapshot is stored, using the following format: \&quot;/ViewBox/ViewName/fs\&quot;..</param>
 /// <param name="viewName">Specifies the name of the View that is cloned. NOTE: This field is only populated for View cloning..</param>
 public SnapshotInfo(EnvironmentEnum?environment = default(EnvironmentEnum?), string relativeSnapshotDirectory = default(string), string rootPath = default(string), string viewName = default(string))
 {
     this.Environment = environment;
     this.RelativeSnapshotDirectory = relativeSnapshotDirectory;
     this.RootPath = rootPath;
     this.ViewName = viewName;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ApplicationInfo" /> class.
 /// </summary>
 /// <param name="applicationTreeInfo">Application Server and the subtrees below them.  Specifies the application subtree used to store additional application level Objects. Different environments use the subtree to store application level information. For example for SQL Server, this subtree stores the SQL Server instances running on a VM or a Physical Server. overrideDescription: true.</param>
 /// <param name="environment">Specifies the environment type of the application such as &#39;kSQL&#39;, &#39;kExchange&#39; registered on the Protection Source. overrideDescription: true Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment..</param>
 public ApplicationInfo(List<ProtectionSourceNode> applicationTreeInfo = default(List<ProtectionSourceNode>), EnvironmentEnum? environment = default(EnvironmentEnum?))
 {
     this.ApplicationTreeInfo = applicationTreeInfo;
     this.Environment = environment;
     this.ApplicationTreeInfo = applicationTreeInfo;
     this.Environment = environment;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteProtectionJobRunInformation" /> class.
 /// </summary>
 /// <param name="clusterName">Specifies the name of the original Cluster that archived the data to the Vault..</param>
 /// <param name="environment">Specifies the environment type (such as kVMware or kSQL) of the original archived Protection Job. Supported environment types include &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, &#39;kPuppeteer&#39;, &#39;kPhysical&#39;, &#39;kPure&#39;, &#39;kNetapp, &#39;kGenericNas, &#39;kHyperV&#39;, &#39;kAcropolis&#39;, &#39;kAzure&#39;. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter..</param>
 /// <param name="jobName">Specifies the name of the Protection Job on the original Cluster..</param>
 /// <param name="jobUid">jobUid.</param>
 /// <param name="protectionJobRuns">Specifies the list of Protection Job Runs (Snapshot) details for a Protection Job archived to a Vault..</param>
 public RemoteProtectionJobRunInformation(string clusterName = default(string), EnvironmentEnum?environment = default(EnvironmentEnum?), string jobName = default(string), ProtectionJobUid1 jobUid = default(ProtectionJobUid1), List <RemoteProtectionJobRunInstance> protectionJobRuns = default(List <RemoteProtectionJobRunInstance>))
 {
     this.ClusterName       = clusterName;
     this.Environment       = environment;
     this.JobName           = jobName;
     this.JobUid            = jobUid;
     this.ProtectionJobRuns = protectionJobRuns;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="VaultProviderStatsByEnv" /> class.
 /// </summary>
 /// <param name="count">Specifies the count of the objects of the specified environment..</param>
 /// <param name="environment">Specifies the environment type..</param>
 /// <param name="size">Specifies the size of the entities of the specified environment..</param>
 public VaultProviderStatsByEnv(long?count = default(long?), EnvironmentEnum?environment = default(EnvironmentEnum?), long?size = default(long?))
 {
     this.Count       = count;
     this.Environment = environment;
     this.Size        = size;
     this.Count       = count;
     this.Environment = environment;
     this.Size        = size;
 }
Пример #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AggregatedSubtreeInfo" /> class.
 /// </summary>
 /// <param name="environment">Specifies the environment such as &#39;kSQL&#39; or &#39;kVMware&#39;, where the Protection Source exists. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment..</param>
 /// <param name="leavesCount">Specifies the number of leaf nodes under the subtree of this node..</param>
 /// <param name="totalLogicalSize">Specifies the total logical size of the data under the subtree of this node..</param>
 public AggregatedSubtreeInfo(EnvironmentEnum?environment = default(EnvironmentEnum?), long?leavesCount = default(long?), long?totalLogicalSize = default(long?))
 {
     this.Environment      = environment;
     this.LeavesCount      = leavesCount;
     this.TotalLogicalSize = totalLogicalSize;
     this.Environment      = environment;
     this.LeavesCount      = leavesCount;
     this.TotalLogicalSize = totalLogicalSize;
 }
Пример #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreEnvStats" /> class.
 /// </summary>
 /// <param name="environment">Specifies the environment..</param>
 /// <param name="objectCount">objectCount.</param>
 /// <param name="totalBytes">totalBytes.</param>
 public RestoreEnvStats(EnvironmentEnum?environment = default(EnvironmentEnum?), long?objectCount = default(long?), long?totalBytes = default(long?))
 {
     this.Environment = environment;
     this.ObjectCount = objectCount;
     this.TotalBytes  = totalBytes;
     this.Environment = environment;
     this.ObjectCount = objectCount;
     this.TotalBytes  = totalBytes;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="LastProtectionRunStatsByEnv" /> class.
 /// </summary>
 /// <param name="environment">Specifies the environment..</param>
 /// <param name="numObjectsFailed">Specifies the count of objects that failed last Protection Run..</param>
 /// <param name="numObjectsFailedSla">Specifies the count of objects that failed sla in the last Run..</param>
 /// <param name="numObjectsMetSla">Specifies the count of objects that met sla in the last Run..</param>
 public LastProtectionRunStatsByEnv(EnvironmentEnum?environment = default(EnvironmentEnum?), long?numObjectsFailed = default(long?), long?numObjectsFailedSla = default(long?), long?numObjectsMetSla = default(long?))
 {
     this.Environment         = environment;
     this.NumObjectsFailed    = numObjectsFailed;
     this.NumObjectsFailedSla = numObjectsFailedSla;
     this.NumObjectsMetSla    = numObjectsMetSla;
     this.Environment         = environment;
     this.NumObjectsFailed    = numObjectsFailed;
     this.NumObjectsFailedSla = numObjectsFailedSla;
     this.NumObjectsMetSla    = numObjectsMetSla;
 }
Пример #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestorePointsForTimeRangeParam" /> class.
 /// </summary>
 /// <param name="endTimeUsecs">Specifies the end time specified as a Unix epoch Timestamp (in microseconds)..</param>
 /// <param name="environment">Specifies the protection source environment type. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment..</param>
 /// <param name="jobUids">Specifies the jobs for which to get the full snapshot information. (required).</param>
 /// <param name="protectionSourceId">Specifies the id of the Protection Source which is to be restored..</param>
 /// <param name="startTimeUsecs">Specifies the start time specified as a Unix epoch Timestamp (in microseconds)..</param>
 public RestorePointsForTimeRangeParam(long?endTimeUsecs = default(long?), EnvironmentEnum?environment = default(EnvironmentEnum?), List <UniversalId> jobUids = default(List <UniversalId>), long?protectionSourceId = default(long?), long?startTimeUsecs = default(long?))
 {
     this.EndTimeUsecs       = endTimeUsecs;
     this.Environment        = environment;
     this.JobUids            = jobUids;
     this.ProtectionSourceId = protectionSourceId;
     this.StartTimeUsecs     = startTimeUsecs;
     this.EndTimeUsecs       = endTimeUsecs;
     this.Environment        = environment;
     this.ProtectionSourceId = protectionSourceId;
     this.StartTimeUsecs     = startTimeUsecs;
 }
Пример #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectedObjectsSummaryByEnv" /> class.
 /// </summary>
 /// <param name="environment">Specifies the environment..</param>
 /// <param name="numObjectsProtected">Specifies the total number of protected objects..</param>
 /// <param name="numObjectsUnprotected">Specifies the total number of unprotected objects..</param>
 /// <param name="protectedSizeBytes">Specifies the total size of protected objects in bytes..</param>
 /// <param name="unprotectedSizeBytes">Specifies the total size of unprotected objects in bytes..</param>
 public ProtectedObjectsSummaryByEnv(EnvironmentEnum?environment = default(EnvironmentEnum?), long?numObjectsProtected = default(long?), long?numObjectsUnprotected = default(long?), long?protectedSizeBytes = default(long?), long?unprotectedSizeBytes = default(long?))
 {
     this.Environment           = environment;
     this.NumObjectsProtected   = numObjectsProtected;
     this.NumObjectsUnprotected = numObjectsUnprotected;
     this.ProtectedSizeBytes    = protectedSizeBytes;
     this.UnprotectedSizeBytes  = unprotectedSizeBytes;
     this.Environment           = environment;
     this.NumObjectsProtected   = numObjectsProtected;
     this.NumObjectsUnprotected = numObjectsUnprotected;
     this.ProtectedSizeBytes    = protectedSizeBytes;
     this.UnprotectedSizeBytes  = unprotectedSizeBytes;
 }
Пример #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AzureKeyVaultSettings" /> class.
 /// </summary>
 /// <param name="ResourceGroup">ResourceGroup.</param>
 /// <param name="Environment">Environment.</param>
 /// <param name="KeyVaultName">KeyVaultName.</param>
 /// <param name="ClientId">ClientId.</param>
 /// <param name="HsmUsage">HsmUsage.</param>
 /// <param name="KeyVaultURL">KeyVaultURL.</param>
 /// <param name="ClientSecret">ClientSecret.</param>
 /// <param name="Region">Region.</param>
 /// <param name="SubscriptionId">SubscriptionId.</param>
 /// <param name="Tenant">Tenant.</param>
 public AzureKeyVaultSettings(string ResourceGroup = default(string), EnvironmentEnum?Environment = default(EnvironmentEnum?), string KeyVaultName = default(string), string ClientId = default(string), HsmUsageEnum?HsmUsage = default(HsmUsageEnum?), string KeyVaultURL = default(string), string ClientSecret = default(string), RegionEnum?Region = default(RegionEnum?), string SubscriptionId = default(string), string Tenant = default(string))
 {
     this.ResourceGroup  = ResourceGroup;
     this.Environment    = Environment;
     this.KeyVaultName   = KeyVaultName;
     this.ClientId       = ClientId;
     this.HsmUsage       = HsmUsage;
     this.KeyVaultURL    = KeyVaultURL;
     this.ClientSecret   = ClientSecret;
     this.Region         = Region;
     this.SubscriptionId = SubscriptionId;
     this.Tenant         = Tenant;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisteredAppInfo" /> class.
 /// </summary>
 /// <param name="authenticationErrorMessage">Specifies an authentication error message. This indicates the given credentials are rejected and the registration of the application is not successful..</param>
 /// <param name="authenticationStatus">Specifies the status of authenticating to the Protection Source when registering this application with Cohesity Cluster. If the status is &#39;kFinished&#39; and there is no error, registration is successful. Specifies the status of the authentication during the registration of a Protection Source. &#39;kPending&#39; indicates the authentication is in progress. &#39;kScheduled&#39; indicates the authentication is scheduled. &#39;kFinished&#39; indicates the authentication is completed. &#39;kRefreshInProgress&#39; indicates the refresh is in progres..</param>
 /// <param name="environment">Specifies the application environment. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment..</param>
 /// <param name="hostSettingsCheckResults">Specifies the list of check results internally performed to verify status of various services such as &#39;AgnetRunning&#39;, &#39;SQLWriterRunning&#39; etc..</param>
 /// <param name="refreshErrorMessage">Specifies a message if there was any error encountered during the last rebuild of the application tree. If there was no error during the last rebuild, this field is reset..</param>
 public RegisteredAppInfo(string authenticationErrorMessage = default(string), AuthenticationStatusEnum?authenticationStatus = default(AuthenticationStatusEnum?), EnvironmentEnum?environment = default(EnvironmentEnum?), List <HostSettingsCheckResult> hostSettingsCheckResults = default(List <HostSettingsCheckResult>), string refreshErrorMessage = default(string))
 {
     this.AuthenticationErrorMessage = authenticationErrorMessage;
     this.AuthenticationStatus       = authenticationStatus;
     this.Environment = environment;
     this.HostSettingsCheckResults   = hostSettingsCheckResults;
     this.RefreshErrorMessage        = refreshErrorMessage;
     this.AuthenticationErrorMessage = authenticationErrorMessage;
     this.AuthenticationStatus       = authenticationStatus;
     this.Environment = environment;
     this.HostSettingsCheckResults = hostSettingsCheckResults;
     this.RefreshErrorMessage      = refreshErrorMessage;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectionSummaryByEnv" /> class.
 /// </summary>
 /// <param name="environment">Specifies the type of environment of the source object like kSQL etc. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment..</param>
 /// <param name="protectedCount">Specifies the number of objects that are protected under the given entity..</param>
 /// <param name="protectedSize">Specifies the total size of the protected objects under the given entity..</param>
 /// <param name="unprotectedCount">Specifies the number of objects that are not protected under the given entity..</param>
 /// <param name="unprotectedSize">Specifies the total size of the unprotected objects under the given entity..</param>
 public ProtectionSummaryByEnv(EnvironmentEnum?environment = default(EnvironmentEnum?), long?protectedCount = default(long?), long?protectedSize = default(long?), long?unprotectedCount = default(long?), long?unprotectedSize = default(long?))
 {
     this.Environment      = environment;
     this.ProtectedCount   = protectedCount;
     this.ProtectedSize    = protectedSize;
     this.UnprotectedCount = unprotectedCount;
     this.UnprotectedSize  = unprotectedSize;
     this.Environment      = environment;
     this.ProtectedCount   = protectedCount;
     this.ProtectedSize    = protectedSize;
     this.UnprotectedCount = unprotectedCount;
     this.UnprotectedSize  = unprotectedSize;
 }
Пример #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ServiceInvoiceResource" /> class.
 /// </summary>
 /// <param name="Id">Identificação.</param>
 /// <param name="Environment">Ambiente de Processamento (required).</param>
 /// <param name="FlowStatus">Status do processamento.</param>
 /// <param name="FlowMessage">Mensagem de processamento.</param>
 /// <param name="Provider">Prestador dos serviços.</param>
 /// <param name="Borrower">Tomador dos serviços.</param>
 /// <param name="BatchNumber">Número do lote da RPS.</param>
 /// <param name="BatchCheckNumber">Número do protocolo do lote da RPS.</param>
 /// <param name="Number">Número do NFE.</param>
 /// <param name="CheckCode">Código de Verificação da NFE.</param>
 /// <param name="Status">Status da NFE.</param>
 /// <param name="RpsType">Tipo da RPS.</param>
 /// <param name="RpsStatus">Status da RPS.</param>
 /// <param name="TaxationType">Tipo da tributação.</param>
 /// <param name="IssuedOn">Data de emissão.</param>
 /// <param name="CancelledOn">Data de cancelamento.</param>
 /// <param name="RpsSerialNumber">Número de serie da RPS.</param>
 /// <param name="RpsNumber">Número da RPS.</param>
 /// <param name="CityServiceCode">Código do servico prestado no Municipio.</param>
 /// <param name="FederalServiceCode">Código do servico prestado federal.</param>
 /// <param name="Description">Descrição do serviço no municipio.</param>
 /// <param name="ServicesAmount">Valor do serviços.</param>
 /// <param name="DeductionsAmount">Valor de deduções.</param>
 /// <param name="DiscountUnconditionedAmount">Valor do desconto incondicionado.</param>
 /// <param name="DiscountConditionedAmount">Valor do desconto condicionado.</param>
 /// <param name="BaseTaxAmount">Valor da base de calculo de impostos.</param>
 /// <param name="IssRate">Aliquota do ISS.</param>
 /// <param name="IssTaxAmount">Valor do ISS.</param>
 /// <param name="IrAmountWithheld">Valor retido do Imposto de Renda (IR).</param>
 /// <param name="PisAmountWithheld">Valor retido do PIS.</param>
 /// <param name="CofinsAmountWithheld">Valor retido do COFINS.</param>
 /// <param name="CsllAmountWithheld">Valor retido do CSLL.</param>
 /// <param name="InssAmountWithheld">Valor retido do INSS.</param>
 /// <param name="IssAmountWithheld">Valor retido do ISS.</param>
 /// <param name="OthersAmountWithheld">Valor de outras retenções.</param>
 /// <param name="AmountWithheld">Valor das retenções.</param>
 /// <param name="AmountNet">Valor líquido.</param>
 /// <param name="ApproximateTax">Tributos aproximados.</param>
 /// <param name="CreatedOn">Data de criação.</param>
 /// <param name="ModifiedOn">Data da última modificação.</param>
 public ServiceInvoiceResource(string Id = default(string), EnvironmentEnum?Environment = default(EnvironmentEnum?), FlowStatusEnum?FlowStatus = default(FlowStatusEnum?), string FlowMessage = default(string), LegalPerson Provider = default(LegalPerson), Person Borrower = default(Person), long?BatchNumber = default(long?), string BatchCheckNumber = default(string), long?Number = default(long?), string CheckCode = default(string), StatusEnum?Status = default(StatusEnum?), RpsTypeEnum?RpsType = default(RpsTypeEnum?), RpsStatusEnum?RpsStatus = default(RpsStatusEnum?), TaxationTypeEnum?TaxationType = default(TaxationTypeEnum?), DateTime?IssuedOn = default(DateTime?), DateTime?CancelledOn = default(DateTime?), string RpsSerialNumber = default(string), long?RpsNumber = default(long?), string CityServiceCode = default(string), string FederalServiceCode = default(string), string Description = default(string), double?ServicesAmount = default(double?), double?DeductionsAmount = default(double?), double?DiscountUnconditionedAmount = default(double?), double?DiscountConditionedAmount = default(double?), double?BaseTaxAmount = default(double?), double?IssRate = default(double?), double?IssTaxAmount = default(double?), double?IrAmountWithheld = default(double?), double?PisAmountWithheld = default(double?), double?CofinsAmountWithheld = default(double?), double?CsllAmountWithheld = default(double?), double?InssAmountWithheld = default(double?), double?IssAmountWithheld = default(double?), double?OthersAmountWithheld = default(double?), double?AmountWithheld = default(double?), double?AmountNet = default(double?), ServiceInvoiceApproximateTaxesResource ApproximateTax = default(ServiceInvoiceApproximateTaxesResource), DateTime?CreatedOn = default(DateTime?), DateTime?ModifiedOn = default(DateTime?))
 {
     // to ensure "Environment" is required (not null)
     if (Environment == null)
     {
         throw new InvalidDataException("Environment is a required property for ServiceInvoiceResource and cannot be null");
     }
     else
     {
         this.Environment = Environment;
     }
     this.Id                          = Id;
     this.FlowStatus                  = FlowStatus;
     this.FlowMessage                 = FlowMessage;
     this.Provider                    = Provider;
     this.Borrower                    = Borrower;
     this.BatchNumber                 = BatchNumber;
     this.BatchCheckNumber            = BatchCheckNumber;
     this.Number                      = Number;
     this.CheckCode                   = CheckCode;
     this.Status                      = Status;
     this.RpsType                     = RpsType;
     this.RpsStatus                   = RpsStatus;
     this.TaxationType                = TaxationType;
     this.IssuedOn                    = IssuedOn;
     this.CancelledOn                 = CancelledOn;
     this.RpsSerialNumber             = RpsSerialNumber;
     this.RpsNumber                   = RpsNumber;
     this.CityServiceCode             = CityServiceCode;
     this.FederalServiceCode          = FederalServiceCode;
     this.Description                 = Description;
     this.ServicesAmount              = ServicesAmount;
     this.DeductionsAmount            = DeductionsAmount;
     this.DiscountUnconditionedAmount = DiscountUnconditionedAmount;
     this.DiscountConditionedAmount   = DiscountConditionedAmount;
     this.BaseTaxAmount               = BaseTaxAmount;
     this.IssRate                     = IssRate;
     this.IssTaxAmount                = IssTaxAmount;
     this.IrAmountWithheld            = IrAmountWithheld;
     this.PisAmountWithheld           = PisAmountWithheld;
     this.CofinsAmountWithheld        = CofinsAmountWithheld;
     this.CsllAmountWithheld          = CsllAmountWithheld;
     this.InssAmountWithheld          = InssAmountWithheld;
     this.IssAmountWithheld           = IssAmountWithheld;
     this.OthersAmountWithheld        = OthersAmountWithheld;
     this.AmountWithheld              = AmountWithheld;
     this.AmountNet                   = AmountNet;
     this.ApproximateTax              = ApproximateTax;
     this.CreatedOn                   = CreatedOn;
     this.ModifiedOn                  = ModifiedOn;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectionSource" /> class.
 /// </summary>
 /// <param name="acropolisProtectionSource">Specifies details about an Acropolis Protection Source when the environment is set to &#39;kAcropolis&#39;..</param>
 /// <param name="adProtectionSource">Specifies details about an AD Protection Source when the environment is set to &#39;kAD&#39;..</param>
 /// <param name="awsProtectionSource">Specifies details about an AWS Protection Source when the environment is set to &#39;kAWS&#39;..</param>
 /// <param name="azureProtectionSource">Specifies details about an Azure Protection Source when the environment is set to &#39;kAzure&#39;..</param>
 /// <param name="environment">Specifies the environment (such as &#39;kVMware&#39; or &#39;kSQL&#39;) where the Protection Source exists. Depending on the environment, one of the following Protection Sources are initialized.  NOTE: kPuppeteer refers to Cohesity&#39;s Remote Adapter. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Genreric Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kVCD&#39; indicates the VMware&#39;s Virtual cloud Director Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment..</param>
 /// <param name="flashBladeProtectionSource">Specifies details about a Pure Storage FlashBlade Protection Source when the environment is set to &#39;kFlashBlade&#39;..</param>
 /// <param name="gcpProtectionSource">Specifies details about an GCP Protection Source when the environment is set to &#39;kGCP&#39;..</param>
 /// <param name="hyperFlexProtectionSource">Specifies details about a HyperFlex Storage Snapshot source when the environment is set to &#39;kHyperFlex&#39;.</param>
 /// <param name="hypervProtectionSource">Specifies details about a HyperV Protection Source when the environment is set to &#39;kHyperV&#39;..</param>
 /// <param name="id">Specifies an id of the Protection Source..</param>
 /// <param name="isilonProtectionSource">Specifies details about an Isilon OneFs Protection Source when the environment is set to &#39;kIsilon&#39;..</param>
 /// <param name="kvmProtectionSource">Specifies details about a KVM Protection Source when the environment is set to &#39;kKVM&#39;..</param>
 /// <param name="name">Specifies a name of the Protection Source..</param>
 /// <param name="nasProtectionSource">Specifies details about a Generic NAS Protection Source when the environment is set to &#39;kGenericNas&#39;..</param>
 /// <param name="netappProtectionSource">Specifies details about a NetApp Protection Source when the environment is set to &#39;kNetapp&#39;..</param>
 /// <param name="office365ProtectionSource">Specifies details about an Office 365 Protection Source when the environment is set to &#39;kO365&#39;..</param>
 /// <param name="oracleProtectionSource">Specifies details about an Oracle Protection Source when the environment is set to &#39;kOracle&#39;..</param>
 /// <param name="parentId">Specifies an id of the parent of the Protection Source..</param>
 /// <param name="physicalProtectionSource">Specifies details about a Physical Protection Source when the environment is set to &#39;kPhysical&#39;..</param>
 /// <param name="pureProtectionSource">Specifies details about a Pure Protection Source when the environment is set to &#39;kPure&#39;..</param>
 /// <param name="sqlProtectionSource">Specifies details about a SQL Protection Source when the environment is set to &#39;kSQL&#39;..</param>
 /// <param name="viewProtectionSource">Specifies details about a View Protection Source when the environment is set to &#39;kView&#39;..</param>
 /// <param name="vmWareProtectionSource">Specifies details about a VMware Protection Source when the environment is set to &#39;kVMware&#39;..</param>
 public ProtectionSource(AcropolisProtectionSource acropolisProtectionSource = default(AcropolisProtectionSource), AdProtectionSource adProtectionSource = default(AdProtectionSource), AwsProtectionSource awsProtectionSource = default(AwsProtectionSource), AzureProtectionSource azureProtectionSource = default(AzureProtectionSource), EnvironmentEnum?environment = default(EnvironmentEnum?), FlashBladeProtectionSource flashBladeProtectionSource = default(FlashBladeProtectionSource), GcpProtectionSource gcpProtectionSource = default(GcpProtectionSource), HyperFlexProtectionSource hyperFlexProtectionSource = default(HyperFlexProtectionSource), HypervProtectionSource hypervProtectionSource = default(HypervProtectionSource), long?id = default(long?), IsilonProtectionSource isilonProtectionSource = default(IsilonProtectionSource), KvmProtectionSource kvmProtectionSource = default(KvmProtectionSource), string name = default(string), NasProtectionSource nasProtectionSource = default(NasProtectionSource), NetappProtectionSource netappProtectionSource = default(NetappProtectionSource), Office365ProtectionSource office365ProtectionSource = default(Office365ProtectionSource), OracleProtectionSource oracleProtectionSource = default(OracleProtectionSource), long?parentId = default(long?), PhysicalProtectionSource physicalProtectionSource = default(PhysicalProtectionSource), PureProtectionSource pureProtectionSource = default(PureProtectionSource), SqlProtectionSource sqlProtectionSource = default(SqlProtectionSource), ViewProtectionSource viewProtectionSource = default(ViewProtectionSource), VMwareProtectionSource vmWareProtectionSource = default(VMwareProtectionSource))
 {
     this.AcropolisProtectionSource = acropolisProtectionSource;
     this.AdProtectionSource        = adProtectionSource;
     this.AwsProtectionSource       = awsProtectionSource;
     this.AzureProtectionSource     = azureProtectionSource;
     this.Environment = environment;
     this.FlashBladeProtectionSource = flashBladeProtectionSource;
     this.GcpProtectionSource        = gcpProtectionSource;
     this.HyperFlexProtectionSource  = hyperFlexProtectionSource;
     this.HypervProtectionSource     = hypervProtectionSource;
     this.Id = id;
     this.IsilonProtectionSource = isilonProtectionSource;
     this.KvmProtectionSource    = kvmProtectionSource;
     this.Name = name;
     this.NasProtectionSource       = nasProtectionSource;
     this.NetappProtectionSource    = netappProtectionSource;
     this.Office365ProtectionSource = office365ProtectionSource;
     this.OracleProtectionSource    = oracleProtectionSource;
     this.ParentId = parentId;
     this.PhysicalProtectionSource  = physicalProtectionSource;
     this.PureProtectionSource      = pureProtectionSource;
     this.SqlProtectionSource       = sqlProtectionSource;
     this.ViewProtectionSource      = viewProtectionSource;
     this.VmWareProtectionSource    = vmWareProtectionSource;
     this.AcropolisProtectionSource = acropolisProtectionSource;
     this.AdProtectionSource        = adProtectionSource;
     this.AwsProtectionSource       = awsProtectionSource;
     this.AzureProtectionSource     = azureProtectionSource;
     this.Environment = environment;
     this.FlashBladeProtectionSource = flashBladeProtectionSource;
     this.GcpProtectionSource        = gcpProtectionSource;
     this.HyperFlexProtectionSource  = hyperFlexProtectionSource;
     this.HypervProtectionSource     = hypervProtectionSource;
     this.Id = id;
     this.IsilonProtectionSource = isilonProtectionSource;
     this.KvmProtectionSource    = kvmProtectionSource;
     this.Name = name;
     this.NasProtectionSource       = nasProtectionSource;
     this.NetappProtectionSource    = netappProtectionSource;
     this.Office365ProtectionSource = office365ProtectionSource;
     this.OracleProtectionSource    = oracleProtectionSource;
     this.ParentId = parentId;
     this.PhysicalProtectionSource = physicalProtectionSource;
     this.PureProtectionSource     = pureProtectionSource;
     this.SqlProtectionSource      = sqlProtectionSource;
     this.ViewProtectionSource     = viewProtectionSource;
     this.VmWareProtectionSource   = vmWareProtectionSource;
 }
Пример #19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisterProtectionSourceParameters" /> class.
 /// </summary>
 /// <param name="endpoint">Specifies the network endpoint of the Protection Source where it is reachable. It could be an URL or hostname or an IP address of the Protection Source..</param>
 /// <param name="environment">Specifies the environment such as &#39;kPhysical&#39; or &#39;kVMware&#39; of the Protection Source. overrideDescription: true Supported environment types include &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, &#39;kPuppeteer&#39;, &#39;kPhysical&#39;, &#39;kPure&#39;, &#39;kNetapp, &#39;kGenericNas, &#39;kHyperV&#39;, &#39;kAcropolis&#39;, &#39;kAzure&#39;. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter..</param>
 /// <param name="forceRegister">forceRegister.</param>
 /// <param name="hostType">Specifies the optional OS type of the Protection Source (such as kWindows or kLinux). overrideDescription: true &#39;kLinux&#39; indicates the Linux operating system. &#39;kWindows&#39; indicates the Microsoft Windows operating system..</param>
 /// <param name="nasMountCredentials">nasMountCredentials.</param>
 /// <param name="netappType">Specifies the entity type such as &#39;kCluster,&#39; if the environment is kNetapp..</param>
 /// <param name="password">Specifies password of the username to access the target source..</param>
 /// <param name="physicalType">Specifies the entity type such as &#39;kPhysicalHost&#39; if the environment is kPhysical. overrideDescription: true &#39;kHost&#39; indicates a single physical server. &#39;kWindowsCluster&#39; indicates a Microsoft Windows cluster..</param>
 /// <param name="pureType">Specifies the entity type such as &#39;kStorageArray&#39; if the environment is kPure. overrideDescription: true Examples of Pure Objects include &#39;kStorageArray&#39; and &#39;kVolume&#39;..</param>
 /// <param name="sourceSideDedupEnabled">This controls whether to use source side dedup on the source or not. This is only applicable to Protection Sources which support source side dedup (e.g., Linux physical servers)..</param>
 /// <param name="throttlingPolicy">throttlingPolicy.</param>
 /// <param name="throttlingPolicyOverrides">Specifies a list of Throttling Policy for datastores that override the common throttling policy specified for the registered Protection Source. For datastores not in this list, common policy will still apply..</param>
 /// <param name="username">Specifies username to access the target source..</param>
 /// <param name="vmwareType">Specifies the entity type such as &#39;kVCenter&#39; if the environment is kKMware. overrideDescription: true Examples of VMware Objects include &#39;kVCenter&#39;, &#39;kFolder&#39;, &#39;kDatacenter&#39;, &#39;kResourcePool&#39;, &#39;kDatastore&#39;, &#39;kVirtualMachine&#39;, etc..</param>
 public RegisterProtectionSourceParameters(string endpoint = default(string), EnvironmentEnum?environment = default(EnvironmentEnum?), bool?forceRegister = default(bool?), HostTypeEnum?hostType = default(HostTypeEnum?), NASServerCredentials1 nasMountCredentials = default(NASServerCredentials1), NetappTypeEnum?netappType = default(NetappTypeEnum?), string password = default(string), PhysicalTypeEnum?physicalType = default(PhysicalTypeEnum?), PureTypeEnum?pureType = default(PureTypeEnum?), bool?sourceSideDedupEnabled = default(bool?), ThrottlingPolicy_ throttlingPolicy = default(ThrottlingPolicy_), List <ThrottlingPolicyOverride> throttlingPolicyOverrides = default(List <ThrottlingPolicyOverride>), string username = default(string), VmwareTypeEnum?vmwareType = default(VmwareTypeEnum?))
 {
     this.Endpoint                  = endpoint;
     this.Environment               = environment;
     this.ForceRegister             = forceRegister;
     this.HostType                  = hostType;
     this.NasMountCredentials       = nasMountCredentials;
     this.NetappType                = netappType;
     this.Password                  = password;
     this.PhysicalType              = physicalType;
     this.PureType                  = pureType;
     this.SourceSideDedupEnabled    = sourceSideDedupEnabled;
     this.ThrottlingPolicy          = throttlingPolicy;
     this.ThrottlingPolicyOverrides = throttlingPolicyOverrides;
     this.Username                  = username;
     this.VmwareType                = vmwareType;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProtectionSource1" /> class.
 /// </summary>
 /// <param name="acropolisProtectionSource">acropolisProtectionSource.</param>
 /// <param name="awsProtectionSource">awsProtectionSource.</param>
 /// <param name="azureProtectionSource">azureProtectionSource.</param>
 /// <param name="environment">Specifies the environment (such as &#39;kVMware&#39; or &#39;kSQL&#39;) where the Protection Source exists. Depending on the environment, one of the following Protection Sources are initialized.  NOTE: kPuppeteer refers to Cohesity&#39;s Remote Adapter. Supported environment types include &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, &#39;kPuppeteer&#39;, &#39;kPhysical&#39;, &#39;kPure&#39;, &#39;kNetapp, &#39;kGenericNas, &#39;kHyperV&#39;, &#39;kAcropolis&#39;, &#39;kAzure&#39;. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter..</param>
 /// <param name="hypervProtectionSource">hypervProtectionSource.</param>
 /// <param name="id">Specifies an id of the Protection Source..</param>
 /// <param name="kvmProtectionSource">kvmProtectionSource.</param>
 /// <param name="name">Specifies a name of the Protection Source..</param>
 /// <param name="nasProtectionSource">nasProtectionSource.</param>
 /// <param name="netappProtectionSource">netappProtectionSource.</param>
 /// <param name="parentId">Specifies an id of the parent of the Protection Source..</param>
 /// <param name="physicalProtectionSource">physicalProtectionSource.</param>
 /// <param name="pureProtectionSource">pureProtectionSource.</param>
 /// <param name="sqlProtectionSource">sqlProtectionSource.</param>
 /// <param name="viewProtectionSource">viewProtectionSource.</param>
 /// <param name="vmWareProtectionSource">vmWareProtectionSource.</param>
 public ProtectionSource1(AcropolisProtectionSource_ acropolisProtectionSource = default(AcropolisProtectionSource_), AWSProtectionSource_ awsProtectionSource = default(AWSProtectionSource_), AzureProtectionSource_ azureProtectionSource = default(AzureProtectionSource_), EnvironmentEnum?environment = default(EnvironmentEnum?), HyperVProtectionSource_ hypervProtectionSource = default(HyperVProtectionSource_), long?id = default(long?), KVMProtectionSource_ kvmProtectionSource = default(KVMProtectionSource_), string name = default(string), GenericNASProtectionSource_ nasProtectionSource = default(GenericNASProtectionSource_), NetAppProtectionSource_ netappProtectionSource = default(NetAppProtectionSource_), long?parentId = default(long?), PhysicalProtectionSource_ physicalProtectionSource = default(PhysicalProtectionSource_), PureProtectionSource_ pureProtectionSource = default(PureProtectionSource_), SQLProtectionSource_ sqlProtectionSource = default(SQLProtectionSource_), ViewProtectionSource_ viewProtectionSource = default(ViewProtectionSource_), VMwareProtectionSource_ vmWareProtectionSource = default(VMwareProtectionSource_))
 {
     this.AcropolisProtectionSource = acropolisProtectionSource;
     this.AwsProtectionSource       = awsProtectionSource;
     this.AzureProtectionSource     = azureProtectionSource;
     this.Environment            = environment;
     this.HypervProtectionSource = hypervProtectionSource;
     this.Id = id;
     this.KvmProtectionSource = kvmProtectionSource;
     this.Name = name;
     this.NasProtectionSource    = nasProtectionSource;
     this.NetappProtectionSource = netappProtectionSource;
     this.ParentId = parentId;
     this.PhysicalProtectionSource = physicalProtectionSource;
     this.PureProtectionSource     = pureProtectionSource;
     this.SqlProtectionSource      = sqlProtectionSource;
     this.ViewProtectionSource     = viewProtectionSource;
     this.VmWareProtectionSource   = vmWareProtectionSource;
 }
Пример #21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestoreObjectDetails" /> class.
 /// </summary>
 /// <param name="archivalTarget">Specifies settings about the Archival Target (such as Tape or AWS). This field must be set if the object is being recovered or cloned from an archive or if files or folders are being restored from an archive..</param>
 /// <param name="cloudDeployTarget">Specifies settings about the Cloud Deploy target. This field must be set if the restore type is kDeployVMs and the object is to be deployed to cloud using a previously converted image..</param>
 /// <param name="environment">Specifies the type of the Protection Source. Supported environment types such as &#39;kView&#39;, &#39;kSQL&#39;, &#39;kVMware&#39;, etc. NOTE: &#39;kPuppeteer&#39; refers to Cohesity&#39;s Remote Adapter. &#39;kVMware&#39; indicates the VMware Protection Source environment. &#39;kHyperV&#39; indicates the HyperV Protection Source environment. &#39;kSQL&#39; indicates the SQL Protection Source environment. &#39;kView&#39; indicates the View Protection Source environment. &#39;kPuppeteer&#39; indicates the Cohesity&#39;s Remote Adapter. &#39;kPhysical&#39; indicates the physical Protection Source environment. &#39;kPure&#39; indicates the Pure Storage Protection Source environment. &#39;Nimble&#39; indicates the Nimble Storage Protection Source environment. &#39;kAzure&#39; indicates the Microsoft&#39;s Azure Protection Source environment. &#39;kNetapp&#39; indicates the Netapp Protection Source environment. &#39;kAgent&#39; indicates the Agent Protection Source environment. &#39;kGenericNas&#39; indicates the Generic Network Attached Storage Protection Source environment. &#39;kAcropolis&#39; indicates the Acropolis Protection Source environment. &#39;kPhsicalFiles&#39; indicates the Physical Files Protection Source environment. &#39;kIsilon&#39; indicates the Dell EMC&#39;s Isilon Protection Source environment. &#39;kGPFS&#39; indicates IBM&#39;s GPFS Protection Source environment. &#39;kKVM&#39; indicates the KVM Protection Source environment. &#39;kAWS&#39; indicates the AWS Protection Source environment. &#39;kExchange&#39; indicates the Exchange Protection Source environment. &#39;kHyperVVSS&#39; indicates the HyperV VSS Protection Source environment. &#39;kOracle&#39; indicates the Oracle Protection Source environment. &#39;kGCP&#39; indicates the Google Cloud Platform Protection Source environment. &#39;kFlashBlade&#39; indicates the Flash Blade Protection Source environment. &#39;kAWSNative&#39; indicates the AWS Native Protection Source environment. &#39;kO365&#39; indicates the Office 365 Protection Source environment. &#39;kO365Outlook&#39; indicates Office 365 outlook Protection Source environment. &#39;kHyperFlex&#39; indicates the Hyper Flex Protection Source environment. &#39;kGCPNative&#39; indicates the GCP Native Protection Source environment. &#39;kAzureNative&#39; indicates the Azure Native Protection Source environment. &#39;kKubernetes&#39; indicates a Kubernetes Protection Source environment. &#39;kElastifile&#39; indicates Elastifile Protection Source environment. &#39;kAD&#39; indicates Active Directory Protection Source environment. &#39;kRDSSnapshotManager&#39; indicates AWS RDS Protection Source environment..</param>
 /// <param name="jobId">Protection Job Id.  Specifies id of the Protection Job that backed up the objects to be restored..</param>
 /// <param name="jobRunId">Specifies the id of the Job Run that captured the snapshot..</param>
 /// <param name="jobUid">Specifies the universal id of the Protection Job that backed up the objects to recover or clone or the objects that contain the files or folders to recover..</param>
 /// <param name="protectionSourceId">Specifies the id of the leaf object to recover, clone or recover files/folders from..</param>
 /// <param name="sourceName">Specifies the name of the Protection Source..</param>
 /// <param name="startedTimeUsecs">Specifies the time when the Job Run starts capturing a snapshot. Specified as a Unix epoch Timestamp (in microseconds)..</param>
 public RestoreObjectDetails(ArchivalExternalTarget archivalTarget = default(ArchivalExternalTarget), CloudDeployTargetDetails cloudDeployTarget = default(CloudDeployTargetDetails), EnvironmentEnum?environment = default(EnvironmentEnum?), long?jobId = default(long?), long?jobRunId = default(long?), UniversalId jobUid = default(UniversalId), long?protectionSourceId = default(long?), string sourceName = default(string), long?startedTimeUsecs = default(long?))
 {
     this.ArchivalTarget     = archivalTarget;
     this.CloudDeployTarget  = cloudDeployTarget;
     this.Environment        = environment;
     this.JobId              = jobId;
     this.JobRunId           = jobRunId;
     this.JobUid             = jobUid;
     this.ProtectionSourceId = protectionSourceId;
     this.SourceName         = sourceName;
     this.StartedTimeUsecs   = startedTimeUsecs;
     this.ArchivalTarget     = archivalTarget;
     this.CloudDeployTarget  = cloudDeployTarget;
     this.Environment        = environment;
     this.JobId              = jobId;
     this.JobRunId           = jobRunId;
     this.JobUid             = jobUid;
     this.ProtectionSourceId = protectionSourceId;
     this.SourceName         = sourceName;
     this.StartedTimeUsecs   = startedTimeUsecs;
 }
Пример #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompanyResource" /> class.
 /// </summary>
 /// <param name="Id">Identificação.</param>
 /// <param name="Name">Nome ou Razão Social (required).</param>
 /// <param name="TradeName">Nome fantasia.</param>
 /// <param name="FederalTaxNumber">CNPJ ou CPF (required).</param>
 /// <param name="Email">Email (required).</param>
 /// <param name="Address">Endereço (required).</param>
 /// <param name="OpenningDate">Data abertura da empresa (required).</param>
 /// <param name="TaxRegime">Tipo do Regime Tributário (required).</param>
 /// <param name="SpecialTaxRegime">Tipo do regime especial de tributação.</param>
 /// <param name="LegalNature">Código da Natureza Jurídica (required).</param>
 /// <param name="EconomicActivities">Atividades da Empresa.</param>
 /// <param name="CompanyRegistryNumber">Número de Inscricação na Junta Comercial.</param>
 /// <param name="RegionalTaxNumber">Número de Inscricação na SEFAZ (IE).</param>
 /// <param name="MunicipalTaxNumber">Número de Inscricação na Prefeitura (CCM) (required).</param>
 /// <param name="RpsSerialNumber">RPS número serie.</param>
 /// <param name="RpsNumber">RPS número.</param>
 /// <param name="Environment">Ambiente de processamento.</param>
 /// <param name="FiscalStatus">Status no sistema.</param>
 /// <param name="Certificate">Certificado.</param>
 /// <param name="CreatedOn">Data de criação.</param>
 /// <param name="ModifiedOn">Data da última modificação.</param>
 public CompanyResource(string Id = default(string), string Name = default(string), string TradeName = default(string), long?FederalTaxNumber = default(long?), string Email = default(string), Address Address = default(Address), DateTime?OpenningDate = default(DateTime?), TaxRegimeEnum?TaxRegime = default(TaxRegimeEnum?), SpecialTaxRegimeEnum?SpecialTaxRegime = default(SpecialTaxRegimeEnum?), LegalNatureEnum?LegalNature = default(LegalNatureEnum?), List <EconomicActivity> EconomicActivities = default(List <EconomicActivity>), long?CompanyRegistryNumber = default(long?), long?RegionalTaxNumber = default(long?), string MunicipalTaxNumber = default(string), string RpsSerialNumber = default(string), long?RpsNumber = default(long?), EnvironmentEnum?Environment = default(EnvironmentEnum?), FiscalStatusEnum?FiscalStatus = default(FiscalStatusEnum?), CompanyCertificate Certificate = default(CompanyCertificate), DateTime?CreatedOn = default(DateTime?), DateTime?ModifiedOn = default(DateTime?))
 {
     // to ensure "Name" is required (not null)
     if (Name == null)
     {
         throw new InvalidDataException("Name is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.Name = Name;
     }
     // to ensure "FederalTaxNumber" is required (not null)
     if (FederalTaxNumber == null)
     {
         throw new InvalidDataException("FederalTaxNumber is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.FederalTaxNumber = FederalTaxNumber;
     }
     // to ensure "Email" is required (not null)
     if (Email == null)
     {
         throw new InvalidDataException("Email is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.Email = Email;
     }
     // to ensure "Address" is required (not null)
     if (Address == null)
     {
         throw new InvalidDataException("Address is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.Address = Address;
     }
     // to ensure "OpenningDate" is required (not null)
     if (OpenningDate == null)
     {
         throw new InvalidDataException("OpenningDate is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.OpenningDate = OpenningDate;
     }
     // to ensure "TaxRegime" is required (not null)
     if (TaxRegime == null)
     {
         throw new InvalidDataException("TaxRegime is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.TaxRegime = TaxRegime;
     }
     // to ensure "LegalNature" is required (not null)
     if (LegalNature == null)
     {
         throw new InvalidDataException("LegalNature is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.LegalNature = LegalNature;
     }
     // to ensure "MunicipalTaxNumber" is required (not null)
     if (MunicipalTaxNumber == null)
     {
         throw new InvalidDataException("MunicipalTaxNumber is a required property for CompanyResource and cannot be null");
     }
     else
     {
         this.MunicipalTaxNumber = MunicipalTaxNumber;
     }
     this.Id                    = Id;
     this.TradeName             = TradeName;
     this.SpecialTaxRegime      = SpecialTaxRegime;
     this.EconomicActivities    = EconomicActivities;
     this.CompanyRegistryNumber = CompanyRegistryNumber;
     this.RegionalTaxNumber     = RegionalTaxNumber;
     this.RpsSerialNumber       = RpsSerialNumber;
     this.RpsNumber             = RpsNumber;
     this.Environment           = Environment;
     this.FiscalStatus          = FiscalStatus;
     this.Certificate           = Certificate;
     this.CreatedOn             = CreatedOn;
     this.ModifiedOn            = ModifiedOn;
 }