Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ApplicationUpdateObject
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ApplicationUpdateObject
- 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
-
#description ⇒ String
The application’s new description.
-
#name ⇒ String
The application’s new name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ApplicationUpdateObject class as Ruby Hash.
Instance Attribute Details
#description ⇒ String
Returns 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 |
#name ⇒ String
Returns 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
.mapper ⇒ Object
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 |