Class: Azure::CognitiveServices::ComputerVision::V2_1::Models::ImageUrl

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2.1/generated/azure_cognitiveservices_computervision/models/image_url.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#urlString

Returns Publicly reachable URL of an image.

Returns:

  • (String)

    Publicly reachable URL of an image.



17
18
19
# File 'lib/2.1/generated/azure_cognitiveservices_computervision/models/image_url.rb', line 17

def url
  @url
end

Class Method Details

.mapperObject

Mapper for ImageUrl 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
# File 'lib/2.1/generated/azure_cognitiveservices_computervision/models/image_url.rb', line 24

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