X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fmodels%2Fpolicy_type_id.go;fp=pkg%2Fmodels%2Fpolicy_type_id.go;h=3ddd43bd2b5d49f2314df400a223b3f6872f2320;hb=5152bd39551f19139752d89a795327ca9dd189db;hp=6e67d412a84c4086008f8ebcede305ded5676c68;hpb=272fb5b36779f68a944ca317fa6a6159da0128e3;p=ric-plt%2Fa1.git diff --git a/pkg/models/policy_type_id.go b/pkg/models/policy_type_id.go index 6e67d41..3ddd43b 100644 --- a/pkg/models/policy_type_id.go +++ b/pkg/models/policy_type_id.go @@ -26,6 +26,8 @@ package models // Editing this file might prove futile when you re-run the swagger generate command import ( + "context" + "github.com/go-openapi/errors" "github.com/go-openapi/strfmt" "github.com/go-openapi/validate" @@ -54,3 +56,8 @@ func (m PolicyTypeID) Validate(formats strfmt.Registry) error { } return nil } + +// ContextValidate validates this policy type id based on context it is used +func (m PolicyTypeID) ContextValidate(ctx context.Context, formats strfmt.Registry) error { + return nil +}