Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::ImageDefinition

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb

Overview

The image definition.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#content_urlString

Returns Content URL for the image blob.

Returns:

  • (String)

    Content URL for the image blob.



19
20
21
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb', line 19

def content_url
  @content_url
end

#image_existsBoolean

Returns Whether image exists already.

Returns:

  • (Boolean)

    Whether image exists already.



16
17
18
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb', line 16

def image_exists
  @image_exists
end

#relative_pathString

Returns Relative path of the image.

Returns:

  • (String)

    Relative path of the image.



22
23
24
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb', line 22

def relative_path
  @relative_path
end

Class Method Details

.mapperObject

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



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageDefinition',
    type: {
      name: 'Composite',
      class_name: 'ImageDefinition',
      model_properties: {
        image_exists: {
          client_side_validation: true,
          required: false,
          serialized_name: 'imageExists',
          type: {
            name: 'Boolean'
          }
        },
        content_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'contentUrl',
          type: {
            name: 'String'
          }
        },
        relative_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'relativePath',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end