com.genability.client.api.request.DeleteTariffRequest 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;
/**
* @author ebaizel
*
*/
public class DeleteTariffRequest extends AbstractRequest implements Serializable {
/**
* private member variable for serial version
*/
private static final long serialVersionUID = 1L;
/**
* private field tariffId
*/
private Long tariffId;
/**
* private field hardDelete
* -- unpublished functionality --
*/
private Boolean hardDelete;
/**
* @return the tariffId
*/
public Long getTariffId() {
return tariffId;
}
public Boolean getHardDelete() {
return hardDelete;
}
/**
* @param tariffId The tariffId.
* the tariffId to set
*/
public void setTariffId(Long tariffId) {
this.tariffId = tariffId;
}
/**
* @param hardDelete The hardDelete.
*
* If true, fully delete the account,
* otherwise the account just has its
* status changed to DELETED.
*/
public void setHardDelete(Boolean hardDelete) {
this.hardDelete = hardDelete;
}
@Override
@JsonIgnore
public List getQueryParams() {
List qparams = super.getQueryParams();
addParam(qparams,"hardDelete",hardDelete);
return qparams;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy