blob: 9f7d5613d1ee8c93c415d63ac7e7cfbeaa16d2d7 [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
33import java.util.List;
34
35@Data
36@AllArgsConstructor
37@NoArgsConstructor
38@JsonRootName("Chassis")
39@JsonInclude(JsonInclude.Include.NON_NULL)
40@ApiModel
41public class ChassisDTO {
42 @ApiModelProperty(hidden = true)
43 private Long id;
44 @ApiModelProperty(required = true, value="CLLI of the chassis")
45 private String clli;
46 @ApiModelProperty(required = true, value="PNF ID of the POD on top of which this chassis is registered")
47 private String pnfId;
48 @ApiModelProperty(required = true, value="Shelf number for this chassis")
49 private int shelf;
50 @ApiModelProperty(required = true, value="Rack number for this chassis")
51 private int rack;
52 @ApiModelProperty(hidden = true)
53 private List<OLTChassisDTO> olts;
54}