Struct ReleaseAsset
An asset containing all information about a release.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Exiled.Loader.GHApi.Models
Assembly: Exiled.Loader.dll
Syntax
public readonly struct ReleaseAsset
Constructors
| Improve this Doc View SourceReleaseAsset(Int32, String, Int32, String, String)
Initializes a new instance of the ReleaseAsset struct.
Declaration
[SerializationConstructor]
public ReleaseAsset(int id, string name, int size, string url, string browser_download_url)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.String | name | |
System.Int32 | size | |
System.String | url | |
System.String | browser_download_url |
Fields
| Improve this Doc View SourceBrowserDownloadUrl
The release's download URL.
Declaration
[DataMember(Name = "browser_download_url")]
public readonly string BrowserDownloadUrl
Field Value
Type | Description |
---|---|
System.String |
Id
The release's id.
Declaration
[DataMember(Name = "id")]
public readonly int Id
Field Value
Type | Description |
---|---|
System.Int32 |
Name
The release's name.
Declaration
[DataMember(Name = "name")]
public readonly string Name
Field Value
Type | Description |
---|---|
System.String |
Size
The release's size.
Declaration
[DataMember(Name = "size")]
public readonly int Size
Field Value
Type | Description |
---|---|
System.Int32 |
Url
The release's URL.
Declaration
[DataMember(Name = "url")]
public readonly string Url
Field Value
Type | Description |
---|---|
System.String |