class Azure::CognitiveServices::Qnamaker::V4_0::Models::AlterationsDTO

Collection of words that are synonyms.

Attributes

alterations[RW]

@return [Array<String>] Words that are synonymous with each other.

Private Class Methods

mapper() click to toggle source

Mapper for AlterationsDTO class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/4.0/generated/azure_cognitiveservices_qnamaker/models/alterations_dto.rb, line 23
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AlterationsDTO',
    type: {
      name: 'Composite',
      class_name: 'AlterationsDTO',
      model_properties: {
        alterations: {
          client_side_validation: true,
          required: true,
          serialized_name: 'alterations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end