code: def settings(self):
          
          _settings = {
              'action': self._action,
              # not supported in v2 batch
              # 'attributeWriteType': self._attribute_write_type,
              'attributeWriteType': 'Replace',
              'haltOnError': str(self._halt_on_error).lower(),
              'owner': self._owner,
              'version': 'V2',
          }
          if self._playbook_triggers_enabled is not None:
              _settings['playbookTriggersEnabled'] = str(self._playbook_triggers_enabled).lower()
          if self._hash_collision_mode is not None:
              _settings['hashCollisionMode'] = self._hash_collision_mode
          if self._file_merge_mode is not None:
              _settings['fileMergeMode'] = self._file_merge_mode
          return _settings
docs: Return batch job settings.