Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::PatternRuleUpdateObject
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V2_0::Models::PatternRuleUpdateObject
- Includes:
- MsRestAzure
- Defined in:
- lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb
Overview
Object model for updating a pattern.
Instance Attribute Summary collapse
-
#id ⇒ Object
The pattern ID.
-
#intent ⇒ String
The intent’s name which the pattern belongs to.
-
#pattern ⇒ String
The pattern text.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PatternRuleUpdateObject class as Ruby Hash.
Instance Attribute Details
#id ⇒ Object
Returns The pattern ID.
16 17 18 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb', line 16 def id @id end |
#intent ⇒ String
Returns The intent’s name which the pattern belongs to.
22 23 24 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb', line 22 def intent @intent end |
#pattern ⇒ String
Returns The pattern text.
19 20 21 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb', line 19 def pattern @pattern end |
Class Method Details
.mapper ⇒ Object
Mapper for PatternRuleUpdateObject 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/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PatternRuleUpdateObject', type: { name: 'Composite', class_name: 'PatternRuleUpdateObject', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, pattern: { client_side_validation: true, required: false, serialized_name: 'pattern', type: { name: 'String' } }, intent: { client_side_validation: true, required: false, serialized_name: 'intent', type: { name: 'String' } } } } } end |