com.microsoft.azure.cognitiveservices.vision.faceapi.models.APIError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-cognitiveservices-faceapi Show documentation
Show all versions of azure-cognitiveservices-faceapi Show documentation
This package contains Microsoft Cognitive Service Face API SDK.
/**
* 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.cognitiveservices.vision.faceapi.models;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Error information returned by the API.
*/
public class APIError {
/**
* The error property.
*/
@JsonProperty(value = "error")
private Error error;
/**
* Get the error value.
*
* @return the error value
*/
public Error error() {
return this.error;
}
/**
* Set the error value.
*
* @param error the error value to set
* @return the APIError object itself.
*/
public APIError withError(Error error) {
this.error = error;
return this;
}
}