All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.bingads.OAuthErrorDetails Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 13.0.22.1
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy