Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// TextTranslatorApiModelsResponseTextTranslatorImportJobFileStatusInfo
 /// class.
 /// </summary>
 /// <param name="status">Gets or sets the status.</param>
 /// <param name="modifiedDate">Gets or sets the date the upload status
 /// was last modified</param>
 /// <param name="fileName">Gets or sets the name of the file.</param>
 /// <param name="documentName">Gets or sets the name of the
 /// document.</param>
 /// <param name="summary">Gets or sets the summary.</param>
 /// <param name="id">Gets or sets the identifier.</param>
 /// <param name="parentId">Gets or sets the parent identifier.</param>
 /// <param name="language">Gets or sets the file language associated
 /// with the document.</param>
 public ImportJobFileStatusInfo(ImportJobStatus status = default(ImportJobStatus), System.DateTime?modifiedDate = default(System.DateTime?), string fileName = default(string), string documentName = default(string), string summary = default(string), int?id = default(int?), int?parentId = default(int?), TranslatorLanguage language = default(TranslatorLanguage))
 {
     Status       = status;
     ModifiedDate = modifiedDate;
     FileName     = fileName;
     DocumentName = documentName;
     Summary      = summary;
     Id           = id;
     ParentId     = parentId;
     Language     = language;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// TextTranslatorModelsResponseTextTranslatorImportAllJobsStatusInfo
 /// class.
 /// </summary>
 /// <param name="jobId">Relevant job id.</param>
 /// <param name="numberFiles">The number of files represented by this
 /// job id. The parent placeholder
 /// for .zip and .tmx files is only included in this count if it is the
 /// only
 /// item listed in UploadHistory for the job.</param>
 /// <param name="numberFilesWithErrors">The number of files represented
 /// by this job id that have failed. The
 /// parent placeholder for .zip and .tmx files is only included in this
 /// count
 /// if it is the only item listed in UploadHistory for the job.</param>
 /// <param name="name">Display name of the job. For .zip/ .tmx files,
 /// this is name + extension
 /// of the parent item. For parallel data this "DocumentName" row
 /// in the UploadHistory table.</param>
 /// <param name="status">Overall status for the job. Status is set to
 /// failed if any items in
 /// this job have failed. If no items have failed, it is determined by
 /// the item with the lowest UploadStatus value.</param>
 /// <param name="documentType">The type of document uploaded by this
 /// job (ex: training, tuning, testing). Possible values include:
 /// 'none', 'training', 'testing', 'tuning', 'phraseDictionary',
 /// 'sentenceDictionary'</param>
 /// <param name="createdDate">Job creation date.</param>
 /// <param name="createdBy">Information about who uploaded the document
 /// (id, display name).</param>
 /// <param name="languages">The file languages associated with this
 /// document.</param>
 public TextTranslatorModelsResponseTextTranslatorImportAllJobsStatusInfo(System.Guid?jobId = default(System.Guid?), int?numberFiles = default(int?), int?numberFilesWithErrors = default(int?), string name = default(string), ImportJobStatus status = default(ImportJobStatus), string documentType = default(string), System.DateTime?createdDate = default(System.DateTime?), UserInfo createdBy = default(UserInfo), IList <TranslatorLanguage> languages = default(IList <TranslatorLanguage>))
 {
     JobId                 = jobId;
     NumberFiles           = numberFiles;
     NumberFilesWithErrors = numberFilesWithErrors;
     Name         = name;
     Status       = status;
     DocumentType = documentType;
     CreatedDate  = createdDate;
     CreatedBy    = createdBy;
     Languages    = languages;
     CustomInit();
 }