com.geotab.model.search.ControllerSearch Maven / Gradle / Ivy
package com.geotab.model.search;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* The object used to specify the arguments when searching for a {@link com.geotab.model.entity.controller.Controller}.
*/
@Getter @Setter
@NoArgsConstructor
public class ControllerSearch extends Search {
/**
* Search for Controllers with this Name. Wildcard can be used by prepending/appending "%" to string. Example
* "%name%".
*/
private String name;
/**
* Search for {@link com.geotab.model.entity.controller.Controller}s with this {@link
* com.geotab.model.entity.source.Source} Id.
*/
private Search sourceSearch;
@Builder
public ControllerSearch(String id, String name, Search sourceSearch) {
super(id);
this.name = name;
this.sourceSearch = sourceSearch;
}
}