/
model_glip_groups_event.go
35 lines (32 loc) · 2.11 KB
/
model_glip_groups_event.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* RingCentral Connect Platform API Explorer
*
* <p>This is a beta interactive API explorer for the RingCentral Connect Platform. To use this service, you will need to have an account with the proper credentials to generate an OAuth2 access token.</p><p><h2>Quick Start</h2></p><ol><li>1) Go to <b>Authentication > /oauth/token</b></li><li>2) Enter <b>app_key, app_secret, username, password</b> fields and then click \"Try it out!\"</li><li>3) Upon success, your access_token is loaded and you can access any form requiring authorization.</li></ol><h2>Links</h2><ul><li><a href=\"https://github.com/ringcentral\" target=\"_blank\">RingCentral SDKs on Github</a></li><li><a href=\"mailto:devsupport@ringcentral.com\">RingCentral Developer Support Email</a></li></ul>
*
* API version: 1.0
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package ringcentral
import (
"time"
)
type GlipGroupsEvent struct {
// Internal identifier of a group
Id string `json:"id,omitempty"`
// Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future. 'PersonalChat' is a private chat thread of a user
Type string `json:"type,omitempty"`
// For 'Team' group type only. Team access level
IsPublic bool `json:"isPublic,omitempty"`
// For 'Team' group type only. Team name
Name string `json:"name,omitempty"`
// For 'Team' group type only. Team description
Description string `json:"description,omitempty"`
// Identifier(s) of group members
Members []string `json:"members,omitempty"`
// Group creation datetime in ISO 8601 format
CreationTime time.Time `json:"creationTime,omitempty"`
// Group last change datetime in ISO 8601 format
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// Type of a group event. Only the person who joined/was added to a group will receive 'GroupJoined' notification. Only the person who left/was removed from a group will receive 'GroupLeft' notification
EventType string `json:"eventType,omitempty"`
}