Generate some repetitive doc files

This commit is contained in:
Vincent Jacques
2012-12-29 08:47:23 +01:00
parent d99b7ef577
commit abf0867543
108 changed files with 2603 additions and 2601 deletions
+19
View File
@@ -20,24 +20,43 @@ import github.NamedUser
class PullRequestPart(github.GithubObject.BasicGithubObject):
"""
This class represents PullRequestParts as returned for example by http://developer.github.com/v3/todo
"""
@property
def label(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._label)
@property
def ref(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._ref)
@property
def repo(self):
"""
:type: :class:`github.Repository.Repository`
"""
return self._NoneIfNotSet(self._repo)
@property
def sha(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._sha)
@property
def user(self):
"""
:type: :class:`github.NamedUser.NamedUser`
"""
return self._NoneIfNotSet(self._user)
def _initAttributes(self):