LicenseConfigurationUsage.fromJson constructor

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

Implementation

factory LicenseConfigurationUsage.fromJson(Map<String, dynamic> json) {
  return LicenseConfigurationUsage(
    associationTime: timeStampFromJson(json['AssociationTime']),
    consumedLicenses: json['ConsumedLicenses'] as int?,
    resourceArn: json['ResourceArn'] as String?,
    resourceOwnerId: json['ResourceOwnerId'] as String?,
    resourceStatus: json['ResourceStatus'] as String?,
    resourceType: (json['ResourceType'] as String?)?.toResourceType(),
  );
}