blob: 69f64ccc8a18eb8feffa8409e0e579332ec30c74 [file] [log] [blame]
package models
import (
"e2mgr/enums"
"gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities"
)
type ResourceStatusPayload struct {
NodeType entities.Node_Type `json:"nodeType"`
MessageDirection enums.MessageDirection `json:"messageDirection"`
}
func NewResourceStatusPayload(nodeType entities.Node_Type, messageDirection enums.MessageDirection) *ResourceStatusPayload {
return &ResourceStatusPayload{
NodeType: nodeType,
MessageDirection: messageDirection,
}
}