com.geotab.model.search.DutyStatusAvailabilitySearch Maven / Gradle / Ivy
package com.geotab.model.search;
import com.geotab.model.entity.dutystatus.DutyStatusAvailability;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* The object used to specify the arguments when searching for {@link DutyStatusAvailability}.
*
* This search has been designed to work efficiently with a UserSearch.
*/
@Getter @Setter
@NoArgsConstructor
public class DutyStatusAvailabilitySearch extends Search {
/**
* Search for {@link DutyStatusAvailability} with this UserSearch Id or in the provided Groups
*
*
Available UserSearch options are:.
*
* - Id
* - DriverGroups
* - DriverGroupListSearch
*
*/
private UserSearch userSearch;
@Builder
public DutyStatusAvailabilitySearch(UserSearch userSearch) {
this.userSearch = userSearch;
}
}