blib/lib/Paws/AppMesh/RouteSpec.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::AppMesh::RouteSpec;
3 use Moose;
4 has GrpcRoute => (is => 'ro', isa => 'Paws::AppMesh::GrpcRoute', request_name => 'grpcRoute', traits => ['NameInRequest']);
5 has Http2Route => (is => 'ro', isa => 'Paws::AppMesh::HttpRoute', request_name => 'http2Route', traits => ['NameInRequest']);
6 has HttpRoute => (is => 'ro', isa => 'Paws::AppMesh::HttpRoute', request_name => 'httpRoute', traits => ['NameInRequest']);
7 has Priority => (is => 'ro', isa => 'Int', request_name => 'priority', traits => ['NameInRequest']);
8 has TcpRoute => (is => 'ro', isa => 'Paws::AppMesh::TcpRoute', request_name => 'tcpRoute', traits => ['NameInRequest']);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::AppMesh::RouteSpec
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::AppMesh::RouteSpec object:
28  
29 $service_obj->Method(Att1 => { GrpcRoute => $value, ..., TcpRoute => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::AppMesh::RouteSpec object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->GrpcRoute
37  
38 =head1 DESCRIPTION
39  
40 An object that represents a route specification. Specify one route
41 type.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 GrpcRoute => L<Paws::AppMesh::GrpcRoute>
47  
48 An object that represents the specification of a gRPC route.
49  
50  
51 =head2 Http2Route => L<Paws::AppMesh::HttpRoute>
52  
53 An object that represents the specification of an HTTP/2 route.
54  
55  
56 =head2 HttpRoute => L<Paws::AppMesh::HttpRoute>
57  
58 An object that represents the specification of an HTTP route.
59  
60  
61 =head2 Priority => Int
62  
63 The priority for the route. Routes are matched based on the specified
64 value, where 0 is the highest priority.
65  
66  
67 =head2 TcpRoute => L<Paws::AppMesh::TcpRoute>
68  
69 An object that represents the specification of a TCP route.
70  
71  
72  
73 =head1 SEE ALSO
74  
75 This class forms part of L<Paws>, describing an object used in L<Paws::AppMesh>
76  
77 =head1 BUGS and CONTRIBUTIONS
78  
79 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
80  
81 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
82  
83 =cut
84