ServiceSoftwareOptions.fromJson constructor
ServiceSoftwareOptions.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ServiceSoftwareOptions.fromJson(Map<String, dynamic> json) {
return ServiceSoftwareOptions(
automatedUpdateDate: timeStampFromJson(json['AutomatedUpdateDate']),
cancellable: json['Cancellable'] as bool?,
currentVersion: json['CurrentVersion'] as String?,
description: json['Description'] as String?,
newVersion: json['NewVersion'] as String?,
optionalDeployment: json['OptionalDeployment'] as bool?,
updateAvailable: json['UpdateAvailable'] as bool?,
updateStatus: (json['UpdateStatus'] as String?)?.toDeploymentStatus(),
);
}