com.microsoft.bingads.OAuthErrorDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
package com.microsoft.bingads;
/**
* Represents details of an error returned from the Microsoft Account authorization server.
*/
public class OAuthErrorDetails {
private final String error;
private final String description;
/**
* Creates a new instance of this class with the specified error code and description.
*
* @param error error code
* @param description error description
*/
public OAuthErrorDetails(String error, String description) {
this.error = error;
this.description = description;
}
/**
* Gets the error code of the OAuth error.
*/
public String getError() {
return error;
}
/**
* Gets the description of the OAuth error.
*/
public String getDescription() {
return description;
}
}