# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::CognitiveServices::Qnamaker::V4_0
  module Models
    #
    # An instance of UpdateKbContentsDTO for Update Operation
    #
    class UpdateKbOperationDTOUpdate < UpdateKbContentsDTO

      include MsRestAzure


      #
      # Mapper for UpdateKbOperationDTOUpdate class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UpdateKbOperationDTO_update',
          type: {
            name: 'Composite',
            class_name: 'UpdateKbOperationDTOUpdate',
            model_properties: {
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              qna_list: {
                client_side_validation: true,
                required: false,
                serialized_name: 'qnaList',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'UpdateQnaDTOElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'UpdateQnaDTO'
                      }
                  }
                }
              },
              urls: {
                client_side_validation: true,
                required: false,
                serialized_name: 'urls',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end
