Search in sources :

Example 61 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.

the class TokenRequest method toString.

@Override
public String toString() {
    final ToStringBuilder builder = createToStringBuilder();
    builder.appendSuper(super.toString());
    builder.append("authToken", this.authToken);
    builder.append("appKey", this.appKey);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Example 62 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.

the class TokenResponse method toString.

@Override
public String toString() {
    final ToStringBuilder builder = createToStringBuilder();
    builder.appendSuper(super.toString());
    builder.append("accessToken", this.accessToken);
    builder.append("tokenType", this.tokenType);
    builder.append("expiresIn", this.expiresIn);
    builder.append("refreshToken", this.refreshToken);
    builder.append("scope", this.scope);
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Example 63 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.

the class UpdateThermostatRequest method toString.

@Override
public String toString() {
    final ToStringBuilder builder = createToStringBuilder();
    builder.appendSuper(super.toString());
    builder.append("accessToken", this.accessToken);
    builder.append("selection", this.selection);
    if (this.functions != null) {
        builder.append("functions", this.functions);
    }
    if (this.thermostat != null) {
        builder.append("thermostat", this.thermostat);
    }
    return builder.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Example 64 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project vladmihalcea.wordpress.com by vladmihalcea.

the class WarehouseProductInfo method toString.

@Override
public String toString() {
    ToStringBuilder tsb = new ToStringBuilder(this);
    tsb.append("id", id);
    tsb.append("name", quantity);
    tsb.append("product", product);
    return tsb.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Example 65 with ToStringBuilder

use of org.apache.commons.lang.builder.ToStringBuilder in project openhab1-addons by openhab.

the class SagerCasterBindingConfig method toString.

/**
     * {@inheritDoc}
     */
@Override
public String toString() {
    ToStringBuilder tsb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    tsb.append("commandType", commandType.toString());
    return tsb.toString();
}
Also used : ToStringBuilder(org.apache.commons.lang.builder.ToStringBuilder)

Aggregations

ToStringBuilder (org.apache.commons.lang.builder.ToStringBuilder)73 DataMap (com.linkedin.data.DataMap)1 ProtocolVersion (com.linkedin.restli.common.ProtocolVersion)1 PropertyChangeEvent (java.beans.PropertyChangeEvent)1 PropertyChangeListener (java.beans.PropertyChangeListener)1 InetAddress (java.net.InetAddress)1 SimpleDateFormat (java.text.SimpleDateFormat)1 Arrays (java.util.Arrays)1 Collection (java.util.Collection)1 Collections (java.util.Collections)1 Date (java.util.Date)1 HashMap (java.util.HashMap)1 LinkedList (java.util.LinkedList)1 List (java.util.List)1 Map (java.util.Map)1 Properties (java.util.Properties)1 Set (java.util.Set)1 TimeZone (java.util.TimeZone)1 Collectors (java.util.stream.Collectors)1 Level (org.apache.logging.log4j.Level)1