Class: Azure::CognitiveServices::ImageSearch::V1_0::Models::InsightsTag

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.0/generated/azure_cognitiveservices_imagesearch/models/insights_tag.rb

Overview

Defines a characteristic of the content found in the image.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

kitty, calico cat.

Returns:

  • (String)

    The name of the characteristic. For example, cat,



17
18
19
# File 'lib/1.0/generated/azure_cognitiveservices_imagesearch/models/insights_tag.rb', line 17

def name
  @name
end

Class Method Details

.mapperObject

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



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/1.0/generated/azure_cognitiveservices_imagesearch/models/insights_tag.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'InsightsTag',
    type: {
      name: 'Composite',
      class_name: 'InsightsTag',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end