GitHubReleaseAsset Class

Summary

Provides information about a Release asset (a file uploaded as part of a release).
Assembly
Cake.GitHub.dll
Namespace
Cake.GitHub
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["GitHubReleaseAsset"] class Type type-node

Syntax

public sealed class GitHubReleaseAsset

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
BrowserDownloadUrl string
Gets the asset's download url.
ContentType string
Gets the asset's content type.
Id int
Gets the asset's id.
Name string
Gets the asset's file name.
Size long
Gets the asset's size in bytes.

Extension Methods

Name Value Summary
Dump<GitHubReleaseAsset>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitHubReleaseAsset>(GitHubReleaseAsset[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitHubReleaseAsset>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitHubReleaseAsset>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GitHubReleaseAsset>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GitHubReleaseAsset>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin