All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.billing.models.Category Maven / Gradle / Ivy

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

package com.azure.resourcemanager.billing.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * The category of the agreement.
 */
public final class Category extends ExpandableStringEnum {
    /**
     * Static value Other for Category.
     */
    public static final Category OTHER = fromString("Other");

    /**
     * Static value AffiliatePurchaseTerms for Category.
     */
    public static final Category AFFILIATE_PURCHASE_TERMS = fromString("AffiliatePurchaseTerms");

    /**
     * Static value IndirectForGovernmentAgreement for Category.
     */
    public static final Category INDIRECT_FOR_GOVERNMENT_AGREEMENT = fromString("IndirectForGovernmentAgreement");

    /**
     * Static value MicrosoftCustomerAgreement for Category.
     */
    public static final Category MICROSOFT_CUSTOMER_AGREEMENT = fromString("MicrosoftCustomerAgreement");

    /**
     * Static value MicrosoftPartnerAgreement for Category.
     */
    public static final Category MICROSOFT_PARTNER_AGREEMENT = fromString("MicrosoftPartnerAgreement");

    /**
     * Static value UKCloudComputeFramework for Category.
     */
    public static final Category UKCLOUD_COMPUTE_FRAMEWORK = fromString("UKCloudComputeFramework");

    /**
     * Creates a new instance of Category value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public Category() {
    }

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy