public static List <QueryOrgVdcResourcePoolRelationField> Values()
        {
            QueryOrgVdcResourcePoolRelationField        poolRelationField     = new QueryOrgVdcResourcePoolRelationField();
            List <QueryOrgVdcResourcePoolRelationField> poolRelationFieldList = new List <QueryOrgVdcResourcePoolRelationField>();

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