Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ApplicationUpdateObject

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb

Overview

Object model for updating the name or description of an application.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#descriptionString

Returns The application’s new description.

Returns:

  • (String)

    The application’s new description.



19
20
21
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb', line 19

def description
  @description
end

#nameString

Returns The application’s new name.

Returns:

  • (String)

    The application’s new name.



16
17
18
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb', line 16

def name
  @name
end

Class Method Details

.mapperObject

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



26
27
28
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
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationUpdateObject',
    type: {
      name: 'Composite',
      class_name: 'ApplicationUpdateObject',
      model_properties: {
        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'
          }
        }
      }
    }
  }
end