public static QueryOrgVdcGatewayField FromValue(string value)
 {
     foreach (QueryOrgVdcGatewayField orgVdcGatewayField in QueryOrgVdcGatewayField.Values())
     {
         if (orgVdcGatewayField.Value().Equals(value))
         {
             return(orgVdcGatewayField);
         }
     }
     throw new ArgumentException(value.ToString());
 }
        public static List <QueryOrgVdcGatewayField> Values()
        {
            QueryOrgVdcGatewayField        orgVdcGatewayField     = new QueryOrgVdcGatewayField();
            List <QueryOrgVdcGatewayField> orgVdcGatewayFieldList = new List <QueryOrgVdcGatewayField>();

            foreach (FieldInfo field in orgVdcGatewayField.GetType().GetFields())
            {
                orgVdcGatewayFieldList.Add((QueryOrgVdcGatewayField)field.GetValue((object)orgVdcGatewayField));
            }
            return(orgVdcGatewayFieldList);
        }