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
+22
View File
@@ -17,28 +17,50 @@ import github.GithubObject
class GitTreeElement(github.GithubObject.BasicGithubObject):
"""
This class represents GitTreeElements as returned for example by http://developer.github.com/v3/todo
"""
@property
def mode(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._mode)
@property
def path(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._path)
@property
def sha(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._sha)
@property
def size(self):
"""
:type: integer
"""
return self._NoneIfNotSet(self._size)
@property
def type(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._type)
@property
def url(self):
"""
:type: string
"""
return self._NoneIfNotSet(self._url)
def _initAttributes(self):