1+ package org .graylog .plugins .quickvaluesplus ;
2+
3+ import com .fasterxml .jackson .annotation .JsonAutoDetect ;
4+ import com .fasterxml .jackson .annotation .JsonCreator ;
5+ import com .fasterxml .jackson .annotation .JsonIgnoreProperties ;
6+ import com .fasterxml .jackson .annotation .JsonProperty ;
7+ import com .google .auto .value .AutoValue ;
8+
9+ @ JsonAutoDetect
10+ @ JsonIgnoreProperties (ignoreUnknown = true )
11+ @ AutoValue
12+ public abstract class QuickValuesPlusPluginConfiguration4_0 {
13+
14+ @ JsonProperty ("table_size" )
15+ public abstract Number tableSize ();
16+
17+ @ JsonProperty ("top_values" )
18+ public abstract Number topValues ();
19+
20+ @ JsonProperty ("sort_order" )
21+ public abstract String sortOrder ();
22+
23+ @ JsonProperty ("show_pie_chart" )
24+ public abstract Boolean showPieChart ();
25+
26+ @ JsonProperty ("display_add_to_search_button" )
27+ public abstract Boolean addToSearch ();
28+
29+ @ JsonProperty ("display_remove_from_search_button" )
30+ public abstract Boolean removeFromSearch ();
31+
32+ @ JsonProperty ("display_term_hyperlinks" )
33+ public abstract Boolean termHyperlinks ();
34+
35+ @ JsonProperty ("display_exclude_from_query_button" )
36+ public abstract Boolean excludeQuery ();
37+
38+ @ JsonProperty ("display_get_term_reply_in_new_window_button" )
39+ public abstract Boolean termNewWindow ();
40+
41+ @ JsonProperty ("version" )
42+ public abstract String version ();
43+
44+ @ JsonCreator
45+ public static QuickValuesPlusPluginConfiguration4_0 create (@ JsonProperty ("table_size" ) Number tableSize ,
46+ @ JsonProperty ("top_values" ) Number topValues ,
47+ @ JsonProperty ("sort_order" ) String sortOrder ,
48+ @ JsonProperty ("show_pie_chart" ) Boolean showPieChart ,
49+ @ JsonProperty ("display_add_to_search_button" ) Boolean addToSearch ,
50+ @ JsonProperty ("display_remove_from_search_button" ) Boolean removeFromSearch ,
51+ @ JsonProperty ("display_term_hyperlinks" ) Boolean termHyperlinks ,
52+ @ JsonProperty ("display_exclude_from_query_button" ) Boolean excludeQuery ,
53+ @ JsonProperty ("display_get_term_reply_in_new_window_button" ) Boolean termNewWindow ,
54+ @ JsonProperty ("version" ) String version ) {
55+ return builder ()
56+ .tableSize (tableSize )
57+ .topValues (topValues )
58+ .sortOrder (sortOrder )
59+ .showPieChart (showPieChart )
60+ .addToSearch (addToSearch )
61+ .removeFromSearch (removeFromSearch )
62+ .termHyperlinks (termHyperlinks )
63+ .excludeQuery (excludeQuery )
64+ .termNewWindow (termNewWindow )
65+ .version (version )
66+ .build ();
67+ }
68+
69+ public static Builder builder () {
70+ return new AutoValue_QuickValuesPlusPluginConfiguration4_0 .Builder ();
71+ }
72+
73+ @ AutoValue .Builder
74+ public static abstract class Builder {
75+ public abstract Builder tableSize (Number tableSize );
76+
77+ public abstract Builder topValues (Number topValues );
78+
79+ public abstract Builder sortOrder (String sortOrder );
80+
81+ public abstract Builder showPieChart (Boolean showPieChart );
82+
83+ public abstract Builder addToSearch (Boolean addToSearch );
84+
85+ public abstract Builder removeFromSearch (Boolean removeFromSearch );
86+
87+ public abstract Builder termHyperlinks (Boolean termHyperlinks );
88+
89+ public abstract Builder excludeQuery (Boolean excludeQuery );
90+
91+ public abstract Builder termNewWindow (Boolean termNewWindow );
92+
93+ public abstract Builder version (String version );
94+
95+ public abstract QuickValuesPlusPluginConfiguration4_0 build ();
96+ }
97+
98+ }
0 commit comments