1236d75b9526c97ab2ff28fac0bdd0ff8293ae73
[ovsdb.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / lib / table / SSL.java
1 /*
2  * [[ Authors will Fill in the Copyright header ]]
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Authors : Brent Salisbury, Madhu Venugopal, Evan Zeller
9  */
10 package org.opendaylight.ovsdb.lib.table;
11
12 import org.opendaylight.ovsdb.lib.notation.OvsDBMap;
13 import org.opendaylight.ovsdb.lib.table.internal.Table;
14
15 import com.fasterxml.jackson.annotation.JsonIgnore;
16
17 public class SSL  extends Table<SSL> {
18
19     public static final Name<SSL> NAME = new Name<SSL>("SSL") {};
20     private String ca_cert;
21     private Boolean bootstrap_ca_cert;
22     private String certificate;
23     private String private_key;
24     private OvsDBMap<String, String> external_ids;
25
26     public String getCa_cert() {
27         return ca_cert;
28     }
29     public void setCa_cert(String ca_cert) {
30         this.ca_cert = ca_cert;
31     }
32     public OvsDBMap<String, String> getExternal_ids() {
33         return external_ids;
34     }
35     public void setExternal_ids(OvsDBMap<String, String> external_ids) {
36         this.external_ids = external_ids;
37     }
38     public Boolean getBootstrap_ca_cert() {
39         return bootstrap_ca_cert;
40     }
41     public void setBootstrap_ca_cert(Boolean bootstrap_ca_cert) {
42         this.bootstrap_ca_cert = bootstrap_ca_cert;
43     }
44     public String getCertificate() {
45         return certificate;
46     }
47     public void setCertificate(String certificate) {
48         this.certificate = certificate;
49     }
50     public String getPrivate_key() {
51         return private_key;
52     }
53     public void setPrivate_key(String private_key) {
54         this.private_key = private_key;
55     }
56
57     @Override
58     @JsonIgnore
59     public Name<SSL> getTableName() {
60         return NAME;
61     }
62
63     @Override
64     public String toString() {
65         return "SSL [ca_cert=" + ca_cert + ", bootstrap_ca_cert="
66                 + bootstrap_ca_cert + ", certificate=" + certificate
67                 + ", private_key=" + private_key + ", external_ids="
68                 + external_ids + "]";
69     }
70
71     public enum Column implements org.opendaylight.ovsdb.lib.table.internal.Column<SSL> {
72         ca_cert,
73         bootstrap_ca_cert,
74         certificate,
75         private_key,
76         external_ids}
77 }