X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-backend%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fmodel%2FMetricsTransport.java;fp=webapp-backend%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fric%2Fportal%2Fdashboard%2Fmodel%2FMetricsTransport.java;h=0000000000000000000000000000000000000000;hb=ccf75118bac3808065eba14081c096b49177219f;hp=ba0db05b4567daae308b486b0143fcd6da72654c;hpb=93a44cb851a49c923126f32016646860d104075c;p=portal%2Fric-dashboard.git diff --git a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/model/MetricsTransport.java b/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/model/MetricsTransport.java deleted file mode 100644 index ba0db05b..00000000 --- a/webapp-backend/src/main/java/org/oransc/ric/portal/dashboard/model/MetricsTransport.java +++ /dev/null @@ -1,65 +0,0 @@ -/*- - * ========================LICENSE_START================================= - * O-RAN-SC - * %% - * 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.oransc.ric.portal.dashboard.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; - } - -}