class_docstr: ProfileMeDataSettings
class_docstr_tok: ["ProfileMeDataSettings"]
docstr: Returns the dictionary representation of the model
docstr_tok: ["Returns","the","dictionary","representation","of","the","model"]
code: def to_dict(self, by_alias: bool = False):
      """Returns the dictionary representation of the model"""
      _dict = self.dict(
          by_alias=by_alias,
          exclude={"additional_properties"},
          exclude_none=True,
      )
      # puts key-value pairs in additional_properties in the top level
      if self.additional_properties is not None:
          for _key, _value in self.additional_properties.items():
              _dict[_key] = _value
  
      return _dict
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/profile_me_data_settings.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, StrictStr
label_desc: Use image node_id 4 for calling the ProfileMeDataSettings obj's underlying member method code with example usage: obj.to_dict(by_alias) and returns: _dict