EffectiveDeployment.fromJson constructor

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

Implementation

factory EffectiveDeployment.fromJson(Map<String, dynamic> json) {
  return EffectiveDeployment(
    coreDeviceExecutionStatus: (json['coreDeviceExecutionStatus'] as String)
        .toEffectiveDeploymentExecutionStatus(),
    creationTimestamp:
        nonNullableTimeStampFromJson(json['creationTimestamp'] as Object),
    deploymentId: json['deploymentId'] as String,
    deploymentName: json['deploymentName'] as String,
    modifiedTimestamp:
        nonNullableTimeStampFromJson(json['modifiedTimestamp'] as Object),
    targetArn: json['targetArn'] as String,
    description: json['description'] as String?,
    iotJobArn: json['iotJobArn'] as String?,
    iotJobId: json['iotJobId'] as String?,
    reason: json['reason'] as String?,
  );
}