class_docstr: SelectionConfigEntry
class_docstr_tok: ["SelectionConfigEntry"]
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={}, exclude_none=True
      )
      # override the default output from pydantic by calling `to_dict()` of input
      if self.input:
          _dict["input" if by_alias else "input"] = self.input.to_dict(
              by_alias=by_alias
          )
      # override the default output from pydantic by calling `to_dict()` of strategy
      if self.strategy:
          _dict[
              "strategy" if by_alias else "strategy"
          ] = self.strategy.to_dict(by_alias=by_alias)
      return _dict
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/selection_config_entry.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from pydantic import Extra, BaseModel, Field
  from lightly.openapi_generated.swagger_client.models.selection_config_entry_input import SelectionConfigEntryInput
  from lightly.openapi_generated.swagger_client.models.selection_config_entry_strategy import SelectionConfigEntryStrategy
label_desc: Use image node_id 4 for calling the SelectionConfigEntry obj's underlying member method code with example usage: obj.to_dict(by_alias) and returns: _dict