xyz.stratalab.sdk.models.LockIdValidator.scala Maven / Gradle / Ivy
The newest version!
package xyz.stratalab.sdk.models
object LockIdValidator extends scalapb.validate.Validator[xyz.stratalab.sdk.models.LockId] {
def validate(input: xyz.stratalab.sdk.models.LockId): scalapb.validate.Result =
scalapb.validate.Result.run(io.envoyproxy.pgv.BytesValidation.length("LockId.value", input.value, 32))
}