// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
-//
+
+// This source code is part of the near-RT RIC (RAN Intelligent Controller)
+// platform project (RICP).
+
package enums
2: "RIC_TO_RAN",
}
-const (
- UNKNOWN_MESSAGE_DIRECTION MessageDirection = 0
- RAN_TO_RIC MessageDirection = 1
- RIC_TO_RAN MessageDirection = 2
-)
-
func (md MessageDirection) String() string {
s, ok := messageDirectionEnumName[int32(md)]
if ok {
_, ok := messageDirectionEnumName[int32(md)]
if !ok {
- return nil,&json.UnsupportedValueError{}
+ return nil, &json.UnsupportedValueError{}
}
- v:= int32(md)
+ v := int32(md)
return json.Marshal(v)
}