/* Options: Date: 2024-12-15 19:32:04 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: SetPostalAddressRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/employers/{Id}/postal-address", Verbs="PUT") open class SetPostalAddressRequest : GetOperationTenanted(), IReturn { var id:String? = null var addressLine1:String? = null var addressLine2:String? = null var suburb:String? = null var stateTerritory:String? = null var postcode:String? = null companion object { private val responseType = SetPostalAddressResponse::class.java } override fun getResponseType(): Any? = SetPostalAddressRequest.responseType } open class SetPostalAddressResponse { var responseStatus:ResponseStatus? = null var employer:Employer? = null } open class GetOperationUnTenanted : IHasGetOptions, IGet { var embed:String? = null } open interface IHasGetOptions { var embed:String? } open interface ITenantedRequest { var organisationId:String? } open class GetOperationTenanted : GetOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open class Employer : IIdentifiableResource { var name:String? = null var businessDetails:BusinessDetails? = null var contact:Contact? = null var postalAddress:Address? = null var physicalAddress:Address? = null var id:String? = null } open interface IIdentifiableResource { var id:String? } open class BusinessDetails { var tradingName:String? = null var australianBusinessNumber:String? = null var australianCompanyNumber:String? = null } open class Contact { var contactName:String? = null var email:String? = null var phoneNumber:String? = null var preferredContactMethod:String? = null } open class Address { var addressLine1:String? = null var addressLine2:String? = null var suburb:String? = null var stateTerritory:String? = null var postcode:String? = null }