Klasse RetentionPeriod
java.lang.Object
io.github.primelib.confluence4j.rest.v1.model.RetentionPeriod
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RetentionPeriod
extends Object
RetentionPeriod
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic enumThe unit of time that the retention period is measured in. -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected IntegerThe number of units for the retention period.protected RetentionPeriod.UnitsEnumThe unit of time that the retention period is measured in. -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedRetentionPeriod(Integer number, RetentionPeriod.UnitsEnum units) Constructs a validated instance ofRetentionPeriod.Constructs a validated instance ofRetentionPeriod. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected booleanbooleaninthashCode()number()The number of units for the retention period.The number of units for the retention period.toString()units()The unit of time that the retention period is measured in.units(RetentionPeriod.UnitsEnum units) The unit of time that the retention period is measured in.
-
Felddetails
-
number
The number of units for the retention period. -
units
The unit of time that the retention period is measured in.
-
-
Konstruktordetails
-
RetentionPeriod
Constructs a validated instance ofRetentionPeriod.- Parameter:
spec- the specification to process
-
RetentionPeriod
Constructs a validated instance ofRetentionPeriod.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
RetentionPeriod(Consumer)instead.- Parameter:
number- The number of units for the retention period.units- The unit of time that the retention period is measured in.
-
RetentionPeriod
protected RetentionPeriod()
-
-
Methodendetails
-
builder
-
number
The number of units for the retention period. -
units
The unit of time that the retention period is measured in. -
number
The number of units for the retention period.- Gibt zurück:
this.
-
units
The unit of time that the retention period is measured in.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-