8 type MessageDirection int32
10 var messageDirectionEnumName = map[int32]string{
11 0: "UNKNOWN_MESSAGE_DIRECTION",
17 UNKNOWN_MESSAGE_DIRECTION MessageDirection = 0
18 RAN_TO_RIC MessageDirection = 1
19 RIC_TO_RAN MessageDirection = 2
22 func (md MessageDirection) String() string {
23 s, ok := messageDirectionEnumName[int32(md)]
27 return strconv.Itoa(int(md))
30 func (md MessageDirection) MarshalJSON() ([]byte, error) {
31 _, ok := messageDirectionEnumName[int32(md)]
34 return nil,&json.UnsupportedValueError{}
38 return json.Marshal(v)