public static enum Storefront.MediaPresentationFormat extends java.lang.Enum<Storefront.MediaPresentationFormat>
| Enum Constant and Description |
|---|
IMAGE
A media image presentation.
|
MODEL_VIEWER
A model viewer presentation.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.MediaPresentationFormat |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.MediaPresentationFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.MediaPresentationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.MediaPresentationFormat IMAGE
public static final Storefront.MediaPresentationFormat MODEL_VIEWER
public static final Storefront.MediaPresentationFormat UNKNOWN_VALUE
public static Storefront.MediaPresentationFormat[] values()
for (Storefront.MediaPresentationFormat c : Storefront.MediaPresentationFormat.values()) System.out.println(c);
public static Storefront.MediaPresentationFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Storefront.MediaPresentationFormat fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.MediaPresentationFormat>