V1LeaseSpec constructor

V1LeaseSpec({
  1. DateTime? acquireTime,
  2. String? holderIdentity,
  3. int? leaseDurationSeconds,
  4. int? leaseTransitions,
  5. DateTime? renewTime,
})

Returns a new V1LeaseSpec instance.

Implementation

V1LeaseSpec({

   this.acquireTime,

   this.holderIdentity,

   this.leaseDurationSeconds,

   this.leaseTransitions,

   this.renewTime,
});