/**
 * Copyright (C) 2016 by Software-Systementwicklung Zwickau Research Group
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */
package de.fh_zwickau.informatik.sensor.model.zwaveapi.controller;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.google.gson.annotations.SerializedName;

/**
 * The {@link ZWaveController} represents the controller from ZWave API. See also:
 * http://docs.zwayhomeautomation.apiary.io/#
 *
 * @author Patrick Hecker - Initial contribution
 */
public class ZWaveController {
    @SerializedName("data")
    private ZWaveControllerData mData;

    /**
     * Instantiate a Z-Wave device object with default values.
     */
    public ZWaveController() {
        mData = new ZWaveControllerData();
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return new ToStringBuilder(this).append("data", mData).toString();
    }
}

@@ -951,16 +951,260 @@
 %0A    %7D%0A%0A
+    public ZWaveControllerData getData() %7B%0A        if (mData == null) %7B%0A            mData = new ZWaveControllerData();%0A        %7D%0A        return mData;%0A    %7D%0A%0A    public void setData(ZWaveControllerData data) %7B%0A        this.mData = data;%0A    %7D%0A%0A
     /*%0A 

add missing getter and setter.