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 docker
        if self.docker:
            _dict['docker' if by_alias else 'docker'] = self.docker.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of lightly
        if self.lightly:
            _dict['lightly' if by_alias else 'lightly'] = self.lightly.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of selection
        if self.selection:
            _dict['selection' if by_alias else 'selection'] = self.selection.to_dict(by_alias=by_alias)
        return _dict
Returns the dictionary representation of the model
lightly/openapi_generated/swagger_client/models/docker_worker_config_v3.py