-
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.
- Loading branch information
1 parent
0e823eb
commit 2b0bcee
Showing
87 changed files
with
7,045 additions
and
2 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
...re.Java.Tests/src/main/java/fixtures/azureparametergrouping/implementation/api/Error.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,68 @@ | ||
/** | ||
* 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; | ||
|
||
|
||
/** | ||
* The Error model. | ||
*/ | ||
public class Error { | ||
/** | ||
* The status property. | ||
*/ | ||
private Integer status; | ||
|
||
/** | ||
* The message property. | ||
*/ | ||
private String message; | ||
|
||
/** | ||
* Get the status value. | ||
* | ||
* @return the status value | ||
*/ | ||
public Integer status() { | ||
return this.status; | ||
} | ||
|
||
/** | ||
* Set the status value. | ||
* | ||
* @param status the status value to set | ||
* @return the Error object itself. | ||
*/ | ||
public Error setStatus(Integer status) { | ||
this.status = status; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the message value. | ||
* | ||
* @return the message value | ||
*/ | ||
public String message() { | ||
return this.message; | ||
} | ||
|
||
/** | ||
* Set the message value. | ||
* | ||
* @param message the message value to set | ||
* @return the Error object itself. | ||
*/ | ||
public Error setMessage(String message) { | ||
this.message = message; | ||
return this; | ||
} | ||
|
||
} |
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; | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...ain/java/fixtures/azureparametergrouping/implementation/api/FirstParameterGroupInner.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,71 @@ | ||
/** | ||
* 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.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Additional parameters for the postMultiParamGroups operation. | ||
*/ | ||
public class FirstParameterGroupInner { | ||
/** | ||
* The headerOne property. | ||
*/ | ||
@JsonProperty(value = "") | ||
private String headerOne; | ||
|
||
/** | ||
* Query parameter with default. | ||
*/ | ||
@JsonProperty(value = "") | ||
private Integer queryOne; | ||
|
||
/** | ||
* Get the headerOne value. | ||
* | ||
* @return the headerOne value | ||
*/ | ||
public String headerOne() { | ||
return this.headerOne; | ||
} | ||
|
||
/** | ||
* Set the headerOne value. | ||
* | ||
* @param headerOne the headerOne value to set | ||
* @return the FirstParameterGroupInner object itself. | ||
*/ | ||
public FirstParameterGroupInner setHeaderOne(String headerOne) { | ||
this.headerOne = headerOne; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the queryOne value. | ||
* | ||
* @return the queryOne value | ||
*/ | ||
public Integer queryOne() { | ||
return this.queryOne; | ||
} | ||
|
||
/** | ||
* Set the queryOne value. | ||
* | ||
* @param queryOne the queryOne value to set | ||
* @return the FirstParameterGroupInner object itself. | ||
*/ | ||
public FirstParameterGroupInner setQueryOne(Integer queryOne) { | ||
this.queryOne = queryOne; | ||
return this; | ||
} | ||
|
||
} |
71 changes: 71 additions & 0 deletions
71
...ouping/implementation/api/ParameterGroupingPostMultiParamGroupsSecondParamGroupInner.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,71 @@ | ||
/** | ||
* 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.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Additional parameters for the postMultiParamGroups operation. | ||
*/ | ||
public class ParameterGroupingPostMultiParamGroupsSecondParamGroupInner { | ||
/** | ||
* The headerTwo property. | ||
*/ | ||
@JsonProperty(value = "") | ||
private String headerTwo; | ||
|
||
/** | ||
* Query parameter with default. | ||
*/ | ||
@JsonProperty(value = "") | ||
private Integer queryTwo; | ||
|
||
/** | ||
* Get the headerTwo value. | ||
* | ||
* @return the headerTwo value | ||
*/ | ||
public String headerTwo() { | ||
return this.headerTwo; | ||
} | ||
|
||
/** | ||
* Set the headerTwo value. | ||
* | ||
* @param headerTwo the headerTwo value to set | ||
* @return the ParameterGroupingPostMultiParamGroupsSecondParamGroupInner object itself. | ||
*/ | ||
public ParameterGroupingPostMultiParamGroupsSecondParamGroupInner setHeaderTwo(String headerTwo) { | ||
this.headerTwo = headerTwo; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the queryTwo value. | ||
* | ||
* @return the queryTwo value | ||
*/ | ||
public Integer queryTwo() { | ||
return this.queryTwo; | ||
} | ||
|
||
/** | ||
* Set the queryTwo value. | ||
* | ||
* @param queryTwo the queryTwo value to set | ||
* @return the ParameterGroupingPostMultiParamGroupsSecondParamGroupInner object itself. | ||
*/ | ||
public ParameterGroupingPostMultiParamGroupsSecondParamGroupInner setQueryTwo(Integer queryTwo) { | ||
this.queryTwo = queryTwo; | ||
return this; | ||
} | ||
|
||
} |
71 changes: 71 additions & 0 deletions
71
...ureparametergrouping/implementation/api/ParameterGroupingPostOptionalParametersInner.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,71 @@ | ||
/** | ||
* 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.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Additional parameters for the postOptional operation. | ||
*/ | ||
public class ParameterGroupingPostOptionalParametersInner { | ||
/** | ||
* The customHeader property. | ||
*/ | ||
@JsonProperty(value = "") | ||
private String customHeader; | ||
|
||
/** | ||
* Query parameter with default. | ||
*/ | ||
@JsonProperty(value = "") | ||
private Integer query; | ||
|
||
/** | ||
* Get the customHeader value. | ||
* | ||
* @return the customHeader value | ||
*/ | ||
public String customHeader() { | ||
return this.customHeader; | ||
} | ||
|
||
/** | ||
* Set the customHeader value. | ||
* | ||
* @param customHeader the customHeader value to set | ||
* @return the ParameterGroupingPostOptionalParametersInner object itself. | ||
*/ | ||
public ParameterGroupingPostOptionalParametersInner setCustomHeader(String customHeader) { | ||
this.customHeader = customHeader; | ||
return this; | ||
} | ||
|
||
/** | ||
* Get the query value. | ||
* | ||
* @return the query value | ||
*/ | ||
public Integer query() { | ||
return this.query; | ||
} | ||
|
||
/** | ||
* Set the query value. | ||
* | ||
* @param query the query value to set | ||
* @return the ParameterGroupingPostOptionalParametersInner object itself. | ||
*/ | ||
public ParameterGroupingPostOptionalParametersInner setQuery(Integer query) { | ||
this.query = query; | ||
return this; | ||
} | ||
|
||
} |
Oops, something went wrong.