SelfservicePermissions.fromJson constructor
SelfservicePermissions.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SelfservicePermissions.fromJson(Map<String, dynamic> json) {
return SelfservicePermissions(
changeComputeType:
(json['ChangeComputeType'] as String?)?.toReconnectEnum(),
increaseVolumeSize:
(json['IncreaseVolumeSize'] as String?)?.toReconnectEnum(),
rebuildWorkspace:
(json['RebuildWorkspace'] as String?)?.toReconnectEnum(),
restartWorkspace:
(json['RestartWorkspace'] as String?)?.toReconnectEnum(),
switchRunningMode:
(json['SwitchRunningMode'] as String?)?.toReconnectEnum(),
);
}