class Azure::CognitiveServices::ImageSearch::V1_0::Models::ImageTagsModule

Defines the characteristics of content found in an image.

Attributes

value[RW]

@return [Array<InsightsTag>] A list of tags that describe the characteristics of the content found in the image. For example, if the image is of a musical artist, the list might include Female, Dress, and Music to indicate the person is female music artist that's wearing a dress.

Private Class Methods

mapper() click to toggle source

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

# File lib/1.0/generated/azure_cognitiveservices_imagesearch/models/image_tags_module.rb, line 27
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageTagsModule',
    type: {
      name: 'Composite',
      class_name: 'ImageTagsModule',
      model_properties: {
        value: {
          client_side_validation: true,
          required: true,
          serialized_name: 'value',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'InsightsTagElementType',
                type: {
                  name: 'Composite',
                  class_name: 'InsightsTag'
                }
            }
          }
        }
      }
    }
  }
end