// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.edgeorder.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for ImageType. */
public final class ImageType extends ExpandableStringEnum<ImageType> {
    /** Static value MainImage for ImageType. */
    public static final ImageType MAIN_IMAGE = fromString("MainImage");

    /** Static value BulletImage for ImageType. */
    public static final ImageType BULLET_IMAGE = fromString("BulletImage");

    /** Static value GenericImage for ImageType. */
    public static final ImageType GENERIC_IMAGE = fromString("GenericImage");

    /**
     * Creates or finds a ImageType from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding ImageType.
     */
    @JsonCreator
    public static ImageType fromString(String name) {
        return fromString(name, ImageType.class);
    }

    /** @return known ImageType values. */
    public static Collection<ImageType> values() {
        return values(ImageType.class);
    }
}
