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

package com.azure.media.videoanalyzer.edge.models;

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

/** Defines values for SpatialAnalysisOperationFocus. */
public final class SpatialAnalysisOperationFocus extends ExpandableStringEnum<SpatialAnalysisOperationFocus> {
    /** Static value center for SpatialAnalysisOperationFocus. */
    public static final SpatialAnalysisOperationFocus CENTER = fromString("center");

    /** Static value bottomCenter for SpatialAnalysisOperationFocus. */
    public static final SpatialAnalysisOperationFocus BOTTOM_CENTER = fromString("bottomCenter");

    /** Static value footprint for SpatialAnalysisOperationFocus. */
    public static final SpatialAnalysisOperationFocus FOOTPRINT = fromString("footprint");

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

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