v1

package
v1.1.48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 8 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetMeetingRoomCreatedEventHandler

func SetMeetingRoomCreatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *MeetingRoomCreatedEvent) error)

func SetMeetingRoomDeletedEventHandler

func SetMeetingRoomDeletedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *MeetingRoomDeletedEvent) error)

func SetMeetingRoomStatusChangedEventHandler

func SetMeetingRoomStatusChangedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *MeetingRoomStatusChangedEvent) error)

func SetMeetingRoomUpdatedEventHandler

func SetMeetingRoomUpdatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *MeetingRoomUpdatedEvent) error)

func SetRoomCreatedEventHandler

func SetRoomCreatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *RoomCreatedEvent) error)

func SetRoomDeletedEventHandler

func SetRoomDeletedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *RoomDeletedEvent) error)

func SetRoomStatusChangedEventHandler

func SetRoomStatusChangedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *RoomStatusChangedEvent) error)

func SetRoomUpdatedEventHandler

func SetRoomUpdatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *RoomUpdatedEvent) error)

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

func (s *Building) MarshalJSON() ([]byte, error)

type BuildingBatchGetIdReqCall

type BuildingBatchGetIdReqCall struct {
	// contains filtered or unexported fields
}

func (*BuildingBatchGetIdReqCall) Do

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 (*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

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
}

func (*BuildingDeleteReqCall) Do

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 (*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 BuildingListResult struct {
	PageToken string      `json:"page_token,omitempty"`
	HasMore   bool        `json:"has_more,omitempty"`
	Buildings []*Building `json:"buildings,omitempty"`
}

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
}

func (*BuildingUpdateReqCall) Do

type Country

type Country struct {
	CountryId       string   `json:"country_id,omitempty"`
	Name            string   `json:"name,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Country) MarshalJSON

func (s *Country) MarshalJSON() ([]byte, error)

type CountryListReqCall

type CountryListReqCall struct {
	// contains filtered or unexported fields
}

func (*CountryListReqCall) Do

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

func (s *District) MarshalJSON() ([]byte, error)

type DistrictListReqCall

type DistrictListReqCall struct {
	// contains filtered or unexported fields
}

func (*DistrictListReqCall) Do

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

func (s *EventInfo) MarshalJSON() ([]byte, error)

type EventUid

type EventUid struct {
	Uid             string   `json:"uid,omitempty"`
	OriginalTime    int      `json:"original_time,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*EventUid) MarshalJSON

func (s *EventUid) MarshalJSON() ([]byte, error)

type FreebusyBatchGetReqCall

type FreebusyBatchGetReqCall struct {
	// contains filtered or unexported fields
}

func (*FreebusyBatchGetReqCall) Do

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
}

func (*InstanceReplyReqCall) Do

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 MeetingRoomCreatedEventData

type MeetingRoomCreatedEventData struct {
	RoomName string `json:"room_name,omitempty"`
	RoomId   string `json:"room_id,omitempty"`
}

type MeetingRoomCreatedEventHandler

type MeetingRoomCreatedEventHandler struct {
	Fn func(*core.Context, *MeetingRoomCreatedEvent) error
}

func (*MeetingRoomCreatedEventHandler) GetEvent

func (h *MeetingRoomCreatedEventHandler) GetEvent() interface{}

func (*MeetingRoomCreatedEventHandler) Handle

func (h *MeetingRoomCreatedEventHandler) Handle(ctx *core.Context, event interface{}) error

type MeetingRoomDeletedEvent

type MeetingRoomDeletedEvent struct {
	*model.BaseEventV2
	Event *MeetingRoomDeletedEventData `json:"event"`
}

type MeetingRoomDeletedEventData

type MeetingRoomDeletedEventData struct {
	RoomName string `json:"room_name,omitempty"`
	RoomId   string `json:"room_id,omitempty"`
}

type MeetingRoomDeletedEventHandler

type MeetingRoomDeletedEventHandler struct {
	Fn func(*core.Context, *MeetingRoomDeletedEvent) error
}

func (*MeetingRoomDeletedEventHandler) GetEvent

func (h *MeetingRoomDeletedEventHandler) GetEvent() interface{}

func (*MeetingRoomDeletedEventHandler) Handle

func (h *MeetingRoomDeletedEventHandler) Handle(ctx *core.Context, event interface{}) error

type MeetingRoomService

type MeetingRoomService struct {
	// contains filtered or unexported fields
}

type MeetingRoomStatusChangedEvent

type MeetingRoomStatusChangedEvent struct {
	*model.BaseEventV2
	Event *MeetingRoomStatusChangedEventData `json:"event"`
}

type MeetingRoomStatusChangedEventData

type MeetingRoomStatusChangedEventData struct {
	RoomName string `json:"room_name,omitempty"`
	RoomId   string `json:"room_id,omitempty"`
}

type MeetingRoomStatusChangedEventHandler

