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 1944acadc429781a3155a09bb374b36e5a9d5723
- Loading branch information
SDK Automation
committed
Sep 11, 2020
1 parent
9828562
commit 011d954
Showing
86 changed files
with
2,972 additions
and
358 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
34 changes: 34 additions & 0 deletions
34
.../main/java/com/microsoft/azure/management/postgresql/v2017_12_01/AzureEntityResource.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,34 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.microsoft.azure.ProxyResource; | ||
|
||
/** | ||
* The resource model definition for a Azure Resource Manager resource with an | ||
* etag. | ||
*/ | ||
public class AzureEntityResource extends ProxyResource { | ||
/** | ||
* Resource Etag. | ||
*/ | ||
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) | ||
private String etag; | ||
|
||
/** | ||
* Get resource Etag. | ||
* | ||
* @return the etag value | ||
*/ | ||
public String etag() { | ||
return this.etag; | ||
} | ||
|
||
} |
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
47 changes: 47 additions & 0 deletions
47
.../main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ErrorAdditionalInfo.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,47 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The resource management error additional info. | ||
*/ | ||
public class ErrorAdditionalInfo { | ||
/** | ||
* The additional info type. | ||
*/ | ||
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) | ||
private String type; | ||
|
||
/** | ||
* The additional info. | ||
*/ | ||
@JsonProperty(value = "info", access = JsonProperty.Access.WRITE_ONLY) | ||
private Object info; | ||
|
||
/** | ||
* Get the additional info type. | ||
* | ||
* @return the type value | ||
*/ | ||
public String type() { | ||
return this.type; | ||
} | ||
|
||
/** | ||
* Get the additional info. | ||
* | ||
* @return the info value | ||
*/ | ||
public Object info() { | ||
return this.info; | ||
} | ||
|
||
} |
93 changes: 93 additions & 0 deletions
93
...01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/ErrorResponse.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,93 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01; | ||
|
||
import java.util.List; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* The resource management error response. | ||
*/ | ||
public class ErrorResponse { | ||
/** | ||
* The error code. | ||
*/ | ||
@JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) | ||
private String code; | ||
|
||
/** | ||
* The error message. | ||
*/ | ||
@JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) | ||
private String message; | ||
|
||
/** | ||
* The error target. | ||
*/ | ||
@JsonProperty(value = "target", access = JsonProperty.Access.WRITE_ONLY) | ||
private String target; | ||
|
||
/** | ||
* The error details. | ||
*/ | ||
@JsonProperty(value = "details", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<ErrorResponse> details; | ||
|
||
/** | ||
* The error additional info. | ||
*/ | ||
@JsonProperty(value = "additionalInfo", access = JsonProperty.Access.WRITE_ONLY) | ||
private List<ErrorAdditionalInfo> additionalInfo; | ||
|
||
/** | ||
* Get the error code. | ||
* | ||
* @return the code value | ||
*/ | ||
public String code() { | ||
return this.code; | ||
} | ||
|
||
/** | ||
* Get the error message. | ||
* | ||
* @return the message value | ||
*/ | ||
public String message() { | ||
return this.message; | ||
} | ||
|
||
/** | ||
* Get the error target. | ||
* | ||
* @return the target value | ||
*/ | ||
public String target() { | ||
return this.target; | ||
} | ||
|
||
/** | ||
* Get the error details. | ||
* | ||
* @return the details value | ||
*/ | ||
public List<ErrorResponse> details() { | ||
return this.details; | ||
} | ||
|
||
/** | ||
* Get the error additional info. | ||
* | ||
* @return the additionalInfo value | ||
*/ | ||
public List<ErrorAdditionalInfo> additionalInfo() { | ||
return this.additionalInfo; | ||
} | ||
|
||
} |
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
38 changes: 38 additions & 0 deletions
38
..._01/src/main/java/com/microsoft/azure/management/postgresql/v2017_12_01/IdentityType.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,38 @@ | ||
/** | ||
* 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.postgresql.v2017_12_01; | ||
|
||
import java.util.Collection; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.microsoft.rest.ExpandableStringEnum; | ||
|
||
/** | ||
* Defines values for IdentityType. | ||
*/ | ||
public final class IdentityType extends ExpandableStringEnum<IdentityType> { | ||
/** Static value SystemAssigned for IdentityType. */ | ||
public static final IdentityType SYSTEM_ASSIGNED = fromString("SystemAssigned"); | ||
|
||
/** | ||
* Creates or finds a IdentityType from its string representation. | ||
* @param name a name to look for | ||
* @return the corresponding IdentityType | ||
*/ | ||
@JsonCreator | ||
public static IdentityType fromString(String name) { | ||
return fromString(name, IdentityType.class); | ||
} | ||
|
||
/** | ||
* @return known IdentityType values | ||
*/ | ||
public static Collection<IdentityType> values() { | ||
return values(IdentityType.class); | ||
} | ||
} |
Oops, something went wrong.