mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-05-09 17:48:20 +00:00
Add missing ResourceType for ContainResourceType
This commit is contained in:
parent
9cc8cc8b02
commit
bd2460467d
1 changed files with 19 additions and 18 deletions
|
@ -10,24 +10,25 @@ import (
|
||||||
// Warning: Since Passbolt v3 some fields here may not be populated as they may be in the Secret depending on the ResourceType,
|
// Warning: Since Passbolt v3 some fields here may not be populated as they may be in the Secret depending on the ResourceType,
|
||||||
// for now the only Field like that is the Decription.
|
// for now the only Field like that is the Decription.
|
||||||
type Resource struct {
|
type Resource struct {
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
Created *Time `json:"created,omitempty"`
|
Created *Time `json:"created,omitempty"`
|
||||||
CreatedBy string `json:"created_by,omitempty"`
|
CreatedBy string `json:"created_by,omitempty"`
|
||||||
Creator *User `json:"creator,omitempty"`
|
Creator *User `json:"creator,omitempty"`
|
||||||
Deleted bool `json:"deleted,omitempty"`
|
Deleted bool `json:"deleted,omitempty"`
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
Favorite *Favorite `json:"favorite,omitempty"`
|
Favorite *Favorite `json:"favorite,omitempty"`
|
||||||
Modified *Time `json:"modified,omitempty"`
|
Modified *Time `json:"modified,omitempty"`
|
||||||
ModifiedBy string `json:"modified_by,omitempty"`
|
ModifiedBy string `json:"modified_by,omitempty"`
|
||||||
Modifier *User `json:"modifier,omitempty"`
|
Modifier *User `json:"modifier,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Permission *Permission `json:"permission,omitempty"`
|
Permission *Permission `json:"permission,omitempty"`
|
||||||
URI string `json:"uri,omitempty"`
|
URI string `json:"uri,omitempty"`
|
||||||
Username string `json:"username,omitempty"`
|
Username string `json:"username,omitempty"`
|
||||||
FolderParentID string `json:"folder_parent_id,omitempty"`
|
FolderParentID string `json:"folder_parent_id,omitempty"`
|
||||||
ResourceTypeID string `json:"resource_type_id,omitempty"`
|
ResourceTypeID string `json:"resource_type_id,omitempty"`
|
||||||
Secrets []Secret `json:"secrets,omitempty"`
|
ResourceType ResourceType `json:"resource_type,omitempty"`
|
||||||
Tags []Tag `json:"tags,omitempty"`
|
Secrets []Secret `json:"secrets,omitempty"`
|
||||||
|
Tags []Tag `json:"tags,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tag is a Passbolt Password Tag
|
// Tag is a Passbolt Password Tag
|
||||||
|
|
Loading…
Add table
Reference in a new issue