
com.azure.resourcemanager.billing.models.DocumentSource 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 source of the document. ENF for Brazil and DRS for rest of the world.
*/
public final class DocumentSource extends ExpandableStringEnum {
/**
* Static value Other for DocumentSource.
*/
public static final DocumentSource OTHER = fromString("Other");
/**
* Static value DRS for DocumentSource.
*/
public static final DocumentSource DRS = fromString("DRS");
/**
* Static value ENF for DocumentSource.
*/
public static final DocumentSource ENF = fromString("ENF");
/**
* Creates a new instance of DocumentSource value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public DocumentSource() {
}
/**
* Creates or finds a DocumentSource from its string representation.
*
* @param name a name to look for.
* @return the corresponding DocumentSource.
*/
public static DocumentSource fromString(String name) {
return fromString(name, DocumentSource.class);
}
/**
* Gets known DocumentSource values.
*
* @return known DocumentSource values.
*/
public static Collection values() {
return values(DocumentSource.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy