PermissionSetProvisioningStatus.fromJson constructor

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

Implementation

factory PermissionSetProvisioningStatus.fromJson(Map<String, dynamic> json) {
  return PermissionSetProvisioningStatus(
    accountId: json['AccountId'] as String?,
    createdDate: timeStampFromJson(json['CreatedDate']),
    failureReason: json['FailureReason'] as String?,
    permissionSetArn: json['PermissionSetArn'] as String?,
    requestId: json['RequestId'] as String?,
    status: (json['Status'] as String?)?.toStatusValues(),
  );
}