/* Options: Date: 2024-12-15 19:47:08 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SearchAllContributionsRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/contributions", Verbs="GET") open class SearchAllContributionsRequest : SearchOperationTenanted(), IReturn { companion object { private val responseType = SearchAllContributionsResponse::class.java } override fun getResponseType(): Any? = SearchAllContributionsRequest.responseType } open class SearchAllContributionsResponse { var responseStatus:ResponseStatus? = null var contributions:ArrayList = ArrayList() var metadata:SearchMetadata? = null } open class GetOperationUnTenanted : IHasGetOptions, IGet { var embed:String? = null } open interface IHasGetOptions { var embed:String? } open class SearchOperationUnTenanted : GetOperationUnTenanted(), IHasSearchOptions { var distinct:String? = null var limit:Int? = null var offset:Int? = null var sort:String? = null var filter:String? = null var search:String? = null } open interface IHasSearchOptions : IHasGetOptions { var limit:Int? var offset:Int? var sort:String? var filter:String? var search:String? } open interface ITenantedRequest { var organisationId:String? } open class SearchOperationTenanted : SearchOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open class SearchMetadata { var total:Int? = null var limit:Int? = null var offset:Int? = null var sort:Sorting? = null var filter:Filtering? = null } open class Contribution : IIdentifiableResource { var employerId:String? = null var employerName:String? = null var amount:BigDecimal? = null var paymentDate:Date? = null var distributed:Boolean? = null var id:String? = null } open interface IIdentifiableResource { var id:String? } open class Sorting { @SerializedName("by") var By:String? = null var direction:SortDirection? = null } open class Filtering { var fields:ArrayList = ArrayList() var search:String? = null } enum class SortDirection { Ascending, Descending, }