@Generated(value="org.jsonschema2pojo") public static enum Media.Type extends Enum<Media.Type>
Modifier and Type | Method and Description |
---|---|
static Media.Type |
fromValue(String value) |
String |
toString() |
static Media.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Media.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Media.Type IMAGE
public static final Media.Type VIDEO
public static Media.Type[] values()
for (Media.Type c : Media.Type.values()) System.out.println(c);
public static Media.Type 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<Media.Type>
public static Media.Type fromValue(String value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.