forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 11184 in Azure/azure-rest-api-specs
Merge 0080e80b27157495ec138fefa3d5d8f47ea01ee5 into 284c87424fb46c892448a2644343cddc244f759c
- Loading branch information
SDKAuto
committed
Nov 11, 2020
1 parent
69e4a5d
commit bbb054e
Showing
22 changed files
with
5,193 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
...6_01/src/main/java/com/microsoft/azure/management/compute/v2020_06_01/ExecutionState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
/** | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
*/ | ||
|
||
package com.microsoft.azure.management.compute.v2020_06_01; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for ExecutionState. | ||
*/ | ||
public final class ExecutionState extends ExpandableStringEnum<ExecutionState> { | ||
/** Static value Unknown for ExecutionState. */ | ||
public static final ExecutionState UNKNOWN = fromString("Unknown"); | ||
|
||
/** Static value Pending for ExecutionState. */ | ||
public static final ExecutionState PENDING = fromString("Pending"); | ||
|
||
/** Static value Running for ExecutionState. */ | ||
public static final ExecutionState RUNNING = fromString("Running"); | ||
|
||
/** Static value Failed for ExecutionState. */ | ||
public static final ExecutionState FAILED = fromString("Failed"); | ||
|
||
/** Static value Succeeded for ExecutionState. */ | ||
public static final ExecutionState SUCCEEDED = fromString("Succeeded"); | ||
|
||
/** Static value TimedOut for ExecutionState. */ | ||
public static final ExecutionState TIMED_OUT = fromString("TimedOut"); | ||
|
||
/** Static value Canceled for ExecutionState. */ | ||
public static final ExecutionState CANCELED = fromString("Canceled"); | ||
|
||
/** | ||
* Creates or finds a ExecutionState from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding ExecutionState | ||
*/ | ||
@JsonCreator | ||
public static ExecutionState fromString(String name) { | ||
return fromString(name, ExecutionState.class); | ||
} | ||
|
||
/** | ||
* @return known ExecutionState values | ||
*/ | ||
public static Collection<ExecutionState> values() { | ||
return values(ExecutionState.class); | ||
} | ||
} |
Oops, something went wrong.