InstanceAssociationStatusInfo.fromJson constructor

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

Implementation

factory InstanceAssociationStatusInfo.fromJson(Map<String, dynamic> json) {
  return InstanceAssociationStatusInfo(
    associationId: json['AssociationId'] as String?,
    associationName: json['AssociationName'] as String?,
    associationVersion: json['AssociationVersion'] as String?,
    detailedStatus: json['DetailedStatus'] as String?,
    documentVersion: json['DocumentVersion'] as String?,
    errorCode: json['ErrorCode'] as String?,
    executionDate: timeStampFromJson(json['ExecutionDate']),
    executionSummary: json['ExecutionSummary'] as String?,
    instanceId: json['InstanceId'] as String?,
    name: json['Name'] as String?,
    outputUrl: json['OutputUrl'] != null
        ? InstanceAssociationOutputUrl.fromJson(
            json['OutputUrl'] as Map<String, dynamic>)
        : null,
    status: json['Status'] as String?,
  );
}