ResultLimitDto.java

  1. package no.nav.nom.graphql.model;

  2. @javax.annotation.processing.Generated(
  3.     value = "com.kobylynskyi.graphql.codegen.GraphQLCodegen",
  4.     date = "2025-01-10T14:34:08+0000"
  5. )
  6. public enum ResultLimitDto {

  7.     LIMIT_10("LIMIT_10"),
  8.     LIMIT_20("LIMIT_20"),
  9.     LIMIT_30("LIMIT_30"),
  10.     LIMIT_50("LIMIT_50"),
  11.     LIMIT_100("LIMIT_100"),
  12.     LIMIT_200("LIMIT_200"),
  13.     UNLIMITED("UNLIMITED");

  14.     private final String graphqlName;

  15.     private ResultLimitDto(String graphqlName) {
  16.         this.graphqlName = graphqlName;
  17.     }

  18.     @Override
  19.     public String toString() {
  20.         return this.graphqlName;
  21.     }

  22. }