package mesosphere.marathon.client.model.v2;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import mesosphere.marathon.client.utils.ModelUtils;

public class Docker {
	private String image;
	private String network;
	private Collection<Port> portMappings;
	private List<Parameter> parameters;
	private boolean privileged;

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	public Collection<Port> getPortMappings() {
		return portMappings;
	}

	public void setPortMappings(Collection<Port> portMappings) {
		this.portMappings = portMappings;
	}

	public boolean isPrivileged() {
		return privileged;
	}

	public void setPrivileged(boolean privileged) {
		this.privileged = privileged;
	}

	public List<Parameter> getParameters() {
		return parameters;
	}

	public void setParameters(List<Parameter> parameters) {
		this.parameters = parameters;
	}

	@Override
	public String toString() {
		return ModelUtils.toString(this);
	}
}

@@ -50,29 +50,53 @@
 ort 
-java.util.Collection;
+mesosphere.marathon.client.utils.ModelUtils;%0A
 %0Aimp
@@ -109,20 +109,26 @@
 va.util.
-List
+Collection
 ;%0Aimport
@@ -142,64 +142,12 @@
 til.
-Map;%0A%0Aimport mesosphere.marathon.client.utils.ModelUtils
+List
 ;%0A%0Ap
@@ -215,16 +215,49 @@
 etwork;%0A
+%09private boolean forcePullImage;%0A
 %09private
@@ -1068,16 +1068,182 @@
 rs;%0A%09%7D%0A%0A
+%09public boolean isForcePullImage() %7B%0A%09%09return forcePullImage;%0A%09%7D%0A%0A%09public void setForcePullImage(boolean forcePullImage) %7B%0A%09%09this.forcePullImage = forcePullImage;%0A%09%7D%0A
 %09@Overri
@@ -1312,10 +1312,11 @@
 is);%0A%09%7D%0A
+%0A
 %7D%0A

Add option to force docker pull