RackTables/0_20_5/Result/VSEnabledIPs.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package Schema::RackTables::0_20_5::Result::VSEnabledIPs;
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_5::Result::VSEnabledIPs
10  
11 =cut
12  
13 use strict;
14 use warnings;
15  
16 use base 'DBIx::Class::Core';
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 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<VSEnabledIPs>
31  
32 =cut
33  
34 __PACKAGE__->table("VSEnabledIPs");
35  
36 =head1 ACCESSORS
37  
38 =head2 object_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_nullable: 0
43  
44 =head2 vs_id
45  
46 data_type: 'integer'
47 extra: {unsigned => 1}
48 is_foreign_key: 1
49 is_nullable: 0
50  
51 =head2 vip
52  
53 data_type: 'varbinary'
54 is_foreign_key: 1
55 is_nullable: 0
56 size: 16
57  
58 =head2 rspool_id
59  
60 data_type: 'integer'
61 extra: {unsigned => 1}
62 is_foreign_key: 1
63 is_nullable: 0
64  
65 =head2 prio
66  
67 data_type: 'varchar'
68 is_nullable: 1
69 size: 255
70  
71 =head2 vsconfig
72  
73 data_type: 'text'
74 is_nullable: 1
75  
76 =head2 rsconfig
77  
78 data_type: 'text'
79 is_nullable: 1
80  
81 =cut
82  
83 __PACKAGE__->add_columns(
84 "object_id",
85 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
86 "vs_id",
87 {
88 data_type => "integer",
89 extra => { unsigned => 1 },
90 is_foreign_key => 1,
91 is_nullable => 0,
92 },
93 "vip",
94 { data_type => "varbinary", is_foreign_key => 1, is_nullable => 0, size => 16 },
95 "rspool_id",
96 {
97 data_type => "integer",
98 extra => { unsigned => 1 },
99 is_foreign_key => 1,
100 is_nullable => 0,
101 },
102 "prio",
103 { data_type => "varchar", is_nullable => 1, size => 255 },
104 "vsconfig",
105 { data_type => "text", is_nullable => 1 },
106 "rsconfig",
107 { data_type => "text", is_nullable => 1 },
108 );
109  
110 =head1 PRIMARY KEY
111  
112 =over 4
113  
114 =item * L</object_id>
115  
116 =item * L</vs_id>
117  
118 =item * L</vip>
119  
120 =item * L</rspool_id>
121  
122 =back
123  
124 =cut
125  
126 __PACKAGE__->set_primary_key("object_id", "vs_id", "vip", "rspool_id");
127  
128 =head1 RELATIONS
129  
130 =head2 rspool
131  
132 Type: belongs_to
133  
134 Related object: L<Schema::RackTables::0_20_5::Result::IPv4RSPool>
135  
136 =cut
137  
138 __PACKAGE__->belongs_to(
139 "rspool",
140 "Schema::RackTables::0_20_5::Result::IPv4RSPool",
141 { id => "rspool_id" },
142 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
143 );
144  
145 =head2 vsip
146  
147 Type: belongs_to
148  
149 Related object: L<Schema::RackTables::0_20_5::Result::VSIPs>
150  
151 =cut
152  
153 __PACKAGE__->belongs_to(
154 "vsip",
155 "Schema::RackTables::0_20_5::Result::VSIPs",
156 { vip => "vip", vs_id => "vs_id" },
157 { is_deferrable => 1, on_delete => "CASCADE", on_update => "RESTRICT" },
158 );
159  
160  
161 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:25
162 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hFWsnQcEtuQ6AEHaW23kfw
163  
164  
165 # You can replace this text with custom code or comments, and it will be preserved on regeneration
166 1;