Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the UpdateKbOperationDTO class.
 /// </summary>
 /// <param name="add">An instance of CreateKbInputDTO for add
 /// operation</param>
 /// <param name="delete">An instance of DeleteKbContentsDTO for delete
 /// Operation</param>
 /// <param name="update">An instance of UpdateKbContentsDTO for Update
 /// Operation</param>
 public UpdateKbOperationDTO(UpdateKbOperationDTOAdd add = default(UpdateKbOperationDTOAdd), UpdateKbOperationDTODelete delete = default(UpdateKbOperationDTODelete), UpdateKbOperationDTOUpdate update = default(UpdateKbOperationDTOUpdate))
 {
     Add    = add;
     Delete = delete;
     Update = update;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the UpdateKbOperationDTO class.
 /// </summary>
 /// <param name="add">An instance of CreateKbInputDTO for add
 /// operation</param>
 /// <param name="delete">An instance of DeleteKbContentsDTO for delete
 /// Operation</param>
 /// <param name="update">An instance of UpdateKbContentsDTO for Update
 /// Operation</param>
 /// <param name="enableHierarchicalExtraction">Enable hierarchical
 /// extraction of Q-A from files and urls. The value set during KB
 /// creation will be used if this field is not present.</param>
 /// <param name="defaultAnswerUsedForExtraction">Text string to be used
 /// as the answer in any Q-A which has no extracted answer from the
 /// document but has a hierarchy. Required when
 /// EnableHierarchicalExtraction field is set to True.</param>
 public UpdateKbOperationDTO(UpdateKbOperationDTOAdd add = default(UpdateKbOperationDTOAdd), UpdateKbOperationDTODelete delete = default(UpdateKbOperationDTODelete), UpdateKbOperationDTOUpdate update = default(UpdateKbOperationDTOUpdate), bool?enableHierarchicalExtraction = default(bool?), string defaultAnswerUsedForExtraction = default(string))
 {
     Add    = add;
     Delete = delete;
     Update = update;
     EnableHierarchicalExtraction   = enableHierarchicalExtraction;
     DefaultAnswerUsedForExtraction = defaultAnswerUsedForExtraction;
     CustomInit();
 }