View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements. See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache license, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License. You may obtain a copy of the License at
8    *
9    *      http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the license for the specific language governing permissions and
15   * limitations under the license.
16   */
17  package org.apache.logging.log4j.docker.model;
18  
19  import com.fasterxml.jackson.annotation.JsonProperty;
20  
21  /**
22   *
23   */
24  public class Network {
25  
26      @JsonProperty("IPAMConfig")
27      private IPAMConfig ipamConfig;
28  
29      @JsonProperty("Links")
30      private String links;
31  
32      @JsonProperty("Aliases")
33      private String[] aliases;
34  
35      @JsonProperty("NetworkID")
36      private String networkId;
37  
38      @JsonProperty("EndpointID")
39      private String endpointId;
40  
41      @JsonProperty("Gateway")
42      private String gateway;
43  
44      @JsonProperty("IPAddress")
45      private String ipAddress;
46  
47      @JsonProperty("IPPrefixLen")
48      private Integer ipPrefixLen;
49  
50      @JsonProperty("IPv6Gateway")
51      private String ipv6Gateway;
52  
53      @JsonProperty("GlobalIPv6Address")
54      private String globalIPv6Address;
55  
56      @JsonProperty("GlobalIPv6PrefixLen")
57      private Integer globalIPv6PrefixLen;
58  
59      @JsonProperty("MacAddress")
60      private String macAddress;
61  
62      @JsonProperty("DriverOpts")
63      private String driverOpts;
64  
65      public IPAMConfig getIpamConfig() {
66          return ipamConfig;
67      }
68  
69      public void setIpamConfig(IPAMConfig ipamConfig) {
70          this.ipamConfig = ipamConfig;
71      }
72  
73      public String getLinks() {
74          return links;
75      }
76  
77      public void setLinks(String links) {
78          this.links = links;
79      }
80  
81      public String[] getAliases() {
82          return aliases;
83      }
84  
85      public void setAliases(String[] aliases) {
86          this.aliases = aliases;
87      }
88  
89      public String getNetworkId() {
90          return networkId;
91      }
92  
93      public void setNetworkId(String networkId) {
94          this.networkId = networkId;
95      }
96  
97      public String getEndpointId() {
98          return endpointId;
99      }
100 
101     public void setEndpointId(String endpointId) {
102         this.endpointId = endpointId;
103     }
104 
105     public String getGateway() {
106         return gateway;
107     }
108 
109     public void setGateway(String gateway) {
110         this.gateway = gateway;
111     }
112 
113     public String getIpAddress() {
114         return ipAddress;
115     }
116 
117     public void setIpAddress(String ipAddress) {
118         this.ipAddress = ipAddress;
119     }
120 
121     public Integer getIpPrefixLen() {
122         return ipPrefixLen;
123     }
124 
125     public void setIpPrefixLen(Integer ipPrefixLen) {
126         this.ipPrefixLen = ipPrefixLen;
127     }
128 
129     public String getIpv6Gateway() {
130         return ipv6Gateway;
131     }
132 
133     public void setIpv6Gateway(String ipv6Gateway) {
134         this.ipv6Gateway = ipv6Gateway;
135     }
136 
137     public String getGlobalIPv6Address() {
138         return globalIPv6Address;
139     }
140 
141     public void setGlobalIPv6Address(String globalIPv6Address) {
142         this.globalIPv6Address = globalIPv6Address;
143     }
144 
145     public Integer getGlobalIPv6PrefixLen() {
146         return globalIPv6PrefixLen;
147     }
148 
149     public void setGlobalIPv6PrefixLen(Integer globalIPv6PrefixLen) {
150         this.globalIPv6PrefixLen = globalIPv6PrefixLen;
151     }
152 
153     public String getMacAddress() {
154         return macAddress;
155     }
156 
157     public void setMacAddress(String macAddress) {
158         this.macAddress = macAddress;
159     }
160 
161     public String getDriverOpts() {
162         return driverOpts;
163     }
164 
165     public void setDriverOpts(String driverOpts) {
166         this.driverOpts = driverOpts;
167     }
168 }