com.azure.resourcemanager.botservice.models.OperationResultStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-botservice Show documentation
Show all versions of azure-resourcemanager-botservice Show documentation
This package contains Microsoft Azure SDK for BotService Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Bot Service is a platform for creating smart conversational agents. Package tag package-2021-03-01.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.botservice.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* The status of the operation being performed.
*/
public final class OperationResultStatus extends ExpandableStringEnum {
/**
* Static value Canceled for OperationResultStatus.
*/
public static final OperationResultStatus CANCELED = fromString("Canceled");
/**
* Static value Succeeded for OperationResultStatus.
*/
public static final OperationResultStatus SUCCEEDED = fromString("Succeeded");
/**
* Static value Failed for OperationResultStatus.
*/
public static final OperationResultStatus FAILED = fromString("Failed");
/**
* Static value Requested for OperationResultStatus.
*/
public static final OperationResultStatus REQUESTED = fromString("Requested");
/**
* Static value Running for OperationResultStatus.
*/
public static final OperationResultStatus RUNNING = fromString("Running");
/**
* Creates a new instance of OperationResultStatus value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public OperationResultStatus() {
}
/**
* Creates or finds a OperationResultStatus from its string representation.
*
* @param name a name to look for.
* @return the corresponding OperationResultStatus.
*/
public static OperationResultStatus fromString(String name) {
return fromString(name, OperationResultStatus.class);
}
/**
* Gets known OperationResultStatus values.
*
* @return known OperationResultStatus values.
*/
public static Collection values() {
return values(OperationResultStatus.class);
}
}