Documentation
¶
Index ¶
- type ChangeMasterPasswordCommand
- type DownloadObject
- type EnterpriseAllocateIdsCommand
- type EnterpriseAllocateIdsResponse
- type EnterpriseNode
- type EnterpriseNodeAddCommand
- type EnterpriseNodeDeleteCommand
- type EnterpriseNodeUpdateCommand
- type EnterpriseRole
- type EnterpriseRoleAddCommand
- type EnterpriseRoleDeleteCommand
- type EnterpriseRoleUpdateCommand
- type EnterpriseTeam
- type EnterpriseTeamAddCommand
- type EnterpriseTeamDeleteCommand
- type EnterpriseTeamUpdateCommand
- type EnterpriseTeamUser
- type EnterpriseTeamUserRemoveCommand
- type EnterpriseTeamUserUpdateCommand
- type PreDeleteCommand
- type PreDeleteObject
- type RecordAddCommand
- type RecordObject
- type RecordUpdateCommand
- type RecordUpdateResponse
- type RequestDownloadCommand
- type RequestDownloadResponse
- type RequestUploadCommand
- type RequestUploadResponse
- type ShareAccountCommand
- type SsoToken
- type StatusObject
- type UploadObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeMasterPasswordCommand ¶
type ChangeMasterPasswordCommand struct {
auth.AuthorizedCommand
AuthVerifier string `json:"auth_verifier"`
EncryptionParams string `json:"encryption_params"`
}
func (*ChangeMasterPasswordCommand) CommandName ¶
func (c *ChangeMasterPasswordCommand) CommandName() string
type DownloadObject ¶
type DownloadObject struct {
Url string `json:"url"`
}
type EnterpriseAllocateIdsCommand ¶
type EnterpriseAllocateIdsCommand struct {
auth.AuthorizedCommand
NumberRequested int `json:"number_requested"`
}
func (*EnterpriseAllocateIdsCommand) CommandName ¶
func (c *EnterpriseAllocateIdsCommand) CommandName() string
type EnterpriseAllocateIdsResponse ¶
type EnterpriseAllocateIdsResponse struct {
auth.KeeperApiResponse
NumberAllocated int `json:"number_allocated"`
BaseId int64 `json:"base_id"`
}
type EnterpriseNode ¶
type EnterpriseNodeAddCommand ¶
type EnterpriseNodeAddCommand struct {
auth.AuthorizedCommand
EnterpriseNode
}
func (*EnterpriseNodeAddCommand) CommandName ¶
func (c *EnterpriseNodeAddCommand) CommandName() string
type EnterpriseNodeDeleteCommand ¶
type EnterpriseNodeDeleteCommand struct {
auth.AuthorizedCommand
NodeId int64 `json:"node_id"`
}
func (*EnterpriseNodeDeleteCommand) CommandName ¶
func (c *EnterpriseNodeDeleteCommand) CommandName() string
type EnterpriseNodeUpdateCommand ¶
type EnterpriseNodeUpdateCommand struct {
auth.AuthorizedCommand
EnterpriseNode
}
func (*EnterpriseNodeUpdateCommand) CommandName ¶
func (c *EnterpriseNodeUpdateCommand) CommandName() string
type EnterpriseRole ¶
type EnterpriseRoleAddCommand ¶
type EnterpriseRoleAddCommand struct {
auth.AuthorizedCommand
EnterpriseRole
}
func (*EnterpriseRoleAddCommand) CommandName ¶
func (c *EnterpriseRoleAddCommand) CommandName() string
type EnterpriseRoleDeleteCommand ¶
type EnterpriseRoleDeleteCommand struct {
auth.AuthorizedCommand
RoleId int64 `json:"role_id"`
}
func (*EnterpriseRoleDeleteCommand) CommandName ¶
func (c *EnterpriseRoleDeleteCommand) CommandName() string
type EnterpriseRoleUpdateCommand ¶
type EnterpriseRoleUpdateCommand struct {
auth.AuthorizedCommand
EnterpriseRole
}
func (*EnterpriseRoleUpdateCommand) CommandName ¶
func (c *EnterpriseRoleUpdateCommand) CommandName() string
type EnterpriseTeam ¶
type EnterpriseTeamAddCommand ¶
type EnterpriseTeamAddCommand struct {
auth.AuthorizedCommand
EnterpriseTeam
PublicKey string `json:"public_key"`
PrivateKey string `json:"private_key"`
TeamKey string `json:"team_key"`
ManageOnly bool `json:"manage_only"`
EncryptedTeamKey string `json:"encrypted_team_key"`
}
func (*EnterpriseTeamAddCommand) CommandName ¶
func (c *EnterpriseTeamAddCommand) CommandName() string
type EnterpriseTeamDeleteCommand ¶
type EnterpriseTeamDeleteCommand struct {
auth.AuthorizedCommand
TeamUid string `json:"team_uid"`
}
func (*EnterpriseTeamDeleteCommand) CommandName ¶
func (c *EnterpriseTeamDeleteCommand) CommandName() string
type EnterpriseTeamUpdateCommand ¶
type EnterpriseTeamUpdateCommand struct {
auth.AuthorizedCommand
EnterpriseTeam
}
func (*EnterpriseTeamUpdateCommand) CommandName ¶
func (c *EnterpriseTeamUpdateCommand) CommandName() string
type EnterpriseTeamUser ¶
type EnterpriseTeamUserRemoveCommand ¶
type EnterpriseTeamUserRemoveCommand struct {
auth.AuthorizedCommand
EnterpriseTeamUser
}
func (*EnterpriseTeamUserRemoveCommand) CommandName ¶
func (c *EnterpriseTeamUserRemoveCommand) CommandName() string
type EnterpriseTeamUserUpdateCommand ¶
type EnterpriseTeamUserUpdateCommand struct {
auth.AuthorizedCommand
EnterpriseTeamUser
UserType int `json:"user_type"`
}
func (*EnterpriseTeamUserUpdateCommand) CommandName ¶
func (c *EnterpriseTeamUserUpdateCommand) CommandName() string
type PreDeleteCommand ¶
type PreDeleteCommand struct {
auth.KeeperApiResponse
Objects []*PreDeleteObject `json:"objects,omitempty"`
}
type PreDeleteObject ¶
type RecordAddCommand ¶
type RecordAddCommand struct {
auth.AuthorizedCommand
RecordUid string `json:"record_uid"`
RecordType string `json:"record_type"`
RecordKey string `json:"record_key"`
HowLongAgo float64 `json:"how_long_ago"`
FolderType string `json:"folder_type"`
FolderUid string `json:"folder_uid"`
FolderKey string `json:"folder_key"`
Data string `json:"data"`
Extra string `json:"extra"`
Udata map[string]interface{} `json:"udata"`
}
func (*RecordAddCommand) CommandName ¶
func (c *RecordAddCommand) CommandName() string
type RecordObject ¶
type RecordObject struct {
RecordUid string `json:"record_uid"`
TeamUid string `json:"team_uid"`
Version int32 `json:"version"`
Revision int64 `json:"revision"`
RecordKey string `json:"record_key"`
ClientModifiedTime float64 `json:"client_modified_time"`
Data string `json:"data"`
Extra string `json:"extra"`
Udata map[string]interface{} `json:"udata,omitempty"`
}
type RecordUpdateCommand ¶
type RecordUpdateCommand struct {
auth.AuthorizedCommand
DeviceId string `json:"device_id,omitempty"`
Pt string `json:"pt,omitempty"`
ClientTime float64 `json:"client_time,omitempty"`
AddRecords []*RecordObject `json:"add_records,omitempty"`
UpdateRecords []*RecordObject `json:"update_records,omitempty"`
RemoveRecords []string `json:"remove_records,omitempty"`
DeleteRecords []string `json:"delete_records,omitempty"`
}
func (*RecordUpdateCommand) CommandName ¶
func (c *RecordUpdateCommand) CommandName() string
type RecordUpdateResponse ¶
type RecordUpdateResponse struct {
auth.KeeperApiResponse
AddRecords []*StatusObject `json:"add_records,omitempty"`
UpdateRecords []*StatusObject `json:"update_records,omitempty"`
RemoveRecords []*StatusObject `json:"remove_records,omitempty"`
DeleteRecords []*StatusObject `json:"delete_records,omitempty"`
}
type RequestDownloadCommand ¶
type RequestDownloadCommand struct {
auth.AuthorizedCommand
RecordUid string `json:"record_uid,omitempty"`
TeamUid string `json:"team_uid,omitempty"`
FileIds []string `json:"file_ids,omitempty"`
}
func (*RequestDownloadCommand) CommandName ¶
func (c *RequestDownloadCommand) CommandName() string
type RequestDownloadResponse ¶
type RequestDownloadResponse struct {
auth.KeeperApiResponse
Downloads []*DownloadObject `json:"downloads"`
}
type RequestUploadCommand ¶
type RequestUploadCommand struct {
auth.AuthorizedCommand
FileCount int `json:"file_count,omitempty"`
ThumbnailCount int `json:"thumbnail_count,omitempty"`
}
func (*RequestUploadCommand) CommandName ¶
func (c *RequestUploadCommand) CommandName() string
type RequestUploadResponse ¶
type RequestUploadResponse struct {
auth.KeeperApiResponse
FileUploads []*UploadObject `json:"file_uploads"`
ThumbnailUploads []*UploadObject `json:"thumbnail_uploads"`
}
type ShareAccountCommand ¶
type ShareAccountCommand struct {
}
func (*ShareAccountCommand) CommandName ¶
func (c *ShareAccountCommand) CommandName() string
type SsoToken ¶
type SsoToken struct {
Command string `json:"command"`
Result string `json:"result"`
Email string `json:"email"`
Password string `json:"password"`
NewPassword string `json:"new_password"`
ProviderName string `json:"provider_name"`
SessionId string `json:"session_id"`
LoginToken string `json:"login_token"`
}
type StatusObject ¶
Click to show internal directories.
Click to hide internal directories.