proto

package
v0.0.0-...-7a666ee Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2016 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package proto is a generated protocol buffer package.

It is generated from these files:

proto.proto

It has these top-level messages:

ShareInfo
PersonInfo
FlatInfo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlatInfo

type FlatInfo struct {
	ShareInfo  *ShareInfo  `protobuf:"bytes,1,opt,name=shareInfo" json:"shareInfo,omitempty"`
	OwnerInfo  *PersonInfo `protobuf:"bytes,2,opt,name=ownerInfo" json:"ownerInfo,omitempty"`
	ShareeInfo *PersonInfo `protobuf:"bytes,3,opt,name=shareeInfo" json:"shareeInfo,omitempty"`
}

func (*FlatInfo) Descriptor

func (*FlatInfo) Descriptor() ([]byte, []int)

func (*FlatInfo) GetOwnerInfo

func (m *FlatInfo) GetOwnerInfo() *PersonInfo

func (*FlatInfo) GetShareInfo

func (m *FlatInfo) GetShareInfo() *ShareInfo

func (*FlatInfo) GetShareeInfo

func (m *FlatInfo) GetShareeInfo() *PersonInfo

func (*FlatInfo) ProtoMessage

func (*FlatInfo) ProtoMessage()

func (*FlatInfo) Reset

func (m *FlatInfo) Reset()

func (*FlatInfo) String

func (m *FlatInfo) String() string

type PersonInfo

type PersonInfo struct {
	Login        string `protobuf:"bytes,1,opt,name=login" json:"login,omitempty"`
	Uid          int64  `protobuf:"varint,2,opt,name=uid" json:"uid,omitempty"`
	Department   string `protobuf:"bytes,3,opt,name=department" json:"department,omitempty"`
	Group        string `protobuf:"bytes,4,opt,name=group" json:"group,omitempty"`
	Organization string `protobuf:"bytes,5,opt,name=organization" json:"organization,omitempty"`
	Company      string `protobuf:"bytes,6,opt,name=company" json:"company,omitempty"`
	Office       string `protobuf:"bytes,7,opt,name=office" json:"office,omitempty"`
}

func (*PersonInfo) Descriptor

func (*PersonInfo) Descriptor() ([]byte, []int)

func (*PersonInfo) ProtoMessage

func (*PersonInfo) ProtoMessage()

func (*PersonInfo) Reset

func (m *PersonInfo) Reset()

func (*PersonInfo) String

func (m *PersonInfo) String() string

type ShareInfo

type ShareInfo struct {
	Id          int64  `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	ShareType   int64  `protobuf:"varint,2,opt,name=share_type,json=shareType" json:"share_type,omitempty"`
	ShareWith   string `protobuf:"bytes,3,opt,name=share_with,json=shareWith" json:"share_with,omitempty"`
	UidOwner    string `protobuf:"bytes,4,opt,name=uid_owner,json=uidOwner" json:"uid_owner,omitempty"`
	Parent      int64  `protobuf:"varint,5,opt,name=parent" json:"parent,omitempty"`
	ItemType    string `protobuf:"bytes,6,opt,name=item_type,json=itemType" json:"item_type,omitempty"`
	ItemSource  int64  `protobuf:"varint,7,opt,name=item_source,json=itemSource" json:"item_source,omitempty"`
	ItemTarget  string `protobuf:"bytes,8,opt,name=item_target,json=itemTarget" json:"item_target,omitempty"`
	FileSource  int64  `protobuf:"varint,9,opt,name=file_source,json=fileSource" json:"file_source,omitempty"`
	FileTarget  string `protobuf:"bytes,10,opt,name=file_target,json=fileTarget" json:"file_target,omitempty"`
	Permissions string `protobuf:"bytes,11,opt,name=permissions" json:"permissions,omitempty"`
	Stime       int64  `protobuf:"varint,12,opt,name=stime" json:"stime,omitempty"`
	Accepted    int64  `protobuf:"varint,13,opt,name=accepted" json:"accepted,omitempty"`
	Expiration  string `protobuf:"bytes,14,opt,name=expiration" json:"expiration,omitempty"`
	Token       string `protobuf:"bytes,15,opt,name=token" json:"token,omitempty"`
	MailSend    int64  `protobuf:"varint,16,opt,name=mail_send,json=mailSend" json:"mail_send,omitempty"`
}

func (*ShareInfo) Descriptor

func (*ShareInfo) Descriptor() ([]byte, []int)

func (*ShareInfo) ProtoMessage

func (*ShareInfo) ProtoMessage()

func (*ShareInfo) Reset

func (m *ShareInfo) Reset()

func (*ShareInfo) String

func (m *ShareInfo) String() string

Jump to

Keyboard shortcuts

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