RuntimeSoftwareConfig.fromJson constructor
RuntimeSoftwareConfig.fromJson(
- Map json_
Implementation
RuntimeSoftwareConfig.fromJson(core.Map json_)
: this(
customGpuDriverPath: json_.containsKey('customGpuDriverPath')
? json_['customGpuDriverPath'] as core.String
: null,
disableTerminal: json_.containsKey('disableTerminal')
? json_['disableTerminal'] as core.bool
: null,
enableHealthMonitoring: json_.containsKey('enableHealthMonitoring')
? json_['enableHealthMonitoring'] as core.bool
: null,
idleShutdown: json_.containsKey('idleShutdown')
? json_['idleShutdown'] as core.bool
: null,
idleShutdownTimeout: json_.containsKey('idleShutdownTimeout')
? json_['idleShutdownTimeout'] as core.int
: null,
installGpuDriver: json_.containsKey('installGpuDriver')
? json_['installGpuDriver'] as core.bool
: null,
kernels: json_.containsKey('kernels')
? (json_['kernels'] as core.List)
.map((value) => ContainerImage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
mixerDisabled: json_.containsKey('mixerDisabled')
? json_['mixerDisabled'] as core.bool
: null,
notebookUpgradeSchedule: json_.containsKey('notebookUpgradeSchedule')
? json_['notebookUpgradeSchedule'] as core.String
: null,
postStartupScript: json_.containsKey('postStartupScript')
? json_['postStartupScript'] as core.String
: null,
postStartupScriptBehavior:
json_.containsKey('postStartupScriptBehavior')
? json_['postStartupScriptBehavior'] as core.String
: null,
upgradeable: json_.containsKey('upgradeable')
? json_['upgradeable'] as core.bool
: null,
version: json_.containsKey('version')
? json_['version'] as core.String
: null,
);