Policy status notification handling - initial rollup
[ric-plt/a1.git] / pkg / models / policy_instance_id.go
index 111e02e..83e1c14 100644 (file)
@@ -26,11 +26,14 @@ package models
 // Editing this file might prove futile when you re-run the swagger generate command
 
 import (
+       "context"
+
        "github.com/go-openapi/strfmt"
 )
 
 // PolicyInstanceID represents a policy instance identifier. UUIDs are advisable but can be any string
 //
+// Example: 3d2157af-6a8f-4a7c-810f-38c2f824bf12
 //
 // swagger:model policy_instance_id
 type PolicyInstanceID string
@@ -39,3 +42,8 @@ type PolicyInstanceID string
 func (m PolicyInstanceID) Validate(formats strfmt.Registry) error {
        return nil
 }
+
+// ContextValidate validates this policy instance id based on context it is used
+func (m PolicyInstanceID) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
+       return nil
+}