Package 

Class RegisterResponse


  • @Serializable() 
    public final class RegisterResponse
    
                        

    All fields optional: the server has two 200 shapes — a normal acceptance (wsUrl/sessionKey/slmConfig) and a polite refusal ({ok, status, reason, deviceId}, no wsUrl) when the device doesn't meet the sdk_type's admission rules. A strict parse of the refusal envelope would throw and send the SDK into an infinite reconnect loop against a server that is deliberately declining it.