/// <summary>
        /// Creates a new cabinet object of the "typeName" specified with the needed self link to allow the
        /// new object to be created.
        /// </summary>
        /// <param name="name"></param>
        /// <param name="objectType"></param>
        /// <returns>Cabinet</returns>
        public Cabinet NewCabinetByType(string name, string objectType)
        {
            Cabinet obj = new Cabinet();

            obj.Client = Client;
            obj.Name   = "cabinet";
            Link cabinets = new Link();

            cabinets.Href = LinkRelations.FindLink(Links, "cabinets").Href;
            cabinets.Rel  = "self";
            obj.Links.Add(cabinets);
            obj.Type = objectType;
            obj.SetPropertyValue("object_name", name);
            obj.SetPropertyValue("r_object_type", objectType);
            obj.Save();
            return(obj.Fetch <Cabinet>());
        }