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

com.hypersocket.json.JsonResourceStatus Maven / Gradle / Ivy

Go to download

Implements a Java JSON client that can be used with to communicate with a Hypersocket Framework server

The newest version!
/**
 * Copyright 2003-2020 JADAPTIVE Limited. All Rights Reserved.
 *
 * For product documentation visit https://www.jadaptive.com/
 *
 * This file is part of Hypersocket JSON Client.
 *
 * Hypersocket JSON Client is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Hypersocket JSON Client is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Hypersocket JSON Client.  If not, see .
 */
package com.hypersocket.json;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown=true)
public class JsonResourceStatus {

	boolean success;
	String message;
	
	JsonResource resource;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public JsonResource getResource() {
		return resource;
	}

	public void setResource(JsonResource resource) {
		this.resource = resource;
	}
	
	public JsonResource getResult() {
		return resource;
	}
	
	public void setResult(JsonResource result) {
		this.resource=  result;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy