All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ionic.sdk.agent.request.createdevice.CreateDeviceResponse Maven / Gradle / Ivy

Go to download

The Ionic Java SDK provides an easy-to-use interface to the Ionic Platform.

There is a newer version: 2.9.0
Show newest version
package com.ionic.sdk.agent.request.createdevice;

import com.ionic.sdk.agent.request.base.AgentResponseBase;
import com.ionic.sdk.device.profile.DeviceProfile;

/**
 * Represents the output for an Agent.createDevice() request.
 */
public final class CreateDeviceResponse extends AgentResponseBase {

    /**
     * Request state.
     */
    private DeviceProfile deviceProfile;

    /**
     * Constructor.
     */
    public CreateDeviceResponse() {
        super();
    }

    /**
     * @return the newly created device profile
     */
    public DeviceProfile getDeviceProfile() {
        return deviceProfile;
    }

    /**
     * Class instance variable setter.
     *
     * @param deviceProfile the device profile extracted from the server response payload
     */
    public void setDeviceProfile(final DeviceProfile deviceProfile) {
        this.deviceProfile = deviceProfile;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy