Package fr.gouv.vitam.workspace.api.model

# Class TimeToLive

java.lang.Object
fr.gouv.vitam.workspace.api.model.TimeToLive

public class TimeToLive extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TimeToLive()`
  `TimeToLive(int value, ChronoUnit unit)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `ChronoUnit`
  `getUnit()`
  `int`
  `getValue()`
  `int`
  `hashCode()`
  `TimeToLive`
  `setUnit(ChronoUnit unit)`
  `TimeToLive`
  `setValue(int value)`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TimeToLive

    public TimeToLive()

  - ### TimeToLive

    public TimeToLive(int value, ChronoUnit unit)

- ## Method Details

  - ### getValue

    public int getValue()

  - ### setValue

    public TimeToLive setValue(int value)

  - ### getUnit

    public ChronoUnit getUnit()

  - ### setUnit

    public TimeToLive setUnit(ChronoUnit unit)

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`