001/*
002 * Licensed to the Apache Software Foundation (ASF) under one or more
003 * contributor license agreements. See the NOTICE file distributed with
004 * this work for additional information regarding copyright ownership.
005 * The ASF licenses this file to You under the Apache license, Version 2.0
006 * (the "License"); you may not use this file except in compliance with
007 * the License. You may obtain a copy of the License at
008 *
009 *      http://www.apache.org/licenses/LICENSE-2.0
010 *
011 * Unless required by applicable law or agreed to in writing, software
012 * distributed under the License is distributed on an "AS IS" BASIS,
013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014 * See the license for the specific language governing permissions and
015 * limitations under the license.
016 */
017package org.apache.logging.log4j.docker.model;
018
019import com.fasterxml.jackson.annotation.JsonProperty;
020
021/**
022 *
023 */
024public class Network {
025
026    @JsonProperty("IPAMConfig")
027    private IPAMConfig ipamConfig;
028
029    @JsonProperty("Links")
030    private String links;
031
032    @JsonProperty("Aliases")
033    private String[] aliases;
034
035    @JsonProperty("NetworkID")
036    private String networkId;
037
038    @JsonProperty("EndpointID")
039    private String endpointId;
040
041    @JsonProperty("Gateway")
042    private String gateway;
043
044    @JsonProperty("IPAddress")
045    private String ipAddress;
046
047    @JsonProperty("IPPrefixLen")
048    private Integer ipPrefixLen;
049
050    @JsonProperty("IPv6Gateway")
051    private String ipv6Gateway;
052
053    @JsonProperty("GlobalIPv6Address")
054    private String globalIPv6Address;
055
056    @JsonProperty("GlobalIPv6PrefixLen")
057    private Integer globalIPv6PrefixLen;
058
059    @JsonProperty("MacAddress")
060    private String macAddress;
061
062    @JsonProperty("DriverOpts")
063    private String driverOpts;
064
065    public IPAMConfig getIpamConfig() {
066        return ipamConfig;
067    }
068
069    public void setIpamConfig(IPAMConfig ipamConfig) {
070        this.ipamConfig = ipamConfig;
071    }
072
073    public String getLinks() {
074        return links;
075    }
076
077    public void setLinks(String links) {
078        this.links = links;
079    }
080
081    public String[] getAliases() {
082        return aliases;
083    }
084
085    public void setAliases(String[] aliases) {
086        this.aliases = aliases;
087    }
088
089    public String getNetworkId() {
090        return networkId;
091    }
092
093    public void setNetworkId(String networkId) {
094        this.networkId = networkId;
095    }
096
097    public String getEndpointId() {
098        return endpointId;
099    }
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}