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

com.azure.resourcemanager.botservice.models.OperationResultStatus Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 1.0.0-beta.6
Show 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 com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for OperationResultStatus. */
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 or finds a OperationResultStatus from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding OperationResultStatus.
     */
    @JsonCreator
    public static OperationResultStatus fromString(String name) {
        return fromString(name, OperationResultStatus.class);
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy