CutoverStep.fromJson constructor

CutoverStep.fromJson(
  1. Map json_
)

Implementation

CutoverStep.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        finalSync: json_.containsKey('finalSync')
            ? ReplicationCycle.fromJson(
                json_['finalSync'] as core.Map<core.String, core.dynamic>)
            : null,
        instantiatingMigratedVm: json_.containsKey('instantiatingMigratedVm')
            ? InstantiatingMigratedVMStep.fromJson(
                json_['instantiatingMigratedVm']
                    as core.Map<core.String, core.dynamic>)
            : null,
        preparingVmDisks: json_.containsKey('preparingVmDisks')
            ? PreparingVMDisksStep.fromJson(json_['preparingVmDisks']
                as core.Map<core.String, core.dynamic>)
            : null,
        previousReplicationCycle:
            json_.containsKey('previousReplicationCycle')
                ? ReplicationCycle.fromJson(json_['previousReplicationCycle']
                    as core.Map<core.String, core.dynamic>)
                : null,
        shuttingDownSourceVm: json_.containsKey('shuttingDownSourceVm')
            ? ShuttingDownSourceVMStep.fromJson(json_['shuttingDownSourceVm']
                as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );