
io.codearte.accurest.dsl.internal.DslProperty.groovy Maven / Gradle / Ivy
The newest version!
package io.codearte.accurest.dsl.internal
import groovy.transform.CompileStatic
import groovy.transform.EqualsAndHashCode
import groovy.transform.ToString
@CompileStatic
@EqualsAndHashCode(includeFields = true)
@ToString(includePackage = false, includeNames = true)
class DslProperty {
final T clientValue
final T serverValue
DslProperty(T clientValue, T serverValue) {
this.clientValue = clientValue
this.serverValue = serverValue
}
DslProperty(T singleValue) {
this.clientValue = singleValue
this.serverValue = singleValue
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy