X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-backend%2Fsrc%2Fmain%2Fjava%2Forg%2Foranosc%2Fric%2Fportal%2Fdash%2Fmodel%2FMetricsTransport.java;fp=webapp-backend%2Fsrc%2Fmain%2Fjava%2Forg%2Foranosc%2Fric%2Fportal%2Fdash%2Fmodel%2FMetricsTransport.java;h=0000000000000000000000000000000000000000;hb=f660cae7a447b60d84ef75f7c2bcbf62412d4579;hp=38f3fc79500ef76af53087e0a59414b35a91d1a6;hpb=0f3312b36f849df0e1671c333e0072aca3a1acf6;p=portal%2Fric-dashboard.git diff --git a/webapp-backend/src/main/java/org/oranosc/ric/portal/dash/model/MetricsTransport.java b/webapp-backend/src/main/java/org/oranosc/ric/portal/dash/model/MetricsTransport.java deleted file mode 100644 index 38f3fc79..00000000 --- a/webapp-backend/src/main/java/org/oranosc/ric/portal/dash/model/MetricsTransport.java +++ /dev/null @@ -1,65 +0,0 @@ -/*- - * ========================LICENSE_START================================= - * ORAN-OSC - * %% - * Copyright (C) 2019 AT&T Intellectual Property and Nokia - * %% - * 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. - * ========================LICENSE_END=================================== - */ - -package org.oranosc.ric.portal.dash.model; - -/** - * Trivial model to transport a batch of numbers, to be serialized as JSON. - */ -public class MetricsTransport implements IDashboardResponse { - - private Integer latency; - private Integer load; - private Integer time; - - public MetricsTransport() { - } - - public MetricsTransport(Integer latency, Integer load, Integer time) { - this.latency = latency; - this.load = load; - this.time = time; - } - - public Integer getLatency() { - return latency; - } - - public void setLatency(Integer latency) { - this.latency = latency; - } - - public Integer getLoad() { - return load; - } - - public void setLoad(Integer load) { - this.load = load; - } - - public Integer getTime() { - return time; - } - - public void setTime(Integer time) { - this.time = time; - } - -}