GObject.EnumClass

const GObject = imports.gi.GObject;

let enumClass = new GObject.EnumClass({
    minimum: value
    maximum: value
    n_values: value
});
  

The class of an enumeration type holds information about its possible values.