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

com.geotab.http.response.CountResponse 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 running "GetCountOf" request.
 */
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class CountResponse extends BaseResponse {

  @Builder
  public CountResponse(Integer result, JsonRpcError error, String jsonrpc, Id id,
      Integer requestIndex) {
    super(result, error, jsonrpc, id, requestIndex);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy