You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The page to start paginating from. If `page` is not specified, the argument defaults to the first page.
37
+
pubpage:Option<i32>,
38
+
/// The number of rules to return per page. If `per_page` is not specified, the argument defaults to 100.
39
+
pubper_page:Option<i32>,
40
+
/// String for sort order, composed of field and sort order separated by a colon, for example `name:asc`. Supported sort directions: `asc`, `desc`. Supported fields: `name`, `created_at`.
41
+
pubsort:Option<String>,
42
+
/// JSON-encoded filter object. Supported keys:
43
+
/// * `text`: Free-text query matched against rule name, tags, and recipients.
44
+
/// * `tags`: Array of strings. Return rules that have any of these tags.
45
+
/// * `recipients`: Array of strings. Return rules that have any of these recipients.
46
+
pubfilters:Option<String>,
36
47
/// Comma-separated list of resource paths for related resources to include in the response. Supported resource
37
48
/// path is `created_by`.
38
49
pubinclude:Option<String>,
39
50
}
40
51
41
52
implGetMonitorNotificationRulesOptionalParams{
53
+
/// The page to start paginating from. If `page` is not specified, the argument defaults to the first page.
54
+
pubfnpage(mutself,value:i32) -> Self{
55
+
self.page = Some(value);
56
+
self
57
+
}
58
+
/// The number of rules to return per page. If `per_page` is not specified, the argument defaults to 100.
59
+
pubfnper_page(mutself,value:i32) -> Self{
60
+
self.per_page = Some(value);
61
+
self
62
+
}
63
+
/// String for sort order, composed of field and sort order separated by a colon, for example `name:asc`. Supported sort directions: `asc`, `desc`. Supported fields: `name`, `created_at`.
64
+
pubfnsort(mutself,value:String) -> Self{
65
+
self.sort = Some(value);
66
+
self
67
+
}
68
+
/// JSON-encoded filter object. Supported keys:
69
+
/// * `text`: Free-text query matched against rule name, tags, and recipients.
70
+
/// * `tags`: Array of strings. Return rules that have any of these tags.
71
+
/// * `recipients`: Array of strings. Return rules that have any of these recipients.
72
+
pubfnfilters(mutself,value:String) -> Self{
73
+
self.filters = Some(value);
74
+
self
75
+
}
42
76
/// Comma-separated list of resource paths for related resources to include in the response. Supported resource
43
77
/// path is `created_by`.
44
78
pubfninclude(mutself,value:String) -> Self{
@@ -1294,6 +1328,10 @@ impl MonitorsAPI {
1294
1328
let operation_id = "v2.get_monitor_notification_rules";
0 commit comments