/* Options: Date: 2026-06-13 16:30:49 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ServiceAgreementRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/v1/serviceagreement", Verbs="GET,POST,PUT,DELETE,OPTIONS") // @Route(Path="/v1/serviceagreement/{AgreementID}", Verbs="GET,DELETE,OPTIONS") // @Route(Path="/v1/project/{ProjectID}/agreements", Verbs="GET,OPTIONS") open class ServiceAgreementRequest : IReturn { open var AgreementID:Int? = null open var ProjectID:Int? = null open var ServiceAgreement:ArrayList = ArrayList() companion object { private val responseType = ServiceAgreementResponse::class.java } override fun getResponseType(): Any? = ServiceAgreementRequest.responseType } open class ServiceAgreementResponse { open var ResponseStatus:ResponseStatus? = null open var ServiceAgreement:ArrayList = ArrayList() } open class ServiceAgreement { open var AgreementID:Int? = null open var AgreementUID:UUID? = null open var TenantId:UUID? = null open var BranchId:UUID? = null open var BranchName:String? = null open var ProjectID:Int? = null open var ProjectName:String? = null open var Name:String? = null open var Status:String? = null open var PricingShape:String? = null open var MonthlyAmount:BigDecimal? = null open var PerVisitAmount:BigDecimal? = null open var SkipPolicy:String? = null open var SeasonStartMonth:Int? = null open var SeasonStartDay:Int? = null open var SeasonEndMonth:Int? = null open var SeasonEndDay:Int? = null open var RecurrenceFrequency:String? = null open var RecurrenceBy:String? = null open var RecurrenceByValue:String? = null open var EffectiveStartDate:Date? = null open var EndDate:Date? = null open var PreferredCrewID:Int? = null open var PreferredCrewName:String? = null open var ExternalRef:String? = null open var CreatedBy:String? = null open var CreatedAt:Date? = null open var UpdatedBy:String? = null open var UpdatedAt:Date? = null open var NextVisitDate:Date? = null open var VisitsThisPeriod:Int? = null }