Class: Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::FeatureInfoObject
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V3_0_preview::Models::FeatureInfoObject
- Includes:
- MsRestAzure
- Defined in:
- lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb
Overview
The base class Features-related response objects inherit from.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#enabled_for_all_models ⇒ Boolean
the application.
-
#id ⇒ Integer
A six-digit ID used for Features.
-
#is_active ⇒ Boolean
Indicates if the feature is enabled.
-
#name ⇒ String
The name of the Feature.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for FeatureInfoObject class as Ruby Hash.
Instance Attribute Details
#enabled_for_all_models ⇒ Boolean
the application.
26 27 28 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb', line 26 def enabled_for_all_models @enabled_for_all_models end |
#id ⇒ Integer
Returns A six-digit ID used for Features.
16 17 18 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb', line 16 def id @id end |
#is_active ⇒ Boolean
Returns Indicates if the feature is enabled.
22 23 24 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb', line 22 def is_active @is_active end |
#name ⇒ String
Returns The name of the Feature.
19 20 21 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb', line 19 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for FeatureInfoObject class as Ruby Hash. This will be used for serialization/deserialization.
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 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/3.0-preview/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'FeatureInfoObject', type: { name: 'Composite', class_name: 'FeatureInfoObject', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'Number' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, is_active: { client_side_validation: true, required: false, serialized_name: 'isActive', type: { name: 'Boolean' } }, enabled_for_all_models: { client_side_validation: true, required: false, serialized_name: 'enabledForAllModels', type: { name: 'Boolean' } } } } } end |