I need set serializable interface for using any data class in methods, example data: example method, where body – some of the above data classes : but if i calling method: i get error: I need use only TODO interface to use any data class in methods, object and abstract class will doesnt working, because it use data class Also