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

com.geotab.model.search.AnnotationLogSearch Maven / Gradle / Ivy

package com.geotab.model.search;

import com.geotab.model.entity.dutystatus.AnnotationLog;
import java.time.LocalDateTime;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * The object used to specify the arguments when searching for {@link AnnotationLog}(s).
 */
@Getter @Setter
@NoArgsConstructor
public class AnnotationLogSearch extends Search {

  /**
   * The AnnotationLog logs are searched for events which were recorded on or after this date.
   */
  private LocalDateTime fromDate;

  /**
   * The Fault data logs are searched for events which were recorded on or before this date.
   */
  private LocalDateTime toDate;

  /**
   * Search for {@link AnnotationLog} with this UserSearch Id
   *
   * 

Available UserSearch options are:. *

    *
  • Id
  • *
*/ private UserSearch userSearch; /** * Search for AnnotationLogs which have a comment that contains this string. Wildcard can be used by * prepending/appending "%" to string. */ private String comment; @Builder public AnnotationLogSearch(String id, LocalDateTime fromDate, LocalDateTime toDate, UserSearch userSearch, String comment) { super(id); this.fromDate = fromDate; this.toDate = toDate; this.userSearch = userSearch; this.comment = comment; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy