Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR mgmt-v2018_09_01_preview] Revert "generate go sdk for authorization RP" #17975

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sdk/authorization/mgmt-v2018_09_01_preview/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-authorization</artifactId>
<version>1.0.0-beta-1</version>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Authorization Management</name>
<description>This package contains Microsoft Authorization Management SDK.</description>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* 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.authorization.v2018_09_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Object to be thrown in case of an unsuccessful response.
*/
public class Error {
/**
* Object to be thrown in case of an unsuccessful response.
*/
@JsonProperty(value = "error")
private ErrorError error;

/**
* Get object to be thrown in case of an unsuccessful response.
*
* @return the error value
*/
public ErrorError error() {
return this.error;
}

/**
* Set object to be thrown in case of an unsuccessful response.
*
* @param error the error value to set
* @return the Error object itself.
*/
public Error withError(ErrorError error) {
this.error = error;
return this;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/**
* 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.authorization.v2018_09_01_preview;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Object to be thrown in case of an unsuccessful response.
*/
public class ErrorError {
/**
* Brief error code.
*/
@JsonProperty(value = "code")
private String code;

/**
* Longer message explaining the details of the error.
*/
@JsonProperty(value = "message")
private String message;

/**
* Get brief error code.
*
* @return the code value
*/
public String code() {
return this.code;
}

/**
* Set brief error code.
*
* @param code the code value to set
* @return the ErrorError object itself.
*/
public ErrorError withCode(String code) {
this.code = code;
return this;
}

/**
* Get longer message explaining the details of the error.
*
* @return the message value
*/
public String message() {
return this.message;
}

/**
* Set longer message explaining the details of the error.
*
* @param message the message value to set
* @return the ErrorError object itself.
*/
public ErrorError withMessage(String message) {
this.message = message;
return this;
}

}