public static List <QueryAdminOrgVdcStorageProfileField> Values()
        {
            QueryAdminOrgVdcStorageProfileField        storageProfileField     = new QueryAdminOrgVdcStorageProfileField();
            List <QueryAdminOrgVdcStorageProfileField> storageProfileFieldList = new List <QueryAdminOrgVdcStorageProfileField>();

            foreach (FieldInfo field in storageProfileField.GetType().GetFields())
            {
                storageProfileFieldList.Add((QueryAdminOrgVdcStorageProfileField)field.GetValue((object)storageProfileField));
            }
            return(storageProfileFieldList);
        }
 public static QueryAdminOrgVdcStorageProfileField FromValue(
     string value)
 {
     foreach (QueryAdminOrgVdcStorageProfileField storageProfileField in QueryAdminOrgVdcStorageProfileField.Values())
     {
         if (storageProfileField.Value().Equals(value))
         {
             return(storageProfileField);
         }
     }
     throw new ArgumentException(value.ToString());
 }