@Generated(value="org.jsonschema2pojo") public enum Connection extends Enum<Connection>
Enum Constant and Description |
---|
BLOCKING |
FOLLOWED_BY |
FOLLOWING |
FOLLOWING_REQUESTED |
MUTING |
NONE |
Modifier and Type | Method and Description |
---|---|
static Connection |
fromValue(String value) |
String |
toString() |
static Connection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Connection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Connection FOLLOWING
public static final Connection FOLLOWING_REQUESTED
public static final Connection FOLLOWED_BY
public static final Connection NONE
public static final Connection BLOCKING
public static final Connection MUTING
public static Connection[] values()
for (Connection c : Connection.values()) System.out.println(c);
public static Connection valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Connection>
public static Connection fromValue(String value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.