Repository navigation
Expand file tree
/
Copy pathGitHubReposRelease.php
More file actions
242 lines (218 loc) · 3.32 KB
/
Copy pathGitHubReposRelease.php
File metadata and controls
242 lines (218 loc) · 3.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<?php
require_once(__DIR__ . '/GitHubGitCommitAuthor.php');
require_once(__DIR__ . '/GitHubReposReleaseAsset.php');
class GitHubReposRelease extends GitHubObject
{
/* (non-PHPdoc)
* @see GitHubObject::getAttributes()
*/
protected function getAttributes()
{
return array_merge(parent::getAttributes(), array(
'url' => 'string',
'html_url' => 'string',
'assets_url' => 'string',
'upload_url' => 'string',
'tarball_url' => 'string',
'zipball_url' => 'string',
'id' => 'int',
'tag_name' => 'string',
'target_commitish' => 'string',
'name' => 'string',
'body' => 'string',
'draft' => 'boolean',
'prerelease' => 'boolean',
'created_at' => 'string',
'published_at' => 'string',
'author' => 'GitHubGitCommitAuthor',
'assets' => 'array<GitHubReposReleaseAsset>',
));
}
/**
* @var string
*/
protected $url;
/**
* @var string
*/
protected $html_url;
/**
* @var string
*/
protected $assets_url;
/**
* @var string
*/
protected $upload_url;
/**
* @var string
*/
protected $tarball_url;
/**
* @var string
*/
protected $zipball_url;
/**
* @var string
*/
protected $id;
/**
* @var string
*/
protected $tag_name;
/**
* @var string
*/
protected $target_commitish;
/**
* @var string
*/
protected $name;
/**
* @var string
*/
protected $body;
/**
* @var boolean
*/
protected $draft;
/**
* @var boolean
*/
protected $prerelease;
/**
* @var string
*/
protected $created_at;
/**
* @var string
*/
protected $published_at;
/**
* @var GitHubGitCommitAuthor
*/
protected $author;
/**
* @var array<GitHubReposReleaseAsset>
*/
protected $assets;
/**
* @return the $url
*/
public function getUrl()
{
return $this->url;
}
/**
* @return the $html_url
*/
public function getHtml_url()
{
return $this->html_url;
}
/**
* @return the $assets_url
*/
public function getAssets_url()
{
return $this->assets_url;
}
/**
* @return the $upload_url
*/
public function getUpload_url()
{
return $this->upload_url;
}
/**
* @return the $tarball_url
*/
public function getTarball_url()
{
return $this->tarball_url;
}
/**
* @return the $zipball_url
*/
public function getZipball_url()
{
return $this->zipball_url;
}
/**
* @return the $id
*/
public function getId()
{
return $this->id;
}
/**
* @return the $tag_name
*/
public function getTag_name()
{
return $this->tag_name;
}
/**
* @return the $target_commitish
*/
public function getTarget_commitish()
{
return $this->target_commitish;
}
/**
* @return the $name
*/
public function getName()
{
return $this->name;
}
/**
* @return the $body
*/
public function getBody()
{
return $this->body;
}
/**
* @return the $draft
*/
public function getDraft()
{
return $this->draft;
}
/**
* @return the $prerelease
*/
public function getPrerelease()
{
return $this->prerelease;
}
/**
* @return the $created_at
*/
public function getCreated_at()
{
return $this->created_at;
}
/**
* @return the $published_at
*/
public function getPublished_at()
{
return $this->published_at;
}
/**
* @return GitHubGitCommitAuthor
*/
public function getAuthor()
{
return $this->author;
}
/**
* @return array
*/
public function getAssets()
{
return $this->assets;
}
}