NetlfiyDeploySettings Class

Summary

Contains settings used by NetlifyDeployRunner.
Assembly
Cake.Netlify.dll
Namespace
Cake.Netlify.Deploy
Base Types
graph BT Type-->Base0["NetlifySettings"] click Base0 "/api/Cake.Netlify/NetlifySettings" Base0-->Base1["ToolSettings"] Type["NetlfiyDeploySettings"] class Type type-node

Syntax

public class NetlfiyDeploySettings : NetlifySettings

Constructors

Properties

Name Value Summary
Draft bool
Gets or sets if to deploy as a draft without publishing.
Environment string
Gets or sets the environment to deploy.
SiteId string
Gets or sets the site id to deploy.
Token string
Gets or sets the Netlify API Token.

Extension Methods

Name Value Summary
Dump<NetlfiyDeploySettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NetlfiyDeploySettings>(NetlfiyDeploySettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NetlfiyDeploySettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NetlfiyDeploySettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<NetlfiyDeploySettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NetlfiyDeploySettings>(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