mo_member_quota

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemberQuota

type MemberQuota struct {
	Raw json.RawMessage
	//TeamMemberId    string `path:"member.profile.team_member_id" json:"team_member_id"`
	Email string `path:"member.profile.email" json:"email"`
	//EmailVerified   bool   `path:"member.profile.email_verified" json:"email_verified"`
	//Status          string `path:"member.profile.status.\\.tag" json:"status"`
	//GivenName       string `path:"member.profile.name.given_name" json:"given_name"`
	//Surname         string `path:"member.profile.name.surname" json:"surname"`
	//FamiliarName    string `path:"member.profile.name.familiar_name" json:"familiar_name"`
	//DisplayName     string `path:"member.profile.name.display_name" json:"display_name"`
	//AbbreviatedName string `path:"member.profile.name.abbreviated_name" json:"abbreviated_name"`
	//MemberFolderId  string `path:"member.profile.member_folder_id" json:"member_folder_id"`
	//ExternalId      string `path:"member.profile.external_id" json:"external_id"`
	//AccountId       string `path:"member.profile.account_id" json:"account_id"`
	//PersistentId    string `path:"member.profile.persistent_id" json:"persistent_id"`
	//JoinedOn        string `path:"member.profile.joined_on" json:"joined_on"`
	//Role            string `path:"member.role.\\.tag" json:"role"`
	//Tag             string `path:"member.\\.tag" json:"tag"`
	Quota int `path:"quota.quota_gb" json:"quota"`
}

func NewMemberQuota

func NewMemberQuota(member *mo_member.Member, quota *Quota) (mq *MemberQuota)

type Quota

type Quota struct {
	Raw          json.RawMessage
	TeamMemberId string `path:"user.team_member_id" json:"team_member_id"`
	Quota        int    `path:"quota_gb" json:"quota"`
}

func (*Quota) IsUnlimited

func (z *Quota) IsUnlimited() bool

Jump to

Keyboard shortcuts

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