xyz.stratalab.indexer.services.GroupPolicyResponseValidator.scala Maven / Gradle / Ivy
The newest version!
package xyz.stratalab.indexer.services
object GroupPolicyResponseValidator extends scalapb.validate.Validator[xyz.stratalab.indexer.services.GroupPolicyResponse] {
def validate(input: xyz.stratalab.indexer.services.GroupPolicyResponse): scalapb.validate.Result =
scalapb.validate.Result.optional(input.groupPolicy) { _value =>
xyz.stratalab.sdk.models.EventValidator.GroupPolicyValidator.validate(_value)
}
}