alibazlamit commented on this pull request.


> @@ -202,4 +202,20 @@ public static VPNType fromValue(String v) {
          return Enums.getIfPresent(VPNType.class, v).or(UNRECOGNIZED);
       }
    }
+
+   public enum PeriodType {
+      LAST_HOUR, LAST_24H, LAST_7D, LAST_30D, LAST_365D, UNRECOGNIZED;
+
+      public static PeriodType fromValue(String v) {
+         return Enums.getIfPresent(PeriodType.class, v).or(UNRECOGNIZED);
+      }
+   }
+
+   public enum CustomPeriodType {
+      CUSTOM, UNRECOGNIZED;

i intentionally separated them, when you choose CUSTOM you must provide start 
and end date all the other types do not require that, easier for users. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/322

Reply via email to