Austin.Linode.LinodeClient.Image_Update C# (CSharp) Method

Image_Update() public method

Update an Image record.
possible errors: NOTFOUND,VALIDATION
public Image_Update ( int ImageID, string description = null, string label = null ) : void
ImageID int The ID of the Image to modify.
description string An optional description of the Image.
label string The label of the Image.
return void
        public void Image_Update(
                int ImageID,
                string description = null,
                string label = null)
        {
            var myParams = new Dictionary<string, string>();
            myParams.Add("ImageID", ImageID.ToString(CultureInfo.InvariantCulture));
            if (description != null)
                myParams.Add("description", description);
            if (label != null)
                myParams.Add("label", label);
            GetResponse<object>("image.update", myParams);
        }