LicenseAttributes constructor
LicenseAttributes({
- String? name,
- required String key,
- DateTime? expiry,
- required LicenseAttributesStatusEnum status,
- required int uses,
- required bool protected,
- String? version,
- required bool suspended,
- required bool floating,
- LicenseAttributesSchemeEnum? scheme,
- required bool strict,
- required int? maxMachines,
- int? maxProcesses,
- int? maxCores,
- int? maxUses,
- required bool requireHeartbeat,
- required bool requireCheckIn,
- DateTime? lastValidated,
- DateTime? lastCheckOut,
- DateTime? lastCheckIn,
- DateTime? nextCheckIn,
- Map<
String, Object> metadata = const {}, - required DateTime created,
- required DateTime updated,
Returns a new LicenseAttributes instance.
Implementation
LicenseAttributes({
this.name,
required this.key,
this.expiry,
required this.status,
required this.uses,
required this.protected,
this.version,
required this.suspended,
required this.floating,
this.scheme,
required this.strict,
required this.maxMachines,
this.maxProcesses,
this.maxCores,
this.maxUses,
required this.requireHeartbeat,
required this.requireCheckIn,
this.lastValidated,
this.lastCheckOut,
this.lastCheckIn,
this.nextCheckIn,
this.metadata = const {},
required this.created,
required this.updated,
});