File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,13 @@ public static GHAsset[] wrap(GHAsset[] assets, GHRelease release) {
30
30
31
31
private String browserDownloadUrl ;
32
32
private String contentType ;
33
+ private String digest ;
33
34
private long downloadCount ;
34
35
private String label ;
35
36
private String name ;
36
37
private long size ;
37
38
private String state ;
39
+ private GHUser uploader ;
38
40
/** The owner. */
39
41
GHRepository owner ;
40
42
@@ -72,6 +74,15 @@ public String getContentType() {
72
74
return contentType ;
73
75
}
74
76
77
+ /**
78
+ * Gets the digest.
79
+ *
80
+ * @return the digest
81
+ */
82
+ public String getDigest () {
83
+ return digest ;
84
+ }
85
+
75
86
/**
76
87
* Gets download count.
77
88
*
@@ -127,6 +138,15 @@ public String getState() {
127
138
return state ;
128
139
}
129
140
141
+ /**
142
+ * Gets uploader.
143
+ *
144
+ * @return the uploader
145
+ */
146
+ public GHPerson getUploader () {
147
+ return uploader ;
148
+ }
149
+
130
150
/**
131
151
* Sets content type.
132
152
*
Original file line number Diff line number Diff line change @@ -43,10 +43,14 @@ static GHRelease[] wrap(GHRelease[] releases, GHRepository owner) {
43
43
private List <GHAsset > assets ;
44
44
45
45
private String assetsUrl ;
46
+ private GHUser author ;
46
47
private String body ;
48
+ private String bodyHtml ;
49
+ private String bodyText ;
47
50
private String discussionUrl ;
48
51
private boolean draft ;
49
52
private String htmlUrl ;
53
+ private int mentionsCount ;
50
54
private String name ;
51
55
private boolean prerelease ;
52
56
private String publishedAt ;
@@ -92,6 +96,15 @@ public String getAssetsUrl() {
92
96
return assetsUrl ;
93
97
}
94
98
99
+ /**
100
+ * Gets the author.
101
+ *
102
+ * @return the author
103
+ */
104
+ public GHUser getAuthor () {
105
+ return author ;
106
+ }
107
+
95
108
/**
96
109
* Gets body.
97
110
*
@@ -101,6 +114,24 @@ public String getBody() {
101
114
return body ;
102
115
}
103
116
117
+ /**
118
+ * Gets body html.
119
+ *
120
+ * @return the body html
121
+ */
122
+ public String getBodyHtml () {
123
+ return bodyHtml ;
124
+ }
125
+
126
+ /**
127
+ * Gets body text.
128
+ *
129
+ * @return the body text
130
+ */
131
+ public String getBodyText () {
132
+ return bodyText ;
133
+ }
134
+
104
135
/**
105
136
* Gets discussion url. Only present if a discussion relating to the release exists
106
137
*
@@ -119,6 +150,10 @@ public URL getHtmlUrl() {
119
150
return GitHubClient .parseURL (htmlUrl );
120
151
}
121
152
153
+ public int getMentionsCount () {
154
+ return this .mentionsCount ;
155
+ }
156
+
122
157
/**
123
158
* Gets name.
124
159
*
You can’t perform that action at this time.
0 commit comments