LicenseConfigurationAssociation.fromJson constructor

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

Implementation

factory LicenseConfigurationAssociation.fromJson(Map<String, dynamic> json) {
  return LicenseConfigurationAssociation(
    amiAssociationScope: json['AmiAssociationScope'] as String?,
    associationTime: timeStampFromJson(json['AssociationTime']),
    resourceArn: json['ResourceArn'] as String?,
    resourceOwnerId: json['ResourceOwnerId'] as String?,
    resourceType: (json['ResourceType'] as String?)?.toResourceType(),
  );
}