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

package com.azure.maps.render.models;

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

/** Defines values for RasterTileFormat. */
public final class RasterTileFormat extends ExpandableStringEnum<RasterTileFormat> {
    /** Static value png for RasterTileFormat. */
    public static final RasterTileFormat PNG = fromString("png");

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

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