class Azure::CognitiveServices::Customvisiontraining::V2_1::Models::Tag

Represents a Tag

Attributes

description[RW]

@return [String] Gets or sets the description of the tag

id[RW]

@return Gets the Tag ID

image_count[RW]

@return [Integer] Gets the number of images with this tag

name[RW]

@return [String] Gets or sets the name of the tag

Public Class Methods

mapper() click to toggle source

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

# File lib/2.1/generated/azure_cognitiveservices_customvisiontraining/models/tag.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Tag',
    type: {
      name: 'Composite',
      class_name: 'Tag',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'description',
          type: {
            name: 'String'
          }
        },
        image_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'imageCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end