public Austin.Linode.ConfigIdResponse Linode_Config_Update(
int ConfigID,
string Comments = null,
bool? devtmpfs_automount = null,
string DiskList = null,
bool? helper_depmod = null,
bool? helper_disableUpdateDB = null,
bool? helper_distro = null,
bool? helper_network = null,
bool? helper_xen = null,
int? KernelID = null,
string Label = null,
int? LinodeID = null,
int? RAMLimit = null,
string RootDeviceCustom = null,
int? RootDeviceNum = null,
bool? RootDeviceRO = null,
string RunLevel = null,
string virt_mode = null)
{
var myParams = new Dictionary<string, string>();
myParams.Add("ConfigID", ConfigID.ToString(CultureInfo.InvariantCulture));
if (Comments != null)
myParams.Add("Comments", Comments);
if (devtmpfs_automount != null)
myParams.Add("devtmpfs_automount", devtmpfs_automount.Value ? "true" : "false");
if (DiskList != null)
myParams.Add("DiskList", DiskList);
if (helper_depmod != null)
myParams.Add("helper_depmod", helper_depmod.Value ? "true" : "false");
if (helper_disableUpdateDB != null)
myParams.Add("helper_disableUpdateDB", helper_disableUpdateDB.Value ? "true" : "false");
if (helper_distro != null)
myParams.Add("helper_distro", helper_distro.Value ? "true" : "false");
if (helper_network != null)
myParams.Add("helper_network", helper_network.Value ? "true" : "false");
if (helper_xen != null)
myParams.Add("helper_xen", helper_xen.Value ? "true" : "false");
if (KernelID != null)
myParams.Add("KernelID", KernelID.Value.ToString(CultureInfo.InvariantCulture));
if (Label != null)
myParams.Add("Label", Label);
if (LinodeID != null)
myParams.Add("LinodeID", LinodeID.Value.ToString(CultureInfo.InvariantCulture));
if (RAMLimit != null)
myParams.Add("RAMLimit", RAMLimit.Value.ToString(CultureInfo.InvariantCulture));
if (RootDeviceCustom != null)
myParams.Add("RootDeviceCustom", RootDeviceCustom);
if (RootDeviceNum != null)
myParams.Add("RootDeviceNum", RootDeviceNum.Value.ToString(CultureInfo.InvariantCulture));
if (RootDeviceRO != null)
myParams.Add("RootDeviceRO", RootDeviceRO.Value ? "true" : "false");
if (RunLevel != null)
myParams.Add("RunLevel", RunLevel);
if (virt_mode != null)
myParams.Add("virt_mode", virt_mode);
return GetResponse<Austin.Linode.ConfigIdResponse>("linode.config.update", myParams);
}