com.yahoo.athenz.zts.AssertionEffect Maven / Gradle / Ivy
The newest version!
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zts;
import com.yahoo.rdl.*;
//
// AssertionEffect - Every assertion can have the effect of ALLOW or DENY.
//
public enum AssertionEffect {
ALLOW,
DENY;
public static AssertionEffect fromString(String v) {
for (AssertionEffect e : values()) {
if (e.toString().equals(v)) {
return e;
}
}
throw new IllegalArgumentException("Invalid string representation for AssertionEffect: " + v);
}
}