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 02c968af913f8d5fd55aec9f1aca209b782853d4
- Loading branch information
SDK Automation
committed
Nov 9, 2020
1 parent
f122f4c
commit 5291e60
Showing
86 changed files
with
2,976 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
35 changes: 35 additions & 0 deletions
35
.../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,35 @@ | ||
/** | ||
* 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; | ||
|
||
/** | ||
* Entity Resource. | ||
* The resource model definition for an 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; | ||
} | ||
|
||
} |
96 changes: 96 additions & 0 deletions
96
...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,96 @@ | ||
/** | ||
* 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; | ||
|
||
/** | ||
* Error Response. | ||
* Common error response for all Azure Resource Manager APIs to return error | ||
* details for failed operations. (This also follows the OData error response | ||
* format.). | ||
*/ | ||
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.