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

package com.azure.resourcemanager.appcomplianceautomation.models;

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

/** Indicates the download type. */
public final class DownloadType extends ExpandableStringEnum<DownloadType> {
    /** Static value ComplianceReport for DownloadType. */
    public static final DownloadType COMPLIANCE_REPORT = fromString("ComplianceReport");

    /** Static value CompliancePdfReport for DownloadType. */
    public static final DownloadType COMPLIANCE_PDF_REPORT = fromString("CompliancePdfReport");

    /** Static value ComplianceDetailedPdfReport for DownloadType. */
    public static final DownloadType COMPLIANCE_DETAILED_PDF_REPORT = fromString("ComplianceDetailedPdfReport");

    /** Static value ResourceList for DownloadType. */
    public static final DownloadType RESOURCE_LIST = fromString("ResourceList");

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

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