File tree Expand file tree Collapse file tree 3 files changed +34
-14
lines changed
specification/query_ruleset/list Expand file tree Collapse file tree 3 files changed +34
-14
lines changed Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
20
- import { integer , long } from '@_types/Numeric'
21
- import { Id } from '@_types/common '
20
+ import { long } from '@_types/Numeric'
21
+ import { QueryRulesetListItem } from './types '
22
22
23
23
export class Response {
24
24
body : {
25
25
count : long
26
26
results : QueryRulesetListItem [ ]
27
27
}
28
28
}
29
-
30
- export class QueryRulesetListItem {
31
- /**
32
- * Ruleset unique identifier
33
- */
34
- ruleset_id : Id
35
- /**
36
- * The number of rules associated with this ruleset
37
- */
38
- rules_count : integer
39
- }
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Licensed to Elasticsearch B.V. under one or more contributor
3
+ * license agreements. See the NOTICE file distributed with
4
+ * this work for additional information regarding copyright
5
+ * ownership. Elasticsearch B.V. licenses this file to you under
6
+ * the Apache License, Version 2.0 (the "License"); you may
7
+ * not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing,
13
+ * software distributed under the License is distributed on an
14
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ * KIND, either express or implied. See the License for the
16
+ * specific language governing permissions and limitations
17
+ * under the License.
18
+ */
19
+ import { integer } from '@_types/Numeric'
20
+ import { Id } from '@_types/common'
21
+
22
+ export class QueryRulesetListItem {
23
+ /**
24
+ * Ruleset unique identifier
25
+ */
26
+ ruleset_id : Id
27
+ /**
28
+ * The number of rules associated with this ruleset
29
+ */
30
+ rules_count : integer
31
+ }
You can’t perform that action at this time.
0 commit comments