Module aiogithubapi.models.contents

GitHub contents data class.

Expand source code
"""GitHub contents data class."""
from __future__ import annotations

from .base import GitHubDataModelBase


class GitHubContentsModel(GitHubDataModelBase):
    """GitHub contents data class."""

    type: str | None = None
    encoding: str | None = None
    size: int | None = None
    name: str | None = None
    path: str | None = None
    content: str | None = None
    sha: str | None = None
    url: str | None = None
    git_url: str | None = None
    html_url: str | None = None
    download_url: str | None = None

Classes

class GitHubContentsModel (data: Dict[str, Any])

GitHub contents data class.

Init.

Expand source code
class GitHubContentsModel(GitHubDataModelBase):
    """GitHub contents data class."""

    type: str | None = None
    encoding: str | None = None
    size: int | None = None
    name: str | None = None
    path: str | None = None
    content: str | None = None
    sha: str | None = None
    url: str | None = None
    git_url: str | None = None
    html_url: str | None = None
    download_url: str | None = None

Ancestors

Class variables

var content : str | None
var download_url : str | None
var encoding : str | None
var git_url : str | None
var html_url : str | None
var name : str | None
var path : str | None
var sha : str | None
var size : int | None
var type : str | None
var url : str | None

Inherited members