use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class SystemsResponse method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.append("energy_lifetime", this.energy_lifetime);
builder.append("energy_today", this.energy_today);
builder.append("current_power", this.current_power);
builder.appendSuper(super.toString());
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class ThermostatSummaryResponse method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("revisionList", this.revisionList);
builder.append("statusList", this.statusList);
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class User method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("userName", this.userName);
builder.append("displayName", this.displayName);
builder.append("firstName", this.firstName);
builder.append("lastName", this.lastName);
builder.append("honorific", this.honorific);
builder.append("registerDate", this.registerDate);
builder.append("registerTime", this.registerTime);
builder.append("defaultThermostatIdentifier", this.defaultThermostatIdentifier);
builder.append("managementRef", this.managementRef);
builder.append("utilityRef", this.utilityRef);
builder.append("supportRef", this.supportRef);
builder.append("phoneNumber", this.phoneNumber);
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class AbstractAuthResponse method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
if (this.error != null) {
builder.append("error", this.error);
}
if (this.errorDescription != null) {
builder.append("errorDescription", this.errorDescription);
}
if (this.errorURI != null) {
builder.append("errorURI", this.errorURI);
}
return builder.toString();
}
use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.
the class AbstractFunction method toString.
@Override
public String toString() {
final ToStringBuilder builder = createToStringBuilder();
builder.appendSuper(super.toString());
builder.append("type", this.type);
builder.append("params", this.params);
return builder.toString();
}
Aggregations