/* Options: Date: 2024-11-23 11:06:22 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateCustomerComments.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/customers/{CustomerId}/comments", Verbs="POST") @ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class CreateCustomerComments : IReturn, ICompany { @ApiMember(IsRequired=true, ParameterType="path") var CustomerId:UUID? = null @ApiMember(IsRequired=true) var Comments:String? = null @ApiMember() var ImageUrl:Uri? = null @ApiMember() var CompanyId:UUID? = null companion object { private val responseType = CustomerCommentsResponse::class.java } override fun getResponseType(): Any? = CreateCustomerComments.responseType } open class CustomerCommentsResponse { var Id:Int? = null var CustomerId:UUID? = null var Comments:String? = null var Updated:Date? = null var Created:Date? = null var ImageUrl:Uri? = null } open interface ICompany { var CompanyId:UUID? }