RollbackTargetRequest.fromJson constructor

RollbackTargetRequest.fromJson(
  1. Map json_
)

Implementation

RollbackTargetRequest.fromJson(core.Map json_)
    : this(
        releaseId: json_.containsKey('releaseId')
            ? json_['releaseId'] as core.String
            : null,
        rollbackConfig: json_.containsKey('rollbackConfig')
            ? RollbackTargetConfig.fromJson(json_['rollbackConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        rolloutId: json_.containsKey('rolloutId')
            ? json_['rolloutId'] as core.String
            : null,
        rolloutToRollBack: json_.containsKey('rolloutToRollBack')
            ? json_['rolloutToRollBack'] as core.String
            : null,
        targetId: json_.containsKey('targetId')
            ? json_['targetId'] as core.String
            : null,
        validateOnly: json_.containsKey('validateOnly')
            ? json_['validateOnly'] as core.bool
            : null,
      );