mo_user

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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature struct {
	PaperAsFiles bool `json:"paper_as_files"`
	FileLocking  bool `json:"file_locking"`
}

type MemberFeature

type MemberFeature struct {
	Email        string `path:"member.profile.email" json:"email"`
	PaperAsFiles bool   `json:"paper_as_files"`
	FileLocking  bool   `json:"file_locking"`
}

func NewMemberFeature

func NewMemberFeature(email string, feature *Feature) MemberFeature

type UserSelector

type UserSelector struct {
	Tag          string `json:".tag"`
	TeamMemberId string `json:"team_member_id,omitempty"`
	ExternalId   string `json:"external_id,omitempty"`
	Email        string `json:"email,omitempty"`
}

func NewUserSelectorByEmail

func NewUserSelectorByEmail(email string) UserSelector

func NewUserSelectorByExternalid

func NewUserSelectorByExternalid(externalid string) UserSelector

func NewUserSelectorByTeamMemberId

func NewUserSelectorByTeamMemberId(teamMemberId string) UserSelector

Jump to

Keyboard shortcuts

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