UpdateDeploymentResponse.fromJson constructor

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

Implementation

factory UpdateDeploymentResponse.fromJson(Map<String, dynamic> json) {
  return UpdateDeploymentResponse(
    autoDeployed: json['autoDeployed'] as bool?,
    createdDate: timeStampFromJson(json['createdDate']),
    deploymentId: json['deploymentId'] as String?,
    deploymentStatus:
        (json['deploymentStatus'] as String?)?.toDeploymentStatus(),
    deploymentStatusMessage: json['deploymentStatusMessage'] as String?,
    description: json['description'] as String?,
  );
}