class Azure::CognitiveServices::Qnamaker::V4_0::Models::UpdateQnaDTOQuestions
List of questions associated with the answer.
Private Class Methods
mapper()
click to toggle source
Mapper for UpdateQnaDTOQuestions
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/4.0/generated/azure_cognitiveservices_qnamaker/models/update_qna_dtoquestions.rb, line 20 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UpdateQnaDTO_questions', type: { name: 'Composite', class_name: 'UpdateQnaDTOQuestions', model_properties: { add: { client_side_validation: true, required: false, serialized_name: 'add', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, delete: { client_side_validation: true, required: false, serialized_name: 'delete', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end