azure_cognitiveservices_luisauthoring 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,6 +24,12 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
24
24
  # entity ends.
25
25
  attr_accessor :end_token_index
26
26
 
27
+ # @return [String] The role of the entity within the utterance.
28
+ attr_accessor :role
29
+
30
+ # @return [String] The role Id.
31
+ attr_accessor :role_id
32
+
27
33
 
28
34
  #
29
35
  # Mapper for EntityLabel class as Ruby Hash.
@@ -61,6 +67,22 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
61
67
  type: {
62
68
  name: 'Number'
63
69
  }
70
+ },
71
+ role: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'role',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ role_id: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ serialized_name: 'roleId',
83
+ type: {
84
+ name: 'String'
85
+ }
64
86
  }
65
87
  }
66
88
  }
@@ -24,6 +24,9 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
24
24
  # entity ends.
25
25
  attr_accessor :end_char_index
26
26
 
27
+ # @return [String] The role of the entity within the utterance.
28
+ attr_accessor :role
29
+
27
30
 
28
31
  #
29
32
  # Mapper for EntityLabelObject class as Ruby Hash.
@@ -61,6 +64,14 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
61
64
  type: {
62
65
  name: 'Number'
63
66
  }
67
+ },
68
+ role: {
69
+ client_side_validation: true,
70
+ required: false,
71
+ serialized_name: 'role',
72
+ type: {
73
+ name: 'String'
74
+ }
64
75
  }
65
76
  }
66
77
  }
@@ -23,6 +23,9 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
23
23
  # @return [String] The entity name.
24
24
  attr_accessor :entity
25
25
 
26
+ # @return [String] The role of the entity within the utterance.
27
+ attr_accessor :role
28
+
26
29
 
27
30
  #
28
31
  # Mapper for JSONEntity class as Ruby Hash.
@@ -60,6 +63,14 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
60
63
  type: {
61
64
  name: 'String'
62
65
  }
66
+ },
67
+ role: {
68
+ client_side_validation: true,
69
+ required: false,
70
+ serialized_name: 'role',
71
+ type: {
72
+ name: 'String'
73
+ }
63
74
  }
64
75
  }
65
76
  }
@@ -106,6 +106,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
106
106
  end
107
107
 
108
108
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
109
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
110
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
109
111
  # Deserialize Response
110
112
  if status_code == 201
111
113
  begin
@@ -210,6 +212,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
210
212
  end
211
213
 
212
214
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
215
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
216
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
213
217
  # Deserialize Response
214
218
  if status_code == 200
215
219
  begin
@@ -347,6 +351,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
347
351
  end
348
352
 
349
353
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
354
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
355
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
350
356
  # Deserialize Response
351
357
  if status_code == 200
352
358
  begin
@@ -484,6 +490,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
484
490
  end
485
491
 
486
492
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
493
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
494
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
487
495
  # Deserialize Response
488
496
  if status_code == 201
489
497
  begin
@@ -617,6 +625,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
617
625
  end
618
626
 
619
627
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
628
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
629
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
620
630
  # Deserialize Response
621
631
  if status_code == 200
622
632
  begin
@@ -723,6 +733,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
723
733
  end
724
734
 
725
735
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
736
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
737
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
726
738
  # Deserialize Response
727
739
  if status_code == 200
728
740
  begin
@@ -818,6 +830,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
818
830
  end
819
831
 
820
832
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
833
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
834
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
821
835
  # Deserialize Response
822
836
  if status_code == 200
823
837
  begin
@@ -926,6 +940,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
926
940
  end
927
941
 
928
942
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
943
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
944
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
929
945
  # Deserialize Response
930
946
  if status_code == 200
931
947
  begin
@@ -94,6 +94,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
94
94
  end
95
95
 
96
96
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
97
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
98
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
97
99
  # Deserialize Response
98
100
  if status_code == 200
99
101
  begin
