Fix for radio buttons
[sdc.git] / catalog-dao / src / main / java / org / openecomp / sdc / be / dao / rest / RestConfigurationInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
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 package org.openecomp.sdc.be.dao.rest;
22
23 public class RestConfigurationInfo {
24
25         private Integer readTimeoutInSec = null;
26
27         private Boolean ignoreCertificate = null;
28
29         private Integer connectionPoolSize = null;
30
31         private Integer connectTimeoutInSec = null;
32
33         private Integer socketTimeoutInSec = null;
34
35         /**
36          * @return the readTimeoutInSec
37          */
38         public Integer getReadTimeoutInSec() {
39                 return readTimeoutInSec;
40         }
41
42         /**
43          * @param readTimeoutInSec
44          *            the readTimeoutInSec to set
45          */
46         public void setReadTimeoutInSec(Integer readTimeoutInSec) {
47                 this.readTimeoutInSec = readTimeoutInSec;
48         }
49
50         /**
51          * @return the ignoreCertificate
52          */
53         public Boolean getIgnoreCertificate() {
54                 return ignoreCertificate;
55         }
56
57         /**
58          * @param ignoreCertificate
59          *            the ignoreCertificate to set
60          */
61         public void setIgnoreCertificate(Boolean ignoreCertificate) {
62                 this.ignoreCertificate = ignoreCertificate;
63         }
64
65         /**
66          * @return the connectionPoolSize
67          */
68         public Integer getConnectionPoolSize() {
69                 return connectionPoolSize;
70         }
71
72         /**
73          * @param connectionPoolSize
74          *            the connectionPoolSize to set
75          */
76         public void setConnectionPoolSize(Integer connectionPoolSize) {
77                 this.connectionPoolSize = connectionPoolSize;
78         }
79
80         /**
81          * @return the connectTimeoutInSec
82          */
83         public Integer getConnectTimeoutInSec() {
84                 return connectTimeoutInSec;
85         }
86
87         /**
88          * @param connectTimeoutInSec
89          *            the connectTimeoutInSec to set
90          */
91         public void setConnectTimeoutInSec(Integer connectTimeoutInSec) {
92                 this.connectTimeoutInSec = connectTimeoutInSec;
93         }
94
95         public Integer getSocketTimeoutInSec() {
96                 return socketTimeoutInSec;
97         }
98
99         public void setSocketTimeoutInSec(Integer socketTimeoutInSec) {
100                 this.socketTimeoutInSec = socketTimeoutInSec;
101         }
102
103         @Override
104         public String toString() {
105                 return "RestConfigurationInfo [readTimeoutInSec=" + readTimeoutInSec + ", ignoreCertificate="
106                                 + ignoreCertificate + ", connectionPoolSize=" + connectionPoolSize + ", connectTimeoutInSec="
107                                 + connectTimeoutInSec + ", socketTimeoutInSec=" + socketTimeoutInSec + "]";
108         }
109
110 }