Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileSearchResult" /> class.
 /// </summary>
 /// <param name="documentType">Specifies the inferred document type..</param>
 /// <param name="emailMetaData">emailMetaData.</param>
 /// <param name="fileVersions">Array of File Versions.  Specifies the different snapshot versions of a file or folder that were captured at different times..</param>
 /// <param name="filename">Specifies the name of the found file or folder..</param>
 /// <param name="isFolder">Specifies if the found item is a folder. If true, the found item is a folder..</param>
 /// <param name="jobId">Specifies the Job id for the Protection Job that is currently associated with object that contains the backed up file or folder. If the file or folder was backed up on current Cohesity Cluster, this field contains the id for the Job that captured the object that contains the file or folder. If the file or folder was backed up on a Primary Cluster and replicated to this Cohesity Cluster, a new Inactive Job is created, the object that contains the file or folder is now associated with new Inactive Job, and this field contains the id of the new Inactive Job..</param>
 /// <param name="jobUid">Specifies the universal id of the Protection Job that backed up the object that contains the file or folder..</param>
 /// <param name="protectionSource">protectionSource.</param>
 /// <param name="registeredSourceId">Specifies the id of the top-level registered source (such as a vCenter Server) where the source object that contains the the file or folder is stored..</param>
 /// <param name="sourceId">Specifies the source id of the object that contains the file or folder..</param>
 /// <param name="type">Specifies the type of the file document such as KDirectory, kFile, etc..</param>
 /// <param name="viewBoxId">Specifies the id of the Domain (View Box) where the source object that contains the file or folder is stored..</param>
 public FileSearchResult(string documentType = default(string), EmailMetaData emailMetaData = default(EmailMetaData), List <FileVersion> fileVersions = default(List <FileVersion>), string filename = default(string), bool?isFolder = default(bool?), long?jobId = default(long?), UniversalId jobUid = default(UniversalId), ProtectionSource protectionSource = default(ProtectionSource), long?registeredSourceId = default(long?), long?sourceId = default(long?), TypeEnum?type = default(TypeEnum?), long?viewBoxId = default(long?))
 {
     this.DocumentType       = documentType;
     this.FileVersions       = fileVersions;
     this.Filename           = filename;
     this.IsFolder           = isFolder;
     this.JobId              = jobId;
     this.JobUid             = jobUid;
     this.RegisteredSourceId = registeredSourceId;
     this.SourceId           = sourceId;
     this.Type               = type;
     this.ViewBoxId          = viewBoxId;
     this.DocumentType       = documentType;
     this.EmailMetaData      = emailMetaData;
     this.FileVersions       = fileVersions;
     this.Filename           = filename;
     this.IsFolder           = isFolder;
     this.JobId              = jobId;
     this.JobUid             = jobUid;
     this.ProtectionSource   = protectionSource;
     this.RegisteredSourceId = registeredSourceId;
     this.SourceId           = sourceId;
     this.Type               = type;
     this.ViewBoxId          = viewBoxId;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileSearchResult" /> class.
 /// </summary>
 /// <param name="adObjectMetaData">adObjectMetaData.</param>
 /// <param name="documentType">Specifies the inferred document type..</param>
 /// <param name="emailMetaData">emailMetaData.</param>
 /// <param name="fileVersions">Array of File Versions.  Specifies the different snapshot versions of a file or folder that were captured at different times..</param>
 /// <param name="filename">Specifies the name of the found file or folder..</param>
 /// <param name="isFolder">Specifies if the found item is a folder. If true, the found item is a folder..</param>
 /// <param name="jobId">Specifies the Job id for the Protection Job that is currently associated with object that contains the backed up file or folder. If the file or folder was backed up on current Cohesity Cluster, this field contains the id for the Job that captured the object that contains the file or folder. If the file or folder was backed up on a Primary Cluster and replicated to this Cohesity Cluster, a new Inactive Job is created, the object that contains the file or folder is now associated with new Inactive Job, and this field contains the id of the new Inactive Job..</param>
 /// <param name="jobUid">Specifies the universal id of the Protection Job that backed up the object that contains the file or folder..</param>
 /// <param name="oneDriveDocumentMetadata">oneDriveDocumentMetadata.</param>
 /// <param name="protectionSource">protectionSource.</param>
 /// <param name="registeredSourceId">Specifies the id of the top-level registered source (such as a vCenter Server) where the source object that contains the the file or folder is stored..</param>
 /// <param name="snapshotTags">Snapshot tags present on this document.</param>
 /// <param name="sourceId">Specifies the source id of the object that contains the file or folder..</param>
 /// <param name="tags">Tags present on this document..</param>
 /// <param name="tagsToSnapshotsMap">Mapping from snapshot tags to..</param>
 /// <param name="type">Specifies the type of the file document such as KDirectory, kFile, etc..</param>
 /// <param name="viewBoxId">Specifies the id of the Domain (View Box) where the source object that contains the file or folder is stored..</param>
 public FileSearchResult(AdObjectMetaData adObjectMetaData = default(AdObjectMetaData), string documentType = default(string), EmailMetaData emailMetaData = default(EmailMetaData), List <FileVersion> fileVersions = default(List <FileVersion>), string filename = default(string), bool?isFolder = default(bool?), long?jobId = default(long?), UniversalId jobUid = default(UniversalId), OneDriveDocumentMetadata oneDriveDocumentMetadata = default(OneDriveDocumentMetadata), ProtectionSource protectionSource = default(ProtectionSource), long?registeredSourceId = default(long?), List <string> snapshotTags = default(List <string>), long?sourceId = default(long?), List <string> tags = default(List <string>), Dictionary <string, List <long> > tagsToSnapshotsMap = default(Dictionary <string, List <long> >), TypeEnum?type = default(TypeEnum?), long?viewBoxId = default(long?))
 {
     this.DocumentType       = documentType;
     this.FileVersions       = fileVersions;
     this.Filename           = filename;
     this.IsFolder           = isFolder;
     this.JobId              = jobId;
     this.JobUid             = jobUid;
     this.RegisteredSourceId = registeredSourceId;
     this.SnapshotTags       = snapshotTags;
     this.SourceId           = sourceId;
     this.Tags = tags;
     this.TagsToSnapshotsMap = tagsToSnapshotsMap;
     this.Type                     = type;
     this.ViewBoxId                = viewBoxId;
     this.AdObjectMetaData         = adObjectMetaData;
     this.DocumentType             = documentType;
     this.EmailMetaData            = emailMetaData;
     this.FileVersions             = fileVersions;
     this.Filename                 = filename;
     this.IsFolder                 = isFolder;
     this.JobId                    = jobId;
     this.JobUid                   = jobUid;
     this.OneDriveDocumentMetadata = oneDriveDocumentMetadata;
     this.ProtectionSource         = protectionSource;
     this.RegisteredSourceId       = registeredSourceId;
     this.SnapshotTags             = snapshotTags;
     this.SourceId                 = sourceId;
     this.Tags                     = tags;
     this.TagsToSnapshotsMap       = tagsToSnapshotsMap;
     this.Type                     = type;
     this.ViewBoxId                = viewBoxId;
 }