@@ -289,10 +289,22 @@ class ProjectIssue(GitlabObject):
289
289
returnClass = Issue
290
290
canDelete = False
291
291
292
+ class ProjectIssueNote (GitlabObject ):
293
+ url = '/projects/%(project_id)d/issues/%(issue_id)d/notes'
294
+ constructorTypes = {'author' : 'User' }
295
+ canUpdate = False
296
+ canDelete = False
297
+
292
298
class ProjectMember (GitlabObject ):
293
299
url = '/projects/%(project_id)d/members'
294
300
returnClass = User
295
301
302
+ class ProjectNote (GitlabObject ):
303
+ url = '/projects/%(project_id)d/notes'
304
+ constructorTypes = {'author' : 'User' }
305
+ canUpdate = False
306
+ canDelete = False
307
+
296
308
class ProjectTag (GitlabObject ):
297
309
url = '/projects/%(project_id)d/repository/tags'
298
310
canGet = False
@@ -305,6 +317,14 @@ class ProjectMergeRequest(GitlabObject):
305
317
constructorTypes = {'author' : 'User' , 'assignee' : 'User' }
306
318
canDelete = False
307
319
320
+ class ProjectMergeRequestNote (GitlabObject ):
321
+ url = '/projects/%(project_id)d/merge_requests/%(merge_request_id)d/notes'
322
+ constructorTypes = {'author' : 'User' }
323
+ canGet = False
324
+ canCreate = False
325
+ canUpdate = False
326
+ canDelete = False
327
+
308
328
class ProjectMilestone (GitlabObject ):
309
329
url = '/projects/%(project_id)s/milestones'
310
330
canDelete = False
@@ -313,6 +333,12 @@ class ProjectSnippet(GitlabObject):
313
333
url = '/projects/%(project_id)d/snippets'
314
334
constructorTypes = {'author' : 'User' }
315
335
336
+ class ProjectSnippetNote (GitlabObject ):
337
+ url = '/projects/%(project_id)d/snippets/%(snippet_id)d/notes'
338
+ constructorTypes = {'author' : 'User' }
339
+ canUpdate = False
340
+ canDelete = False
341
+
316
342
class Project (GitlabObject ):
317
343
url = '/projects'
318
344
constructorTypes = {'owner' : 'User' , 'namespace' : 'Group' }
0 commit comments