line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package XML::SRS::GetMessages; |
3
|
|
|
|
|
|
|
|
4
|
1
|
|
|
1
|
|
2105
|
use Moose; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
use PRANG::Graph; |
6
|
|
|
|
|
|
|
use XML::SRS::Types; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub root_element { |
9
|
|
|
|
|
|
|
"GetMessages"; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
has_attr 'query_id' => |
13
|
|
|
|
|
|
|
is => "ro", |
14
|
|
|
|
|
|
|
isa => "XML::SRS::UID", |
15
|
|
|
|
|
|
|
xml_name => "QryId", |
16
|
|
|
|
|
|
|
predicate => "has_query_id", |
17
|
|
|
|
|
|
|
; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
has_attr 'originating_registrar' => |
20
|
|
|
|
|
|
|
is => "ro", |
21
|
|
|
|
|
|
|
isa => "Str", |
22
|
|
|
|
|
|
|
xml_name => "OriginatingRegistrarId", |
23
|
|
|
|
|
|
|
; |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has_attr 'recipient_registrar' => |
26
|
|
|
|
|
|
|
is => "ro", |
27
|
|
|
|
|
|
|
isa => "Str", |
28
|
|
|
|
|
|
|
xml_name => "RecipientRegistrarId", |
29
|
|
|
|
|
|
|
; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
has_attr 'queue' => |
32
|
|
|
|
|
|
|
is => "ro", |
33
|
|
|
|
|
|
|
isa => "Bool", |
34
|
|
|
|
|
|
|
xml_name => "QueueMode", |
35
|
|
|
|
|
|
|
; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
has_element "when" => |
38
|
|
|
|
|
|
|
is => "ro", |
39
|
|
|
|
|
|
|
isa => "ArrayRef[XML::SRS::Date::Range]", |
40
|
|
|
|
|
|
|
xml_nodeName => "TransDateRange", |
41
|
|
|
|
|
|
|
xml_required => 0, |
42
|
|
|
|
|
|
|
; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
has_attr 'max_results' => |
45
|
|
|
|
|
|
|
is => 'ro', |
46
|
|
|
|
|
|
|
isa => 'XML::SRS::Number', |
47
|
|
|
|
|
|
|
xml_name => 'MaxResults', |
48
|
|
|
|
|
|
|
xml_required => 0, |
49
|
|
|
|
|
|
|
; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
use XML::SRS::GetMessages::TypeFilter; |
52
|
|
|
|
|
|
|
has_element "type_filter" => |
53
|
|
|
|
|
|
|
is => "ro", |
54
|
|
|
|
|
|
|
isa => "ArrayRef[XML::SRS::GetMessages::TypeFilter]", |
55
|
|
|
|
|
|
|
xml_min => 0, |
56
|
|
|
|
|
|
|
xml_nodeName => "TypeFilter", |
57
|
|
|
|
|
|
|
coerce => 1, |
58
|
|
|
|
|
|
|
; |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
use Moose::Util::TypeConstraints; |
61
|
|
|
|
|
|
|
coerce 'ArrayRef[XML::SRS::GetMessages::TypeFilter]' |
62
|
|
|
|
|
|
|
=> from "ArrayRef[Str]" |
63
|
|
|
|
|
|
|
=> via { |
64
|
|
|
|
|
|
|
[ map { |
65
|
|
|
|
|
|
|
XML::SRS::GetMessages::TypeFilter->new( |
66
|
|
|
|
|
|
|
Type => $_, |
67
|
|
|
|
|
|
|
); |
68
|
|
|
|
|
|
|
} @$_ ]; |
69
|
|
|
|
|
|
|
}; |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
with 'XML::SRS::Query'; |
72
|
|
|
|
|
|
|
1; |