Documentation
¶
Index ¶
- Constants
- Variables
- type PublicGroups
- type Queue
- func (q *Queue) AddPublicGroup(memberName string) error
- func (q *Queue) AddRole(memberName string) error
- func (q *Queue) AddRoleAndSubordinate(memberName string) error
- func (q *Queue) AddSobject(sobject string) error
- func (q *Queue) AddUser(memberName string) error
- func (c *Queue) SetMetadata(m metadata.MetadataInfo)
- func (c *Queue) Type() metadata.MetadataType
- type RoleAndSubordinates
- type Roles
- type SobjectType
- type SobjectTypes
- type Users
Constants ¶
View Source
const NAME = "Queue"
Variables ¶
View Source
var MemberExistsError = errors.New("member already exists")
View Source
var SobjectExistsError = errors.New("sobject already exists")
Functions ¶
This section is empty.
Types ¶
type PublicGroups ¶
type PublicGroups struct {
PublicGroup []string `xml:"publicGroup"`
}
func (PublicGroups) Tidy ¶
func (publicGroups PublicGroups) Tidy()
type Queue ¶
type Queue struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"Queue"`
Xmlns string `xml:"xmlns,attr"`
Description *struct {
Text string `xml:",chardata"`
} `xml:"description"`
DoesSendEmailToMembers struct {
Text string `xml:",chardata"`
} `xml:"doesSendEmailToMembers"`
Email *string `xml:"email"`
Name struct {
Text string `xml:",chardata"`
} `xml:"name"`
QueueMembers struct {
PublicGroups *PublicGroups `xml:"publicGroups"`
RoleAndSubordinates *RoleAndSubordinates `xml:"roleAndSubordinates"`
Roles *Roles `xml:"roles"`
Users *Users `xml:"users"`
} `xml:"queueMembers"`
QueueSobject SobjectTypes `xml:"queueSobject"`
}
func (*Queue) AddPublicGroup ¶
func (*Queue) AddRoleAndSubordinate ¶
func (*Queue) AddSobject ¶
func (*Queue) SetMetadata ¶
func (c *Queue) SetMetadata(m metadata.MetadataInfo)
func (*Queue) Type ¶
func (c *Queue) Type() metadata.MetadataType
type RoleAndSubordinates ¶
type RoleAndSubordinates struct {
RoleAndSubordinate []string `xml:"roleAndSubordinate"`
}
func (RoleAndSubordinates) Tidy ¶
func (roleAndSubordinates RoleAndSubordinates) Tidy()
type SobjectType ¶
type SobjectType struct {
SobjectType string `xml:"sobjectType"`
}
type SobjectTypes ¶
type SobjectTypes []SobjectType
func (SobjectTypes) Tidy ¶
func (sobjectTypes SobjectTypes) Tidy()
Click to show internal directories.
Click to hide internal directories.