type MeetingRoomStatusChangedEventHandler struct {
	Fn func(*core.Context, *MeetingRoomStatusChangedEvent) error
}

func (*MeetingRoomStatusChangedEventHandler) GetEvent

func (h *MeetingRoomStatusChangedEventHandler) GetEvent() interface{}

func (*MeetingRoomStatusChangedEventHandler) Handle

func (h *MeetingRoomStatusChangedEventHandler) Handle(ctx *core.Context, event interface{}) error

type MeetingRoomUpdatedEvent

type MeetingRoomUpdatedEvent struct {
	*model.BaseEventV2
	Event *MeetingRoomUpdatedEventData `json:"event"`
}

type MeetingRoomUpdatedEventData

type MeetingRoomUpdatedEventData struct {
	RoomName string `json:"room_name,omitempty"`
	RoomId   string `json:"room_id,omitempty"`
}

type MeetingRoomUpdatedEventHandler

type MeetingRoomUpdatedEventHandler struct {
	Fn func(*core.Context, *MeetingRoomUpdatedEvent) error
}

func (*MeetingRoomUpdatedEventHandler) GetEvent

func (h *MeetingRoomUpdatedEventHandler) GetEvent() interface{}

func (*MeetingRoomUpdatedEventHandler) Handle

func (h *MeetingRoomUpdatedEventHandler) Handle(ctx *core.Context, event interface{}) error

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

func (s *Room) MarshalJSON() ([]byte, error)

type RoomBatchGetIdReqCall

type RoomBatchGetIdReqCall struct {
	// contains filtered or unexported fields
}

func (*RoomBatchGetIdReqCall) Do

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 (*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

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 RoomCreatedEventData struct {
	RoomId   string `json:"room_id,omitempty"`
	RoomName string `json:"room_name,omitempty"`
}

type RoomCreatedEventHandler

type RoomCreatedEventHandler struct {
	Fn func(*core.Context, *RoomCreatedEvent) error
}

func (*RoomCreatedEventHandler) GetEvent

func (h *RoomCreatedEventHandler) GetEvent() interface{}

func (*RoomCreatedEventHandler) Handle

func (h *RoomCreatedEventHandler) Handle(ctx *core.Context, event interface{}) error

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
}

func (*RoomDeleteReqCall) Do

func (rc *RoomDeleteReqCall) Do() (*response.NoData, error)

type RoomDeletedEvent

type RoomDeletedEvent struct {
	*model.BaseEventV2
	Event *RoomDeletedEventData `json:"event"`
}

type RoomDeletedEventData

type RoomDeletedEventData struct {
	RoomId   string `json:"room_id,omitempty"`
	RoomName string `json:"room_name,omitempty"`
}

type RoomDeletedEventHandler

type RoomDeletedEventHandler struct {
	Fn func(*core.Context, *RoomDeletedEvent) error
}

func (*RoomDeletedEventHandler) GetEvent

func (h *RoomDeletedEventHandler) GetEvent() interface{}

func (*RoomDeletedEventHandler) Handle

func (h *RoomDeletedEventHandler) Handle(ctx *core.Context, event interface{}) error

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

func (s *RoomId) MarshalJSON() ([]byte, error)

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 RoomListResult struct {
	PageToken string  `json:"page_token,omitempty"`
	HasMore   bool    `json:"has_more,omitempty"`
	Rooms     []*Room `json:"rooms,omitempty"`
}

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 RoomStatusChangedEventData

type RoomStatusChangedEventData struct {
	RoomId   string `json:"room_id,omitempty"`
	RoomName string `json:"room_name,omitempty"`
}

type RoomStatusChangedEventHandler

type RoomStatusChangedEventHandler struct {
	Fn func(*core.Context, *RoomStatusChangedEvent) error
}

func (*RoomStatusChangedEventHandler) GetEvent

func (h *RoomStatusChangedEventHandler) GetEvent() interface{}

func (*RoomStatusChangedEventHandler) Handle

func (h *RoomStatusChangedEventHandler) Handle(ctx *core.Context, event interface{}) error

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
}

func (*RoomUpdateReqCall) Do

func (rc *RoomUpdateReqCall) Do() (*response.NoData, error)

type RoomUpdatedEvent

type RoomUpdatedEvent struct {
	*model.BaseEventV2
	Event *RoomUpdatedEventData `json:"event"`
}

type RoomUpdatedEventData

type RoomUpdatedEventData struct {
	RoomId   string `json:"room_id,omitempty"`
	RoomName string `json:"room_name,omitempty"`
}

type RoomUpdatedEventHandler

type RoomUpdatedEventHandler struct {
	Fn func(*core.Context, *RoomUpdatedEvent) error
}

func (*RoomUpdatedEventHandler) GetEvent

func (h *RoomUpdatedEventHandler) GetEvent() interface{}

func (*RoomUpdatedEventHandler) Handle

func (h *RoomUpdatedEventHandler) Handle(ctx *core.Context, event interface{}) error

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

func NewService(conf *config.Config) *Service

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL