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

package com.azure.resourcemanager.automation.models;

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

/** Defines values for CountType. */
public final class CountType extends ExpandableStringEnum<CountType> {
    /** Static value status for CountType. */
    public static final CountType STATUS = fromString("status");

    /** Static value nodeconfiguration for CountType. */
    public static final CountType NODECONFIGURATION = fromString("nodeconfiguration");

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

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