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 8a9920dcd2e71224e6d6d408280d8e4e0dd4bce3 into 69ce32ccff33bd1950e705f51eccff5e77dcc1ce
- Loading branch information
SDKAuto
committed
Nov 19, 2020
1 parent
e63c3e1
commit 60a8c38
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.