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

com.geotab.model.entity.dutystatus.DutyStatusCycleAvailability Maven / Gradle / Ivy

package com.geotab.model.entity.dutystatus;

import java.time.Duration;
import java.time.LocalDateTime;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Represents total cycle hours that will be available in the up coming days.
 */
@Getter @Setter
@NoArgsConstructor
public class DutyStatusCycleAvailability {

  /**
   * The amount of cycle time available.
   */
  private Duration available;

  /**
   * The cycle gain date.
   */
  private LocalDateTime dateTime;

  @Builder
  public DutyStatusCycleAvailability(Duration available, LocalDateTime dateTime) {
    this.available = available;
    this.dateTime = dateTime;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy