Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::GetImageUploadUrlInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-04-26/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb

Overview

Input type for getting image upload url.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#entity_typeString

Returns Type of entity. Can be Profile or Interaction.

Returns:

  • (String)

    Type of entity. Can be Profile or Interaction.



16
17
18
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb', line 16

def entity_type
  @entity_type
end

#entity_type_nameString

Returns Name of the entity type.

Returns:

  • (String)

    Name of the entity type.



19
20
21
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb', line 19

def entity_type_name
  @entity_type_name
end

#relative_pathString

Returns Relative path of the image.

Returns:

  • (String)

    Relative path of the image.



22
23
24
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb', line 22

def relative_path
  @relative_path
end

Class Method Details

.mapperObject

Mapper for GetImageUploadUrlInput 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-04-26/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'GetImageUploadUrlInput',
    type: {
      name: 'Composite',
      class_name: 'GetImageUploadUrlInput',
      model_properties: {
        entity_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'entityType',
          type: {
            name: 'String'
          }
        },
        entity_type_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'entityTypeName',
          type: {
            name: 'String'
          }
        },
        relative_path: {
          client_side_validation: true,
          required: false,
          serialized_name: 'relativePath',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end