mirror of
https://github.com/passbolt/go-passbolt-cli.git
synced 2025-09-13 14:59:09 +00:00
Add Resource Json Output
This commit is contained in:
parent
e8bb791686
commit
269e117fbf
3 changed files with 111 additions and 44 deletions
15
resource/json.go
Normal file
15
resource/json.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
package resource
|
||||
|
||||
import "time"
|
||||
|
||||
type ResourceJsonOutput struct {
|
||||
ID *string `json:"id,omitempty"`
|
||||
FolderParentID *string `json:"folder_parent_id,omitempty"`
|
||||
Name *string `json:"name,omitempty"`
|
||||
Username *string `json:"username,omitempty"`
|
||||
URI *string `json:"uri,omitempty"`
|
||||
Password *string `json:"password,omitempty"`
|
||||
Description *string `json:"description,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