package com.ggbetawerks.plex.config;

import java.util.UUID;

/**
 * Created by jonw on 03/10/15.
 */
public class Configuration implements IConfiguration {
	private String host;

	private String port;

	private String username;
	private String password;
	private String clientIdentifier;
	private String product;
	private String productVersion;
	private String deviceName;
	private String device;
	private String plexRemoteServer;

	private String plexAuthenticationToken;

	public Configuration(){
		host = "localhost";
		port = "32400";
		username = "";
		password = "";
		clientIdentifier = UUID.randomUUID().toString();
		product = "";
		productVersion = "";
		plexRemoteServer = "https://plex.tv";
		plexAuthenticationToken = "";
	}

	/* (non-Javadoc)
	 * @see com.ggbetawerks.plex.config.IConfiguration#getHost()
	 */
	public String getHost() {
		return host;
	}

	/* (non-Javadoc)
	 * @see com.ggbetawerks.plex.config.IConfiguration#setHost(java.lang.String)
	 */
	public void setHost(String host) {
		this.host = host;
	}

	/* (non-Javadoc)
	 * @see ccom.ggbetawerks.plex.config.IConfiguration#getPort()
	 */
	public String getPort() {
		return port;
	}

	/* (non-Javadoc)
	 * @see com.ggbetawerks.plex.config.IConfiguration#setPort(java.lang.String)
	 */
	public void setPort(String port) {
		this.port = port;
	}



	@Override
	public String getUsername() {
		return username;
	}

	@Override
	public void setUsername(String username) {
		this.username = username;
	}

	@Override
	public String getPassword() {
		return password;
	}

	@Override
	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String getClientIdentifier() {
		return clientIdentifier;
	}

	@Override
	public void setClientIdentifier(String clientIdentifier) {
		this.clientIdentifier = clientIdentifier;
	}

	@Override
	public String getProduct() {
		return product;
	}

	@Override
	public void setProduct(String product) {
		this.product = product;
	}

	@Override
	public String getProductVersion() {
		return productVersion;
	}

	@Override
	public void setProductVersion(String version) {
		this.productVersion = version;
	}

	@Override
	public String getPlexRemoteServer() {
		return plexRemoteServer;
	}

	@Override
	public void setPlexRemoteServer(String remoteHost) {
		this.plexRemoteServer = remoteHost;
	}

	@Override
	public String getPlexAuthenticationToken() {
		return plexAuthenticationToken;
	}

	@Override
	public void setPlexAuthenticationToken(String token) {
		this.plexAuthenticationToken = token;
	}

	@Override
	public String getDeviceName() {
		return deviceName;
	}

	@Override
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	@Override
	public String getDevice() {
		return device;
	}

	@Override
	public void setDevice(String device) {
		this.device = device;
	}
}
