Module aiogithubapi.objects.orgs.team

Class object for AIOGitHubAPIOrgsTeam Documentation: https://docs.github.com/en/rest/reference/teams#get-a-team-by-name

Generated by generate/generate.py - 2020-08-02 10:33:09.248066

Expand source code
"""
Class object for AIOGitHubAPIOrgsTeam
Documentation: https://docs.github.com/en/rest/reference/teams#get-a-team-by-name

Generated by generate/generate.py - 2020-08-02 10:33:09.248066
"""
from ..base import AIOGitHubAPIBase


class Organization(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 url(self):
        return self.attributes.get("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 hooks_url(self):
        return self.attributes.get("hooks_url", "")

    @property
    def issues_url(self):
        return self.attributes.get("issues_url", "")

    @property
    def members_url(self):
        return self.attributes.get("members_url", "")

    @property
    def public_members_url(self):
        return self.attributes.get("public_members_url", "")

    @property
    def avatar_url(self):
        return self.attributes.get("avatar_url", "")

    @property
    def description(self):
        return self.attributes.get("description", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def company(self):
        return self.attributes.get("company", "")

    @property
    def blog(self):
        return self.attributes.get("blog", "")

    @property
    def location(self):
        return self.attributes.get("location", "")

    @property
    def email(self):
        return self.attributes.get("email", "")

    @property
    def twitter_username(self):
        return self.attributes.get("twitter_username", "")

    @property
    def is_verified(self):
        return self.attributes.get("is_verified", True)

    @property
    def has_organization_projects(self):
        return self.attributes.get("has_organization_projects", True)

    @property
    def has_repository_projects(self):
        return self.attributes.get("has_repository_projects", True)

    @property
    def public_repos(self):
        return self.attributes.get("public_repos", None)

    @property
    def public_gists(self):
        return self.attributes.get("public_gists", None)

    @property
    def followers(self):
        return self.attributes.get("followers", None)

    @property
    def following(self):
        return self.attributes.get("following", None)

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def created_at(self):
        return self.attributes.get("created_at", "")

    @property
    def type(self):
        return self.attributes.get("type", "")


class AIOGitHubAPIOrgsTeam(AIOGitHubAPIBase):
    @property
    def id(self):
        return self.attributes.get("id", None)

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def slug(self):
        return self.attributes.get("slug", "")

    @property
    def description(self):
        return self.attributes.get("description", "")

    @property
    def privacy(self):
        return self.attributes.get("privacy", "")

    @property
    def permission(self):
        return self.attributes.get("permission", "")

    @property
    def members_url(self):
        return self.attributes.get("members_url", "")

    @property
    def repositories_url(self):
        return self.attributes.get("repositories_url", "")

    @property
    def parent(self):
        return self.attributes.get("parent", None)

    @property
    def members_count(self):
        return self.attributes.get("members_count", None)

    @property
    def repos_count(self):
        return self.attributes.get("repos_count", None)

    @property
    def created_at(self):
        return self.attributes.get("created_at", "")

    @property
    def updated_at(self):
        return self.attributes.get("updated_at", "")

    @property
    def organization(self):
        return Organization(self.attributes.get("organization", {}))

Classes

class AIOGitHubAPIOrgsTeam (attributes)

Base class for AIOGitHubAPI.

Initialize.

Expand source code
class AIOGitHubAPIOrgsTeam(AIOGitHubAPIBase):
    @property
    def id(self):
        return self.attributes.get("id", None)

    @property
    def node_id(self):
        return self.attributes.get("node_id", "")

    @property
    def url(self):
        return self.attributes.get("url", "")

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def slug(self):
        return self.attributes.get("slug", "")

    @property
    def description(self):
        return self.attributes.get("description", "")

    @property
    def privacy(self):
        return self.attributes.get("privacy", "")

    @property
    def permission(self):
        return self.attributes.get("permission", "")

    @property
    def members_url(self):
        return self.attributes.get("members_url", "")

    @property
    def repositories_url(self):
        return self.attributes.get("repositories_url", "")

    @property
    def parent(self):
        return self.attributes.get("parent", None)

    @property
    def members_count(self):
        return self.attributes.get("members_count", None)

    @property
    def repos_count(self):
        return self.attributes.get("repos_count", None)

    @property
    def created_at(self):
        return self.attributes.get("created_at", "")

    @property
    def updated_at(self):
        return self.attributes.get("updated_at", "")

    @property
    def organization(self):
        return Organization(self.attributes.get("organization", {}))

Ancestors

Instance variables

var created_at
Expand source code
@property
def created_at(self):
    return self.attributes.get("created_at", "")
var description
Expand source code
@property
def description(self):
    return self.attributes.get("description", "")
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 members_count
Expand source code
@property
def members_count(self):
    return self.attributes.get("members_count", None)
var members_url
Expand source code
@property
def members_url(self):
    return self.attributes.get("members_url", "")
var name
Expand source code
@property
def name(self):
    return self.attributes.get("name", "")
var node_id
Expand source code
@property
def node_id(self):
    return self.attributes.get("node_id", "")
var organization
Expand source code
@property
def organization(self):
    return Organization(self.attributes.get("organization", {}))
var parent
Expand source code
@property
def parent(self):
    return self.attributes.get("parent", None)
var permission
Expand source code
@property
def permission(self):
    return self.attributes.get("permission", "")
var privacy
Expand source code
@property
def privacy(self):
    return self.attributes.get("privacy", "")
var repos_count
Expand source code
@property
def repos_count(self):
    return self.attributes.get("repos_count", None)
var repositories_url
Expand source code
@property
def repositories_url(self):
    return self.attributes.get("repositories_url", "")
var slug
Expand source code
@property
def slug(self):
    return self.attributes.get("slug", "")
var updated_at
Expand source code
@property
def updated_at(self):
    return self.attributes.get("updated_at", "")
var url
Expand source code
@property
def url(self):
    return self.attributes.get("url", "")
class Organization (attributes)

Base class for AIOGitHubAPI.

Initialize.

Expand source code
class Organization(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 url(self):
        return self.attributes.get("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 hooks_url(self):
        return self.attributes.get("hooks_url", "")

    @property
    def issues_url(self):
        return self.attributes.get("issues_url", "")

    @property
    def members_url(self):
        return self.attributes.get("members_url", "")

    @property
    def public_members_url(self):
        return self.attributes.get("public_members_url", "")

    @property
    def avatar_url(self):
        return self.attributes.get("avatar_url", "")

    @property
    def description(self):
        return self.attributes.get("description", "")

    @property
    def name(self):
        return self.attributes.get("name", "")

    @property
    def company(self):
        return self.attributes.get("company", "")

    @property
    def blog(self):
        return self.attributes.get("blog", "")

    @property
    def location(self):
        return self.attributes.get("location", "")

    @property
    def email(self):
        return self.attributes.get("email", "")

    @property
    def twitter_username(self):
        return self.attributes.get("twitter_username", "")

    @property
    def is_verified(self):
        return self.attributes.get("is_verified", True)

    @property
    def has_organization_projects(self):
        return self.attributes.get("has_organization_projects", True)

    @property
    def has_repository_projects(self):
        return self.attributes.get("has_repository_projects", True)

    @property
    def public_repos(self):
        return self.attributes.get("public_repos", None)

    @property
    def public_gists(self):
        return self.attributes.get("public_gists", None)

    @property
    def followers(self):
        return self.attributes.get("followers", None)

    @property
    def following(self):
        return self.attributes.get("following", None)

    @property
    def html_url(self):
        return self.attributes.get("html_url", "")

    @property
    def created_at(self):
        return self.attributes.get("created_at", "")

    @property
    def type(self):
        return self.attributes.get("type", "")

Ancestors

Instance variables

var avatar_url
Expand source code
@property
def avatar_url(self):
    return self.attributes.get("avatar_url", "")
var blog
Expand source code
@property
def blog(self):
    return self.attributes.get("blog", "")
var company
Expand source code
@property
def company(self):
    return self.attributes.get("company", "")
var created_at
Expand source code
@property
def created_at(self):
    return self.attributes.get("created_at", "")
var description
Expand source code
@property
def description(self):
    return self.attributes.get("description", "")
var email
Expand source code
@property
def email(self):
    return self.attributes.get("email", "")
var events_url
Expand source code
@property
def events_url(self):
    return self.attributes.get("events_url", "")
var followers
Expand source code
@property
def followers(self):
    return self.attributes.get("followers", None)
var following
Expand source code
@property
def following(self):
    return self.attributes.get("following", None)
var has_organization_projects
Expand source code
@property
def has_organization_projects(self):
    return self.attributes.get("has_organization_projects", True)
var has_repository_projects
Expand source code
@property
def has_repository_projects(self):
    return self.attributes.get("has_repository_projects", True)
var hooks_url
Expand source code
@property
def hooks_url(self):
    return self.attributes.get("hooks_url", "")
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 is_verified
Expand source code
@property
def is_verified(self):
    return self.attributes.get("is_verified", True)
var issues_url
Expand source code
@property
def issues_url(self):
    return self.attributes.get("issues_url", "")
var location
Expand source code
@property
def location(self):
    return self.attributes.get("location", "")
var login
Expand source code
@property
def login(self):
    return self.attributes.get("login", "")
var members_url
Expand source code
@property
def members_url(self):
    return self.attributes.get("members_url", "")
var name
Expand source code
@property
def name(self):
    return self.attributes.get("name", "")
var node_id
Expand source code
@property
def node_id(self):
    return self.attributes.get("node_id", "")
var public_gists
Expand source code
@property
def public_gists(self):
    return self.attributes.get("public_gists", None)
var public_members_url
Expand source code
@property
def public_members_url(self):
    return self.attributes.get("public_members_url", "")
var public_repos
Expand source code
@property
def public_repos(self):
    return self.attributes.get("public_repos", None)
var repos_url
Expand source code
@property
def repos_url(self):
    return self.attributes.get("repos_url", "")
var twitter_username
Expand source code
@property
def twitter_username(self):
    return self.attributes.get("twitter_username", "")
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", "")