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
+25
View File
@@ -20,38 +20,63 @@ import github.GitTree
class GitCommit(github.GithubObject.GithubObject):
"""
This class represents GitCommits as returned for example by http://developer.github.com/v3/todo
"""
@property
def author(self):
"""
:type: :class:`github.GitAuthor.GitAuthor`
"""
self._completeIfNotSet(self._author)
return self._NoneIfNotSet(self._author)
@property
def committer(self):
"""
:type: :class:`github.GitAuthor.GitAuthor`
"""
self._completeIfNotSet(self._committer)
return self._NoneIfNotSet(self._committer)
@property
def message(self):
"""
:type: string
"""
self._completeIfNotSet(self._message)
return self._NoneIfNotSet(self._message)
@property
def parents(self):
"""
:type: list of :class:`github.GitCommit.GitCommit`
"""
self._completeIfNotSet(self._parents)
return self._NoneIfNotSet(self._parents)
@property
def sha(self):
"""
:type: string
"""
self._completeIfNotSet(self._sha)
return self._NoneIfNotSet(self._sha)
@property
def tree(self):
"""
:type: :class:`github.GitTree.GitTree`
"""
self._completeIfNotSet(self._tree)
return self._NoneIfNotSet(self._tree)
@property
def url(self):
"""
:type: string
"""
self._completeIfNotSet(self._url)
return self._NoneIfNotSet(self._url)