package io.example.interface_.v0.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeInfo; /** * Generated by API Builder - https://www.apibuilder.io * Service version: 0.15.4 * User agent: apibuilder app.apibuilder.io/apicollective/example-interface/0.15.4/android_client * * WARNING: not all features (notably unions) and data types work with android generator yet. * Android generator is designed to be used in an android application, but should work in any java codebase as long as you import jackson and retrofit2 libraries. * If you are considering using this library, would like to request/discuss features, or would like to share how you're using it, please contact android-feedback@gilt.com * */ @JsonIgnoreProperties( ignoreUnknown = true ) @JsonTypeInfo( use = com.fasterxml.jackson.annotation.JsonTypeInfo.Id.NAME, include = com.fasterxml.jackson.annotation.JsonTypeInfo.As.PROPERTY, property = "discriminator" ) @JsonSubTypes({ @JsonSubTypes.Type(value = io.example.interface_.v0.models.Guest.class, name = "guest"), @JsonSubTypes.Type(value = io.example.interface_.v0.models.User.class, name = "user") }) public interface Person { }