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

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

/*
 *
 * 2020 Copyright (C) Geotab Inc. All rights reserved.
 */

package com.geotab.model.search;

import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * The object used to specify the arguments when searching for a {@link
 * com.geotab.model.entity.controller.Controller}.
 */
@NoArgsConstructor
@Getter
@Setter
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ControllerSearch extends IdSearch {

  /**
   * 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 IdSearch sourceSearch;

  @Builder
  public ControllerSearch(String id, String name, IdSearch sourceSearch) {
    super(id);
    this.name = name;
    this.sourceSearch = sourceSearch;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy