DescribeModelPackageGroupOutput.fromJson constructor

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

Implementation

factory DescribeModelPackageGroupOutput.fromJson(Map<String, dynamic> json) {
  return DescribeModelPackageGroupOutput(
    createdBy:
        UserContext.fromJson(json['CreatedBy'] as Map<String, dynamic>),
    creationTime:
        nonNullableTimeStampFromJson(json['CreationTime'] as Object),
    modelPackageGroupArn: json['ModelPackageGroupArn'] as String,
    modelPackageGroupName: json['ModelPackageGroupName'] as String,
    modelPackageGroupStatus: (json['ModelPackageGroupStatus'] as String)
        .toModelPackageGroupStatus(),
    modelPackageGroupDescription:
        json['ModelPackageGroupDescription'] as String?,
  );
}