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

com.dynamicpdf.api.Response Maven / Gradle / Ivy

Go to download

A Java Client API that uses the DynamicPDF API to create, merge, split, form fill, stamp, secure/encrypt PDF documents.

There is a newer version: 1.10.1
Show newest version
package com.dynamicpdf.api;

import java.util.UUID;

/**
 * Represents the base class for response.
 */
public class Response {

	private boolean isSuccessful;
	private String errorJson;
	private String errorMessage;
	private UUID errorId = null;
	private int statusCode;

	/**
	 * Gets the boolean, indicating the response's status.
	 * @return The boolean, indicating the response's status.
	 */
	public boolean getIsSuccessful() {
		return isSuccessful;
	}

	void setIsSuccessful(boolean value) {
		isSuccessful = value;
	}

	/**
	 * Gets the error message.
	 * @return The error message.
	 */
	public String getErrorMessage() {
		return errorMessage;
	}

	void setErrorMessage(String value) {
		errorMessage = value;
	}

	/**
	 * Gets the error id.
	 * @return The error id.
	 */
	public UUID getErrorId() {
		return errorId;
	}

	void setErrorId(UUID value) {
		errorId = value;
	}

	/**
	 * Gets the status code.
	 * @return The status code.
	 */
	public int getStatusCode() {
		return statusCode;
	}

	void setStatusCode(int value) {
		statusCode = value;
	}

	/**
	 * Gets the error json.
	 * @return The error json.
	 */
	public String getErrorJson() {
		return errorJson;
	}

	void setErrorJson(String value) {
		errorJson = value;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy