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.
Generated from 7d2328671276d7a90769184f8cf6d10b968c736f
Revert "Fix Parameter Description for validate resource move (#8524)" This reverts commit cb0a81fefacc56fca338e3a2658a9390b305fa61.
- Loading branch information
SDK Automation
committed
Jun 1, 2020
1 parent
f43374d
commit f11965f
Showing
5 changed files
with
189 additions
and
2 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
...01/src/main/java/com/microsoft/azure/management/resources/v2019_06_01/TenantCategory.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.resources.v2019_06_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** | ||
* Defines values for TenantCategory. | ||
*/ | ||
public enum TenantCategory { | ||
/** Enum value Home. */ | ||
HOME("Home"), | ||
|
||
/** Enum value ProjectedBy. */ | ||
PROJECTED_BY("ProjectedBy"), | ||
|
||
/** Enum value ManagedBy. */ | ||
MANAGED_BY("ManagedBy"); | ||
|
||
/** The actual serialized value for a TenantCategory instance. */ | ||
private String value; | ||
|
||
TenantCategory(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Parses a serialized value to a TenantCategory instance. | ||
* | ||
* @param value the serialized value to parse. | ||
* @return the parsed TenantCategory object, or null if unable to parse. | ||
*/ | ||
@JsonCreator | ||
public static TenantCategory fromString(String value) { | ||
TenantCategory[] items = TenantCategory.values(); | ||
for (TenantCategory item : items) { | ||
if (item.toString().equalsIgnoreCase(value)) { | ||
return item; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@JsonValue | ||
@Override | ||
public String toString() { | ||
return this.value; | ||
} | ||
} |
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