com.geotab.http.request.param.SearchParameters Maven / Gradle / Ivy
package com.geotab.http.request.param;
import com.geotab.model.login.Credentials;
import com.geotab.model.search.Search;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class SearchParameters extends AuthenticatedParameters {
private T search;
@Builder(builderMethodName = "searchParamsBuilder")
public SearchParameters(String typeName, Integer resultsLimit,
Credentials credentials, T search) {
super(typeName, resultsLimit, credentials);
this.search = search;
}
}