azure_cognitiveservices_luisauthoring 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring.rb +142 -0
  4. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb +2212 -0
  5. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb +453 -0
  6. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/examples.rb +508 -0
  7. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/features.rb +668 -0
  8. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/luis_authoring_client.rb +167 -0
  9. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/model.rb +11482 -0
  10. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/app_version_setting_object.rb +57 -0
  11. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_create_object.rb +106 -0
  12. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_info_response.rb +158 -0
  13. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_publish_object.rb +59 -0
  14. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_setting_update_object.rb +47 -0
  15. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_settings.rb +58 -0
  16. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/application_update_object.rb +57 -0
  17. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_culture.rb +57 -0
  18. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/available_prebuilt_entity_model.rb +68 -0
  19. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/azure_account_info_object.rb +68 -0
  20. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/batch_label_example.rb +70 -0
  21. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/child_entity.rb +57 -0
  22. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list.rb +85 -0
  23. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_entity_extractor.rb +123 -0
  24. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_create_object.rb +66 -0
  25. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_patch_object.rb +55 -0
  26. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/closed_list_model_update_object.rb +66 -0
  27. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/collaborators_array.rb +55 -0
  28. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_child_model_create_object.rb +47 -0
  29. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_extractor.rb +123 -0
  30. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/composite_entity_model.rb +65 -0
  31. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/custom_prebuilt_model.rb +125 -0
  32. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/endpoint_info.rb +125 -0
  33. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/enqueue_training_response.rb +58 -0
  34. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entities_suggestion_example.rb +106 -0
  35. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_extractor.rb +125 -0
  36. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label.rb +71 -0
  37. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_label_object.rb +71 -0
  38. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_model_info.rb +87 -0
  39. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_prediction.rb +81 -0
  40. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role.rb +57 -0
  41. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_create_object.rb +46 -0
  42. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/entity_role_update_object.rb +46 -0
  43. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/error_response.rb +65 -0
  44. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/example_label_object.rb +78 -0
  45. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item.rb +57 -0
  46. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_create_object.rb +46 -0
  47. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/explicit_list_item_update_object.rb +46 -0
  48. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/feature_info_object.rb +68 -0
  49. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/features_response_object.rb +75 -0
  50. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_entity.rb +77 -0
  51. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_create_object.rb +47 -0
  52. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_child_model_update_object.rb +47 -0
  53. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_extractor.rb +123 -0
  54. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_entity_model.rb +65 -0
  55. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/hierarchical_model.rb +97 -0
  56. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_classifier.rb +89 -0
  57. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intent_prediction.rb +57 -0
  58. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/intents_suggestion_example.rb +106 -0
  59. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonentity.rb +70 -0
  60. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonmodel_feature.rb +90 -0
  61. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonregex_feature.rb +68 -0
  62. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/jsonutterance.rb +77 -0
  63. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_example_response.rb +57 -0
  64. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/label_text_object.rb +57 -0
  65. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/labeled_utterance.rb +148 -0
  66. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/luis_app.rb +318 -0
  67. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_create_object.rb +46 -0
  68. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info.rb +83 -0
  69. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_info_response.rb +196 -0
  70. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_details.rb +91 -0
  71. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_training_info.rb +58 -0
  72. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/model_update_object.rb +46 -0
  73. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_error.rb +57 -0
  74. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status.rb +58 -0
  75. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/operation_status_type.rb +17 -0
  76. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any.rb +84 -0
  77. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_entity_extractor.rb +123 -0
  78. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_create_object.rb +65 -0
  79. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_any_model_update_object.rb +65 -0
  80. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_create_object.rb +57 -0
  81. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_feature_info.rb +70 -0
  82. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule.rb +57 -0
  83. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_create_object.rb +57 -0
  84. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_info.rb +68 -0
  85. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_rule_update_object.rb +68 -0
  86. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/pattern_update_object.rb +70 -0
  87. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/personal_assistants_response.rb +74 -0
  88. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phrase_list_feature_info.rb +91 -0
  89. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_create_object.rb +81 -0
  90. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/phraselist_update_object.rb +94 -0
  91. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain.rb +119 -0
  92. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_base_object.rb +47 -0
  93. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_create_object.rb +58 -0
  94. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_item.rb +69 -0
  95. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_model_create_object.rb +58 -0
  96. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_domain_object.rb +58 -0
  97. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity.rb +65 -0
  98. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/prebuilt_entity_extractor.rb +103 -0
  99. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/production_or_staging_endpoint_info.rb +100 -0
  100. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_setting_update_object.rb +71 -0
  101. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/publish_settings.rb +82 -0
  102. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity.rb +76 -0
  103. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_entity_extractor.rb +114 -0
  104. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_create_object.rb +57 -0
  105. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/regex_model_update_object.rb +57 -0
  106. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list.rb +65 -0
  107. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/sub_closed_list_response.rb +70 -0
  108. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/task_update_object.rb +46 -0
  109. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/training_status.rb +17 -0
  110. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_access_list.rb +65 -0
  111. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/user_collaborator.rb +47 -0
  112. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/version_info.rb +177 -0
  113. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_base_update_object.rb +65 -0
  114. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/models/word_list_object.rb +65 -0
  115. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/module_definition.rb +9 -0
  116. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/pattern.rb +963 -0
  117. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb +427 -0
  118. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/settings.rb +237 -0
  119. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/train.rb +247 -0
  120. data/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb +854 -0
  121. data/lib/azure_cognitiveservices_luisauthoring.rb +6 -0
  122. data/lib/module_definition.rb +7 -0
  123. data/lib/profiles/latest/luisauthoring_latest_profile_client.rb +38 -0
  124. data/lib/profiles/latest/luisauthoring_module_definition.rb +8 -0
  125. data/lib/profiles/latest/modules/luisauthoring_profile_module.rb +497 -0
  126. data/lib/version.rb +7 -0
  127. metadata +244 -0
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Model object for creating a regex entity model.
10
+ #
11
+ class RegexModelCreateObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The regex entity pattern.
16
+ attr_accessor :regex_pattern
17
+
18
+ # @return [String] The model name.
19
+ attr_accessor :name
20
+
21
+
22
+ #
23
+ # Mapper for RegexModelCreateObject class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'RegexModelCreateObject',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'RegexModelCreateObject',
34
+ model_properties: {
35
+ regex_pattern: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'regexPattern',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ name: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Model object for updating a regex entity model.
10
+ #
11
+ class RegexModelUpdateObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The regex entity pattern.
16
+ attr_accessor :regex_pattern
17
+
18
+ # @return [String] The model name.
19
+ attr_accessor :name
20
+
21
+
22
+ #
23
+ # Mapper for RegexModelUpdateObject class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'RegexModelUpdateObject',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'RegexModelUpdateObject',
34
+ model_properties: {
35
+ regex_pattern: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'regexPattern',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ name: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,65 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Sublist of items for a Closed list.
10
+ #
11
+ class SubClosedList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The standard form that the list represents.
16
+ attr_accessor :canonical_form
17
+
18
+ # @return [Array<String>] List of synonym words.
19
+ attr_accessor :list
20
+
21
+
22
+ #
23
+ # Mapper for SubClosedList class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'SubClosedList',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'SubClosedList',
34
+ model_properties: {
35
+ canonical_form: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'canonicalForm',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ list: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'list',
47
+ type: {
48
+ name: 'Sequence',
49
+ element: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'StringElementType',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,70 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Sublist of items for a Closed list.
10
+ #
11
+ class SubClosedListResponse < SubClosedList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] The sublist ID
16
+ attr_accessor :id
17
+
18
+
19
+ #
20
+ # Mapper for SubClosedListResponse class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'SubClosedListResponse',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'SubClosedListResponse',
31
+ model_properties: {
32
+ canonical_form: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'canonicalForm',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ },
40
+ list: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'list',
44
+ type: {
45
+ name: 'Sequence',
46
+ element: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ serialized_name: 'StringElementType',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ },
56
+ id: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'id',
60
+ type: {
61
+ name: 'Number'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,46 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Object model for cloning an application's version.
10
+ #
11
+ class TaskUpdateObject
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The new version for the cloned model.
16
+ attr_accessor :version
17
+
18
+
19
+ #
20
+ # Mapper for TaskUpdateObject class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'TaskUpdateObject',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'TaskUpdateObject',
31
+ model_properties: {
32
+ version: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'version',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Defines values for TrainingStatus
10
+ #
11
+ module TrainingStatus
12
+ NeedsTraining = "NeedsTraining"
13
+ InProgress = "InProgress"
14
+ Trained = "Trained"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,65 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # List of user permissions.
10
+ #
11
+ class UserAccessList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The email address of owner of the application.
16
+ attr_accessor :owner
17
+
18
+ # @return [Array<String>]
19
+ attr_accessor :emails
20
+
21
+
22
+ #
23
+ # Mapper for UserAccessList class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'UserAccessList',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'UserAccessList',
34
+ model_properties: {
35
+ owner: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'owner',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ emails: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'emails',
47
+ type: {
48
+ name: 'Sequence',
49
+ element: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'StringElementType',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,47 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ #
12
+ class UserCollaborator
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The email address of the user.
17
+ attr_accessor :email
18
+
19
+
20
+ #
21
+ # Mapper for UserCollaborator class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'UserCollaborator',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'UserCollaborator',
32
+ model_properties: {
33
+ email: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'email',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,177 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CognitiveServices::LuisAuthoring::V2_0
7
+ module Models
8
+ #
9
+ # Object model of an application version.
10
+ #
11
+ class VersionInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The version ID. E.g.: "0.1"
16
+ attr_accessor :version
17
+
18
+ # @return [DateTime] The version's creation timestamp.
19
+ attr_accessor :created_date_time
20
+
21
+ # @return [DateTime] Timestamp of the last update.
22
+ attr_accessor :last_modified_date_time
23
+
24
+ # @return [DateTime] Timestamp of the last time the model was trained.
25
+ attr_accessor :last_trained_date_time
26
+
27
+ # @return [DateTime] Timestamp when was last published.
28
+ attr_accessor :last_published_date_time
29
+
30
+ # @return [String] The Runtime endpoint URL for this model version.
31
+ attr_accessor :endpoint_url
32
+
33
+ # @return [Hash{String => String}] The endpoint key.
34
+ attr_accessor :assigned_endpoint_key
35
+
36
+ # @return External keys.
37
+ attr_accessor :external_api_keys
38
+
39
+ # @return [Integer] Number of intents in this model.
40
+ attr_accessor :intents_count
41
+
42
+ # @return [Integer] Number of entities in this model.
43
+ attr_accessor :entities_count
44
+
45
+ # @return [Integer] Number of calls made to this endpoint.
46
+ attr_accessor :endpoint_hits_count
47
+
48
+ # @return [TrainingStatus] The current training status. Possible values
49
+ # include: 'NeedsTraining', 'InProgress', 'Trained'
50
+ attr_accessor :training_status
51
+
52
+
53
+ #
54
+ # Mapper for VersionInfo class as Ruby Hash.
55
+ # This will be used for serialization/deserialization.
56
+ #
57
+ def self.mapper()
58
+ {
59
+ client_side_validation: true,
60
+ required: false,
61
+ serialized_name: 'VersionInfo',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'VersionInfo',
65
+ model_properties: {
66
+ version: {
67
+ client_side_validation: true,
68
+ required: true,
69
+ serialized_name: 'version',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ },
74
+ created_date_time: {
75
+ client_side_validation: true,
76
+ required: false,
77
+ serialized_name: 'createdDateTime',
78
+ type: {
79
+ name: 'DateTime'
80
+ }
81
+ },
82
+ last_modified_date_time: {
83
+ client_side_validation: true,
84
+ required: false,
85
+ serialized_name: 'lastModifiedDateTime',
86
+ type: {
87
+ name: 'DateTime'
88
+ }
89
+ },
90
+ last_trained_date_time: {
91
+ client_side_validation: true,
92
+ required: false,
93
+ serialized_name: 'lastTrainedDateTime',
94
+ type: {
95
+ name: 'DateTime'
96
+ }
97
+ },
98
+ last_published_date_time: {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'lastPublishedDateTime',
102
+ type: {
103
+ name: 'DateTime'
104
+ }
105
+ },
106
+ endpoint_url: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ serialized_name: 'endpointUrl',
110
+ type: {
111
+ name: 'String'
112
+ }
113
+ },
114
+ assigned_endpoint_key: {
115
+ client_side_validation: true,
116
+ required: false,
117
+ serialized_name: 'assignedEndpointKey',
118
+ type: {
119
+ name: 'Dictionary',
120
+ value: {
121
+ client_side_validation: true,
122
+ required: false,
123
+ serialized_name: 'StringElementType',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ }
128
+ }
129
+ },
130
+ external_api_keys: {
131
+ client_side_validation: true,
132
+ required: false,
133
+ serialized_name: 'externalApiKeys',
134
+ type: {
135
+ name: 'Object'
136
+ }
137
+ },
138
+ intents_count: {
139
+ client_side_validation: true,
140
+ required: false,
141
+ serialized_name: 'intentsCount',
142
+ type: {
143
+ name: 'Number'
144
+ }
145
+ },
146
+ entities_count: {
147
+ client_side_validation: true,
148
+ required: false,
149
+ serialized_name: 'entitiesCount',
150
+ type: {
151
+ name: 'Number'
152
+ }
153
+ },
154
+ endpoint_hits_count: {
155
+ client_side_validation: true,
156
+ required: false,
157
+ serialized_name: 'endpointHitsCount',
158
+ type: {
159
+ name: 'Number'
160
+ }
161
+ },
162
+ training_status: {
163
+ client_side_validation: true,
164
+ required: true,
165
+ serialized_name: 'trainingStatus',
166
+ type: {
167
+ name: 'Enum',
168
+ module: 'TrainingStatus'
169
+ }
170
+ }
171
+ }
172
+ }
173
+ }
174
+ end
175
+ end
176
+ end
177
+ end