-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #962 from jianghaolu/javavnext
Move models into same folders as operations in Azure.Java
- Loading branch information
Showing
155 changed files
with
338 additions
and
897 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
89 changes: 89 additions & 0 deletions
89
...ests/src/main/java/fixtures/azureparametergrouping/implementation/api/ErrorException.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,89 @@ | ||
/** | ||
* 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. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
package fixtures.azureparametergrouping.implementation.api; | ||
|
||
import com.microsoft.rest.RestException; | ||
import retrofit2.Response; | ||
|
||
/** | ||
* Exception thrown for an invalid response with Error information. | ||
*/ | ||
public class ErrorException extends RestException { | ||
/** | ||
* Information about the associated HTTP response. | ||
*/ | ||
private Response response; | ||
/** | ||
* The actual response body. | ||
*/ | ||
private Error body; | ||
/** | ||
* Initializes a new instance of the ErrorException class. | ||
*/ | ||
public ErrorException() { } | ||
/** | ||
* Initializes a new instance of the ErrorException class. | ||
* | ||
* @param message The exception message. | ||
*/ | ||
public ErrorException(final String message) { | ||
super(message); | ||
} | ||
/** | ||
* Initializes a new instance of the ErrorException class. | ||
* | ||
* @param message the exception message | ||
* @param cause exception that caused this exception to occur | ||
*/ | ||
public ErrorException(final String message, final Throwable cause) { | ||
super(message, cause); | ||
} | ||
/** | ||
* Initializes a new instance of the ErrorException class. | ||
* | ||
* @param cause exception that caused this exception to occur | ||
*/ | ||
public ErrorException(final Throwable cause) { | ||
super(cause); | ||
} | ||
/** | ||
* Gets information about the associated HTTP response. | ||
* | ||
* @return the HTTP response | ||
*/ | ||
public Response getResponse() { | ||
return response; | ||
} | ||
/** | ||
* Gets the HTTP response body. | ||
* | ||
* @return the response body | ||
*/ | ||
public Error getBody() { | ||
return body; | ||
} | ||
/** | ||
* Sets the HTTP response. | ||
* | ||
* @param response the HTTP response | ||
*/ | ||
public void setResponse(Response response) { | ||
this.response = response; | ||
} | ||
/** | ||
* Sets the HTTP response body. | ||
* | ||
* @param body the response body | ||
*/ | ||
public void setBody(Error body) { | ||
this.body = body; | ||
} | ||
} |
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
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
89 changes: 0 additions & 89 deletions
89
...c/main/java/fixtures/azureparametergrouping/models/implementation/api/ErrorException.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...src/main/java/fixtures/azureparametergrouping/models/implementation/api/package-info.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...sts/src/main/java/fixtures/azureparametergrouping/models/implementation/package-info.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...a/Azure.Java.Tests/src/main/java/fixtures/azureparametergrouping/models/package-info.java
This file was deleted.
Oops, something went wrong.
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
13 changes: 0 additions & 13 deletions
13
...Java.Tests/src/main/java/fixtures/azurereport/models/implementation/api/package-info.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...ure.Java.Tests/src/main/java/fixtures/azurereport/models/implementation/package-info.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...erators/Java/Azure.Java.Tests/src/main/java/fixtures/azurereport/models/package-info.java
This file was deleted.
Oops, something went wrong.
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
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.