@@ -39,6 +39,9 @@ class ChangeWidgetRequest
3939 # Whether to show increase as good.
4040 attr_accessor :increase_good
4141
42+ # The number of items to show.
43+ attr_accessor :limit
44+
4245 # The log query.
4346 attr_accessor :log_query
4447
@@ -87,6 +90,7 @@ def self.attribute_map
8790 :'event_query' => :'event_query' ,
8891 :'formulas' => :'formulas' ,
8992 :'increase_good' => :'increase_good' ,
93+ :'limit' => :'limit' ,
9094 :'log_query' => :'log_query' ,
9195 :'network_query' => :'network_query' ,
9296 :'order_by' => :'order_by' ,
@@ -112,6 +116,7 @@ def self.openapi_types
112116 :'event_query' => :'LogQueryDefinition' ,
113117 :'formulas' => :'Array<WidgetFormula>' ,
114118 :'increase_good' => :'Boolean' ,
119+ :'limit' => :'Integer' ,
115120 :'log_query' => :'LogQueryDefinition' ,
116121 :'network_query' => :'LogQueryDefinition' ,
117122 :'order_by' => :'WidgetOrderBy' ,
@@ -171,6 +176,10 @@ def initialize(attributes = {})
171176 self . increase_good = attributes [ :'increase_good' ]
172177 end
173178
179+ if attributes . key? ( :'limit' )
180+ self . limit = attributes [ :'limit' ]
181+ end
182+
174183 if attributes . key? ( :'log_query' )
175184 self . log_query = attributes [ :'log_query' ]
176185 end
@@ -254,6 +263,7 @@ def ==(o)
254263 event_query == o . event_query &&
255264 formulas == o . formulas &&
256265 increase_good == o . increase_good &&
266+ limit == o . limit &&
257267 log_query == o . log_query &&
258268 network_query == o . network_query &&
259269 order_by == o . order_by &&
@@ -273,7 +283,7 @@ def ==(o)
273283 # @return [Integer] Hash code
274284 # @!visibility private
275285 def hash
276- [ apm_query , change_type , compare_to , event_query , formulas , increase_good , log_query , network_query , order_by , order_dir , process_query , profile_metrics_query , q , queries , response_format , rum_query , security_query , show_present , additional_properties ] . hash
286+ [ apm_query , change_type , compare_to , event_query , formulas , increase_good , limit , log_query , network_query , order_by , order_dir , process_query , profile_metrics_query , q , queries , response_format , rum_query , security_query , show_present , additional_properties ] . hash
277287 end
278288 end
279289end
0 commit comments