V1alpha/QuestionService/Types.pm untested

filter: Statementstmt 0.0% 0 / 81 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 86 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Dataqna::V1alpha::QuestionService::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'GetQuestionRequest',
11 as InstanceOf['Google::Cloud::Dataqna::V1alpha::QuestionService::GetQuestionRequest'];
12  
13 coerce 'GetQuestionRequest',
14 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::QuestionService::GetQuestionRequest'->new($_) };
15  
16 declare 'RepeatedGetQuestionRequest',
17 as ArrayRef[GetQuestionRequest()];
18  
19 coerce 'RepeatedGetQuestionRequest',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::QuestionService::GetQuestionRequest'->new($_) } @$_ ] };
21  
22 declare 'MapStringGetQuestionRequest',
23 as HashRef[GetQuestionRequest()];
24  
25 declare 'CreateQuestionRequest',
26 as InstanceOf['Google::Cloud::Dataqna::V1alpha::QuestionService::CreateQuestionRequest'];
27  
28 coerce 'CreateQuestionRequest',
29 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::QuestionService::CreateQuestionRequest'->new($_) };
30  
31 declare 'RepeatedCreateQuestionRequest',
32 as ArrayRef[CreateQuestionRequest()];
33  
34 coerce 'RepeatedCreateQuestionRequest',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::QuestionService::CreateQuestionRequest'->new($_) } @$_ ] };
36  
37 declare 'MapStringCreateQuestionRequest',
38 as HashRef[CreateQuestionRequest()];
39  
40 declare 'ExecuteQuestionRequest',
41 as InstanceOf['Google::Cloud::Dataqna::V1alpha::QuestionService::ExecuteQuestionRequest'];
42  
43 coerce 'ExecuteQuestionRequest',
44 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::QuestionService::ExecuteQuestionRequest'->new($_) };
45  
46 declare 'RepeatedExecuteQuestionRequest',
47 as ArrayRef[ExecuteQuestionRequest()];
48  
49 coerce 'RepeatedExecuteQuestionRequest',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::QuestionService::ExecuteQuestionRequest'->new($_) } @$_ ] };
51  
52 declare 'MapStringExecuteQuestionRequest',
53 as HashRef[ExecuteQuestionRequest()];
54  
55 declare 'GetUserFeedbackRequest',
56 as InstanceOf['Google::Cloud::Dataqna::V1alpha::QuestionService::GetUserFeedbackRequest'];
57  
58 coerce 'GetUserFeedbackRequest',
59 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::QuestionService::GetUserFeedbackRequest'->new($_) };
60  
61 declare 'RepeatedGetUserFeedbackRequest',
62 as ArrayRef[GetUserFeedbackRequest()];
63  
64 coerce 'RepeatedGetUserFeedbackRequest',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::QuestionService::GetUserFeedbackRequest'->new($_) } @$_ ] };
66  
67 declare 'MapStringGetUserFeedbackRequest',
68 as HashRef[GetUserFeedbackRequest()];
69  
70 declare 'UpdateUserFeedbackRequest',
71 as InstanceOf['Google::Cloud::Dataqna::V1alpha::QuestionService::UpdateUserFeedbackRequest'];
72  
73 coerce 'UpdateUserFeedbackRequest',
74 from HashRef, via { 'Google::Cloud::Dataqna::V1alpha::QuestionService::UpdateUserFeedbackRequest'->new($_) };
75  
76 declare 'RepeatedUpdateUserFeedbackRequest',
77 as ArrayRef[UpdateUserFeedbackRequest()];
78  
79 coerce 'RepeatedUpdateUserFeedbackRequest',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataqna::V1alpha::QuestionService::UpdateUserFeedbackRequest'->new($_) } @$_ ] };
81  
82 declare 'MapStringUpdateUserFeedbackRequest',
83 as HashRef[UpdateUserFeedbackRequest()];
84  
85 1;
86  
87 __END__