blob: 6ecb49683a227ca0c4f17fc8be2b94a577fba004 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014, 2016 Orange.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*******************************************************************************/
package org.eclipse.om2m.sdt.home.netatmo.model;
public class WelcomeCamera {
public static final String ID = "id";
public static final String TYPE = "type";
public static final String STATUS = "status";
public static final String VPN_URL = "vpn_url";
public static final String IS_LOCAL = "is_local";
public static final String SD_STATUS = "sd_status";
public static final String ALIM_STATUS = "alim_status";
public static final String NAME = "name";
private final String id;
private final String type;
private final String name;
private String vpnUrl;
private Boolean isOn;
private Boolean sdOk;
private Boolean alimOk;
private Boolean useLocalUrl;
public WelcomeCamera(final String pId, final String pType, final String pName) {
id = pId;
name = pName;
type = pType;
}
public void setUseLocalUrl(Boolean useLocalUrl) {
this.useLocalUrl = useLocalUrl;
}
public Boolean getUseLocalUrl() {
return useLocalUrl;
}
public String getVpnUrl() {
return vpnUrl;
}
public void setVpnUrl(String vpnUrl) {
this.vpnUrl = vpnUrl;
}
public Boolean getIsOn() {
return isOn;
}
public void setIsOn(Boolean isOn) {
this.isOn = isOn;
}
public Boolean getSdOk() {
return sdOk;
}
public void setSdOk(Boolean sdOk) {
this.sdOk = sdOk;
}
public Boolean getAlimOk() {
return alimOk;
}
public void setAlimOk(Boolean alimOk) {
this.alimOk = alimOk;
}
public String getId() {
return id;
}
public String getType() {
return type;
}
public String getName() {
return name;
}
@Override
public String toString() {
return "Camera(id=" + id + ", name=" + name + ", type=" + type
+ ", isOn=" + isOn + ", alimOk=" + alimOk + ", sdOk=" + sdOk + ")";
}
}