Files
PyGithub/github/GitReleaseAsset.pyi
T
Steve Kowalik 1dd1cf9cb1 Remove pointless setters in GitReleaseAsset (#1527)
This is the only class that includes property setters for two of the
attributes, which are untested, and even if they were used, would have
no impact since there is no method to submit the changes back to GitHub.
Drop them.
2020-05-20 20:22:32 +10:00

37 lines
1.1 KiB
Python

from datetime import datetime
from typing import Any, Dict, Union
from github.GithubObject import CompletableGithubObject
from github.NamedUser import NamedUser
class GitReleaseAsset(CompletableGithubObject):
def __repr__(self) -> str: ...
def _initAttributes(self) -> None: ...
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
@property
def browser_download_url(self) -> str: ...
@property
def content_type(self) -> str: ...
@property
def created_at(self) -> datetime: ...
def delete_asset(self) -> bool: ...
@property
def download_count(self) -> int: ...
@property
def id(self) -> int: ...
@property
def label(self) -> str: ...
@property
def name(self) -> str: ...
@property
def size(self) -> int: ...
@property
def state(self) -> str: ...
def update_asset(self, name: str, label: str = ...) -> GitReleaseAsset: ...
@property
def updated_at(self) -> datetime: ...
@property
def uploader(self) -> NamedUser: ...
@property
def url(self) -> str: ...