class Azure::CustomerInsights::Mgmt::V2017_04_26::Models::ImageDefinition

The image definition.

Attributes

content_url[RW]

@return [String] Content URL for the image blob.

image_exists[RW]

@return [Boolean] Whether image exists already.

relative_path[RW]

@return [String] Relative path of the image.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-04-26/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