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

com.genability.client.api.request.ReadingDataRequest Maven / Gradle / Ivy

package com.genability.client.api.request;

import java.io.Serializable;
import java.util.List;

import org.apache.http.NameValuePair;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.genability.client.types.ReadingData;

public class ReadingDataRequest extends AbstractRequest implements Serializable{
	private static final long serialVersionUID = 1L;

	private String usageProfileId;
	private List readings;

	public String getUsageProfileId() {
		return usageProfileId;
	}

	public void setUsageProfileId(String profileId) {
		this.usageProfileId = profileId;
	}
	
	public List getReadings() {
		return readings;
	}

	public void setReadings(List readings) {
		this.readings = readings;
	}

	@Override
	@JsonIgnore
	public List getQueryParams() {
		List qparams = super.getQueryParams();
		
		addParam(qparams, "usageProfileId", usageProfileId);

		return qparams;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy