| 1 | package Net::Async::Github::PullRequest; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 2 | our $VERSION = '0.013'; # VERSION | |||||||||
| 7 | |||||||||||
| 8 | 2 | ▶ | use parent qw(Net::Async::Github::Common); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | |||||||||||
| 10 | =head1 NAME | ||||||||||
| 11 | |||||||||||
| 12 | Net::Async::Github::PullRequest | ||||||||||
| 13 | |||||||||||
| 14 | =head1 DESCRIPTION | ||||||||||
| 15 | |||||||||||
| 16 | Autogenerated module. | ||||||||||
| 17 | |||||||||||
| 18 | =cut | ||||||||||
| 19 | |||||||||||
| 20 | 2 | ▶ | use Net::Async::Github::User (); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 21 | |||||||||||
| 22 | =head1 METHODS | ||||||||||
| 23 | |||||||||||
| 24 | =cut | ||||||||||
| 25 | |||||||||||
| 26 | =head2 url | ||||||||||
| 27 | |||||||||||
| 28 | Provides an accessor for C<url>. | ||||||||||
| 29 | |||||||||||
| 30 | =cut | ||||||||||
| 31 | |||||||||||
| 32 | 0 | ▶ | sub url { | ||||||||
|
Subroutine
url: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 33 | shift->{url} | ||||||||||
| 34 | 0 | } | |||||||||
| 35 | |||||||||||
| 36 | =head2 id | ||||||||||
| 37 | |||||||||||
| 38 | Provides an accessor for C<id>. | ||||||||||
| 39 | |||||||||||
| 40 | =cut | ||||||||||
| 41 | |||||||||||
| 42 | 0 | ▶ | sub id { | ||||||||
|
Subroutine
id: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 43 | shift->{id} | ||||||||||
| 44 | 0 | } | |||||||||
| 45 | |||||||||||
| 46 | =head2 node_id | ||||||||||
| 47 | |||||||||||
| 48 | Provides an accessor for C<node_id>. | ||||||||||
| 49 | |||||||||||
| 50 | =cut | ||||||||||
| 51 | |||||||||||
| 52 | 0 | ▶ | sub node_id { | ||||||||
|
Subroutine
node_id: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 53 | shift->{node_id} | ||||||||||
| 54 | 0 | } | |||||||||
| 55 | |||||||||||
| 56 | =head2 number | ||||||||||
| 57 | |||||||||||
| 58 | Provides an accessor for C<number>. | ||||||||||
| 59 | |||||||||||
| 60 | =cut | ||||||||||
| 61 | |||||||||||
| 62 | 0 | ▶ | sub number { | ||||||||
|
Subroutine
number: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 63 | shift->{number} | ||||||||||
| 64 | 0 | } | |||||||||
| 65 | |||||||||||
| 66 | =head2 state | ||||||||||
| 67 | |||||||||||
| 68 | Provides an accessor for C<state>. | ||||||||||
| 69 | |||||||||||
| 70 | =cut | ||||||||||
| 71 | |||||||||||
| 72 | 0 | ▶ | sub state { | ||||||||
|
Subroutine
state: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 73 | shift->{state} | ||||||||||
| 74 | 0 | } | |||||||||
| 75 | |||||||||||
| 76 | =head2 locked | ||||||||||
| 77 | |||||||||||
| 78 | Provides an accessor for C<locked>. | ||||||||||
| 79 | |||||||||||
| 80 | =cut | ||||||||||
| 81 | |||||||||||
| 82 | 0 | ▶ | sub locked { | ||||||||
|
Subroutine
locked: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 83 | shift->{locked} | ||||||||||
| 84 | 0 | } | |||||||||
| 85 | |||||||||||
| 86 | =head2 title | ||||||||||
| 87 | |||||||||||
| 88 | Provides an accessor for C<title>. | ||||||||||
| 89 | |||||||||||
| 90 | =cut | ||||||||||
| 91 | |||||||||||
| 92 | 0 | ▶ | sub title { | ||||||||
|
Subroutine
title: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 93 | shift->{title} | ||||||||||
| 94 | 0 | } | |||||||||
| 95 | |||||||||||
| 96 | =head2 user | ||||||||||
| 97 | |||||||||||
| 98 | Provides an accessor for C<user>. | ||||||||||
| 99 | |||||||||||
| 100 | =cut | ||||||||||
| 101 | |||||||||||
| 102 | 0 | ▶ | sub user { | ||||||||
|
Subroutine
user: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 103 | $_[0]->{user} = | ||||||||||
| 104 | Net::Async::Github::User->new($_[0]->{user}) | ||||||||||
| 105 | 0 | ▶ | unless ref $_[0]->{user}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 106 | shift->{user} | ||||||||||
| 107 | 0 | } | |||||||||
| 108 | |||||||||||
| 109 | =head2 body | ||||||||||
| 110 | |||||||||||
| 111 | Provides an accessor for C<body>. | ||||||||||
| 112 | |||||||||||
| 113 | =cut | ||||||||||
| 114 | |||||||||||
| 115 | 0 | ▶ | sub body { | ||||||||
|
Subroutine
body: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 116 | shift->{body} | ||||||||||
| 117 | 0 | } | |||||||||
| 118 | |||||||||||
| 119 | =head2 labels | ||||||||||
| 120 | |||||||||||
| 121 | Provides an accessor for C<labels>. | ||||||||||
| 122 | |||||||||||
| 123 | =cut | ||||||||||
| 124 | |||||||||||
| 125 | 0 | ▶ | sub labels { | ||||||||
|
Subroutine
labels: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 126 | shift->{labels} | ||||||||||
| 127 | 0 | } | |||||||||
| 128 | |||||||||||
| 129 | =head2 milestone | ||||||||||
| 130 | |||||||||||
| 131 | Provides an accessor for C<milestone>. | ||||||||||
| 132 | |||||||||||
| 133 | =cut | ||||||||||
| 134 | |||||||||||
| 135 | 0 | ▶ | sub milestone { | ||||||||
|
Subroutine
milestone: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 136 | shift->{milestone} | ||||||||||
| 137 | 0 | } | |||||||||
| 138 | |||||||||||
| 139 | =head2 created_at | ||||||||||
| 140 | |||||||||||
| 141 | Provides an accessor for C<created_at>. | ||||||||||
| 142 | |||||||||||
| 143 | =cut | ||||||||||
| 144 | |||||||||||
| 145 | 0 | ▶ | sub created_at { | ||||||||
|
Subroutine
created_at: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 146 | shift->{created_at} | ||||||||||
| 147 | 0 | } | |||||||||
| 148 | |||||||||||
| 149 | =head2 updated_at | ||||||||||
| 150 | |||||||||||
| 151 | Provides an accessor for C<updated_at>. | ||||||||||
| 152 | |||||||||||
| 153 | =cut | ||||||||||
| 154 | |||||||||||
| 155 | 0 | ▶ | sub updated_at { | ||||||||
|
Subroutine
updated_at: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 156 | shift->{updated_at} | ||||||||||
| 157 | 0 | } | |||||||||
| 158 | |||||||||||
| 159 | =head2 closed_at | ||||||||||
| 160 | |||||||||||
| 161 | Provides an accessor for C<closed_at>. | ||||||||||
| 162 | |||||||||||
| 163 | =cut | ||||||||||
| 164 | |||||||||||
| 165 | 0 | ▶ | sub closed_at { | ||||||||
|
Subroutine
closed_at: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 166 | shift->{closed_at} | ||||||||||
| 167 | 0 | } | |||||||||
| 168 | |||||||||||
| 169 | =head2 merged_at | ||||||||||
| 170 | |||||||||||
| 171 | Provides an accessor for C<merged_at>. | ||||||||||
| 172 | |||||||||||
| 173 | =cut | ||||||||||
| 174 | |||||||||||
| 175 | 0 | ▶ | sub merged_at { | ||||||||
|
Subroutine
merged_at: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 176 | shift->{merged_at} | ||||||||||
| 177 | 0 | } | |||||||||
| 178 | |||||||||||
| 179 | =head2 merge_commit_sha | ||||||||||
| 180 | |||||||||||
| 181 | Provides an accessor for C<merge_commit_sha>. | ||||||||||
| 182 | |||||||||||
| 183 | =cut | ||||||||||
| 184 | |||||||||||
| 185 | 0 | ▶ | sub merge_commit_sha { | ||||||||
|
Subroutine
merge_commit_sha: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 186 | shift->{merge_commit_sha} | ||||||||||
| 187 | 0 | } | |||||||||
| 188 | |||||||||||
| 189 | =head2 mergeable | ||||||||||
| 190 | |||||||||||
| 191 | Provides an accessor for C<mergeable>. | ||||||||||
| 192 | |||||||||||
| 193 | =cut | ||||||||||
| 194 | |||||||||||
| 195 | 0 | ▶ | sub mergeable { | ||||||||
|
Subroutine
mergeable: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 196 | shift->{mergeable} | ||||||||||
| 197 | 0 | } | |||||||||
| 198 | |||||||||||
| 199 | =head2 merged | ||||||||||
| 200 | |||||||||||
| 201 | Provides an accessor for C<merged>. | ||||||||||
| 202 | |||||||||||
| 203 | =cut | ||||||||||
| 204 | |||||||||||
| 205 | 0 | ▶ | sub merged { | ||||||||
|
Subroutine
merged: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 206 | shift->{merged} | ||||||||||
| 207 | 0 | } | |||||||||
| 208 | |||||||||||
| 209 | =head2 assignee | ||||||||||
| 210 | |||||||||||
| 211 | Provides an accessor for C<assignee>. | ||||||||||
| 212 | |||||||||||
| 213 | =cut | ||||||||||
| 214 | |||||||||||
| 215 | 0 | ▶ | sub assignee { | ||||||||
|
Subroutine
assignee: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 216 | $_[0]->{assignee} = | ||||||||||
| 217 | Net::Async::Github::User->new($_[0]->{assignee}) | ||||||||||
| 218 | 0 | ▶ | unless ref $_[0]->{assignee}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 219 | shift->{assignee} | ||||||||||
| 220 | 0 | } | |||||||||
| 221 | |||||||||||
| 222 | =head2 head | ||||||||||
| 223 | |||||||||||
| 224 | Provides an accessor for C<head>. | ||||||||||
| 225 | |||||||||||
| 226 | =cut | ||||||||||
| 227 | |||||||||||
| 228 | 0 | ▶ | sub head { | ||||||||
|
Subroutine
head: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 229 | shift->{head} | ||||||||||
| 230 | 0 | } | |||||||||
| 231 | |||||||||||
| 232 | =head2 base | ||||||||||
| 233 | |||||||||||
| 234 | Provides an accessor for C<base>. | ||||||||||
| 235 | |||||||||||
| 236 | =cut | ||||||||||
| 237 | |||||||||||
| 238 | 0 | ▶ | sub base { | ||||||||
|
Subroutine
base: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 239 | shift->{base} | ||||||||||
| 240 | 0 | } | |||||||||
| 241 | |||||||||||
| 242 | =head2 author_association | ||||||||||
| 243 | |||||||||||
| 244 | Provides an accessor for C<author_association>. | ||||||||||
| 245 | |||||||||||
| 246 | =cut | ||||||||||
| 247 | |||||||||||
| 248 | 0 | ▶ | sub author_association { | ||||||||
|
Subroutine
author_association: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 249 | shift->{author_association} | ||||||||||
| 250 | 0 | } | |||||||||
| 251 | |||||||||||
| 252 | 2 | 1; | |||||||||
| 253 | |||||||||||