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 Mount {
025    
026    @JsonProperty("Type")
027    private String type;
028    
029    @JsonProperty("Name")
030    private String name;
031
032    @JsonProperty("Source")
033    private String source;
034
035    @JsonProperty("Destination")
036    private String destination;
037
038    @JsonProperty("Driver")
039    private String driver;
040
041    @JsonProperty("Mode")
042    private String mode;
043
044    @JsonProperty("RW")
045    private Boolean readWrite;
046
047    @JsonProperty("Propagation")
048    private String propagation;
049
050    public String getType() {
051        return type;
052    }
053
054    public void setType(String type) {
055        this.type = type;
056    }
057
058    public String getName() {
059        return name;
060    }
061
062    public void setName(String name) {
063        this.name = name;
064    }
065
066    public String getSource() {
067        return source;
068    }
069
070    public void setSource(String source) {
071        this.source = source;
072    }
073
074    public String getDestination() {
075        return destination;
076    }
077
078    public void setDestination(String destination) {
079        this.destination = destination;
080    }
081
082    public String getDriver() {
083        return driver;
084    }
085
086    public void setDriver(String driver) {
087        this.driver = driver;
088    }
089
090    public String getMode() {
091        return mode;
092    }
093
094    public void setMode(String mode) {
095        this.mode = mode;
096    }
097
098    public Boolean getReadWrite() {
099        return readWrite;
100    }
101
102    public void setReadWrite(Boolean readWrite) {
103        this.readWrite = readWrite;
104    }
105
106    public String getPropagation() {
107        return propagation;
108    }
109
110    public void setPropagation(String propagation) {
111        this.propagation = propagation;
112    }
113}