/// <summary> /// Initializes a new instance of the TextTranslatorModelsLanguagePair /// class. /// </summary> /// <param name="sourceLanguage">The First Language, could be a source /// or target</param> /// <param name="targetLanguage">The Second Language, could be a source /// or target</param> /// <param name="id">The Id for the language pair.</param> public LanguagePair(TranslatorLanguage sourceLanguage, TranslatorLanguage targetLanguage, long?id = default(long?)) { Id = id; SourceLanguage = sourceLanguage; TargetLanguage = targetLanguage; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// TextTranslatorModelsTextTranslatorFileInfo class. /// </summary> /// <param name="id">Gets or sets Id</param> /// <param name="fileName">Gets or sets the File Name</param> /// <param name="language">Gets or sets the language.</param> /// <param name="uploadDate">Gets or sets UploadDate</param> /// <param name="extractedSentenceCount">Gets or sets /// ExtractedSentenceCount</param> public TranslatorFileInfo(long?id = default(long?), string fileName = default(string), TranslatorLanguage language = default(TranslatorLanguage), System.DateTime?uploadDate = default(System.DateTime?), int?extractedSentenceCount = default(int?)) { Id = id; FileName = fileName; Language = language; UploadDate = uploadDate; ExtractedSentenceCount = extractedSentenceCount; CustomInit(); }
/// <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(); }