2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.io.hueemulation.internal.dto.response;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
18 * This object describes the right hand side of "success".
19 * The response looks like this:
24 * "username": "-the-username-"
29 * @author David Graeff - Initial contribution
32 public class HueSuccessResponseCreateUser extends HueSuccessResponse {
33 public String username;
34 // For DTLS setup of the new hue entertain DTLS/UDP protocol
35 // The PSK identity matches the “username”, and the PSK key matches the “clientkey”.
36 public String clientkey;
38 public HueSuccessResponseCreateUser(String username, String clientkey) {
39 this.username = username;
40 this.clientkey = clientkey;