X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=E2Manager%2Fmodels%2Fe2_reset_response.go;fp=E2Manager%2Fmodels%2Fe2_reset_response.go;h=846bf707b528268f948e48d6ea272e8147ad4414;hb=aa3e21c2fb093d886be4592d6061829448a0a9e1;hp=0000000000000000000000000000000000000000;hpb=b8e578e67a2d1e3e70a5669197c4ccb093669b23;p=ric-plt%2Fe2mgr.git diff --git a/E2Manager/models/e2_reset_response.go b/E2Manager/models/e2_reset_response.go new file mode 100644 index 0000000..846bf70 --- /dev/null +++ b/E2Manager/models/e2_reset_response.go @@ -0,0 +1,61 @@ +// +// Copyright 2022 Samsung Electronics Co. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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 models + +import ( + "encoding/xml" +) + +type E2ResetResponseMessage struct { + XMLName xml.Name `xml:"E2ResetRequestMessage"` + Text string `xml:",chardata"` + E2APPDU struct { + XMLName xml.Name `xml:"E2AP-PDU"` + Text string `xml:",chardata"` + SuccessfulOutcome struct { + Text string `xml:",chardata"` + ProcedureCode string `xml:"procedureCode"` + Criticality struct { + Text string `xml:",chardata"` + Ignore string `xml:"ignore"` + } `xml:"criticality"` + Value struct { + Text string `xml:",chardata"` + ResetResponse struct { + Text string `xml:",chardata"` + ProtocolIEs struct { + Text string `xml:",chardata"` + ResetResponseIEs []struct { + Text string `xml:",chardata"` + ID string `xml:"id"` + Criticality struct { + Text string `xml:",chardata"` + Ignore string `xml:"ignore"` + } `xml:"criticality"` + Value struct { + Text string `xml:",chardata"` + TransactionID string `xml:"TransactionID"` + } `xml:"value"` + } `xml:"ResetResponseIEs"` + } `xml:"protocolIEs"` + } `xml:"ResetResponse"` + } `xml:"value"` + } `xml:"successfulOutcome"` + } `xml:"E2AP-PDU"` +}