VirtualMachinePreferences.fromJson constructor
VirtualMachinePreferences.fromJson(
- Map json_
Implementation
VirtualMachinePreferences.fromJson(core.Map json_)
: this(
commitmentPlan: json_.containsKey('commitmentPlan')
? json_['commitmentPlan'] as core.String
: null,
computeEnginePreferences:
json_.containsKey('computeEnginePreferences')
? ComputeEnginePreferences.fromJson(
json_['computeEnginePreferences']
as core.Map<core.String, core.dynamic>)
: null,
regionPreferences: json_.containsKey('regionPreferences')
? RegionPreferences.fromJson(json_['regionPreferences']
as core.Map<core.String, core.dynamic>)
: null,
sizingOptimizationStrategy:
json_.containsKey('sizingOptimizationStrategy')
? json_['sizingOptimizationStrategy'] as core.String
: null,
soleTenancyPreferences: json_.containsKey('soleTenancyPreferences')
? SoleTenancyPreferences.fromJson(json_['soleTenancyPreferences']
as core.Map<core.String, core.dynamic>)
: null,
targetProduct: json_.containsKey('targetProduct')
? json_['targetProduct'] as core.String
: null,
vmwareEnginePreferences: json_.containsKey('vmwareEnginePreferences')
? VmwareEnginePreferences.fromJson(
json_['vmwareEnginePreferences']
as core.Map<core.String, core.dynamic>)
: null,
);