@@ -198,6 +200,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
198
200
  end
199
201
 
200
202
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
203
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
204
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
201
205
  # Deserialize Response
202
206
  if status_code == 200
203
207
  begin
@@ -302,6 +306,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
302
306
  end
303
307
 
304
308
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
309
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
310
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
305
311
  # Deserialize Response
306
312
  if status_code == 200
307
313
  begin
@@ -406,6 +412,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
406
412
  end
407
413
 
408
414
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
415
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
416
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
409
417
  # Deserialize Response
410
418
  if status_code == 200
411
419
  begin
@@ -95,6 +95,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
95
95
  end
96
96
 
97
97
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
98
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
99
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
98
100
  # Deserialize Response
99
101
  if status_code == 200
100
102
  begin
@@ -232,6 +234,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
232
234
  end
233
235
 
234
236
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
237
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
238
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
235
239
  # Deserialize Response
236
240
  if status_code == 200
237
241
  begin
@@ -110,6 +110,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
110
110
  end
111
111
 
112
112
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
113
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
114
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
113
115
  # Deserialize Response
114
116
  if status_code == 202
115
117
  begin
@@ -210,6 +212,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
210
212
  end
211
213
 
212
214
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
215
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
216
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
213
217
  # Deserialize Response
214
218
  if status_code == 200
215
219
  begin
@@ -109,6 +109,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
109
109
  end
110
110
 
111
111
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
112
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
113
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
112
114
  # Deserialize Response
113
115
  if status_code == 201
114
116
  begin
@@ -216,6 +218,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
216
218
  end
217
219
 
218
220
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
221
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
222
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
219
223
  # Deserialize Response
220
224
  if status_code == 200
221
225
  begin
@@ -326,6 +330,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
326
330
  end
327
331
 
328
332
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
333
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
334
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
329
335
  # Deserialize Response
330
336
  if status_code == 200
331
337
  begin
@@ -431,6 +437,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
431
437
  end
432
438
 
433
439
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
440
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
441
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
434
442
  # Deserialize Response
435
443
  if status_code == 200
436
444
  begin
@@ -522,6 +530,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
522
530
  end
523
531
 
524
532
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
533
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
534
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
525
535
  # Deserialize Response
526
536
  if status_code == 200
527
537
  begin
@@ -613,6 +623,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
613
623
  end
614
624
 
615
625
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
626
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
627
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
616
628
  # Deserialize Response
617
629
  if status_code == 200
618
630
  begin
@@ -718,6 +730,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
718
730
  end
719
731
 
720
732
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
733
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
734
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
721
735
  # Deserialize Response
722
736
  if status_code == 201
723
737
  begin
@@ -834,6 +848,8 @@ module Azure::CognitiveServices::LuisAuthoring::V2_0
834
848
  end
835
849
 
836
850
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
851
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
852
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
837
853
  # Deserialize Response
838
854
  if status_code == 200
839
855
  begin
data/lib/version.rb CHANGED
@@ -3,5 +3,5 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  module Azure::CognitiveServices::LuisAuthoring
6
- VERSION = '0.17.2'
6
+ VERSION = '0.17.3'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_cognitiveservices_luisauthoring
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.17.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-02 00:00:00.000000000 Z
11
+ date: 2019-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.11.0
75
+ version: 0.11.1
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.11.0
82
+ version: 0.11.1
83
83
  description: Microsoft Azure Cognitive Services LUIS Runtime Client Library for Ruby
84
84
  email: azrubyteam@microsoft.com
85
85
  executables: []
@@ -236,7 +236,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
236
236
  version: '0'
237
237
  requirements: []
238
238
  rubyforge_project:
239
- rubygems_version: 2.7.6
239
+ rubygems_version: 2.7.8
240
240
  signing_key:
241
241
  specification_version: 4
242
242
  summary: Official Ruby client library to consume Microsoft Azure Cognitive Services