gitee.com/larksuite/oapi-sdk-go/v3@v3.0.3/service/meeting_room/v1/ext_model.go (about) 1 /* 2 * MIT License 3 * 4 * Copyright (c) 2022 Lark Technologies Pte. Ltd. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 7 * 8 * The above copyright notice and this permission notice, shall be included in all copies or substantial portions of the Software. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 11 */ 12 13 package larkmeeting_room 14 15 import "gitee.com/larksuite/oapi-sdk-go/v3/event" 16 17 type P1ThirdPartyMeetingRoomChangedV1 struct { 18 *larkevent.EventReq 19 *larkevent.EventBase 20 Event *P1ThirdPartyMeetingRoomChangedV1Data `json:"event"` 21 } 22 23 func (m *P1ThirdPartyMeetingRoomChangedV1) RawReq(req *larkevent.EventReq) { 24 m.EventReq = req 25 } 26 27 type P1EventTimeV1 struct { 28 TimeStamp string `json:"time_stamp,omitempty"` // 时间 29 } 30 31 type P1MeetingRoomV1 struct { 32 OpenId string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同 33 } 34 35 type P1OrganizerV1 struct { 36 OpenId string `json:"open_id,omitempty"` // 员工对此应用的唯一标识,同一员工对不同应用的open_id不同 37 UserId string `json:"user_id,omitempty"` // 用户在ISV下的唯一标识,申请了"获取用户user ID"权限后才会返回 38 } 39 40 type P1ThirdPartyMeetingRoomChangedV1Data struct { 41 AppID string `json:"app_id,omitempty"` // App ID 42 TenantKey string `json:"tenant_key,omitempty"` // 企业标识 43 Type string `json:"type,omitempty"` // 此事件此处始终为event_callback 44 EventTime string `json:"event_time,omitempty"` //事件发生时间 45 Uid string `json:"uid,omitempty"` // 日程的唯一标识 46 OriginalTime int `json:"original_time,omitempty"` // 重复日程的例外的唯一标识,如果不是重复的日程,此处为0 47 Start *P1EventTimeV1 `json:"start,omitempty"` //日历的日程开始时间 48 End *P1EventTimeV1 `json:"end,omitempty"` //日历的日程结束时间 49 MeetingRoom []*P1MeetingRoomV1 `json:"meeting_rooms,omitempty"` //日程关联的会议室 50 Organizer *P1OrganizerV1 `json:"organizer,omitempty"` //日程的组织者 51 }