We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 002234c commit a2d700cCopy full SHA for a2d700c
src/main/java/test.java
@@ -0,0 +1,21 @@
1
+import com.twilio.Twilio;
2
+import com.twilio.base.ResourceSet;
3
+import com.twilio.rest.monitor.v1.Alert;
4
+
5
+public class test {
6
+ public static void main(String[] args) {
7
+ Twilio.init("AC8d360ef83f8fe480d2793bd631d8bd23f", "ad27baa92de98ce21a873d606fd36c");
8
+ ResourceSet<Alert> alerts = Alert.reader().limit(5).read();
9
10
+ System.out.println("Before first loop:");
11
+ for(Alert record : alerts) {
12
+ System.out.println(" First loop - " + record.getSid());
13
+ }
14
15
+ System.out.println("Before second loop:");
16
17
+ System.out.println(" Second loop - " + record.getSid());
18
19
+ System.out.println("After second loop");
20
21
+}
0 commit comments