From 6392a53924ab41b4072a95f2a54f42194abec704 Mon Sep 17 00:00:00 2001 From: sispeo <42068883+fperot74@users.noreply.github.com> Date: Wed, 10 Apr 2019 16:30:27 +0200 Subject: [PATCH] Update CredentialRepresentation model --- definitions.go | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/definitions.go b/definitions.go index 1577444..7c34bb3 100644 --- a/definitions.go +++ b/definitions.go @@ -201,19 +201,20 @@ type ConfigPropertyRepresentation struct { } type CredentialRepresentation struct { - Algorithm *string `json:"algorithm,omitempty"` - Config *MultivaluedHashMap `json:"config,omitempty"` - Counter *int32 `json:"counter,omitempty"` - CreatedDate *int64 `json:"createdDate,omitempty"` - Device *string `json:"device,omitempty"` - Digits *int32 `json:"digits,omitempty"` - HashIterations *int32 `json:"hashIterations,omitempty"` - HashedSaltedValue *string `json:"hashedSaltedValue,omitempty"` - Period *int32 `json:"period,omitempty"` - Salt *string `json:"salt,omitempty"` - Temporary *bool `json:"temporary,omitempty"` - Type *string `json:"type,omitempty"` - Value *string `json:"value,omitempty"` + Id *string `json:"id,omitempty"` + Algorithm *string `json:"algorithm,omitempty"` + Config *map[string][]string `json:"config,omitempty"` + Counter *int32 `json:"counter,omitempty"` + CreatedDate *int64 `json:"createdDate,omitempty"` + Device *string `json:"device,omitempty"` + Digits *int32 `json:"digits,omitempty"` + HashIterations *int32 `json:"hashIterations,omitempty"` + HashedSaltedValue *string `json:"hashedSaltedValue,omitempty"` + Period *int32 `json:"period,omitempty"` + Salt *string `json:"salt,omitempty"` + Temporary *bool `json:"temporary,omitempty"` + Type *string `json:"type,omitempty"` + Value *string `json:"value,omitempty"` } type EventRepresentation struct {