Class: Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ModelInfoResponse
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::LuisAuthoring::V2_0::Models::ModelInfoResponse
- Includes:
- MsRestAzure
- Defined in:
- lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb
Overview
An application model info.
Instance Attribute Summary collapse
-
#children ⇒ Array<ChildEntity>
List of child entities.
-
#custom_prebuilt_domain_name ⇒ String
The domain name.
-
#custom_prebuilt_model_name ⇒ String
The intent name or entity name.
- #explicit_list ⇒ Array<ExplicitListItem>
-
#id ⇒ Object
The ID of the Entity Model.
-
#name ⇒ String
Name of the Entity Model.
-
#readable_type ⇒ Enum
‘Hierarchical Entity Extractor’, ‘Hierarchical Child Entity Extractor’, ‘Composite Entity Extractor’, ‘List Entity Extractor’, ‘Prebuilt Entity Extractor’, ‘Intent Classifier’, ‘Pattern.Any Entity Extractor’, ‘Closed List Entity Extractor’, ‘Regex Entity Extractor’.
-
#regex_pattern ⇒ String
The Regular Expression entity pattern.
- #roles ⇒ Array<EntityRole>
-
#sub_lists ⇒ Array<SubClosedListResponse>
List of sublists.
-
#type_id ⇒ Integer
The type ID of the Entity Model.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ModelInfoResponse class as Ruby Hash.
Instance Attribute Details
#children ⇒ Array<ChildEntity>
Returns List of child entities.
35 36 37 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 35 def children @children end |
#custom_prebuilt_domain_name ⇒ String
Returns The domain name.
41 42 43 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 41 def custom_prebuilt_domain_name @custom_prebuilt_domain_name end |
#custom_prebuilt_model_name ⇒ String
Returns The intent name or entity name.
44 45 46 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 44 def custom_prebuilt_model_name @custom_prebuilt_model_name end |
#explicit_list ⇒ Array<ExplicitListItem>
50 51 52 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 50 def explicit_list @explicit_list end |
#id ⇒ Object
Returns The ID of the Entity Model.
16 17 18 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 16 def id @id end |
#name ⇒ String
Returns Name of the Entity Model.
19 20 21 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 19 def name @name end |
#readable_type ⇒ Enum
‘Hierarchical Entity Extractor’, ‘Hierarchical Child Entity Extractor’, ‘Composite Entity Extractor’, ‘List Entity Extractor’, ‘Prebuilt Entity Extractor’, ‘Intent Classifier’, ‘Pattern.Any Entity Extractor’, ‘Closed List Entity Extractor’, ‘Regex Entity Extractor’
29 30 31 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 29 def readable_type @readable_type end |
#regex_pattern ⇒ String
Returns The Regular Expression entity pattern.
47 48 49 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 47 def regex_pattern @regex_pattern end |
#roles ⇒ Array<EntityRole>
32 33 34 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 32 def roles @roles end |
#sub_lists ⇒ Array<SubClosedListResponse>
Returns List of sublists.
38 39 40 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 38 def sub_lists @sub_lists end |
#type_id ⇒ Integer
Returns The type ID of the Entity Model.
22 23 24 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 22 def type_id @type_id end |
Class Method Details
.mapper ⇒ Object
Mapper for ModelInfoResponse class as Ruby Hash. This will be used for serialization/deserialization.
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
# File 'lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb', line 57 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ModelInfoResponse', type: { name: 'Composite', class_name: 'ModelInfoResponse', model_properties: { id: { client_side_validation: true, required: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, type_id: { client_side_validation: true, required: false, serialized_name: 'typeId', type: { name: 'Number' } }, readable_type: { client_side_validation: true, required: true, serialized_name: 'readableType', type: { name: 'String' } }, roles: { client_side_validation: true, required: false, serialized_name: 'roles', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'EntityRoleElementType', type: { name: 'Composite', class_name: 'EntityRole' } } } }, children: { client_side_validation: true, required: false, serialized_name: 'children', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ChildEntityElementType', type: { name: 'Composite', class_name: 'ChildEntity' } } } }, sub_lists: { client_side_validation: true, required: false, serialized_name: 'subLists', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SubClosedListResponseElementType', type: { name: 'Composite', class_name: 'SubClosedListResponse' } } } }, custom_prebuilt_domain_name: { client_side_validation: true, required: false, serialized_name: 'customPrebuiltDomainName', type: { name: 'String' } }, custom_prebuilt_model_name: { client_side_validation: true, required: false, serialized_name: 'customPrebuiltModelName', type: { name: 'String' } }, regex_pattern: { client_side_validation: true, required: false, serialized_name: 'regexPattern', type: { name: 'String' } }, explicit_list: { client_side_validation: true, required: false, serialized_name: 'explicitList', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ExplicitListItemElementType', type: { name: 'Composite', class_name: 'ExplicitListItem' } } } } } } } end |