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

com.hypersocket.json.JsonResourceList 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 java.util.Map;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown=true)
public class JsonResourceList {

	boolean success;
	String error;
	
	T[] resources;
	
	Map properties;
	
	public boolean isSuccess() {
		return success;
	}

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

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public T[] getResources() {
		return resources;
	}

	public void setResources(T[] resources) {
		this.resources = resources;
	}

	public T[] getResult() {
		return resources;
	}

	public void setResult(T[] result) {
		this.resources = result;
	}

	public Map getProperties() {
		return properties;
	}

	public void setProperties(Map properties) {
		this.properties = properties;
	}
	
	
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy