SwapConfig.fromJson constructor
SwapConfig.fromJson(
- Map json_
Implementation
SwapConfig.fromJson(core.Map json_)
: this(
bootDiskProfile: json_.containsKey('bootDiskProfile')
? BootDiskProfile.fromJson(
json_['bootDiskProfile'] as core.Map<core.String, core.dynamic>,
)
: null,
dedicatedLocalSsdProfile: json_.containsKey('dedicatedLocalSsdProfile')
? DedicatedLocalSsdProfile.fromJson(
json_['dedicatedLocalSsdProfile']
as core.Map<core.String, core.dynamic>,
)
: null,
enabled: json_['enabled'] as core.bool?,
encryptionConfig: json_.containsKey('encryptionConfig')
? EncryptionConfig.fromJson(
json_['encryptionConfig']
as core.Map<core.String, core.dynamic>,
)
: null,
ephemeralLocalSsdProfile: json_.containsKey('ephemeralLocalSsdProfile')
? EphemeralLocalSsdProfile.fromJson(
json_['ephemeralLocalSsdProfile']
as core.Map<core.String, core.dynamic>,
)
: null,
);