mirror of
https://github.com/passbolt/go-passbolt.git
synced 2025-09-13 14:29:09 +00:00
add missing Comments to Public Functions
This commit is contained in:
parent
b047c9c647
commit
982af2dae4
8 changed files with 16 additions and 1 deletions
|
@ -11,20 +11,23 @@ type ResourceShareRequest struct {
|
|||
Secrets []Secret `json:"secrets,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceShareSimulationResult is the Result of a Sharing Siumulation
|
||||
// ResourceShareSimulationResult is the Result of a Sharing Simulation
|
||||
type ResourceShareSimulationResult struct {
|
||||
Changes ResourceShareSimulationChanges `json:"changes,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceShareSimulationChanges contains the Actual Changes
|
||||
type ResourceShareSimulationChanges struct {
|
||||
Added []ResourceShareSimulationChange `json:"added,omitempty"`
|
||||
Removed []ResourceShareSimulationChange `json:"removed,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceShareSimulationChange is a single change
|
||||
type ResourceShareSimulationChange struct {
|
||||
User ResourceShareSimulationUser `json:"user,omitempty"`
|
||||
}
|
||||
|
||||
// ResourceShareSimulationUser contains the users id
|
||||
type ResourceShareSimulationUser struct {
|
||||
ID string `json:"id,omitempty"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue