X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=RSM%2Fenums%2Fregistration_request.go;h=44603633e5ad16e976a3f27530b005c1320c055b;hb=HEAD;hp=96e0dfddcf4493523f323fc48133d6ee63012559;hpb=3cf173dfd1964fc2c98456ba7b8c38771d3d44fc;p=ric-plt%2Fresource-status-manager.git diff --git a/RSM/enums/registration_request.go b/RSM/enums/registration_request.go index 96e0dfd..4460363 100644 --- a/RSM/enums/registration_request.go +++ b/RSM/enums/registration_request.go @@ -13,7 +13,10 @@ // 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