Documentation ¶
Index ¶
- func ApiUrlToAccountIdUrl(apiUrl string) string
- func ExtensionInfosUrl(serverUrl string, userIds []string) string
- func GetCompanyMainNumber(apiClient *rc.APIClient, accountId string) (string, error)
- func GlipPersonInfosUrl(serverUrl string, userIds []string) string
- func NewExtensionInfoFromMimePart(part *multipart.Part) (rc.GetExtensionInfoResponse, error)
- func NewGlipPersonInfoFromMimePart(part *multipart.Part) (rc.GlipPersonInfo, error)
- type MergedUser
- type MergedUserSet
- func AddBatchExtensionInfosHttpResponse(mergedUserSet MergedUserSet, resp *http.Response) (MergedUserSet, error)
- func AddBatchExtensionInfosMultipartReader(mergedUserSet MergedUserSet, mr *multipart.Reader) (MergedUserSet, error)
- func AddBatchGlipPersonInfosBodyBoundary(mergedUserSet MergedUserSet, body []byte, boundary string) (MergedUserSet, error)
- func AddBatchGlipPersonInfosMultipartReader(mergedUserSet MergedUserSet, mr *multipart.Reader) (MergedUserSet, error)
- func AddMainCompanyPhoneNumber(client *http.Client, serverUrl string, set MergedUserSet) (MergedUserSet, error)
- func NewMergedUserSet() MergedUserSet
- func NewMergedUsersApiIds(client *http.Client, serverUrl string, userIds []string) (MergedUserSet, error)
- type MergedUserThin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiUrlToAccountIdUrl ¶
func ExtensionInfosUrl ¶
func GetCompanyMainNumber ¶
func GlipPersonInfosUrl ¶
func NewExtensionInfoFromMimePart ¶
func NewExtensionInfoFromMimePart(part *multipart.Part) (rc.GetExtensionInfoResponse, error)
func NewGlipPersonInfoFromMimePart ¶
func NewGlipPersonInfoFromMimePart(part *multipart.Part) (rc.GlipPersonInfo, error)
Types ¶
type MergedUser ¶
type MergedUser struct { MainNumber string GlipPersonInfo rc.GlipPersonInfo ExtensionInfo rc.GetExtensionInfoResponse }
func NewMergedUserFromMimePart ¶
func NewMergedUserFromMimePart(part *multipart.Part) (MergedUser, error)
func (*MergedUser) DisplayNumber ¶
func (mu *MergedUser) DisplayNumber() (string, error)
func (*MergedUser) PhoneBusinessOrMainNumberExt ¶
func (mu *MergedUser) PhoneBusinessOrMainNumberExt() string
func (*MergedUser) ToMergedUserThin ¶
func (mu *MergedUser) ToMergedUserThin() MergedUserThin
func (*MergedUser) TrimNumbers ¶
func (mu *MergedUser) TrimNumbers()
type MergedUserSet ¶
type MergedUserSet struct { UserIdOrder []string MergedUserMap map[string]MergedUser }
func AddBatchExtensionInfosHttpResponse ¶
func AddBatchExtensionInfosHttpResponse(mergedUserSet MergedUserSet, resp *http.Response) (MergedUserSet, error)
func AddBatchExtensionInfosMultipartReader ¶
func AddBatchExtensionInfosMultipartReader(mergedUserSet MergedUserSet, mr *multipart.Reader) (MergedUserSet, error)
func AddBatchGlipPersonInfosBodyBoundary ¶
func AddBatchGlipPersonInfosBodyBoundary(mergedUserSet MergedUserSet, body []byte, boundary string) (MergedUserSet, error)
func AddBatchGlipPersonInfosMultipartReader ¶
func AddBatchGlipPersonInfosMultipartReader(mergedUserSet MergedUserSet, mr *multipart.Reader) (MergedUserSet, error)
func AddMainCompanyPhoneNumber ¶
func AddMainCompanyPhoneNumber(client *http.Client, serverUrl string, set MergedUserSet) (MergedUserSet, error)
func NewMergedUserSet ¶
func NewMergedUserSet() MergedUserSet
func NewMergedUsersApiIds ¶
Click to show internal directories.
Click to hide internal directories.