DeploymentConfig.fromJson constructor

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

Implementation

factory DeploymentConfig.fromJson(Map<String, dynamic> json) {
  return DeploymentConfig(
    concurrentDeploymentPercentage:
        json['concurrentDeploymentPercentage'] as int?,
    downloadConditionFile: json['downloadConditionFile'] != null
        ? S3Object.fromJson(
            json['downloadConditionFile'] as Map<String, dynamic>)
        : null,
    failureThresholdPercentage: json['failureThresholdPercentage'] as int?,
    robotDeploymentTimeoutInSeconds:
        json['robotDeploymentTimeoutInSeconds'] as int?,
  );
}