package com.l7tech.gateway.pm2.graphql.beans.entity;

import io.leangen.graphql.annotations.GraphQLQuery;
import java.util.List;

public class CustomPanelDTO {
   private final boolean a;
   private final String b;
   private final String c;
   private final List<CustomPropertyDTO> d;

   public CustomPanelDTO(boolean var1, String var2, String var3, List<CustomPropertyDTO> var4) {
      this.a = var1;
      this.b = var2;
      this.c = var3;
      this.d = var4;
   }

   @GraphQLQuery(name = "enabled", description = "Whether a custom panel exists for this protocol")
   public boolean isEnabled() {
      return this.a;
   }

   @GraphQLQuery(name = "panelType", description = "Type identifier for the custom panel (e.g., 'http', 'http2', 'ftp')")
   public String getPanelType() {
      return this.b;
   }

   @GraphQLQuery(name = "panelClassname", description = "Fully qualified classname of the custom panel")
   public String getPanelClassname() {
      return this.c;
   }

   @GraphQLQuery(name = "properties", description = "List of custom properties managed by this panel")
   public List<CustomPropertyDTO> getProperties() {
      return this.d;
   }
}
