com.geotab.http.response.VoidResponse Maven / Gradle / Ivy
/*
*
* 2020 Copyright (C) Geotab Inc. All rights reserved.
*/
package com.geotab.http.response;
import com.geotab.model.Id;
import com.geotab.model.error.JsonRpcError;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
/**
* Use this response type if no actual response returned.
*/
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class VoidResponse extends BaseResponse {
@Builder
public VoidResponse(Void result, JsonRpcError error, String jsonrpc, Id id,
Integer requestIndex) {
super(result, error, jsonrpc, id, requestIndex);
}
}