-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBadGatewayError.java
More file actions
33 lines (28 loc) · 918 Bytes
/
Copy pathBadGatewayError.java
File metadata and controls
33 lines (28 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* This file was auto-generated by Fern from our API Definition.
*/
package com.cloudpdf.api.errors;
import com.cloudpdf.api.core.CloudPDFApiException;
import com.cloudpdf.api.types.DocumentsImportFrom502Response;
import okhttp3.Response;
public final class BadGatewayError extends CloudPDFApiException {
/**
* The body of the response that triggered the exception.
*/
private final DocumentsImportFrom502Response body;
public BadGatewayError(DocumentsImportFrom502Response body) {
super("BadGatewayError", 502, body);
this.body = body;
}
public BadGatewayError(DocumentsImportFrom502Response body, Response rawResponse) {
super("BadGatewayError", 502, body, rawResponse);
this.body = body;
}
/**
* @return the body
*/
@java.lang.Override
public DocumentsImportFrom502Response body() {
return this.body;
}
}