GitReleaseAsset

class github.GitReleaseAsset.GitReleaseAsset

This class represents GitReleaseAssets. The reference can be found here https://developer.github.com/v3/repos/releases/#get-a-single-release-asset

url
Type:string
id
Type:integer
name
Type:string
label
Type:string
content_type
Type:string
state
Type:string
size
Type:integer
download_count
Type:integer
created_at
Type:datetime
updated_at
Type:datetime
browser_download_url
Type:string
uploader
Type:github.NamedUser.NamedUser
delete_asset()

Delete asset from the release. :rtype: bool

update_asset(name, label='')

Update asset metadata. :rtype: github.GitReleaseAsset.GitReleaseAsset