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 14311 in Azure/azure-rest-api-specs
Merge 0b016ccb70c70df04f6f0fc194626c805f393d29 into 99e258538f847ce188e754086c7a38864f26fab0
- Loading branch information
SDKAuto
committed
May 13, 2021
1 parent
d389bd0
commit aa42ec6
Showing
13 changed files
with
96 additions
and
18 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
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
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
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
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
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
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
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
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
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
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
37 changes: 37 additions & 0 deletions
37
...anager-iotcentral/src/main/java/com/azure/resourcemanager/iotcentral/models/AppState.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,37 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.resourcemanager.iotcentral.models; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for AppState. */ | ||
public final class AppState extends ExpandableStringEnum<AppState> { | ||
/** Static value created for AppState. */ | ||
public static final AppState CREATED = fromString("created"); | ||
|
||
/** Static value deleted for AppState. */ | ||
public static final AppState DELETED = fromString("deleted"); | ||
|
||
/** Static value suspended for AppState. */ | ||
public static final AppState SUSPENDED = fromString("suspended"); | ||
|
||
/** | ||
* Creates or finds a AppState from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding AppState. | ||
*/ | ||
@JsonCreator | ||
public static AppState fromString(String name) { | ||
return fromString(name, AppState.class); | ||
} | ||
|
||
/** @return known AppState values. */ | ||
public static Collection<AppState> values() { | ||
return values(AppState.class); | ||
} | ||
} |
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