mo_namespace

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
	Raw           json.RawMessage
	Name          string `path:"name" json:"name"`
	NamespaceId   string `path:"namespace_id" json:"namespace_id"`
	NamespaceType string `path:"namespace_type.\\.tag" json:"namespace_type"`
	TeamMemberId  string `path:"team_member_id" json:"team_member_id"`
}

type NamespaceEntry

type NamespaceEntry struct {
	Raw                  json.RawMessage
	NamespaceType        string `path:"namespace.namespace_type.\\.tag" json:"namespace_type"`
	NamespaceId          string `path:"namespace.namespace_id" json:"namespace_id"`
	NamespaceName        string `path:"namespace.name" json:"namespace_name"`
	NamespaceMemberEmail string `json:"namespace_member_email"`
	Id                   string `path:"entry.id" json:"file_id"`
	Tag                  string `path:"entry.\\.tag" json:"tag"`
	Name                 string `path:"entry.name" json:"name"`
	PathDisplay          string `path:"entry.path_display" json:"path_display"`
	ClientModified       string `path:"entry.client_modified" json:"client_modified"`
	ServerModified       string `path:"entry.server_modified" json:"server_modified"`
	Revision             string `path:"entry.rev" json:"revision"`
	Size                 int64  `path:"entry.size" json:"size"`
	ContentHash          string `path:"entry.content_hash" json:"content_hash"`
	SharedFolderId       string `path:"entry.sharing_info.shared_folder_id" json:"shared_folder_id"`
	ParentSharedFolderId string `path:"entry.sharing_info.parent_shared_folder_id" json:"parent_shared_folder_id"`
}

func NewNamespaceEntry

func NewNamespaceEntry(namespace *Namespace, entry *mo_file.ConcreteEntry) (ne *NamespaceEntry)

type NamespaceMember

type NamespaceMember struct {
	Raw                   json.RawMessage
	NamespaceName         string `path:"namespace.name" json:"namespace_name"`
	NamespaceId           string `path:"namespace.namespace_id" json:"namespace_id"`
	NamespaceType         string `path:"namespace.namespace_type.\\.tag" json:"namespace_type"`
	NamespaceTeamMemberId string `path:"namespace.team_member_id" json:"namespace_team_member_id"`
	EntryAccessType       string `path:"member.access_type.\\.tag" json:"entry_access_type"`
	EntryIsInherited      bool   `path:"member.is_inherited" json:"entry_is_inherited"`
	AccountId             string `path:"member.user.account_id" json:"account_id"`
	TeamMemberId          string `path:"member.user.team_member_id" json:"team_member_id"`
	Email                 string `path:"member.user.email" json:"email"`
	DisplayName           string `path:"member.user.display_name" json:"display_name"`
	GroupName             string `path:"member.group.group_name" json:"group_name"`
	GroupId               string `path:"member.group.group_id" json:"group_id"`
	InviteeEmail          string `path:"member.invitee.email" json:"invitee_email"`
}

func NewNamespaceMember

func NewNamespaceMember(namespace *Namespace, member mo_sharedfolder_member.Member) (nm *NamespaceMember)

func (*NamespaceMember) Member

func (z *NamespaceMember) Member() (member mo_sharedfolder_member.Member)

func (*NamespaceMember) Namespace

func (z *NamespaceMember) Namespace() (namespace *Namespace)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL