Documentation
¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen ¶
Code generated by lark suite oapi sdk gen
Index ¶
- func SetMeetingRoomCreatedEventHandler(conf *config.Config, ...)
- func SetMeetingRoomDeletedEventHandler(conf *config.Config, ...)
- func SetMeetingRoomStatusChangedEventHandler(conf *config.Config, ...)
- func SetMeetingRoomUpdatedEventHandler(conf *config.Config, ...)
- func SetRoomCreatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *RoomCreatedEvent) error)
- func SetRoomDeletedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *RoomDeletedEvent) error)
- func SetRoomStatusChangedEventHandler(conf *config.Config, ...)
- func SetRoomUpdatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *RoomUpdatedEvent) error)
- type Building
- type BuildingBatchGetIdReqCall
- type BuildingBatchGetIdResult
- type BuildingBatchGetReqCall
- type BuildingBatchGetResult
- type BuildingCreateReqBody
- type BuildingCreateReqCall
- type BuildingCreateResult
- type BuildingDeleteReqBody
- type BuildingDeleteReqCall
- type BuildingId
- type BuildingListReqCall
- type BuildingListResult
- type BuildingService
- func (buildings *BuildingService) BatchGet(ctx *core.Context, optFns ...request.OptFn) *BuildingBatchGetReqCall
- func (buildings *BuildingService) BatchGetId(ctx *core.Context, optFns ...request.OptFn) *BuildingBatchGetIdReqCall
- func (buildings *BuildingService) Create(ctx *core.Context, body *BuildingCreateReqBody, optFns ...request.OptFn) *BuildingCreateReqCall
- func (buildings *BuildingService) Delete(ctx *core.Context, body *BuildingDeleteReqBody, optFns ...request.OptFn) *BuildingDeleteReqCall
- func (buildings *BuildingService) List(ctx *core.Context, optFns ...request.OptFn) *BuildingListReqCall
- func (buildings *BuildingService) Update(ctx *core.Context, body *BuildingUpdateReqBody, optFns ...request.OptFn) *BuildingUpdateReqCall
- type BuildingUpdateReqBody
- type BuildingUpdateReqCall
- type Country
- type CountryListReqCall
- type CountryListResult
- type CountryService
- type District
- type DistrictListReqCall
- type DistrictListResult
- type DistrictService
- type ErrorEventUid
- type EventInfo
- type EventUid
- type FreebusyBatchGetReqCall
- type FreebusyBatchGetResult
- type FreebusyService
- type InstanceReplyReqBody
- type InstanceReplyReqCall
- type InstanceService
- type MeetingRoom
- type MeetingRoomCreatedEvent
- type MeetingRoomCreatedEventData
- type MeetingRoomCreatedEventHandler
- type MeetingRoomDeletedEvent
- type MeetingRoomDeletedEventData
- type MeetingRoomDeletedEventHandler
- type MeetingRoomService
- type MeetingRoomStatusChangedEvent
- type MeetingRoomStatusChangedEventData
- type MeetingRoomStatusChangedEventHandler
- type MeetingRoomUpdatedEvent
- type MeetingRoomUpdatedEventData
- type MeetingRoomUpdatedEventHandler
- type OrganizerInfo
- type Room
- type RoomBatchGetIdReqCall
- type RoomBatchGetIdResult
- type RoomBatchGetReqCall
- type RoomBatchGetResult
- type RoomCreateReqBody
- type RoomCreateReqCall
- type RoomCreateResult
- type RoomCreatedEvent
- type RoomCreatedEventData
- type RoomCreatedEventHandler
- type RoomDeleteReqBody
- type RoomDeleteReqCall
- type RoomDeletedEvent
- type RoomDeletedEventData
- type RoomDeletedEventHandler
- type RoomFreeBusy
- type RoomId
- type RoomListReqCall
- func (rc *RoomListReqCall) Do() (*RoomListResult, error)
- func (rc *RoomListReqCall) SetBuildingId(buildingId string)
- func (rc *RoomListReqCall) SetFields(fields string)
- func (rc *RoomListReqCall) SetOrderBy(orderBy string)
- func (rc *RoomListReqCall) SetPageSize(pageSize int)
- func (rc *RoomListReqCall) SetPageToken(pageToken string)
- type RoomListResult
- type RoomService
- func (rooms *RoomService) BatchGet(ctx *core.Context, optFns ...request.OptFn) *RoomBatchGetReqCall
- func (rooms *RoomService) BatchGetId(ctx *core.Context, optFns ...request.OptFn) *RoomBatchGetIdReqCall
- func (rooms *RoomService) Create(ctx *core.Context, body *RoomCreateReqBody, optFns ...request.OptFn) *RoomCreateReqCall
- func (rooms *RoomService) Delete(ctx *core.Context, body *RoomDeleteReqBody, optFns ...request.OptFn) *RoomDeleteReqCall
- func (rooms *RoomService) List(ctx *core.Context, optFns ...request.OptFn) *RoomListReqCall
- func (rooms *RoomService) Update(ctx *core.Context, body *RoomUpdateReqBody, optFns ...request.OptFn) *RoomUpdateReqCall
- type RoomStatusChangedEvent
- type RoomStatusChangedEventData
- type RoomStatusChangedEventHandler
- type RoomUpdateReqBody
- type RoomUpdateReqCall
- type RoomUpdatedEvent
- type RoomUpdatedEventData
- type RoomUpdatedEventHandler
- type Service
- type SummaryBatchGetReqBody
- type SummaryBatchGetReqCall
- type SummaryBatchGetResult
- type SummaryService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Building ¶
type Building struct { BuildingId string `json:"building_id,omitempty"` Description string `json:"description,omitempty"` Floors []string `json:"floors,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*Building) MarshalJSON ¶
type BuildingBatchGetIdReqCall ¶
type BuildingBatchGetIdReqCall struct {
// contains filtered or unexported fields
}
func (*BuildingBatchGetIdReqCall) Do ¶
func (rc *BuildingBatchGetIdReqCall) Do() (*BuildingBatchGetIdResult, error)
func (*BuildingBatchGetIdReqCall) SetCustomBuildingIds ¶
func (rc *BuildingBatchGetIdReqCall) SetCustomBuildingIds(customBuildingIds ...string)
type BuildingBatchGetIdResult ¶
type BuildingBatchGetIdResult struct {
Buildings []*BuildingId `json:"buildings,omitempty"`
}
type BuildingBatchGetReqCall ¶
type BuildingBatchGetReqCall struct {
// contains filtered or unexported fields
}
func (*BuildingBatchGetReqCall) Do ¶
func (rc *BuildingBatchGetReqCall) Do() (*BuildingBatchGetResult, error)
func (*BuildingBatchGetReqCall) SetBuildingIds ¶
func (rc *BuildingBatchGetReqCall) SetBuildingIds(buildingIds ...string)
func (*BuildingBatchGetReqCall) SetFields ¶
func (rc *BuildingBatchGetReqCall) SetFields(fields string)
type BuildingBatchGetResult ¶
type BuildingBatchGetResult struct {
Buildings []*Building `json:"buildings,omitempty"`
}
type BuildingCreateReqBody ¶
type BuildingCreateReqBody struct { Name string `json:"name,omitempty"` Floors []string `json:"floors,omitempty"` CountryId string `json:"country_id,omitempty"` DistrictId string `json:"district_id,omitempty"` CustomBuildingId string `json:"custom_building_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*BuildingCreateReqBody) MarshalJSON ¶
func (s *BuildingCreateReqBody) MarshalJSON() ([]byte, error)
type BuildingCreateReqCall ¶
type BuildingCreateReqCall struct {
// contains filtered or unexported fields
}
func (*BuildingCreateReqCall) Do ¶
func (rc *BuildingCreateReqCall) Do() (*BuildingCreateResult, error)
type BuildingCreateResult ¶
type BuildingCreateResult struct {
BuildingId string `json:"building_id,omitempty"`
}
type BuildingDeleteReqBody ¶ added in v1.1.41
type BuildingDeleteReqBody struct { BuildingId string `json:"building_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*BuildingDeleteReqBody) MarshalJSON ¶ added in v1.1.41
func (s *BuildingDeleteReqBody) MarshalJSON() ([]byte, error)
type BuildingDeleteReqCall ¶
type BuildingDeleteReqCall struct {
// contains filtered or unexported fields
}
type BuildingId ¶
type BuildingId struct { BuildingId string `json:"building_id,omitempty"` CustomBuildingId string `json:"custom_building_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*BuildingId) MarshalJSON ¶
func (s *BuildingId) MarshalJSON() ([]byte, error)
type BuildingListReqCall ¶
type BuildingListReqCall struct {
// contains filtered or unexported fields
}
func (*BuildingListReqCall) Do ¶
func (rc *BuildingListReqCall) Do() (*BuildingListResult, error)
func (*BuildingListReqCall) SetFields ¶
func (rc *BuildingListReqCall) SetFields(fields string)
func (*BuildingListReqCall) SetOrderBy ¶
func (rc *BuildingListReqCall) SetOrderBy(orderBy string)
func (*BuildingListReqCall) SetPageSize ¶
func (rc *BuildingListReqCall) SetPageSize(pageSize int)
func (*BuildingListReqCall) SetPageToken ¶
func (rc *BuildingListReqCall) SetPageToken(pageToken string)
type BuildingListResult ¶
type BuildingService ¶
type BuildingService struct {
// contains filtered or unexported fields
}
func (*BuildingService) BatchGet ¶
func (buildings *BuildingService) BatchGet(ctx *core.Context, optFns ...request.OptFn) *BuildingBatchGetReqCall
func (*BuildingService) BatchGetId ¶
func (buildings *BuildingService) BatchGetId(ctx *core.Context, optFns ...request.OptFn) *BuildingBatchGetIdReqCall
func (*BuildingService) Create ¶
func (buildings *BuildingService) Create(ctx *core.Context, body *BuildingCreateReqBody, optFns ...request.OptFn) *BuildingCreateReqCall
func (*BuildingService) Delete ¶
func (buildings *BuildingService) Delete(ctx *core.Context, body *BuildingDeleteReqBody, optFns ...request.OptFn) *BuildingDeleteReqCall
func (*BuildingService) List ¶
func (buildings *BuildingService) List(ctx *core.Context, optFns ...request.OptFn) *BuildingListReqCall
func (*BuildingService) Update ¶
func (buildings *BuildingService) Update(ctx *core.Context, body *BuildingUpdateReqBody, optFns ...request.OptFn) *BuildingUpdateReqCall
type BuildingUpdateReqBody ¶
type BuildingUpdateReqBody struct { BuildingId string `json:"building_id,omitempty"` Name string `json:"name,omitempty"` Floors []string `json:"floors,omitempty"` CountryId string `json:"country_id,omitempty"` DistrictId string `json:"district_id,omitempty"` CustomBuildingId string `json:"custom_building_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*BuildingUpdateReqBody) MarshalJSON ¶
func (s *BuildingUpdateReqBody) MarshalJSON() ([]byte, error)
type BuildingUpdateReqCall ¶
type BuildingUpdateReqCall struct {
// contains filtered or unexported fields
}
type Country ¶
type Country struct { CountryId string `json:"country_id,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*Country) MarshalJSON ¶
type CountryListReqCall ¶
type CountryListReqCall struct {
// contains filtered or unexported fields
}
func (*CountryListReqCall) Do ¶
func (rc *CountryListReqCall) Do() (*CountryListResult, error)
type CountryListResult ¶
type CountryListResult struct {
Countries []*Country `json:"countries,omitempty"`
}
type CountryService ¶
type CountryService struct {
// contains filtered or unexported fields
}
func (*CountryService) List ¶
func (countrys *CountryService) List(ctx *core.Context, optFns ...request.OptFn) *CountryListReqCall
type District ¶
type District struct { DistrictId string `json:"district_id,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*District) MarshalJSON ¶
type DistrictListReqCall ¶
type DistrictListReqCall struct {
// contains filtered or unexported fields
}
func (*DistrictListReqCall) Do ¶
func (rc *DistrictListReqCall) Do() (*DistrictListResult, error)
func (*DistrictListReqCall) SetCountryId ¶
func (rc *DistrictListReqCall) SetCountryId(countryId int)
type DistrictListResult ¶
type DistrictListResult struct {
Districts []*District `json:"districts,omitempty"`
}
type DistrictService ¶
type DistrictService struct {
// contains filtered or unexported fields
}
func (*DistrictService) List ¶
func (districts *DistrictService) List(ctx *core.Context, optFns ...request.OptFn) *DistrictListReqCall
type ErrorEventUid ¶
type ErrorEventUid struct { Uid string `json:"uid,omitempty"` OriginalTime int `json:"original_time,omitempty"` ErrorMsg string `json:"error_msg,omitempty"` ForceSendFields []string `json:"-"` }
func (*ErrorEventUid) MarshalJSON ¶
func (s *ErrorEventUid) MarshalJSON() ([]byte, error)
type EventInfo ¶
type EventInfo struct { Uid string `json:"uid,omitempty"` OriginalTime int `json:"original_time,omitempty"` Summary string `json:"summary,omitempty"` ForceSendFields []string `json:"-"` }
func (*EventInfo) MarshalJSON ¶
type EventUid ¶
type EventUid struct { Uid string `json:"uid,omitempty"` OriginalTime int `json:"original_time,omitempty"` ForceSendFields []string `json:"-"` }
func (*EventUid) MarshalJSON ¶
type FreebusyBatchGetReqCall ¶
type FreebusyBatchGetReqCall struct {
// contains filtered or unexported fields
}
func (*FreebusyBatchGetReqCall) Do ¶
func (rc *FreebusyBatchGetReqCall) Do() (*FreebusyBatchGetResult, error)
func (*FreebusyBatchGetReqCall) SetRoomIds ¶
func (rc *FreebusyBatchGetReqCall) SetRoomIds(roomIds ...string)
func (*FreebusyBatchGetReqCall) SetTimeMax ¶
func (rc *FreebusyBatchGetReqCall) SetTimeMax(timeMax string)
func (*FreebusyBatchGetReqCall) SetTimeMin ¶
func (rc *FreebusyBatchGetReqCall) SetTimeMin(timeMin string)
type FreebusyBatchGetResult ¶
type FreebusyBatchGetResult struct { TimeMin string `json:"time_min,omitempty"` TimeMax string `json:"time_max,omitempty"` FreeBusy map[string][]*RoomFreeBusy `json:"free_busy,omitempty"` }
type FreebusyService ¶
type FreebusyService struct {
// contains filtered or unexported fields
}
func (*FreebusyService) BatchGet ¶
func (freebusys *FreebusyService) BatchGet(ctx *core.Context, optFns ...request.OptFn) *FreebusyBatchGetReqCall
type InstanceReplyReqBody ¶
type InstanceReplyReqBody struct { RoomId string `json:"room_id,omitempty"` Uid string `json:"uid,omitempty"` OriginalTime int `json:"original_time,omitempty"` Status string `json:"status,omitempty"` ForceSendFields []string `json:"-"` }
func (*InstanceReplyReqBody) MarshalJSON ¶
func (s *InstanceReplyReqBody) MarshalJSON() ([]byte, error)
type InstanceReplyReqCall ¶
type InstanceReplyReqCall struct {
// contains filtered or unexported fields
}
type InstanceService ¶
type InstanceService struct {
// contains filtered or unexported fields
}
func (*InstanceService) Reply ¶
func (instances *InstanceService) Reply(ctx *core.Context, body *InstanceReplyReqBody, optFns ...request.OptFn) *InstanceReplyReqCall
type MeetingRoom ¶
type MeetingRoom struct { RoomId int `json:"room_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*MeetingRoom) MarshalJSON ¶
func (s *MeetingRoom) MarshalJSON() ([]byte, error)
type MeetingRoomCreatedEvent ¶
type MeetingRoomCreatedEvent struct { *model.BaseEventV2 Event *MeetingRoomCreatedEventData `json:"event"` }
type MeetingRoomCreatedEventHandler ¶
type MeetingRoomCreatedEventHandler struct {
Fn func(*core.Context, *MeetingRoomCreatedEvent) error
}
func (*MeetingRoomCreatedEventHandler) GetEvent ¶
func (h *MeetingRoomCreatedEventHandler) GetEvent() interface{}
type MeetingRoomDeletedEvent ¶
type MeetingRoomDeletedEvent struct { *model.BaseEventV2 Event *MeetingRoomDeletedEventData `json:"event"` }
type MeetingRoomDeletedEventHandler ¶
type MeetingRoomDeletedEventHandler struct {
Fn func(*core.Context, *MeetingRoomDeletedEvent) error
}
func (*MeetingRoomDeletedEventHandler) GetEvent ¶
func (h *MeetingRoomDeletedEventHandler) GetEvent() interface{}
type MeetingRoomService ¶
type MeetingRoomService struct {
// contains filtered or unexported fields
}
type MeetingRoomStatusChangedEvent ¶
type MeetingRoomStatusChangedEvent struct { *model.BaseEventV2 Event *MeetingRoomStatusChangedEventData `json:"event"` }
type MeetingRoomStatusChangedEventHandler ¶
type MeetingRoomStatusChangedEventHandler struct {
Fn func(*core.Context, *MeetingRoomStatusChangedEvent) error
}
func (*MeetingRoomStatusChangedEventHandler) GetEvent ¶
func (h *MeetingRoomStatusChangedEventHandler) GetEvent() interface{}
type MeetingRoomUpdatedEvent ¶
type MeetingRoomUpdatedEvent struct { *model.BaseEventV2 Event *MeetingRoomUpdatedEventData `json:"event"` }
type MeetingRoomUpdatedEventHandler ¶
type MeetingRoomUpdatedEventHandler struct {
Fn func(*core.Context, *MeetingRoomUpdatedEvent) error
}
func (*MeetingRoomUpdatedEventHandler) GetEvent ¶
func (h *MeetingRoomUpdatedEventHandler) GetEvent() interface{}
type OrganizerInfo ¶
type OrganizerInfo struct { Name string `json:"name,omitempty"` OpenId string `json:"open_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*OrganizerInfo) MarshalJSON ¶
func (s *OrganizerInfo) MarshalJSON() ([]byte, error)
type Room ¶
type Room struct { RoomId string `json:"room_id,omitempty"` BuildingId string `json:"building_id,omitempty"` BuildingName string `json:"building_name,omitempty"` Capacity int `json:"capacity,omitempty"` Description string `json:"description,omitempty"` DisplayId string `json:"display_id,omitempty"` FloorName string `json:"floor_name,omitempty"` IsDisabled bool `json:"is_disabled,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*Room) MarshalJSON ¶
type RoomBatchGetIdReqCall ¶
type RoomBatchGetIdReqCall struct {
// contains filtered or unexported fields
}
func (*RoomBatchGetIdReqCall) Do ¶
func (rc *RoomBatchGetIdReqCall) Do() (*RoomBatchGetIdResult, error)
func (*RoomBatchGetIdReqCall) SetCustomRoomIds ¶
func (rc *RoomBatchGetIdReqCall) SetCustomRoomIds(customRoomIds ...string)
type RoomBatchGetIdResult ¶
type RoomBatchGetIdResult struct {
Rooms []*RoomId `json:"rooms,omitempty"`
}
type RoomBatchGetReqCall ¶
type RoomBatchGetReqCall struct {
// contains filtered or unexported fields
}
func (*RoomBatchGetReqCall) Do ¶
func (rc *RoomBatchGetReqCall) Do() (*RoomBatchGetResult, error)
func (*RoomBatchGetReqCall) SetFields ¶
func (rc *RoomBatchGetReqCall) SetFields(fields string)
func (*RoomBatchGetReqCall) SetRoomIds ¶
func (rc *RoomBatchGetReqCall) SetRoomIds(roomIds ...string)
type RoomBatchGetResult ¶
type RoomBatchGetResult struct {
Rooms []*Room `json:"rooms,omitempty"`
}
type RoomCreateReqBody ¶
type RoomCreateReqBody struct { BuildingId string `json:"building_id,omitempty"` Floor string `json:"floor,omitempty"` Name string `json:"name,omitempty"` Capacity int `json:"capacity,omitempty"` IsDisabled bool `json:"is_disabled,omitempty"` CustomRoomId string `json:"custom_room_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*RoomCreateReqBody) MarshalJSON ¶
func (s *RoomCreateReqBody) MarshalJSON() ([]byte, error)
type RoomCreateReqCall ¶
type RoomCreateReqCall struct {
// contains filtered or unexported fields
}
func (*RoomCreateReqCall) Do ¶
func (rc *RoomCreateReqCall) Do() (*RoomCreateResult, error)
type RoomCreateResult ¶
type RoomCreateResult struct {
RoomId string `json:"room_id,omitempty"`
}
type RoomCreatedEvent ¶
type RoomCreatedEvent struct { *model.BaseEventV2 Event *RoomCreatedEventData `json:"event"` }
type RoomCreatedEventData ¶
type RoomCreatedEventHandler ¶
type RoomCreatedEventHandler struct {
Fn func(*core.Context, *RoomCreatedEvent) error
}
func (*RoomCreatedEventHandler) GetEvent ¶
func (h *RoomCreatedEventHandler) GetEvent() interface{}
type RoomDeleteReqBody ¶ added in v1.1.41
type RoomDeleteReqBody struct { RoomId string `json:"room_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*RoomDeleteReqBody) MarshalJSON ¶ added in v1.1.41
func (s *RoomDeleteReqBody) MarshalJSON() ([]byte, error)
type RoomDeleteReqCall ¶
type RoomDeleteReqCall struct {
// contains filtered or unexported fields
}
type RoomDeletedEvent ¶
type RoomDeletedEvent struct { *model.BaseEventV2 Event *RoomDeletedEventData `json:"event"` }
type RoomDeletedEventData ¶
type RoomDeletedEventHandler ¶
type RoomDeletedEventHandler struct {
Fn func(*core.Context, *RoomDeletedEvent) error
}
func (*RoomDeletedEventHandler) GetEvent ¶
func (h *RoomDeletedEventHandler) GetEvent() interface{}
type RoomFreeBusy ¶
type RoomFreeBusy struct { StartTime string `json:"start_time,omitempty"` EndTime string `json:"end_time,omitempty"` Uid string `json:"uid,omitempty"` OriginalTime int `json:"original_time,omitempty"` OrganizerInfo *OrganizerInfo `json:"organizer_info,omitempty"` ForceSendFields []string `json:"-"` }
func (*RoomFreeBusy) MarshalJSON ¶
func (s *RoomFreeBusy) MarshalJSON() ([]byte, error)
type RoomId ¶
type RoomId struct { RoomId string `json:"room_id,omitempty"` CustomRoomId string `json:"custom_room_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*RoomId) MarshalJSON ¶
type RoomListReqCall ¶
type RoomListReqCall struct {
// contains filtered or unexported fields
}
func (*RoomListReqCall) Do ¶
func (rc *RoomListReqCall) Do() (*RoomListResult, error)
func (*RoomListReqCall) SetBuildingId ¶
func (rc *RoomListReqCall) SetBuildingId(buildingId string)
func (*RoomListReqCall) SetFields ¶
func (rc *RoomListReqCall) SetFields(fields string)
func (*RoomListReqCall) SetOrderBy ¶
func (rc *RoomListReqCall) SetOrderBy(orderBy string)
func (*RoomListReqCall) SetPageSize ¶
func (rc *RoomListReqCall) SetPageSize(pageSize int)
func (*RoomListReqCall) SetPageToken ¶
func (rc *RoomListReqCall) SetPageToken(pageToken string)
type RoomListResult ¶
type RoomService ¶
type RoomService struct {
// contains filtered or unexported fields
}
func (*RoomService) BatchGet ¶
func (rooms *RoomService) BatchGet(ctx *core.Context, optFns ...request.OptFn) *RoomBatchGetReqCall
func (*RoomService) BatchGetId ¶
func (rooms *RoomService) BatchGetId(ctx *core.Context, optFns ...request.OptFn) *RoomBatchGetIdReqCall
func (*RoomService) Create ¶
func (rooms *RoomService) Create(ctx *core.Context, body *RoomCreateReqBody, optFns ...request.OptFn) *RoomCreateReqCall
func (*RoomService) Delete ¶
func (rooms *RoomService) Delete(ctx *core.Context, body *RoomDeleteReqBody, optFns ...request.OptFn) *RoomDeleteReqCall
func (*RoomService) List ¶
func (rooms *RoomService) List(ctx *core.Context, optFns ...request.OptFn) *RoomListReqCall
func (*RoomService) Update ¶
func (rooms *RoomService) Update(ctx *core.Context, body *RoomUpdateReqBody, optFns ...request.OptFn) *RoomUpdateReqCall
type RoomStatusChangedEvent ¶
type RoomStatusChangedEvent struct { *model.BaseEventV2 Event *RoomStatusChangedEventData `json:"event"` }
type RoomStatusChangedEventHandler ¶
type RoomStatusChangedEventHandler struct {
Fn func(*core.Context, *RoomStatusChangedEvent) error
}
func (*RoomStatusChangedEventHandler) GetEvent ¶
func (h *RoomStatusChangedEventHandler) GetEvent() interface{}
type RoomUpdateReqBody ¶
type RoomUpdateReqBody struct { RoomId string `json:"room_id,omitempty"` Name string `json:"name,omitempty"` Capacity int `json:"capacity,omitempty"` IsDisabled bool `json:"is_disabled,omitempty"` CustomRoomId string `json:"custom_room_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*RoomUpdateReqBody) MarshalJSON ¶
func (s *RoomUpdateReqBody) MarshalJSON() ([]byte, error)
type RoomUpdateReqCall ¶
type RoomUpdateReqCall struct {
// contains filtered or unexported fields
}
type RoomUpdatedEvent ¶
type RoomUpdatedEvent struct { *model.BaseEventV2 Event *RoomUpdatedEventData `json:"event"` }
type RoomUpdatedEventData ¶
type RoomUpdatedEventHandler ¶
type RoomUpdatedEventHandler struct {
Fn func(*core.Context, *RoomUpdatedEvent) error
}
func (*RoomUpdatedEventHandler) GetEvent ¶
func (h *RoomUpdatedEventHandler) GetEvent() interface{}
type Service ¶
type Service struct { Buildings *BuildingService Countrys *CountryService Districts *DistrictService Freebusys *FreebusyService Instances *InstanceService Rooms *RoomService Summarys *SummaryService MeetingRooms *MeetingRoomService // contains filtered or unexported fields }
func NewService ¶
type SummaryBatchGetReqBody ¶
type SummaryBatchGetReqBody struct { EventUids []*EventUid `json:"EventUids,omitempty"` ForceSendFields []string `json:"-"` }
func (*SummaryBatchGetReqBody) MarshalJSON ¶
func (s *SummaryBatchGetReqBody) MarshalJSON() ([]byte, error)
type SummaryBatchGetReqCall ¶
type SummaryBatchGetReqCall struct {
// contains filtered or unexported fields
}
func (*SummaryBatchGetReqCall) Do ¶
func (rc *SummaryBatchGetReqCall) Do() (*SummaryBatchGetResult, error)
type SummaryBatchGetResult ¶
type SummaryBatchGetResult struct { EventInfos []*EventInfo `json:"EventInfos,omitempty"` ErrorEventUids []*ErrorEventUid `json:"ErrorEventUids,omitempty"` }
type SummaryService ¶
type SummaryService struct {
// contains filtered or unexported fields
}
func (*SummaryService) BatchGet ¶
func (summarys *SummaryService) BatchGet(ctx *core.Context, body *SummaryBatchGetReqBody, optFns ...request.OptFn) *SummaryBatchGetReqCall
Click to show internal directories.
Click to hide internal directories.