@@ -66,23 +66,23 @@ type ListAwardEmojiOptions ListOptions
66
66
// ListMergeRequestAwardEmoji gets a list of all award emoji on the merge request.
67
67
//
68
68
// GitLab API docs:
69
- // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardable-39-s- award-emoji
69
+ // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardables- award-emojis
70
70
func (s * AwardEmojiService ) ListMergeRequestAwardEmoji (pid interface {}, mergeRequestIID int , opt * ListAwardEmojiOptions , options ... RequestOptionFunc ) ([]* AwardEmoji , * Response , error ) {
71
71
return s .listAwardEmoji (pid , awardMergeRequest , mergeRequestIID , opt , options ... )
72
72
}
73
73
74
74
// ListIssueAwardEmoji gets a list of all award emoji on the issue.
75
75
//
76
76
// GitLab API docs:
77
- // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardable-39-s- award-emoji
77
+ // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardables- award-emojis
78
78
func (s * AwardEmojiService ) ListIssueAwardEmoji (pid interface {}, issueIID int , opt * ListAwardEmojiOptions , options ... RequestOptionFunc ) ([]* AwardEmoji , * Response , error ) {
79
79
return s .listAwardEmoji (pid , awardIssue , issueIID , opt , options ... )
80
80
}
81
81
82
82
// ListSnippetAwardEmoji gets a list of all award emoji on the snippet.
83
83
//
84
84
// GitLab API docs:
85
- // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardable-39-s- award-emoji
85
+ // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardables- award-emojis
86
86
func (s * AwardEmojiService ) ListSnippetAwardEmoji (pid interface {}, snippetID int , opt * ListAwardEmojiOptions , options ... RequestOptionFunc ) ([]* AwardEmoji , * Response , error ) {
87
87
return s .listAwardEmoji (pid , awardSnippets , snippetID , opt , options ... )
88
88
}
@@ -115,23 +115,23 @@ func (s *AwardEmojiService) listAwardEmoji(pid interface{}, resource string, res
115
115
// GetMergeRequestAwardEmoji get an award emoji from merge request.
116
116
//
117
117
// GitLab API docs:
118
- // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardable-39-s -award-emoji
118
+ // https://docs.gitlab.com/ee/api/award_emoji.html#get-single -award-emoji
119
119
func (s * AwardEmojiService ) GetMergeRequestAwardEmoji (pid interface {}, mergeRequestIID , awardID int , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
120
120
return s .getAwardEmoji (pid , awardMergeRequest , mergeRequestIID , awardID , options ... )
121
121
}
122
122
123
123
// GetIssueAwardEmoji get an award emoji from issue.
124
124
//
125
125
// GitLab API docs:
126
- // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardable-39-s -award-emoji
126
+ // https://docs.gitlab.com/ee/api/award_emoji.html#get-single -award-emoji
127
127
func (s * AwardEmojiService ) GetIssueAwardEmoji (pid interface {}, issueIID , awardID int , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
128
128
return s .getAwardEmoji (pid , awardIssue , issueIID , awardID , options ... )
129
129
}
130
130
131
131
// GetSnippetAwardEmoji get an award emoji from snippet.
132
132
//
133
133
// GitLab API docs:
134
- // https://docs.gitlab.com/ee/api/award_emoji.html#list-an-awardable-39-s -award-emoji
134
+ // https://docs.gitlab.com/ee/api/award_emoji.html#get-single -award-emoji
135
135
func (s * AwardEmojiService ) GetSnippetAwardEmoji (pid interface {}, snippetID , awardID int , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
136
136
return s .getAwardEmoji (pid , awardSnippets , snippetID , awardID , options ... )
137
137
}
@@ -223,23 +223,23 @@ func (s *AwardEmojiService) createAwardEmoji(pid interface{}, resource string, r
223
223
// DeleteIssueAwardEmoji delete award emoji on an issue.
224
224
//
225
225
// GitLab API docs:
226
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new -emoji-on-a-note
226
+ // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an-award -emoji
227
227
func (s * AwardEmojiService ) DeleteIssueAwardEmoji (pid interface {}, issueIID , awardID int , options ... RequestOptionFunc ) (* Response , error ) {
228
228
return s .deleteAwardEmoji (pid , awardIssue , issueIID , awardID , options ... )
229
229
}
230
230
231
231
// DeleteMergeRequestAwardEmoji delete award emoji on a merge request.
232
232
//
233
233
// GitLab API docs:
234
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new -emoji-on-a-note
234
+ // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an-award -emoji
235
235
func (s * AwardEmojiService ) DeleteMergeRequestAwardEmoji (pid interface {}, mergeRequestIID , awardID int , options ... RequestOptionFunc ) (* Response , error ) {
236
236
return s .deleteAwardEmoji (pid , awardMergeRequest , mergeRequestIID , awardID , options ... )
237
237
}
238
238
239
239
// DeleteSnippetAwardEmoji delete award emoji on a snippet.
240
240
//
241
241
// GitLab API docs:
242
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new -emoji-on-a-note
242
+ // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an-award -emoji
243
243
func (s * AwardEmojiService ) DeleteSnippetAwardEmoji (pid interface {}, snippetID , awardID int , options ... RequestOptionFunc ) (* Response , error ) {
244
244
return s .deleteAwardEmoji (pid , awardSnippets , snippetID , awardID , options ... )
245
245
}
@@ -267,7 +267,7 @@ func (s *AwardEmojiService) deleteAwardEmoji(pid interface{}, resource string, r
267
267
// issue.
268
268
//
269
269
// GitLab API docs:
270
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
270
+ // https://docs.gitlab.com/ee/api/award_emoji.html#list-a-comments-award-emojis
271
271
func (s * AwardEmojiService ) ListIssuesAwardEmojiOnNote (pid interface {}, issueID , noteID int , opt * ListAwardEmojiOptions , options ... RequestOptionFunc ) ([]* AwardEmoji , * Response , error ) {
272
272
return s .listAwardEmojiOnNote (pid , awardIssue , issueID , noteID , opt , options ... )
273
273
}
@@ -276,7 +276,7 @@ func (s *AwardEmojiService) ListIssuesAwardEmojiOnNote(pid interface{}, issueID,
276
276
// from the merge request.
277
277
//
278
278
// GitLab API docs:
279
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
279
+ // https://docs.gitlab.com/ee/api/award_emoji.html#list-a-comments-award-emojis
280
280
func (s * AwardEmojiService ) ListMergeRequestAwardEmojiOnNote (pid interface {}, mergeRequestIID , noteID int , opt * ListAwardEmojiOptions , options ... RequestOptionFunc ) ([]* AwardEmoji , * Response , error ) {
281
281
return s .listAwardEmojiOnNote (pid , awardMergeRequest , mergeRequestIID , noteID , opt , options ... )
282
282
}
@@ -285,7 +285,7 @@ func (s *AwardEmojiService) ListMergeRequestAwardEmojiOnNote(pid interface{}, me
285
285
// snippet.
286
286
//
287
287
// GitLab API docs:
288
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
288
+ // https://docs.gitlab.com/ee/api/award_emoji.html#list-a-comments-award-emojis
289
289
func (s * AwardEmojiService ) ListSnippetAwardEmojiOnNote (pid interface {}, snippetIID , noteID int , opt * ListAwardEmojiOptions , options ... RequestOptionFunc ) ([]* AwardEmoji , * Response , error ) {
290
290
return s .listAwardEmojiOnNote (pid , awardSnippets , snippetIID , noteID , opt , options ... )
291
291
}
@@ -315,7 +315,7 @@ func (s *AwardEmojiService) listAwardEmojiOnNote(pid interface{}, resources stri
315
315
// GetIssuesAwardEmojiOnNote gets an award emoji on a note from an issue.
316
316
//
317
317
// GitLab API docs:
318
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
318
+ // https://docs.gitlab.com/ee/api/award_emoji.html#get-an- award-emoji-for-a-comment
319
319
func (s * AwardEmojiService ) GetIssuesAwardEmojiOnNote (pid interface {}, issueID , noteID , awardID int , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
320
320
return s .getSingleNoteAwardEmoji (pid , awardIssue , issueID , noteID , awardID , options ... )
321
321
}
@@ -324,7 +324,7 @@ func (s *AwardEmojiService) GetIssuesAwardEmojiOnNote(pid interface{}, issueID,
324
324
// merge request.
325
325
//
326
326
// GitLab API docs:
327
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
327
+ // https://docs.gitlab.com/ee/api/award_emoji.html#get-an- award-emoji-for-a-comment
328
328
func (s * AwardEmojiService ) GetMergeRequestAwardEmojiOnNote (pid interface {}, mergeRequestIID , noteID , awardID int , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
329
329
return s .getSingleNoteAwardEmoji (pid , awardMergeRequest , mergeRequestIID , noteID , awardID ,
330
330
options ... )
@@ -333,7 +333,7 @@ func (s *AwardEmojiService) GetMergeRequestAwardEmojiOnNote(pid interface{}, mer
333
333
// GetSnippetAwardEmojiOnNote gets an award emoji on a note from a snippet.
334
334
//
335
335
// GitLab API docs:
336
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
336
+ // https://docs.gitlab.com/ee/api/award_emoji.html#get-an- award-emoji-for-a-comment
337
337
func (s * AwardEmojiService ) GetSnippetAwardEmojiOnNote (pid interface {}, snippetIID , noteID , awardID int , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
338
338
return s .getSingleNoteAwardEmoji (pid , awardSnippets , snippetIID , noteID , awardID , options ... )
339
339
}
@@ -368,7 +368,7 @@ func (s *AwardEmojiService) getSingleNoteAwardEmoji(pid interface{}, ressource s
368
368
// CreateIssuesAwardEmojiOnNote gets an award emoji on a note from an issue.
369
369
//
370
370
// GitLab API docs:
371
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
371
+ // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new- emoji-on-a-comment
372
372
func (s * AwardEmojiService ) CreateIssuesAwardEmojiOnNote (pid interface {}, issueID , noteID int , opt * CreateAwardEmojiOptions , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
373
373
return s .createAwardEmojiOnNote (pid , awardIssue , issueID , noteID , opt , options ... )
374
374
}
@@ -377,23 +377,23 @@ func (s *AwardEmojiService) CreateIssuesAwardEmojiOnNote(pid interface{}, issueI
377
377
// merge request.
378
378
//
379
379
// GitLab API docs:
380
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
380
+ // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new- emoji-on-a-comment
381
381
func (s * AwardEmojiService ) CreateMergeRequestAwardEmojiOnNote (pid interface {}, mergeRequestIID , noteID int , opt * CreateAwardEmojiOptions , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
382
382
return s .createAwardEmojiOnNote (pid , awardMergeRequest , mergeRequestIID , noteID , opt , options ... )
383
383
}
384
384
385
385
// CreateSnippetAwardEmojiOnNote gets an award emoji on a note from a snippet.
386
386
//
387
387
// GitLab API docs:
388
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
388
+ // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new- emoji-on-a-comment
389
389
func (s * AwardEmojiService ) CreateSnippetAwardEmojiOnNote (pid interface {}, snippetIID , noteID int , opt * CreateAwardEmojiOptions , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
390
390
return s .createAwardEmojiOnNote (pid , awardSnippets , snippetIID , noteID , opt , options ... )
391
391
}
392
392
393
393
// CreateAwardEmojiOnNote award emoji on a note.
394
394
//
395
395
// GitLab API docs:
396
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new-emoji-on-a-note
396
+ // https://docs.gitlab.com/ee/api/award_emoji.html#award-a-new-emoji-on-a-comment
397
397
func (s * AwardEmojiService ) createAwardEmojiOnNote (pid interface {}, resource string , resourceID , noteID int , opt * CreateAwardEmojiOptions , options ... RequestOptionFunc ) (* AwardEmoji , * Response , error ) {
398
398
project , err := parseID (pid )
399
399
if err != nil {
@@ -423,7 +423,7 @@ func (s *AwardEmojiService) createAwardEmojiOnNote(pid interface{}, resource str
423
423
// DeleteIssuesAwardEmojiOnNote deletes an award emoji on a note from an issue.
424
424
//
425
425
// GitLab API docs:
426
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
426
+ // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an- award-emoji-from-a-comment
427
427
func (s * AwardEmojiService ) DeleteIssuesAwardEmojiOnNote (pid interface {}, issueID , noteID , awardID int , options ... RequestOptionFunc ) (* Response , error ) {
428
428
return s .deleteAwardEmojiOnNote (pid , awardIssue , issueID , noteID , awardID , options ... )
429
429
}
@@ -432,7 +432,7 @@ func (s *AwardEmojiService) DeleteIssuesAwardEmojiOnNote(pid interface{}, issueI
432
432
// merge request.
433
433
//
434
434
// GitLab API docs:
435
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
435
+ // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an- award-emoji-from-a-comment
436
436
func (s * AwardEmojiService ) DeleteMergeRequestAwardEmojiOnNote (pid interface {}, mergeRequestIID , noteID , awardID int , options ... RequestOptionFunc ) (* Response , error ) {
437
437
return s .deleteAwardEmojiOnNote (pid , awardMergeRequest , mergeRequestIID , noteID , awardID ,
438
438
options ... )
@@ -441,7 +441,7 @@ func (s *AwardEmojiService) DeleteMergeRequestAwardEmojiOnNote(pid interface{},
441
441
// DeleteSnippetAwardEmojiOnNote deletes an award emoji on a note from a snippet.
442
442
//
443
443
// GitLab API docs:
444
- // https://docs.gitlab.com/ee/api/award_emoji.html#award-emoji-on-notes
444
+ // https://docs.gitlab.com/ee/api/award_emoji.html#delete-an- award-emoji-from-a-comment
445
445
func (s * AwardEmojiService ) DeleteSnippetAwardEmojiOnNote (pid interface {}, snippetIID , noteID , awardID int , options ... RequestOptionFunc ) (* Response , error ) {
446
446
return s .deleteAwardEmojiOnNote (pid , awardSnippets , snippetIID , noteID , awardID , options ... )
447
447
}
0 commit comments