package com.icontrols.bridge.dto;

import java.util.Arrays;

public class ServiceDetail {
	private String name;
	
	private String address;
	
	private int port;
	
	private String[] events;

	public ServiceDetail() {
		super();
		// TODO Auto-generated constructor stub
	}

	public ServiceDetail(String name, String address, int port, String[] events) {
		super();
		this.name = name;
		this.address = address;
		this.port = port;
		this.events = events;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String[] getEvents() {
		return events;
	}

	public void setEvents(String[] events) {
		this.events = events;
	}

	@Override
	public String toString() {
		return "ServiceDetail [name=" + name + ", address=" + address + ", port=" + port + ", events="
				+ Arrays.toString(events) + "]";
	}
	
}
