blob: 6800baee14441357718663765cfddea1948fe33e [file] [log] [blame]
Aharoni, Pavel (pa0916)0a8080c2018-11-22 15:45:19 +02001/*-
2 * ============LICENSE_START=======================================================
3 * OSAM Core
4 * ================================================================================
5 * Copyright (C) 2018 Netsia
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20
21
22
23package org.onap.osam.common.dto;
24
25import com.fasterxml.jackson.annotation.JsonInclude;
26import com.fasterxml.jackson.annotation.JsonRootName;
27import io.swagger.annotations.ApiModel;
28import io.swagger.annotations.ApiModelProperty;
29import lombok.AllArgsConstructor;
30import lombok.Data;
31import lombok.NoArgsConstructor;
32
33@Data
34@AllArgsConstructor
35@NoArgsConstructor
36@JsonRootName("ONTDevice")
37@JsonInclude(JsonInclude.Include.NON_NULL)
38@ApiModel
39public class ONTDTO {
40 @ApiModelProperty(hidden = true)
41 private Long id;
42 @ApiModelProperty(required = true, value="CLLI of the chassis on top of which this ONT device is registered")
43 private String clli;
44 @ApiModelProperty(required = true, value="Serial number of this ONT device")
45 private String serialNumber;
46 @ApiModelProperty(required = true, value="OLT Slot number of this ONT device")
47 private int slotNumber;
48 @ApiModelProperty(required = true, value="OLT Port number of this ONT device")
49 private int portNumber;
50 private int ontNumber;
51 private int stag;
52 private int ctag;
53 private String nasPortId;
54 private String circuitId;
55 private String technologyProfile;
56 private String speedProfile;
57}