src/Eloquent/Concerns/DeserializesAttributes.php
protected function fillAttributes($record, Collection $attributes)
    {
        $record->fill(
            $this->deserializeAttributes($attributes, $record)
        );
    }
protected function fillAttributes($record, Collection $attributes)
    {
        $record->fill(
            $this->deserializeAttributes($attributes, $record)
        );
    }
Fill JSON API attributes into a model.

@param Model $record
@param $attributes