mo_group_member

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

func GroupMemberEmails

func GroupMemberEmails(members []*Member) []string

Types

type GroupMember

type GroupMember struct {
	Raw                 json.RawMessage `json:"-"`
	GroupId             string          `path:"group.group_id" json:"group_id"`
	GroupName           string          `path:"group.group_name" json:"group_name"`
	GroupManagementType string          `path:"group.group_management_type.\\.tag" json:"group_management_type"`
	AccessType          string          `path:"member.access_type.\\.tag" json:"access_type"`
	AccountId           string          `path:"member.profile.account_id" json:"account_id"`
	TeamMemberId        string          `path:"member.profile.team_member_id" json:"team_member_id"`
	Email               string          `path:"member.profile.email" json:"email"`
	Status              string          `path:"member.profile.status.\\.tag" json:"status"`
	Surname             string          `path:"member.profile.name.surname" json:"surname"`
	GivenName           string          `path:"member.profile.name.given_name" json:"given_name"`
}

Group and member information

func NewGroupMember

func NewGroupMember(group *mo_group.Group, member *Member) (gm *GroupMember)

func (*GroupMember) Group

func (z *GroupMember) Group() (group *mo_group.Group)

func (*GroupMember) Member

func (z *GroupMember) Member() (member *Member)

type Member

type Member struct {
	Raw             json.RawMessage
	TeamMemberId    string `path:"profile.team_member_id"`
	Email           string `path:"profile.email"`
	Status          string `path:"profile.status.\\.tag"`
	GivenName       string `path:"profile.name.given_name"`
	Surname         string `path:"profile.name.surname"`
	FamiliarName    string `path:"profile.name.familiar_name"`
	DisplayName     string `path:"profile.name.display_name"`
	AbbreviatedName string `path:"profile.name.abbreviated_name"`
	MemberFolderId  string `path:"profile.member_folder_id"`
	ExternalId      string `path:"profile.external_id"`
	AccountId       string `path:"profile.account_id"`
	PersistentId    string `path:"profile.persistent_id"`
	JoinedOn        string `path:"profile.joined_on"`
	AccessType      string `path:"access_type.\\.tag"`
}

func (*Member) Profile

func (z *Member) Profile() *mo_profile.Profile

Jump to

Keyboard shortcuts

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