RunQueryOrder.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;
/** Defines values for RunQueryOrder. */
public final class RunQueryOrder extends ExpandableStringEnum<RunQueryOrder> {
/** Static value ASC for RunQueryOrder. */
public static final RunQueryOrder ASC = fromString("ASC");
/** Static value DESC for RunQueryOrder. */
public static final RunQueryOrder DESC = fromString("DESC");
/**
* Creates or finds a RunQueryOrder from its string representation.
*
* @param name a name to look for.
* @return the corresponding RunQueryOrder.
*/
@JsonCreator
public static RunQueryOrder fromString(String name) {
return fromString(name, RunQueryOrder.class);
}
/** @return known RunQueryOrder values. */
public static Collection<RunQueryOrder> values() {
return values(RunQueryOrder.class);
}
}