RequestedServiceQuotaChange.fromJson constructor

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

Implementation

factory RequestedServiceQuotaChange.fromJson(Map<String, dynamic> json) {
  return RequestedServiceQuotaChange(
    caseId: json['CaseId'] as String?,
    created: timeStampFromJson(json['Created']),
    desiredValue: json['DesiredValue'] as double?,
    globalQuota: json['GlobalQuota'] as bool?,
    id: json['Id'] as String?,
    lastUpdated: timeStampFromJson(json['LastUpdated']),
    quotaArn: json['QuotaArn'] as String?,
    quotaCode: json['QuotaCode'] as String?,
    quotaName: json['QuotaName'] as String?,
    requester: json['Requester'] as String?,
    serviceCode: json['ServiceCode'] as String?,
    serviceName: json['ServiceName'] as String?,
    status: (json['Status'] as String?)?.toRequestStatus(),
    unit: json['Unit'] as String?,
  );
}