AccountModification.fromJson constructor

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

Implementation

factory AccountModification.fromJson(Map<String, dynamic> json) {
  return AccountModification(
    dedicatedTenancyManagementCidrRange:
        json['DedicatedTenancyManagementCidrRange'] as String?,
    dedicatedTenancySupport: (json['DedicatedTenancySupport'] as String?)
        ?.toDedicatedTenancySupportResultEnum(),
    errorCode: json['ErrorCode'] as String?,
    errorMessage: json['ErrorMessage'] as String?,
    modificationState: (json['ModificationState'] as String?)
        ?.toDedicatedTenancyModificationStateEnum(),
    startTime: timeStampFromJson(json['StartTime']),
  );
}