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

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

package com.geotab.model.entity.dutystatus;

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

/**
 * The duration of time remaining for a specific {@link DutyStatusViolationType}.
 */
@Getter @Setter
@NoArgsConstructor
public class DutyStatusAvailabilityDuration {

  /**
   * The duration of the specific {@link DutyStatusViolationType}.
   */
  private Duration duration;

  /**
   * The specific {@link DutyStatusViolationType}.
   */
  private DutyStatusViolationType type;

  @Builder
  public DutyStatusAvailabilityDuration(Duration duration, DutyStatusViolationType type) {
    this.duration = duration;
    this.type = type;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy