diff options
author | 2011-04-13 21:51:46 -0400 | |
---|---|---|
committer | 2011-04-13 21:51:46 -0400 | |
commit | b895d6cc3b7cd171718e557fb4db07fb8bcb2b98 (patch) | |
tree | dc21600e694f002e28b0752f21d70fd7ab325c55 /github3/models.py | |
parent | docs (diff) | |
download | python-github3-b895d6cc3b7cd171718e557fb4db07fb8bcb2b98.tar.xz python-github3-b895d6cc3b7cd171718e557fb4db07fb8bcb2b98.zip |
models update
Diffstat (limited to 'github3/models.py')
-rw-r--r-- | github3/models.py | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/github3/models.py b/github3/models.py index c049aba..e99c73b 100644 --- a/github3/models.py +++ b/github3/models.py @@ -10,6 +10,21 @@ This module provides the GitHub3 object models. +class User(object): + pass + + def __init__(self): + self.type = None + self.email = None + self.location = None + self.name = None + self.company = None + self.login = None + self.blog = None + self.gravatar_url = None + + + class Repo(object): """GitHub Repository.""" pass @@ -31,4 +46,33 @@ class GistComment(object): """GitHub GistComment.""" def __init__(self): - pass
\ No newline at end of file + pass + + +class Issue(object): + + + def __init__(self): + self.number = None + self.updated_at = None + self.closed_at = None + self.labels = [] + self.title= None + self.comments = [] + self.user = None + self.body = None + self.url = None + self.state = None + self.api_url = None + + # api + self.milestone + self.assignee + + + +class Milestone(object): + + + def __init__(self):pass + |