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

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

package com.geotab.model.search;

import com.geotab.model.entity.deviceconnectionstatus.DeviceConnectionStatus;
import com.geotab.model.entity.ioxaddonstatus.IoxAddOnStatus;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Gets or sets search for {@link IoxAddOnStatus} that are or have been attached to this {@link DeviceSearch} Id.
 * Available DeviceSearch options are:
 * 
 * 
 * Id
 * 
 * 
 */
@Getter @Setter
@NoArgsConstructor
@AllArgsConstructor
public class IoxAddOnStatusSearch extends Search {

  /**
   * Gets or sets search for {@link IoxAddOnStatus} that are or have been attached to this {@link DeviceSearch}.
   */
  private DeviceSearch deviceSearch;

  /**
   * Gets or sets the {@link DeviceConnectionStatus} (Active = 0, Inactive = 4, Disconnected = 1).
   */
  private Integer deviceConnectionStatus;

  /**
   * Gets or sets search for {@link IoxAddOnStatus} records that were logged at this date or after.
   */
  private LocalDateTime fromDate;

  /**
   * Gets or sets search for {@link IoxAddOnStatus} records that were logged at this date or before.
   */
  private LocalDateTime toDate;

  @Builder
  public IoxAddOnStatusSearch(String id, DeviceSearch deviceSearch, Integer deviceConnectionStatus, LocalDateTime fromDate, LocalDateTime toDate) {
    super(id);
    this.deviceSearch = deviceSearch;
    this.deviceConnectionStatus = deviceConnectionStatus;
    this.fromDate = fromDate;
    this.toDate = toDate;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy