From a0108a829e2bfd39012aefc0b03f0d6ae2d6b6d0 Mon Sep 17 00:00:00 2001 From: michaelfmnk Date: Wed, 31 Jul 2024 13:40:46 +0200 Subject: [PATCH] Added user connectionStatus support --- cloudconnexa/users.go | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/cloudconnexa/users.go b/cloudconnexa/users.go index 032c5ac..b9a4584 100644 --- a/cloudconnexa/users.go +++ b/cloudconnexa/users.go @@ -8,16 +8,17 @@ import ( ) type User struct { - Id string `json:"id"` - Username string `json:"username"` - Role string `json:"role"` - Email string `json:"email"` - AuthType string `json:"authType"` - FirstName string `json:"firstName"` - LastName string `json:"lastName"` - GroupId string `json:"groupId"` - Status string `json:"status"` - Devices []Device `json:"devices"` + Id string `json:"id"` + Username string `json:"username"` + Role string `json:"role"` + Email string `json:"email"` + AuthType string `json:"authType"` + FirstName string `json:"firstName"` + LastName string `json:"lastName"` + GroupId string `json:"groupId"` + Status string `json:"status"` + Devices []Device `json:"devices"` + ConnectionStatus ConnectionStatus `json:"connectionStatus"` } type UserPageResponse struct {