mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 14:59:09 +00:00
Add User Json Output
This commit is contained in:
parent
a2257bc011
commit
c8dc067697
3 changed files with 87 additions and 32 deletions
13
user/json.go
Normal file
13
user/json.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package user
|
||||
|
||||
import "time"
|
||||
|
||||
type UserJsonOutput struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
Username *string `json:"username,omitempty"`
|
||||
FirstName *string `json:"first_name,omitempty"`
|
||||
LastName *string `json:"last_name,omitempty"`
|
||||
Role *string `json:"role,omitempty"`
|
||||
CreatedTimestamp *time.Time `json:"created_timestamp,omitempty"`
|
||||
ModifiedTimestamp *time.Time `json:"modified_timestamp,omitempty"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue