line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CloudHealth::API::Call::SearchForAssets; |
2
|
1
|
|
|
1
|
|
578
|
use Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
3
|
1
|
|
|
1
|
|
374
|
use MooX::StrictConstructor; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
4
|
1
|
|
|
1
|
|
1064
|
use Types::Standard qw/Str Int Bool/; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
9
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
has name => (is => 'ro', isa => Str, required => 1); |
7
|
|
|
|
|
|
|
has query => (is => 'ro', isa => Str, required => 1); |
8
|
|
|
|
|
|
|
has include => (is => 'ro', isa => Str); |
9
|
|
|
|
|
|
|
has api_version => (is => 'ro', isa => Int, default => 2); |
10
|
|
|
|
|
|
|
has fields => (is => 'ro', isa => Str); |
11
|
|
|
|
|
|
|
has page => (is => 'ro', isa => Int); |
12
|
|
|
|
|
|
|
has per_page => (is => 'ro', isa => Int); |
13
|
|
|
|
|
|
|
has is_active => (is => 'ro', isa => Bool); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _query_params { [ |
16
|
2
|
|
|
2
|
|
17
|
{ name => 'name' }, |
17
|
|
|
|
|
|
|
{ name => 'query' }, |
18
|
|
|
|
|
|
|
{ name => 'include' }, |
19
|
|
|
|
|
|
|
{ name => 'api_version' }, |
20
|
|
|
|
|
|
|
{ name => 'fields' }, |
21
|
|
|
|
|
|
|
{ name => 'page' }, |
22
|
|
|
|
|
|
|
{ name => 'per_page' }, |
23
|
|
|
|
|
|
|
{ name => 'is_active' }, |
24
|
|
|
|
|
|
|
] } |
25
|
2
|
|
|
2
|
|
7
|
sub _url_params { [ ] } |
26
|
2
|
|
|
2
|
|
37
|
sub _method { 'GET' } |
27
|
2
|
|
|
2
|
|
7
|
sub _url { 'https://chapi.cloudhealthtech.com/api/search' } |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |