Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KnowledgeDocumentBulkRequest" /> class.
 /// </summary>
 /// <param name="Type">Document type according to assigned template (required).</param>
 /// <param name="ExternalUrl">External Url to the document.</param>
 /// <param name="Faq">Faq document details.</param>
 /// <param name="Categories">Document categories.</param>
 /// <param name="Article">Article details.</param>
 /// <param name="Id">Identifier of document for update. Omit for create new Document..</param>
 public KnowledgeDocumentBulkRequest(TypeEnum?Type = null, string ExternalUrl = null, DocumentFaq Faq = null, List <DocumentCategoryInput> Categories = null, DocumentArticle Article = null, string Id = null)
 {
     this.Type        = Type;
     this.ExternalUrl = ExternalUrl;
     this.Faq         = Faq;
     this.Categories  = Categories;
     this.Article     = Article;
     this.Id          = Id;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="KnowledgeDocument" /> class.
 /// </summary>
 /// <param name="Name">Name.</param>
 /// <param name="LanguageCode">Language of the document (required).</param>
 /// <param name="Type">Document type (required).</param>
 /// <param name="Faq">FAQ document details.</param>
 /// <param name="Categories">Document categories.</param>
 /// <param name="ExternalUrl">External URL to the document.</param>
 /// <param name="Article">Article.</param>
 public KnowledgeDocument(string Name = null, LanguageCodeEnum?LanguageCode = null, TypeEnum?Type = null, DocumentFaq Faq = null, List <KnowledgeCategory> Categories = null, string ExternalUrl = null, DocumentArticle Article = null)
 {
     this.Name         = Name;
     this.LanguageCode = LanguageCode;
     this.Type         = Type;
     this.Faq          = Faq;
     this.Categories   = Categories;
     this.ExternalUrl  = ExternalUrl;
     this.Article      = Article;
 }