com.yahoo.athenz.zts.TransportDirection 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.*;
//
// TransportDirection - Copyright The Athenz Authors Licensed under the terms
// of the Apache version 2.0 license. See LICENSE file for terms.
//
public enum TransportDirection {
IN,
OUT;
public static TransportDirection fromString(String v) {
for (TransportDirection e : values()) {
if (e.toString().equals(v)) {
return e;
}
}
throw new IllegalArgumentException("Invalid string representation for TransportDirection: " + v);
}
}