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 86be24b3cd40d55ff18c1b8f98ca36463f5e5ff7
Mark response body properties as readOnly;remove template property
- Loading branch information
SDK Automation
committed
Feb 14, 2020
1 parent
ea39c14
commit 18f133a
Showing
27 changed files
with
492 additions
and
71 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/v2016_09_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.v2016_09_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/resources/v2016_09_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.resources.v2016_09_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
Oops, something went wrong.