Search Results for

    Show / Hide Table of Contents

    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 Source

    ReleaseAsset(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 Source

    BrowserDownloadUrl

    The release's download URL.

    Declaration
    [DataMember(Name = "browser_download_url")]
    public readonly string BrowserDownloadUrl
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    Id

    The release's id.

    Declaration
    [DataMember(Name = "id")]
    public readonly int Id
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Name

    The release's name.

    Declaration
    [DataMember(Name = "name")]
    public readonly string Name
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    Size

    The release's size.

    Declaration
    [DataMember(Name = "size")]
    public readonly int Size
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Url

    The release's URL.

    Declaration
    [DataMember(Name = "url")]
    public readonly string Url
    Field Value
    Type Description
    System.String

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX