Module aiogithubapi.objects.repository.collaborator
Class object for AIOGitHubAPIRepositoryCollaborator Documentation: https://docs.github.com/en/rest/reference/repos#list-repository-collaborators
Generated by generate/generate.py - 2020-08-02 10:09:26.842173
Expand source code
"""
Class object for AIOGitHubAPIRepositoryCollaborator
Documentation: https://docs.github.com/en/rest/reference/repos#list-repository-collaborators
Generated by generate/generate.py - 2020-08-02 10:09:26.842173
"""
from ..base import AIOGitHubAPIBase
class Permissions(AIOGitHubAPIBase):
@property
def pull(self):
return self.attributes.get("pull", True)
@property
def push(self):
return self.attributes.get("push", True)
@property
def admin(self):
return self.attributes.get("admin", False)
class AIOGitHubAPIRepositoryCollaborator(AIOGitHubAPIBase):
@property
def login(self):
return self.attributes.get("login", "")
@property
def id(self):
return self.attributes.get("id", None)
@property
def node_id(self):
return self.attributes.get("node_id", "")
@property
def avatar_url(self):
return self.attributes.get("avatar_url", "")
@property
def gravatar_id(self):
return self.attributes.get("gravatar_id", "")
@property
def url(self):
return self.attributes.get("url", "")
@property
def html_url(self):
return self.attributes.get("html_url", "")
@property
def followers_url(self):
return self.attributes.get("followers_url", "")
@property
def following_url(self):
return self.attributes.get("following_url", "")
@property
def gists_url(self):
return self.attributes.get("gists_url", "")
@property
def starred_url(self):
return self.attributes.get("starred_url", "")
@property
def subscriptions_url(self):
return self.attributes.get("subscriptions_url", "")
@property
def organizations_url(self):
return self.attributes.get("organizations_url", "")
@property
def repos_url(self):
return self.attributes.get("repos_url", "")
@property
def events_url(self):
return self.attributes.get("events_url", "")
@property
def received_events_url(self):
return self.attributes.get("received_events_url", "")
@property
def type(self):
return self.attributes.get("type", "")
@property
def site_admin(self):
return self.attributes.get("site_admin", False)
@property
def permissions(self):
return Permissions(self.attributes.get("permissions", {}))
Classes
class AIOGitHubAPIRepositoryCollaborator (attributes)
-
Base class for AIOGitHubAPI.
Initialize.
Expand source code
class AIOGitHubAPIRepositoryCollaborator(AIOGitHubAPIBase): @property def login(self): return self.attributes.get("login", "") @property def id(self): return self.attributes.get("id", None) @property def node_id(self): return self.attributes.get("node_id", "") @property def avatar_url(self): return self.attributes.get("avatar_url", "") @property def gravatar_id(self): return self.attributes.get("gravatar_id", "") @property def url(self): return self.attributes.get("url", "") @property def html_url(self): return self.attributes.get("html_url", "") @property def followers_url(self): return self.attributes.get("followers_url", "") @property def following_url(self): return self.attributes.get("following_url", "") @property def gists_url(self): return self.attributes.get("gists_url", "") @property def starred_url(self): return self.attributes.get("starred_url", "") @property def subscriptions_url(self): return self.attributes.get("subscriptions_url", "") @property def organizations_url(self): return self.attributes.get("organizations_url", "") @property def repos_url(self): return self.attributes.get("repos_url", "") @property def events_url(self): return self.attributes.get("events_url", "") @property def received_events_url(self): return self.attributes.get("received_events_url", "") @property def type(self): return self.attributes.get("type", "") @property def site_admin(self): return self.attributes.get("site_admin", False) @property def permissions(self): return Permissions(self.attributes.get("permissions", {}))
Ancestors
Instance variables
var avatar_url
-
Expand source code
@property def avatar_url(self): return self.attributes.get("avatar_url", "")
var events_url
-
Expand source code
@property def events_url(self): return self.attributes.get("events_url", "")
var followers_url
-
Expand source code
@property def followers_url(self): return self.attributes.get("followers_url", "")
var following_url
-
Expand source code
@property def following_url(self): return self.attributes.get("following_url", "")
var gists_url
-
Expand source code
@property def gists_url(self): return self.attributes.get("gists_url", "")
var gravatar_id
-
Expand source code
@property def gravatar_id(self): return self.attributes.get("gravatar_id", "")
var html_url
-
Expand source code
@property def html_url(self): return self.attributes.get("html_url", "")
var id
-
Expand source code
@property def id(self): return self.attributes.get("id", None)
var login
-
Expand source code
@property def login(self): return self.attributes.get("login", "")
var node_id
-
Expand source code
@property def node_id(self): return self.attributes.get("node_id", "")
var organizations_url
-
Expand source code
@property def organizations_url(self): return self.attributes.get("organizations_url", "")
var permissions
-
Expand source code
@property def permissions(self): return Permissions(self.attributes.get("permissions", {}))
var received_events_url
-
Expand source code
@property def received_events_url(self): return self.attributes.get("received_events_url", "")
var repos_url
-
Expand source code
@property def repos_url(self): return self.attributes.get("repos_url", "")
var site_admin
-
Expand source code
@property def site_admin(self): return self.attributes.get("site_admin", False)
var starred_url
-
Expand source code
@property def starred_url(self): return self.attributes.get("starred_url", "")
var subscriptions_url
-
Expand source code
@property def subscriptions_url(self): return self.attributes.get("subscriptions_url", "")
var type
-
Expand source code
@property def type(self): return self.attributes.get("type", "")
var url
-
Expand source code
@property def url(self): return self.attributes.get("url", "")
class Permissions (attributes)
-
Base class for AIOGitHubAPI.
Initialize.
Expand source code
class Permissions(AIOGitHubAPIBase): @property def pull(self): return self.attributes.get("pull", True) @property def push(self): return self.attributes.get("push", True) @property def admin(self): return self.attributes.get("admin", False)
Ancestors
Instance variables
var admin
-
Expand source code
@property def admin(self): return self.attributes.get("admin", False)
var pull
-
Expand source code
@property def pull(self): return self.attributes.get("pull", True)
var push
-
Expand source code
@property def push(self): return self.attributes.get("push", True)