GetDeploymentResponse.fromJson constructor

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

Implementation

factory GetDeploymentResponse.fromJson(Map<String, dynamic> json) {
  return GetDeploymentResponse(
    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?,
  );
}