RackTables/0_20_9/Result/IPv4RSPool.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RackTables/0_20_9/Result/IPv4RS.pm ↑ Summary RackTables/0_20_9/Result/IPv4VS.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_20_9::Result::IPv4RSPool;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 =head1 NAME
8  
9 Schema::RackTables::0_20_9::Result::IPv4RSPool
10  
11 =cut
12  
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 =head1 COMPONENTS LOADED
19  
20 =over 4
21  
22 =item * L<DBIx::Class::InflateColumn::DateTime>
23  
24 =back
25  
26 =cut
27  
28 1 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<IPv4RSPool>
31  
32 =cut
33  
34 1 __PACKAGE__->table("IPv4RSPool");
35  
36 =head1 ACCESSORS
37  
38 =head2 id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_auto_increment: 1
43 is_nullable: 0
44  
45 =head2 name
46  
47 data_type: 'char'
48 is_nullable: 1
49 size: 255
50  
51 =head2 vsconfig
52  
53 data_type: 'text'
54 is_nullable: 1
55  
56 =head2 rsconfig
57  
58 data_type: 'text'
59 is_nullable: 1
60  
61 =cut
62  
63 1 __PACKAGE__->add_columns(
64 "id",
65 {
66 data_type => "integer",
67 extra => { unsigned => 1 },
68 is_auto_increment => 1,
69 is_nullable => 0,
70 },
71 "name",
72 { data_type => "char", is_nullable => 1, size => 255 },
73 "vsconfig",
74 { data_type => "text", is_nullable => 1 },
75 "rsconfig",
76 { data_type => "text", is_nullable => 1 },
77 );
78  
79 =head1 PRIMARY KEY
80  
81 =over 4
82  
83 =item * L</id>
84  
85 =back
86  
87 =cut
88  
89 1 __PACKAGE__->set_primary_key("id");
90  
91 =head1 RELATIONS
92  
93 =head2 ipv4_lbs
94  
95 Type: has_many
96  
97 Related object: L<Schema::RackTables::0_20_9::Result::IPv4LB>
98  
99 =cut
100  
101 1 __PACKAGE__->has_many(
102 "ipv4_lbs",
103 "Schema::RackTables::0_20_9::Result::IPv4LB",
104 { "foreign.rspool_id" => "self.id" },
105 { cascade_copy => 0, cascade_delete => 0 },
106 );
107  
108 =head2 ipv4_rs
109  
110 Type: has_many
111  
112 Related object: L<Schema::RackTables::0_20_9::Result::IPv4RS>
113  
114 =cut
115  
116 1 __PACKAGE__->has_many(
117 "ipv4_rs",
118 "Schema::RackTables::0_20_9::Result::IPv4RS",
119 { "foreign.rspool_id" => "self.id" },
120 { cascade_copy => 0, cascade_delete => 0 },
121 );
122  
123 =head2 vsenabled_ips
124  
125 Type: has_many
126  
127 Related object: L<Schema::RackTables::0_20_9::Result::VSEnabledIPs>
128  
129 =cut
130  
131 1 __PACKAGE__->has_many(
132 "vsenabled_ips",
133 "Schema::RackTables::0_20_9::Result::VSEnabledIPs",
134 { "foreign.rspool_id" => "self.id" },
135 { cascade_copy => 0, cascade_delete => 0 },
136 );
137  
138 =head2 vsenabled_ports
139  
140 Type: has_many
141  
142 Related object: L<Schema::RackTables::0_20_9::Result::VSEnabledPorts>
143  
144 =cut
145  
146 1 __PACKAGE__->has_many(
147 "vsenabled_ports",
148 "Schema::RackTables::0_20_9::Result::VSEnabledPorts",
149 { "foreign.rspool_id" => "self.id" },
150 { cascade_copy => 0, cascade_delete => 0 },
151 );
152  
153  
154 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:01
155 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5986j1W+p1b0aqrHdYZnlA
156  
157  
158 # You can replace this text with custom code or comments, and it will be preserved on regeneration
159 1 1;
« RackTables/0_20_9/Result/IPv4RS.pm ↑ Summary RackTables/0_20_9/Result/IPv4VS.pm »