Deployment.fromJson constructor

Deployment.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Deployment.fromJson(Map<String, dynamic> json) {
  return Deployment(
    creationTimestamp: timeStampFromJson(json['creationTimestamp']),
    deploymentId: json['deploymentId'] as String?,
    deploymentName: json['deploymentName'] as String?,
    deploymentStatus:
        (json['deploymentStatus'] as String?)?.toDeploymentStatus(),
    isLatestForTarget: json['isLatestForTarget'] as bool?,
    revisionId: json['revisionId'] as String?,
    targetArn: json['targetArn'] as String?,
  );
}