Copy latest code to master
[ric-plt/resource-status-manager.git] / RSM / enums / registration_request.go
index 96e0dfd..4460363 100644 (file)
 // 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
 
@@ -22,6 +25,8 @@ type Registration_Request int
 const (
        Registration_Request_start Registration_Request = iota
        Registration_Request_stop
-       Registration_Request_partial_stop
-       Registration_Request_add
 )
+
+func (rs Registration_Request) String() string {
+       return [...]string{"start", "stop"}[rs]
+}
\ No newline at end of file