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

package com.azure.resourcemanager.appservice.models;

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

/** Defines values for DomainPatchResourcePropertiesDomainNotRenewableReasonsItem. */
public final class DomainPatchResourcePropertiesDomainNotRenewableReasonsItem
    extends ExpandableStringEnum<DomainPatchResourcePropertiesDomainNotRenewableReasonsItem> {
    /**
     * Static value RegistrationStatusNotSupportedForRenewal for
     * DomainPatchResourcePropertiesDomainNotRenewableReasonsItem.
     */
    public static final DomainPatchResourcePropertiesDomainNotRenewableReasonsItem
        REGISTRATION_STATUS_NOT_SUPPORTED_FOR_RENEWAL = fromString("RegistrationStatusNotSupportedForRenewal");

    /** Static value ExpirationNotInRenewalTimeRange for DomainPatchResourcePropertiesDomainNotRenewableReasonsItem. */
    public static final DomainPatchResourcePropertiesDomainNotRenewableReasonsItem
        EXPIRATION_NOT_IN_RENEWAL_TIME_RANGE = fromString("ExpirationNotInRenewalTimeRange");

    /** Static value SubscriptionNotActive for DomainPatchResourcePropertiesDomainNotRenewableReasonsItem. */
    public static final DomainPatchResourcePropertiesDomainNotRenewableReasonsItem SUBSCRIPTION_NOT_ACTIVE =
        fromString("SubscriptionNotActive");

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

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