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 11637 in Azure/azure-rest-api-specs
Merge 69a0233534b09406e10057292e14ae7c1e424bda into 5dd83515fbfd160197f06703f626b1d96ac4d3f4
- Loading branch information
SDKAuto
committed
Nov 12, 2020
1 parent
0f17ee1
commit 5403deb
Showing
35 changed files
with
1,744 additions
and
254 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
47 changes: 47 additions & 0 deletions
47
...c/main/java/com/microsoft/azure/management/resources/v2018_02_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.resources.v2018_02_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/resources/v2018_02_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.resources.v2018_02_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
Oops, something went wrong.