Documentation ¶
Index ¶
- func RequestAccessToken(ctx context.Context, accountId string, clientId string, clientSecret string) (string, error)
- type Client
- func (c *Client) AddGroupAdmins(ctx context.Context, groupId, userId string) error
- func (c *Client) AddGroupMembers(ctx context.Context, groupId, userId string) error
- func (c *Client) AssignRole(ctx context.Context, roleId, userId string) error
- func (c *Client) DeleteGroupAdmin(ctx context.Context, groupId, userId string) error
- func (c *Client) DeleteGroupMember(ctx context.Context, groupId, userId string) error
- func (c *Client) GetContactGroupMembers(ctx context.Context, groupId string, nextToken string) ([]GroupMember, string, *http.Response, error)
- func (c *Client) GetContactGroups(ctx context.Context, nextToken string) ([]ContactGroup, string, *http.Response, error)
- func (c *Client) GetGroupAdmins(ctx context.Context, groupId string) ([]User, error)
- func (c *Client) GetGroupMembers(ctx context.Context, groupId string) ([]User, error)
- func (c *Client) GetGroups(ctx context.Context, nextToken string) ([]Group, string, *http.Response, error)
- func (c *Client) GetRoleMembers(ctx context.Context, roleId string, nextToken string) ([]User, string, *http.Response, error)
- func (c *Client) GetRoles(ctx context.Context) ([]Role, *http.Response, error)
- func (c *Client) GetUser(ctx context.Context, userId string) (User, *http.Response, error)
- func (c *Client) GetUsers(ctx context.Context, nextToken string) ([]User, string, *http.Response, error)
- func (c *Client) UnassignRole(ctx context.Context, roleId, userId string) error
- type ContactGroup
- type Group
- type GroupMember
- type Member
- type Pagination
- type PaginationData
- type Payload
- type Role
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddGroupAdmins ¶ added in v0.0.3
AddGroupAdmins adds admin to the group.
func (*Client) AddGroupMembers ¶ added in v0.0.3
AddGroupMembers adds user to a group.
func (*Client) AssignRole ¶ added in v0.0.3
AssignRole assigns role to a user.
func (*Client) DeleteGroupAdmin ¶ added in v0.0.3
DeleteGroupAdmin removes admin from the group.
func (*Client) DeleteGroupMember ¶ added in v0.0.3
DeleteGroupMember removes member from the group.
func (*Client) GetContactGroupMembers ¶
func (c *Client) GetContactGroupMembers(ctx context.Context, groupId string, nextToken string) ([]GroupMember, string, *http.Response, error)
GetContactGroupMembers returns all Zoom contact group members.
func (*Client) GetContactGroups ¶
func (c *Client) GetContactGroups(ctx context.Context, nextToken string) ([]ContactGroup, string, *http.Response, error)
GetContactGroups returns all contact groups from Zoom.
func (*Client) GetGroupAdmins ¶
GetGroupAdmins returns all Zoom group admins.
func (*Client) GetGroupMembers ¶
GetGroupMembers returns all Zoom group members.
func (*Client) GetGroups ¶
func (c *Client) GetGroups(ctx context.Context, nextToken string) ([]Group, string, *http.Response, error)
GetGroups returns all Zoom groups.
func (*Client) GetRoleMembers ¶
func (c *Client) GetRoleMembers(ctx context.Context, roleId string, nextToken string) ([]User, string, *http.Response, error)
GetRoleMembers returns all Zoom role members.
type ContactGroup ¶
type GroupMember ¶
type Pagination ¶
type PaginationData ¶
type User ¶
type User struct { ID string `json:"id"` Email string `json:"email"` FirstName string `json:"first_name"` LastName string `json:"last_name"` RoleName string `json:"role_name"` Type int `json:"type"` DisplayName string `json:"display_name"` RoleID string `json:"role_id"` Status string `json:"status"` }
Click to show internal directories.
Click to hide internal directories.