Documentation ¶
Index ¶
- Constants
- type AclScope
- type AclScopeBuilder
- type AclScopeEvent
- type AclScopeEventBuilder
- type AttendeeChatMember
- type AttendeeChatMemberBuilder
- func (builder *AttendeeChatMemberBuilder) Build() *AttendeeChatMember
- func (builder *AttendeeChatMemberBuilder) DisplayName(displayName string) *AttendeeChatMemberBuilder
- func (builder *AttendeeChatMemberBuilder) IsExternal(isExternal bool) *AttendeeChatMemberBuilder
- func (builder *AttendeeChatMemberBuilder) IsOptional(isOptional bool) *AttendeeChatMemberBuilder
- func (builder *AttendeeChatMemberBuilder) IsOrganizer(isOrganizer bool) *AttendeeChatMemberBuilder
- func (builder *AttendeeChatMemberBuilder) RsvpStatus(rsvpStatus string) *AttendeeChatMemberBuilder
- type BatchDeleteCalendarEventAttendeePathReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) AttendeeIds(attendeeIds []string) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) Build() (*BatchDeleteCalendarEventAttendeeReqBody, error)
- func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) DeleteIds(deleteIds []*CalendarEventAttendeeId) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) NeedNotification(needNotification bool) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
- type BatchDeleteCalendarEventAttendeeReq
- type BatchDeleteCalendarEventAttendeeReqBody
- type BatchDeleteCalendarEventAttendeeReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) AttendeeIds(attendeeIds []string) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) Build() *BatchDeleteCalendarEventAttendeeReqBody
- func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) DeleteIds(deleteIds []*CalendarEventAttendeeId) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) NeedNotification(needNotification bool) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
- type BatchDeleteCalendarEventAttendeeReqBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) Body(body *BatchDeleteCalendarEventAttendeeReqBody) *BatchDeleteCalendarEventAttendeeReqBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) Build() *BatchDeleteCalendarEventAttendeeReq
- func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) CalendarId(calendarId string) *BatchDeleteCalendarEventAttendeeReqBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) EventId(eventId string) *BatchDeleteCalendarEventAttendeeReqBuilder
- func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) UserIdType(userIdType string) *BatchDeleteCalendarEventAttendeeReqBuilder
- type BatchDeleteCalendarEventAttendeeResp
- type BookMeetingRoomData
- type BookMeetingRoomDataBuilder
- func (builder *BookMeetingRoomDataBuilder) Build() *BookMeetingRoomData
- func (builder *BookMeetingRoomDataBuilder) Hint(hint string) *BookMeetingRoomDataBuilder
- func (builder *BookMeetingRoomDataBuilder) MeetingRoomId(meetingRoomId string) *BookMeetingRoomDataBuilder
- func (builder *BookMeetingRoomDataBuilder) RecurrenceRule(recurrenceRule string) *BookMeetingRoomDataBuilder
- func (builder *BookMeetingRoomDataBuilder) Rooms(rooms []*RoomMeta) *BookMeetingRoomDataBuilder
- type Calendar
- type CalendarAcl
- type CalendarAclBuilder
- type CalendarAclEvent
- type CalendarAclEventBuilder
- func (builder *CalendarAclEventBuilder) AclId(aclId string) *CalendarAclEventBuilder
- func (builder *CalendarAclEventBuilder) Build() *CalendarAclEvent
- func (builder *CalendarAclEventBuilder) Role(role string) *CalendarAclEventBuilder
- func (builder *CalendarAclEventBuilder) Scope(scope *AclScopeEvent) *CalendarAclEventBuilder
- func (builder *CalendarAclEventBuilder) UserIdList(userIdList []*UserId) *CalendarAclEventBuilder
- type CalendarAttendeeResourceCustomization
- type CalendarAttendeeResourceCustomizationBuilder
- func (builder *CalendarAttendeeResourceCustomizationBuilder) Build() *CalendarAttendeeResourceCustomization
- func (builder *CalendarAttendeeResourceCustomizationBuilder) IndexKey(indexKey string) *CalendarAttendeeResourceCustomizationBuilder
- func (builder *CalendarAttendeeResourceCustomizationBuilder) InputContent(inputContent string) *CalendarAttendeeResourceCustomizationBuilder
- func (builder *CalendarAttendeeResourceCustomizationBuilder) Options(options []*CustomizationOption) *CalendarAttendeeResourceCustomizationBuilder
- type CalendarBuilder
- func (builder *CalendarBuilder) Build() *Calendar
- func (builder *CalendarBuilder) CalendarId(calendarId string) *CalendarBuilder
- func (builder *CalendarBuilder) Color(color int) *CalendarBuilder
- func (builder *CalendarBuilder) Description(description string) *CalendarBuilder
- func (builder *CalendarBuilder) IsDeleted(isDeleted bool) *CalendarBuilder
- func (builder *CalendarBuilder) IsThirdParty(isThirdParty bool) *CalendarBuilder
- func (builder *CalendarBuilder) Permissions(permissions string) *CalendarBuilder
- func (builder *CalendarBuilder) Role(role string) *CalendarBuilder
- func (builder *CalendarBuilder) Summary(summary string) *CalendarBuilder
- func (builder *CalendarBuilder) SummaryAlias(summaryAlias string) *CalendarBuilder
- func (builder *CalendarBuilder) Type(type_ string) *CalendarBuilder
- type CalendarEvent
- type CalendarEventAttendee
- type CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) ApprovalReason(approvalReason string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) AttendeeId(attendeeId string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) Build() *CalendarEventAttendee
- func (builder *CalendarEventAttendeeBuilder) ChatId(chatId string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) ChatMembers(chatMembers []*AttendeeChatMember) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) DisplayName(displayName string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) IsExternal(isExternal bool) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) IsOptional(isOptional bool) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) IsOrganizer(isOrganizer bool) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) OperateId(operateId string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) ResourceCustomization(resourceCustomization []*CalendarAttendeeResourceCustomization) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) RoomId(roomId string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) RsvpStatus(rsvpStatus string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) ThirdPartyEmail(thirdPartyEmail string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) Type(type_ string) *CalendarEventAttendeeBuilder
- func (builder *CalendarEventAttendeeBuilder) UserId(userId string) *CalendarEventAttendeeBuilder
- type CalendarEventAttendeeChatMember
- type CalendarEventAttendeeChatMemberBuilder
- func (builder *CalendarEventAttendeeChatMemberBuilder) Build() *CalendarEventAttendeeChatMember
- func (builder *CalendarEventAttendeeChatMemberBuilder) DisplayName(displayName string) *CalendarEventAttendeeChatMemberBuilder
- func (builder *CalendarEventAttendeeChatMemberBuilder) IsExternal(isExternal bool) *CalendarEventAttendeeChatMemberBuilder
- func (builder *CalendarEventAttendeeChatMemberBuilder) IsOptional(isOptional bool) *CalendarEventAttendeeChatMemberBuilder
- func (builder *CalendarEventAttendeeChatMemberBuilder) IsOrganizer(isOrganizer bool) *CalendarEventAttendeeChatMemberBuilder
- func (builder *CalendarEventAttendeeChatMemberBuilder) OpenId(openId string) *CalendarEventAttendeeChatMemberBuilder
- func (builder *CalendarEventAttendeeChatMemberBuilder) RsvpStatus(rsvpStatus string) *CalendarEventAttendeeChatMemberBuilder
- type CalendarEventAttendeeId
- type CalendarEventAttendeeIdBuilder
- func (builder *CalendarEventAttendeeIdBuilder) AttendeeId(attendeeId string) *CalendarEventAttendeeIdBuilder
- func (builder *CalendarEventAttendeeIdBuilder) Build() *CalendarEventAttendeeId
- func (builder *CalendarEventAttendeeIdBuilder) ChatId(chatId string) *CalendarEventAttendeeIdBuilder
- func (builder *CalendarEventAttendeeIdBuilder) RoomId(roomId string) *CalendarEventAttendeeIdBuilder
- func (builder *CalendarEventAttendeeIdBuilder) ThirdPartyEmail(thirdPartyEmail string) *CalendarEventAttendeeIdBuilder
- func (builder *CalendarEventAttendeeIdBuilder) Type(type_ string) *CalendarEventAttendeeIdBuilder
- func (builder *CalendarEventAttendeeIdBuilder) UserId(userId string) *CalendarEventAttendeeIdBuilder
- type CalendarEventAttendeeResp
- type CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) AttendeeId(attendeeId string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) Build() *CalendarEventAttendeeResp
- func (builder *CalendarEventAttendeeRespBuilder) ChatId(chatId string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) ChatMembers(chatMembers []*AttendeeChatMember) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) DisplayName(displayName string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) IsExternal(isExternal bool) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) IsOptional(isOptional bool) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) IsOrganizer(isOrganizer bool) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) OperateId(operateId string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) ResourceCustomization(resourceCustomization []*CalendarAttendeeResourceCustomization) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) RoomId(roomId string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) RsvpStatus(rsvpStatus string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) ThirdPartyEmail(thirdPartyEmail string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) Type(type_ string) *CalendarEventAttendeeRespBuilder
- func (builder *CalendarEventAttendeeRespBuilder) UserId(userId string) *CalendarEventAttendeeRespBuilder
- type CalendarEventBuilder
- func (builder *CalendarEventBuilder) AppLink(appLink string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) AttendeeAbility(attendeeAbility string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Attendees(attendees []*CalendarEventAttendee) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Build() *CalendarEvent
- func (builder *CalendarEventBuilder) Color(color int) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) CreateTime(createTime string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Description(description string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) EndTime(endTime *TimeInfo) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) EventId(eventId string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) EventOrganizer(eventOrganizer *EventOrganizer) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) FreeBusyStatus(freeBusyStatus string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) HasMoreAttendee(hasMoreAttendee bool) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) IsException(isException bool) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Location(location *EventLocation) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) NeedNotification(needNotification bool) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) OrganizerCalendarId(organizerCalendarId string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Recurrence(recurrence string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) RecurringEventId(recurringEventId string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Reminders(reminders []*Reminder) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Schemas(schemas []*Schema) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) StartTime(startTime *TimeInfo) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Status(status string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Summary(summary string) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Vchat(vchat *Vchat) *CalendarEventBuilder
- func (builder *CalendarEventBuilder) Visibility(visibility string) *CalendarEventBuilder
- type CalendarEventResp
- type CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) AttendeeAbility(attendeeAbility string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Build() *CalendarEventResp
- func (builder *CalendarEventRespBuilder) Color(color int) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) CreateTime(createTime string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Description(description string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) EndTime(endTime *TimeInfo) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) EventId(eventId string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) FreeBusyStatus(freeBusyStatus string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) IsException(isException bool) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Location(location *EventLocation) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) NeedNotification(needNotification bool) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) OrganizerCalendarId(organizerCalendarId string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Recurrence(recurrence string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) RecurringEventId(recurringEventId string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Reminders(reminders []*Reminder) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Schemas(schemas []*Schema) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) StartTime(startTime *TimeInfo) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Status(status string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Summary(summary string) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Vchat(vchat *Vchat) *CalendarEventRespBuilder
- func (builder *CalendarEventRespBuilder) Visibility(visibility string) *CalendarEventRespBuilder
- type CalendarFreebusy
- type CalendarFreebusyBuilder
- func (builder *CalendarFreebusyBuilder) Build() *CalendarFreebusy
- func (builder *CalendarFreebusyBuilder) CalendarId(calendarId string) *CalendarFreebusyBuilder
- func (builder *CalendarFreebusyBuilder) EndTime(endTime string) *CalendarFreebusyBuilder
- func (builder *CalendarFreebusyBuilder) StartTime(startTime string) *CalendarFreebusyBuilder
- type CalendarFreebusyError
- type CalendarFreebusyErrorBuilder
- type CalendarPrimaryBatchReq
- type CalendarPrimaryBatchReqBuilder
- type CalendarUnderstandExtra
- type CalendarUnderstandExtraBuilder
- func (builder *CalendarUnderstandExtraBuilder) AiTaskId(aiTaskId string) *CalendarUnderstandExtraBuilder
- func (builder *CalendarUnderstandExtraBuilder) Build() *CalendarUnderstandExtra
- func (builder *CalendarUnderstandExtraBuilder) EventUid(eventUid string) *CalendarUnderstandExtraBuilder
- func (builder *CalendarUnderstandExtraBuilder) OriginTime(originTime string) *CalendarUnderstandExtraBuilder
- type CalendarUnderstandScenarioContext
- type CalendarUnderstandScenarioContextBuilder
- func (builder *CalendarUnderstandScenarioContextBuilder) Build() *CalendarUnderstandScenarioContext
- func (builder *CalendarUnderstandScenarioContextBuilder) Extra(extra *CalendarUnderstandExtra) *CalendarUnderstandScenarioContextBuilder
- func (builder *CalendarUnderstandScenarioContextBuilder) Scenario(scenario string) *CalendarUnderstandScenarioContextBuilder
- func (builder *CalendarUnderstandScenarioContextBuilder) SystemInfo(systemInfo *SystemInfo) *CalendarUnderstandScenarioContextBuilder
- func (builder *CalendarUnderstandScenarioContextBuilder) WorkMode(workMode int) *CalendarUnderstandScenarioContextBuilder
- type CardCallback
- type CardCallbackBuilder
- func (builder *CardCallbackBuilder) Build() *CardCallback
- func (builder *CardCallbackBuilder) CallbackInfo(callbackInfo string) *CardCallbackBuilder
- func (builder *CardCallbackBuilder) MessageId(messageId string) *CardCallbackBuilder
- func (builder *CardCallbackBuilder) Status(status *MyaiCardStatus) *CardCallbackBuilder
- type CardPresent
- type CardPresentBuilder
- func (builder *CardPresentBuilder) Body(body string) *CardPresentBuilder
- func (builder *CardPresentBuilder) Build() *CardPresent
- func (builder *CardPresentBuilder) CallbackInfo(callbackInfo string) *CardPresentBuilder
- func (builder *CardPresentBuilder) Interactable(interactable bool) *CardPresentBuilder
- func (builder *CardPresentBuilder) OperationType(operationType string) *CardPresentBuilder
- func (builder *CardPresentBuilder) Type(type_ string) *CardPresentBuilder
- type CreateCalendarAclReq
- type CreateCalendarAclReqBuilder
- func (builder *CreateCalendarAclReqBuilder) Build() *CreateCalendarAclReq
- func (builder *CreateCalendarAclReqBuilder) CalendarAcl(calendarAcl *CalendarAcl) *CreateCalendarAclReqBuilder
- func (builder *CreateCalendarAclReqBuilder) CalendarId(calendarId string) *CreateCalendarAclReqBuilder
- func (builder *CreateCalendarAclReqBuilder) UserIdType(userIdType string) *CreateCalendarAclReqBuilder
- type CreateCalendarAclResp
- type CreateCalendarAclRespData
- type CreateCalendarEventAttendeePathReqBodyBuilder
- func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) AddOperatorToAttendee(addOperatorToAttendee bool) *CreateCalendarEventAttendeePathReqBodyBuilder
- func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) Attendees(attendees []*CalendarEventAttendee) *CreateCalendarEventAttendeePathReqBodyBuilder
- func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) Build() (*CreateCalendarEventAttendeeReqBody, error)
- func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *CreateCalendarEventAttendeePathReqBodyBuilder
- func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *CreateCalendarEventAttendeePathReqBodyBuilder
- func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) NeedNotification(needNotification bool) *CreateCalendarEventAttendeePathReqBodyBuilder
- type CreateCalendarEventAttendeeReq
- type CreateCalendarEventAttendeeReqBody
- type CreateCalendarEventAttendeeReqBodyBuilder
- func (builder *CreateCalendarEventAttendeeReqBodyBuilder) AddOperatorToAttendee(addOperatorToAttendee bool) *CreateCalendarEventAttendeeReqBodyBuilder
- func (builder *CreateCalendarEventAttendeeReqBodyBuilder) Attendees(attendees []*CalendarEventAttendee) *CreateCalendarEventAttendeeReqBodyBuilder
- func (builder *CreateCalendarEventAttendeeReqBodyBuilder) Build() *CreateCalendarEventAttendeeReqBody
- func (builder *CreateCalendarEventAttendeeReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *CreateCalendarEventAttendeeReqBodyBuilder
- func (builder *CreateCalendarEventAttendeeReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *CreateCalendarEventAttendeeReqBodyBuilder
- func (builder *CreateCalendarEventAttendeeReqBodyBuilder) NeedNotification(needNotification bool) *CreateCalendarEventAttendeeReqBodyBuilder
- type CreateCalendarEventAttendeeReqBuilder
- func (builder *CreateCalendarEventAttendeeReqBuilder) Body(body *CreateCalendarEventAttendeeReqBody) *CreateCalendarEventAttendeeReqBuilder
- func (builder *CreateCalendarEventAttendeeReqBuilder) Build() *CreateCalendarEventAttendeeReq
- func (builder *CreateCalendarEventAttendeeReqBuilder) CalendarId(calendarId string) *CreateCalendarEventAttendeeReqBuilder
- func (builder *CreateCalendarEventAttendeeReqBuilder) EventId(eventId string) *CreateCalendarEventAttendeeReqBuilder
- func (builder *CreateCalendarEventAttendeeReqBuilder) UserIdType(userIdType string) *CreateCalendarEventAttendeeReqBuilder
- type CreateCalendarEventAttendeeResp
- type CreateCalendarEventAttendeeRespData
- type CreateCalendarEventMeetingChatReq
- type CreateCalendarEventMeetingChatReqBuilder
- func (builder *CreateCalendarEventMeetingChatReqBuilder) Build() *CreateCalendarEventMeetingChatReq
- func (builder *CreateCalendarEventMeetingChatReqBuilder) CalendarId(calendarId string) *CreateCalendarEventMeetingChatReqBuilder
- func (builder *CreateCalendarEventMeetingChatReqBuilder) EventId(eventId string) *CreateCalendarEventMeetingChatReqBuilder
- type CreateCalendarEventMeetingChatResp
- type CreateCalendarEventMeetingChatRespData
- type CreateCalendarEventReq
- type CreateCalendarEventReqBuilder
- func (builder *CreateCalendarEventReqBuilder) Build() *CreateCalendarEventReq
- func (builder *CreateCalendarEventReqBuilder) CalendarEvent(calendarEvent *CalendarEvent) *CreateCalendarEventReqBuilder
- func (builder *CreateCalendarEventReqBuilder) CalendarId(calendarId string) *CreateCalendarEventReqBuilder
- func (builder *CreateCalendarEventReqBuilder) IdempotencyKey(idempotencyKey string) *CreateCalendarEventReqBuilder
- func (builder *CreateCalendarEventReqBuilder) UserIdType(userIdType string) *CreateCalendarEventReqBuilder
- type CreateCalendarEventResp
- type CreateCalendarEventRespData
- type CreateCalendarReq
- type CreateCalendarReqBuilder
- type CreateCalendarResp
- type CreateCalendarRespData
- type CreateExchangeBindingReq
- type CreateExchangeBindingReqBuilder
- func (builder *CreateExchangeBindingReqBuilder) Build() *CreateExchangeBindingReq
- func (builder *CreateExchangeBindingReqBuilder) ExchangeBinding(exchangeBinding *ExchangeBinding) *CreateExchangeBindingReqBuilder
- func (builder *CreateExchangeBindingReqBuilder) UserIdType(userIdType string) *CreateExchangeBindingReqBuilder
- type CreateExchangeBindingResp
- type CreateExchangeBindingRespData
- type CreateTimeoffEventReq
- type CreateTimeoffEventReqBuilder
- type CreateTimeoffEventResp
- type CreateTimeoffEventRespData
- type CustomizationOption
- type CustomizationOptionBuilder
- type DeleteCalendarAclReq
- type DeleteCalendarAclReqBuilder
- type DeleteCalendarAclResp
- type DeleteCalendarEventMeetingChatReq
- type DeleteCalendarEventMeetingChatReqBuilder
- func (builder *DeleteCalendarEventMeetingChatReqBuilder) Build() *DeleteCalendarEventMeetingChatReq
- func (builder *DeleteCalendarEventMeetingChatReqBuilder) CalendarId(calendarId string) *DeleteCalendarEventMeetingChatReqBuilder
- func (builder *DeleteCalendarEventMeetingChatReqBuilder) EventId(eventId string) *DeleteCalendarEventMeetingChatReqBuilder
- func (builder *DeleteCalendarEventMeetingChatReqBuilder) MeetingChatId(meetingChatId string) *DeleteCalendarEventMeetingChatReqBuilder
- type DeleteCalendarEventMeetingChatResp
- type DeleteCalendarEventReq
- type DeleteCalendarEventReqBuilder
- func (builder *DeleteCalendarEventReqBuilder) Build() *DeleteCalendarEventReq
- func (builder *DeleteCalendarEventReqBuilder) CalendarId(calendarId string) *DeleteCalendarEventReqBuilder
- func (builder *DeleteCalendarEventReqBuilder) EventId(eventId string) *DeleteCalendarEventReqBuilder
- func (builder *DeleteCalendarEventReqBuilder) NeedNotification(needNotification bool) *DeleteCalendarEventReqBuilder
- type DeleteCalendarEventResp
- type DeleteCalendarReq
- type DeleteCalendarReqBuilder
- type DeleteCalendarResp
- type DeleteExchangeBindingReq
- type DeleteExchangeBindingReqBuilder
- type DeleteExchangeBindingResp
- type DeleteTimeoffEventReq
- type DeleteTimeoffEventReqBuilder
- type DeleteTimeoffEventResp
- type DepartmentId
- type DepartmentIdBuilder
- type EventBriefInfoAi
- type EventBriefInfoAiBuilder
- func (builder *EventBriefInfoAiBuilder) AppLink(appLink string) *EventBriefInfoAiBuilder
- func (builder *EventBriefInfoAiBuilder) Build() *EventBriefInfoAi
- func (builder *EventBriefInfoAiBuilder) EndTime(endTime string) *EventBriefInfoAiBuilder
- func (builder *EventBriefInfoAiBuilder) EventId(eventId string) *EventBriefInfoAiBuilder
- func (builder *EventBriefInfoAiBuilder) Organizer(organizer *EventOrganizer) *EventBriefInfoAiBuilder
- func (builder *EventBriefInfoAiBuilder) StartTime(startTime string) *EventBriefInfoAiBuilder
- func (builder *EventBriefInfoAiBuilder) Summary(summary string) *EventBriefInfoAiBuilder
- type EventCard
- type EventCardBuilder
- func (builder *EventCardBuilder) Build() *EventCard
- func (builder *EventCardBuilder) Duration(duration string) *EventCardBuilder
- func (builder *EventCardBuilder) EndTime(endTime string) *EventCardBuilder
- func (builder *EventCardBuilder) EventId(eventId string) *EventCardBuilder
- func (builder *EventCardBuilder) MeetingRoomIds(meetingRoomIds string) *EventCardBuilder
- func (builder *EventCardBuilder) NeedMeetingNotes(needMeetingNotes string) *EventCardBuilder
- func (builder *EventCardBuilder) ParticipantIds(participantIds string) *EventCardBuilder
- func (builder *EventCardBuilder) RecurrenceRule(recurrenceRule string) *EventCardBuilder
- func (builder *EventCardBuilder) ScenarioContext(scenarioContext *CalendarUnderstandScenarioContext) *EventCardBuilder
- func (builder *EventCardBuilder) ScenarioContextSchemaVersion(scenarioContextSchemaVersion string) *EventCardBuilder
- func (builder *EventCardBuilder) StartTime(startTime string) *EventCardBuilder
- func (builder *EventCardBuilder) StartTimezone(startTimezone string) *EventCardBuilder
- func (builder *EventCardBuilder) Summary(summary string) *EventCardBuilder
- type EventLocation
- type EventLocationBuilder
- func (builder *EventLocationBuilder) Address(address string) *EventLocationBuilder
- func (builder *EventLocationBuilder) Build() *EventLocation
- func (builder *EventLocationBuilder) Latitude(latitude float64) *EventLocationBuilder
- func (builder *EventLocationBuilder) Longitude(longitude float64) *EventLocationBuilder
- func (builder *EventLocationBuilder) Name(name string) *EventLocationBuilder
- type EventOrganizer
- type EventOrganizerBuilder
- type EventSearchFilter
- type EventSearchFilterBuilder
- func (builder *EventSearchFilterBuilder) Build() *EventSearchFilter
- func (builder *EventSearchFilterBuilder) ChatIds(chatIds []string) *EventSearchFilterBuilder
- func (builder *EventSearchFilterBuilder) EndTime(endTime *TimeInfo) *EventSearchFilterBuilder
- func (builder *EventSearchFilterBuilder) RoomIds(roomIds []string) *EventSearchFilterBuilder
- func (builder *EventSearchFilterBuilder) StartTime(startTime *TimeInfo) *EventSearchFilterBuilder
- func (builder *EventSearchFilterBuilder) UserIds(userIds []string) *EventSearchFilterBuilder
- type EventTime
- type EventTimeBuilder
- type ExchangeBinding
- type ExchangeBindingBuilder
- func (builder *ExchangeBindingBuilder) AdminAccount(adminAccount string) *ExchangeBindingBuilder
- func (builder *ExchangeBindingBuilder) Build() *ExchangeBinding
- func (builder *ExchangeBindingBuilder) ExchangeAccount(exchangeAccount string) *ExchangeBindingBuilder
- func (builder *ExchangeBindingBuilder) ExchangeBindingId(exchangeBindingId string) *ExchangeBindingBuilder
- func (builder *ExchangeBindingBuilder) Status(status string) *ExchangeBindingBuilder
- func (builder *ExchangeBindingBuilder) UserId(userId string) *ExchangeBindingBuilder
- type FreeTime
- type FreeTimeAi
- type FreeTimeAiBuilder
- type FreeTimeBuilder
- type FreeTimeSlot
- type FreeTimeSlotBuilder
- type Freebusy
- type FreebusyBuilder
- type GenerateCaldavConfSettingPathReqBodyBuilder
- type GenerateCaldavConfSettingReq
- type GenerateCaldavConfSettingReqBody
- type GenerateCaldavConfSettingReqBodyBuilder
- type GenerateCaldavConfSettingReqBuilder
- type GenerateCaldavConfSettingResp
- type GenerateCaldavConfSettingRespData
- type GetCalendarEventReq
- type GetCalendarEventReqBuilder
- func (builder *GetCalendarEventReqBuilder) Build() *GetCalendarEventReq
- func (builder *GetCalendarEventReqBuilder) CalendarId(calendarId string) *GetCalendarEventReqBuilder
- func (builder *GetCalendarEventReqBuilder) EventId(eventId string) *GetCalendarEventReqBuilder
- func (builder *GetCalendarEventReqBuilder) MaxAttendeeNum(maxAttendeeNum int) *GetCalendarEventReqBuilder
- func (builder *GetCalendarEventReqBuilder) NeedAttendee(needAttendee bool) *GetCalendarEventReqBuilder
- func (builder *GetCalendarEventReqBuilder) NeedMeetingSettings(needMeetingSettings bool) *GetCalendarEventReqBuilder
- func (builder *GetCalendarEventReqBuilder) UserIdType(userIdType string) *GetCalendarEventReqBuilder
- type GetCalendarEventResp
- type GetCalendarEventRespData
- type GetCalendarReq
- type GetCalendarReqBuilder
- type GetCalendarResp
- type GetCalendarRespData
- type GetExchangeBindingReq
- type GetExchangeBindingReqBuilder
- type GetExchangeBindingResp
- type GetExchangeBindingRespData
- type Instance
- type InstanceBuilder
- func (builder *InstanceBuilder) AppLink(appLink string) *InstanceBuilder
- func (builder *InstanceBuilder) AttendeeAbility(attendeeAbility string) *InstanceBuilder
- func (builder *InstanceBuilder) Attendees(attendees []*CalendarEventAttendee) *InstanceBuilder
- func (builder *InstanceBuilder) Build() *Instance
- func (builder *InstanceBuilder) Color(color int) *InstanceBuilder
- func (builder *InstanceBuilder) Description(description string) *InstanceBuilder
- func (builder *InstanceBuilder) EndTime(endTime *TimeInfo) *InstanceBuilder
- func (builder *InstanceBuilder) EventId(eventId string) *InstanceBuilder
- func (builder *InstanceBuilder) EventOrganizer(eventOrganizer *EventOrganizer) *InstanceBuilder
- func (builder *InstanceBuilder) FreeBusyStatus(freeBusyStatus string) *InstanceBuilder
- func (builder *InstanceBuilder) IsException(isException bool) *InstanceBuilder
- func (builder *InstanceBuilder) Location(location *EventLocation) *InstanceBuilder
- func (builder *InstanceBuilder) OrganizerCalendarId(organizerCalendarId string) *InstanceBuilder
- func (builder *InstanceBuilder) RecurringEventId(recurringEventId string) *InstanceBuilder
- func (builder *InstanceBuilder) StartTime(startTime *TimeInfo) *InstanceBuilder
- func (builder *InstanceBuilder) Status(status string) *InstanceBuilder
- func (builder *InstanceBuilder) Summary(summary string) *InstanceBuilder
- func (builder *InstanceBuilder) Vchat(vchat *Vchat) *InstanceBuilder
- func (builder *InstanceBuilder) Visibility(visibility string) *InstanceBuilder
- type InstanceViewCalendarEventReq
- type InstanceViewCalendarEventReqBuilder
- func (builder *InstanceViewCalendarEventReqBuilder) Build() *InstanceViewCalendarEventReq
- func (builder *InstanceViewCalendarEventReqBuilder) CalendarId(calendarId string) *InstanceViewCalendarEventReqBuilder
- func (builder *InstanceViewCalendarEventReqBuilder) EndTime(endTime string) *InstanceViewCalendarEventReqBuilder
- func (builder *InstanceViewCalendarEventReqBuilder) StartTime(startTime string) *InstanceViewCalendarEventReqBuilder
- func (builder *InstanceViewCalendarEventReqBuilder) UserIdType(userIdType string) *InstanceViewCalendarEventReqBuilder
- type InstanceViewCalendarEventResp
- type InstanceViewCalendarEventRespData
- type InstancesCalendarEventReq
- type InstancesCalendarEventReqBuilder
- func (builder *InstancesCalendarEventReqBuilder) Build() *InstancesCalendarEventReq
- func (builder *InstancesCalendarEventReqBuilder) CalendarId(calendarId string) *InstancesCalendarEventReqBuilder
- func (builder *InstancesCalendarEventReqBuilder) EndTime(endTime string) *InstancesCalendarEventReqBuilder
- func (builder *InstancesCalendarEventReqBuilder) EventId(eventId string) *InstancesCalendarEventReqBuilder
- func (builder *InstancesCalendarEventReqBuilder) PageSize(pageSize int) *InstancesCalendarEventReqBuilder
- func (builder *InstancesCalendarEventReqBuilder) PageToken(pageToken string) *InstancesCalendarEventReqBuilder
- func (builder *InstancesCalendarEventReqBuilder) StartTime(startTime string) *InstancesCalendarEventReqBuilder
- type InstancesCalendarEventResp
- type InstancesCalendarEventRespData
- type ListCalendarAclIterator
- type ListCalendarAclReq
- type ListCalendarAclReqBuilder
- func (builder *ListCalendarAclReqBuilder) Build() *ListCalendarAclReq
- func (builder *ListCalendarAclReqBuilder) CalendarId(calendarId string) *ListCalendarAclReqBuilder
- func (builder *ListCalendarAclReqBuilder) Limit(limit int) *ListCalendarAclReqBuilder
- func (builder *ListCalendarAclReqBuilder) PageSize(pageSize int) *ListCalendarAclReqBuilder
- func (builder *ListCalendarAclReqBuilder) PageToken(pageToken string) *ListCalendarAclReqBuilder
- func (builder *ListCalendarAclReqBuilder) UserIdType(userIdType string) *ListCalendarAclReqBuilder
- type ListCalendarAclResp
- type ListCalendarAclRespData
- type ListCalendarEventAttendeeChatMemberIterator
- type ListCalendarEventAttendeeChatMemberReq
- type ListCalendarEventAttendeeChatMemberReqBuilder
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) AttendeeId(attendeeId string) *ListCalendarEventAttendeeChatMemberReqBuilder
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) Build() *ListCalendarEventAttendeeChatMemberReq
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) CalendarId(calendarId string) *ListCalendarEventAttendeeChatMemberReqBuilder
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) EventId(eventId string) *ListCalendarEventAttendeeChatMemberReqBuilder
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) Limit(limit int) *ListCalendarEventAttendeeChatMemberReqBuilder
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) PageSize(pageSize int) *ListCalendarEventAttendeeChatMemberReqBuilder
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) PageToken(pageToken string) *ListCalendarEventAttendeeChatMemberReqBuilder
- func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) UserIdType(userIdType string) *ListCalendarEventAttendeeChatMemberReqBuilder
- type ListCalendarEventAttendeeChatMemberResp
- type ListCalendarEventAttendeeChatMemberRespData
- type ListCalendarEventAttendeeIterator
- type ListCalendarEventAttendeeReq
- type ListCalendarEventAttendeeReqBuilder
- func (builder *ListCalendarEventAttendeeReqBuilder) Build() *ListCalendarEventAttendeeReq
- func (builder *ListCalendarEventAttendeeReqBuilder) CalendarId(calendarId string) *ListCalendarEventAttendeeReqBuilder
- func (builder *ListCalendarEventAttendeeReqBuilder) EventId(eventId string) *ListCalendarEventAttendeeReqBuilder
- func (builder *ListCalendarEventAttendeeReqBuilder) Limit(limit int) *ListCalendarEventAttendeeReqBuilder
- func (builder *ListCalendarEventAttendeeReqBuilder) NeedResourceCustomization(needResourceCustomization bool) *ListCalendarEventAttendeeReqBuilder
- func (builder *ListCalendarEventAttendeeReqBuilder) PageSize(pageSize int) *ListCalendarEventAttendeeReqBuilder
- func (builder *ListCalendarEventAttendeeReqBuilder) PageToken(pageToken string) *ListCalendarEventAttendeeReqBuilder
- func (builder *ListCalendarEventAttendeeReqBuilder) UserIdType(userIdType string) *ListCalendarEventAttendeeReqBuilder
- type ListCalendarEventAttendeeResp
- type ListCalendarEventAttendeeRespData
- type ListCalendarEventReq
- type ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) AnchorTime(anchorTime string) *ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) Build() *ListCalendarEventReq
- func (builder *ListCalendarEventReqBuilder) CalendarId(calendarId string) *ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) EndTime(endTime string) *ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) PageSize(pageSize int) *ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) PageToken(pageToken string) *ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) StartTime(startTime string) *ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) SyncToken(syncToken string) *ListCalendarEventReqBuilder
- func (builder *ListCalendarEventReqBuilder) UserIdType(userIdType string) *ListCalendarEventReqBuilder
- type ListCalendarEventResp
- type ListCalendarEventRespData
- type ListCalendarReq
- type ListCalendarReqBuilder
- func (builder *ListCalendarReqBuilder) Build() *ListCalendarReq
- func (builder *ListCalendarReqBuilder) PageSize(pageSize int) *ListCalendarReqBuilder
- func (builder *ListCalendarReqBuilder) PageToken(pageToken string) *ListCalendarReqBuilder
- func (builder *ListCalendarReqBuilder) SyncToken(syncToken string) *ListCalendarReqBuilder
- type ListCalendarResp
- type ListCalendarRespData
- type ListFreebusyPathReqBodyBuilder
- func (builder *ListFreebusyPathReqBodyBuilder) Build() (*ListFreebusyReqBody, error)
- func (builder *ListFreebusyPathReqBodyBuilder) IncludeExternalCalendar(includeExternalCalendar bool) *ListFreebusyPathReqBodyBuilder
- func (builder *ListFreebusyPathReqBodyBuilder) OnlyBusy(onlyBusy bool) *ListFreebusyPathReqBodyBuilder
- func (builder *ListFreebusyPathReqBodyBuilder) RoomId(roomId string) *ListFreebusyPathReqBodyBuilder
- func (builder *ListFreebusyPathReqBodyBuilder) TimeMax(timeMax string) *ListFreebusyPathReqBodyBuilder
- func (builder *ListFreebusyPathReqBodyBuilder) TimeMin(timeMin string) *ListFreebusyPathReqBodyBuilder
- func (builder *ListFreebusyPathReqBodyBuilder) UserId(userId string) *ListFreebusyPathReqBodyBuilder
- type ListFreebusyReq
- type ListFreebusyReqBody
- type ListFreebusyReqBodyBuilder
- func (builder *ListFreebusyReqBodyBuilder) Build() *ListFreebusyReqBody
- func (builder *ListFreebusyReqBodyBuilder) IncludeExternalCalendar(includeExternalCalendar bool) *ListFreebusyReqBodyBuilder
- func (builder *ListFreebusyReqBodyBuilder) OnlyBusy(onlyBusy bool) *ListFreebusyReqBodyBuilder
- func (builder *ListFreebusyReqBodyBuilder) RoomId(roomId string) *ListFreebusyReqBodyBuilder
- func (builder *ListFreebusyReqBodyBuilder) TimeMax(timeMax string) *ListFreebusyReqBodyBuilder
- func (builder *ListFreebusyReqBodyBuilder) TimeMin(timeMin string) *ListFreebusyReqBodyBuilder
- func (builder *ListFreebusyReqBodyBuilder) UserId(userId string) *ListFreebusyReqBodyBuilder
- type ListFreebusyReqBuilder
- type ListFreebusyResp
- type ListFreebusyRespData
- type MeetingChat
- type MeetingChatBuilder
- type MeetingMinute
- type MeetingMinuteBuilder
- type MeetingSettings
- type MeetingSettingsBuilder
- func (builder *MeetingSettingsBuilder) AllowAttendeesStart(allowAttendeesStart bool) *MeetingSettingsBuilder
- func (builder *MeetingSettingsBuilder) AssignHosts(assignHosts []string) *MeetingSettingsBuilder
- func (builder *MeetingSettingsBuilder) AutoRecord(autoRecord bool) *MeetingSettingsBuilder
- func (builder *MeetingSettingsBuilder) Build() *MeetingSettings
- func (builder *MeetingSettingsBuilder) JoinMeetingPermission(joinMeetingPermission string) *MeetingSettingsBuilder
- func (builder *MeetingSettingsBuilder) OpenLobby(openLobby bool) *MeetingSettingsBuilder
- func (builder *MeetingSettingsBuilder) OwnerId(ownerId string) *MeetingSettingsBuilder
- type MyAiEventDetail
- type MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) AccessRole(accessRole string) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) Build() *MyAiEventDetail
- func (builder *MyAiEventDetailBuilder) EndTime(endTime string) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) EventId(eventId string) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) Participants(participants []*UserMeta) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) RecurrenceRule(recurrenceRule string) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) Rooms(rooms []*RoomMeta) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) StartTime(startTime string) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) Summary(summary string) *MyAiEventDetailBuilder
- func (builder *MyAiEventDetailBuilder) Timezone(timezone string) *MyAiEventDetailBuilder
- type MyAiEventInfo
- type MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) Build() *MyAiEventInfo
- func (builder *MyAiEventInfoBuilder) EndTime(endTime string) *MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) EventId(eventId string) *MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) MeetingRoomIds(meetingRoomIds string) *MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) ParticipantIds(participantIds string) *MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) RecurrenceRule(recurrenceRule string) *MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) StartTime(startTime string) *MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) StartTimezone(startTimezone string) *MyAiEventInfoBuilder
- func (builder *MyAiEventInfoBuilder) Summary(summary string) *MyAiEventInfoBuilder
- type MyaiCardStatus
- type MyaiCardStatusBuilder
- type MyaiReply
- type MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) Build() *MyaiReply
- func (builder *MyaiReplyBuilder) EndTime(endTime string) *MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) EventId(eventId string) *MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) Participants(participants []*UserMeta) *MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) RecurrenceRule(recurrenceRule string) *MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) Reply(reply string) *MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) Rooms(rooms []*RoomMeta) *MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) StartTime(startTime string) *MyaiReplyBuilder
- func (builder *MyaiReplyBuilder) Summary(summary string) *MyaiReplyBuilder
- type OperateCardData
- type OperateCardDataBuilder
- type P2CalendarAclCreatedV4
- type P2CalendarAclCreatedV4Data
- type P2CalendarAclCreatedV4Handler
- type P2CalendarAclDeletedV4
- type P2CalendarAclDeletedV4Data
- type P2CalendarAclDeletedV4Handler
- type P2CalendarChangedV4
- type P2CalendarChangedV4Data
- type P2CalendarChangedV4Handler
- type P2CalendarEventChangedV4
- type P2CalendarEventChangedV4Data
- type P2CalendarEventChangedV4Handler
- type PatchCalendarEventReq
- type PatchCalendarEventReqBuilder
- func (builder *PatchCalendarEventReqBuilder) Build() *PatchCalendarEventReq
- func (builder *PatchCalendarEventReqBuilder) CalendarEvent(calendarEvent *CalendarEvent) *PatchCalendarEventReqBuilder
- func (builder *PatchCalendarEventReqBuilder) CalendarId(calendarId string) *PatchCalendarEventReqBuilder
- func (builder *PatchCalendarEventReqBuilder) EventId(eventId string) *PatchCalendarEventReqBuilder
- func (builder *PatchCalendarEventReqBuilder) UserIdType(userIdType string) *PatchCalendarEventReqBuilder
- type PatchCalendarEventResp
- type PatchCalendarEventRespData
- type PatchCalendarReq
- type PatchCalendarReqBuilder
- type PatchCalendarResp
- type PatchCalendarRespData
- type PrimaryCalendarReq
- type PrimaryCalendarReqBuilder
- type PrimaryCalendarResp
- type PrimaryCalendarRespData
- type Reminder
- type ReminderBuilder
- type ReplyCalendarEventPathReqBodyBuilder
- type ReplyCalendarEventReq
- type ReplyCalendarEventReqBody
- type ReplyCalendarEventReqBodyBuilder
- type ReplyCalendarEventReqBuilder
- func (builder *ReplyCalendarEventReqBuilder) Body(body *ReplyCalendarEventReqBody) *ReplyCalendarEventReqBuilder
- func (builder *ReplyCalendarEventReqBuilder) Build() *ReplyCalendarEventReq
- func (builder *ReplyCalendarEventReqBuilder) CalendarId(calendarId string) *ReplyCalendarEventReqBuilder
- func (builder *ReplyCalendarEventReqBuilder) EventId(eventId string) *ReplyCalendarEventReqBuilder
- type ReplyCalendarEventResp
- type RoomMeta
- type RoomMetaBuilder
- type Schema
- type SchemaBuilder
- type SearchCalendarEventIterator
- type SearchCalendarEventPathReqBodyBuilder
- func (builder *SearchCalendarEventPathReqBodyBuilder) Build() (*SearchCalendarEventReqBody, error)
- func (builder *SearchCalendarEventPathReqBodyBuilder) Filter(filter *EventSearchFilter) *SearchCalendarEventPathReqBodyBuilder
- func (builder *SearchCalendarEventPathReqBodyBuilder) Query(query string) *SearchCalendarEventPathReqBodyBuilder
- type SearchCalendarEventReq
- type SearchCalendarEventReqBody
- type SearchCalendarEventReqBodyBuilder
- func (builder *SearchCalendarEventReqBodyBuilder) Build() *SearchCalendarEventReqBody
- func (builder *SearchCalendarEventReqBodyBuilder) Filter(filter *EventSearchFilter) *SearchCalendarEventReqBodyBuilder
- func (builder *SearchCalendarEventReqBodyBuilder) Query(query string) *SearchCalendarEventReqBodyBuilder
- type SearchCalendarEventReqBuilder
- func (builder *SearchCalendarEventReqBuilder) Body(body *SearchCalendarEventReqBody) *SearchCalendarEventReqBuilder
- func (builder *SearchCalendarEventReqBuilder) Build() *SearchCalendarEventReq
- func (builder *SearchCalendarEventReqBuilder) CalendarId(calendarId string) *SearchCalendarEventReqBuilder
- func (builder *SearchCalendarEventReqBuilder) Limit(limit int) *SearchCalendarEventReqBuilder
- func (builder *SearchCalendarEventReqBuilder) PageSize(pageSize int) *SearchCalendarEventReqBuilder
- func (builder *SearchCalendarEventReqBuilder) PageToken(pageToken string) *SearchCalendarEventReqBuilder
- func (builder *SearchCalendarEventReqBuilder) UserIdType(userIdType string) *SearchCalendarEventReqBuilder
- type SearchCalendarEventResp
- type SearchCalendarEventRespData
- type SearchCalendarIterator
- type SearchCalendarPathReqBodyBuilder
- type SearchCalendarReq
- type SearchCalendarReqBody
- type SearchCalendarReqBodyBuilder
- type SearchCalendarReqBuilder
- func (builder *SearchCalendarReqBuilder) Body(body *SearchCalendarReqBody) *SearchCalendarReqBuilder
- func (builder *SearchCalendarReqBuilder) Build() *SearchCalendarReq
- func (builder *SearchCalendarReqBuilder) Limit(limit int) *SearchCalendarReqBuilder
- func (builder *SearchCalendarReqBuilder) PageSize(pageSize int) *SearchCalendarReqBuilder
- func (builder *SearchCalendarReqBuilder) PageToken(pageToken string) *SearchCalendarReqBuilder
- type SearchCalendarResp
- type SearchCalendarRespData
- type SearchEventData
- type SearchEventDataBuilder
- type SearchUserDataAi
- type SearchUserDataAiBuilder
- type SearchUserResultAi
- type SearchUserResultAiBuilder
- type Setting
- type SubscribeCalendarReq
- type SubscribeCalendarReqBuilder
- type SubscribeCalendarResp
- type SubscribeCalendarRespData
- type SubscriptionCalendarAclReq
- type SubscriptionCalendarAclReqBuilder
- type SubscriptionCalendarAclResp
- type SubscriptionCalendarEventReq
- type SubscriptionCalendarEventReqBuilder
- type SubscriptionCalendarEventResp
- type SubscriptionCalendarResp
- type SystemInfo
- type SystemInfoBuilder
- type TimeInfo
- type TimeInfoBuilder
- type TimeSpan
- type TimeSpanBuilder
- type TimeoffEvent
- type TimeoffEventBuilder
- func (builder *TimeoffEventBuilder) Build() *TimeoffEvent
- func (builder *TimeoffEventBuilder) Description(description string) *TimeoffEventBuilder
- func (builder *TimeoffEventBuilder) EndTime(endTime string) *TimeoffEventBuilder
- func (builder *TimeoffEventBuilder) StartTime(startTime string) *TimeoffEventBuilder
- func (builder *TimeoffEventBuilder) TimeoffEventId(timeoffEventId string) *TimeoffEventBuilder
- func (builder *TimeoffEventBuilder) Timezone(timezone string) *TimeoffEventBuilder
- func (builder *TimeoffEventBuilder) Title(title string) *TimeoffEventBuilder
- func (builder *TimeoffEventBuilder) UserId(userId string) *TimeoffEventBuilder
- type UnsubscribeCalendarReq
- type UnsubscribeCalendarReqBuilder
- type UnsubscribeCalendarResp
- type UnsubscriptionCalendarAclReq
- type UnsubscriptionCalendarAclReqBuilder
- type UnsubscriptionCalendarAclResp
- type UnsubscriptionCalendarEventReq
- type UnsubscriptionCalendarEventReqBuilder
- type UnsubscriptionCalendarEventResp
- type UnsubscriptionCalendarResp
- type UserCalendar
- type UserCalendarBuilder
- type UserFreebusy
- type UserFreebusyBuilder
- type UserId
- type UserIdBuilder
- type UserMeta
- type UserMetaBuilder
- type V4
- type VcInfo
- type VcInfoBuilder
- type Vchat
- type VchatBuilder
- func (builder *VchatBuilder) Build() *Vchat
- func (builder *VchatBuilder) Description(description string) *VchatBuilder
- func (builder *VchatBuilder) IconType(iconType string) *VchatBuilder
- func (builder *VchatBuilder) MeetingSettings(meetingSettings *MeetingSettings) *VchatBuilder
- func (builder *VchatBuilder) MeetingUrl(meetingUrl string) *VchatBuilder
- func (builder *VchatBuilder) VcType(vcType string) *VchatBuilder
- type Workhour
- type WorkhourBuilder
- type WorkhourSetting
- type WorkhourSettingBuilder
- func (builder *WorkhourSettingBuilder) Build() *WorkhourSetting
- func (builder *WorkhourSettingBuilder) EnableWorkHour(enableWorkHour bool) *WorkhourSettingBuilder
- func (builder *WorkhourSettingBuilder) Timezone(timezone string) *WorkhourSettingBuilder
- func (builder *WorkhourSettingBuilder) UserId(userId string) *WorkhourSettingBuilder
- func (builder *WorkhourSettingBuilder) Workhours(workhours []*Workhour) *WorkhourSettingBuilder
Constants ¶
const ( EventPermissionsPrivate = "private" // 私密 EventPermissionsShowOnlyFreeBusy = "show_only_free_busy" // 仅展示忙闲信息 EventPermissionsPublic = "public" // 他人可查看日程详情 )
const ( EventPermissionsPatchCalendarPrivate = "private" // 私密 EventPermissionsPatchCalendarShowOnlyFreeBusy = "show_only_free_busy" // 仅展示忙闲信息 EventPermissionsPatchCalendarPublic = "public" // 他人可查看日程详情 )
const ( UserIdTypeUserId = "user_id" // 以user_id来识别用户id UserIdTypeUnionId = "union_id" // 以union_id来识别用户id UserIdTypeOpenId = "open_id" // 以open_id来识别用户id )
const ( CalendarAccessRoleUnkonwn = "unknown" // 未知权限 CalendarAccessRoleFreeBusyReader = "free_busy_reader" // 游客,只能看到忙碌/空闲信息 CalendarAccessRoleReader = "reader" // 订阅者,查看所有日程详情 CalendarAccessRoleWriter = "writer" // 编辑者,创建及修改日程 CalendarAccessRoleOwner = "owner" // 管理员,管理日历及共享设置 )
const ( UserIdTypeCreateCalendarAclUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreateCalendarAclUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreateCalendarAclOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeListCalendarAclUserId = "user_id" // 以user_id来识别用户id UserIdTypeListCalendarAclUnionId = "union_id" // 以union_id来识别用户id UserIdTypeListCalendarAclOpenId = "open_id" // 以open_id来识别用户id )
const ( EventVisibilityDefault = "default" // 默认权限,仅向他人显示是否“忙碌” EventVisibilityPublic = "public" // 公开,显示日程详情 EventVisibilityPrivate = "private" // 私密,仅自己可见 )
const ( EventAttendeeAbilityNone = "none" // 无法编辑日程、无法邀请其它参与人、无法查看参与人列表 EventAttendeeAbilityCanSeeOthers = "can_see_others" // 无法编辑日程、无法邀请其它参与人、可以查看参与人列表 EventAttendeeAbilityCanInviteOthers = "can_invite_others" // 无法编辑日程、可以邀请其它参与人、可以查看参与人列表 EventAttendeeAbilityCanModifyEvent = "can_modify_event" // 可以编辑日程、可以邀请其它参与人、可以查看参与人列表 )
const ( EventFreeBusyStatusBusy = "busy" // 忙碌 EventFreeBusyStatusFree = "free" // 空闲 )
const ( UserIdTypeCreateCalendarEventUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreateCalendarEventUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreateCalendarEventOpenId = "open_id" // 以open_id来识别用户 )
const ( NeedNotificationTrue = true // NeedNotificationFalse = false // )
const ( UserIdTypeGetCalendarEventUserId = "user_id" // 以user_id来识别用户 UserIdTypeGetCalendarEventUnionId = "union_id" // 以union_id来识别用户 UserIdTypeGetCalendarEventOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeInstanceViewCalendarEventUserId = "user_id" // 以user_id来识别用户 UserIdTypeInstanceViewCalendarEventUnionId = "union_id" // 以union_id来识别用户 UserIdTypeInstanceViewCalendarEventOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeListCalendarEventUserId = "user_id" // 以user_id来识别用户 UserIdTypeListCalendarEventUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListCalendarEventOpenId = "open_id" // 以open_id来识别用户 )
const ( EventVisibilityPatchCalendarEventDefault = "default" // 默认权限,仅向他人显示是否“忙碌” EventVisibilityPatchCalendarEventPublic = "public" // 公开,显示日程详情 EventVisibilityPatchCalendarEventPrivate = "private" // 私密,仅自己可见 )
const ( EventAttendeeAbilityPatchCalendarEventNone = "none" // 无法编辑日程、无法邀请其它参与人、无法查看参与人列表 EventAttendeeAbilityPatchCalendarEventCanSeeOthers = "can_see_others" // 无法编辑日程、无法邀请其它参与人、可以查看参与人列表 EventAttendeeAbilityPatchCalendarEventCanInviteOthers = "can_invite_others" // 无法编辑日程、可以邀请其它参与人、可以查看参与人列表 EventAttendeeAbilityPatchCalendarEventCanModifyEvent = "can_modify_event" // 可以编辑日程、可以邀请其它参与人、可以查看参与人列表 )
const ( EventFreeBusyStatusPatchCalendarEventBusy = "busy" // 忙碌 EventFreeBusyStatusPatchCalendarEventFree = "free" // 空闲 )
const ( UserIdTypePatchCalendarEventUserId = "user_id" // 以user_id来识别用户 UserIdTypePatchCalendarEventUnionId = "union_id" // 以union_id来识别用户 UserIdTypePatchCalendarEventOpenId = "open_id" // 以open_id来识别用户 )
const ( RsvpStatusAccept = "accept" // 接受 RsvpStatusDecline = "decline" // 拒绝 RsvpStatusTentative = "tentative" // 待定 )
const ( UserIdTypeSearchCalendarEventUserId = "user_id" // 以user_id来识别用户id UserIdTypeSearchCalendarEventUnionId = "union_id" // 以union_id来识别用户id UserIdTypeSearchCalendarEventOpenId = "open_id" // 以open_id来识别用户id )
const ( UserIdTypeBatchDeleteCalendarEventAttendeeUserId = "user_id" // 以user_id来识别用户id UserIdTypeBatchDeleteCalendarEventAttendeeUnionId = "union_id" // 以union_id来识别用户id UserIdTypeBatchDeleteCalendarEventAttendeeOpenId = "open_id" // 以open_id来识别用户id )
const ( UserIdTypeCreateCalendarEventAttendeeUserId = "user_id" // 以user_id来识别用户id UserIdTypeCreateCalendarEventAttendeeUnionId = "union_id" // 以union_id来识别用户id UserIdTypeCreateCalendarEventAttendeeOpenId = "open_id" // 以open_id来识别用户id )
const ( UserIdTypeListCalendarEventAttendeeUserId = "user_id" // 以user_id来识别用户id UserIdTypeListCalendarEventAttendeeUnionId = "union_id" // 以union_id来识别用户id UserIdTypeListCalendarEventAttendeeOpenId = "open_id" // 以open_id来识别用户id )
const ( UserIdTypeListCalendarEventAttendeeChatMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeListCalendarEventAttendeeChatMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListCalendarEventAttendeeChatMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeCreateExchangeBindingUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreateExchangeBindingUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreateExchangeBindingOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeGetExchangeBindingUserId = "user_id" // 以user_id来识别用户 UserIdTypeGetExchangeBindingUnionId = "union_id" // 以union_id来识别用户 UserIdTypeGetExchangeBindingOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeListFreebusyUserId = "user_id" // 以user_id来识别用户id UserIdTypeListFreebusyUnionId = "union_id" // 以union_id来识别用户id UserIdTypeListFreebusyOpenId = "open_id" // 以open_id来识别用户id )
const ( UserIdTypeCreateTimeoffEventUserId = "user_id" // 以user_id来识别用户id UserIdTypeCreateTimeoffEventUnionId = "union_id" // 以union_id来识别用户id UserIdTypeCreateTimeoffEventOpenId = "open_id" // 以open_id来识别用户id )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclScope ¶
type AclScope struct { Type *string `json:"type,omitempty"` // 权限类型,当type为User时,值为open_id/user_id/union_id UserId *string `json:"user_id,omitempty"` // 用户ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) }
type AclScopeBuilder ¶
type AclScopeBuilder struct {
// contains filtered or unexported fields
}
func NewAclScopeBuilder ¶
func NewAclScopeBuilder() *AclScopeBuilder
func (*AclScopeBuilder) Build ¶
func (builder *AclScopeBuilder) Build() *AclScope
func (*AclScopeBuilder) Type ¶
func (builder *AclScopeBuilder) Type(type_ string) *AclScopeBuilder
权限类型,当type为User时,值为open_id/user_id/union_id
示例值:user
func (*AclScopeBuilder) UserId ¶
func (builder *AclScopeBuilder) UserId(userId string) *AclScopeBuilder
用户ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_xxxxxx
type AclScopeEvent ¶
type AclScopeEventBuilder ¶
type AclScopeEventBuilder struct {
// contains filtered or unexported fields
}
func NewAclScopeEventBuilder ¶
func NewAclScopeEventBuilder() *AclScopeEventBuilder
func (*AclScopeEventBuilder) Build ¶
func (builder *AclScopeEventBuilder) Build() *AclScopeEvent
func (*AclScopeEventBuilder) Type ¶
func (builder *AclScopeEventBuilder) Type(type_ string) *AclScopeEventBuilder
权限类型,当type为User时,值为open_id/user_id/union_id
示例值:user
func (*AclScopeEventBuilder) UserId ¶
func (builder *AclScopeEventBuilder) UserId(userId *UserId) *AclScopeEventBuilder
用户 ID
示例值:
type AttendeeChatMember ¶
type AttendeeChatMember struct { RsvpStatus *string `json:"rsvp_status,omitempty"` // 参与人RSVP状态 IsOptional *bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」 DisplayName *string `json:"display_name,omitempty"` // 参与人名称 IsOrganizer *bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal *bool `json:"is_external,omitempty"` // 参与人是否为外部参与人 }
type AttendeeChatMemberBuilder ¶
type AttendeeChatMemberBuilder struct {
// contains filtered or unexported fields
}
func NewAttendeeChatMemberBuilder ¶
func NewAttendeeChatMemberBuilder() *AttendeeChatMemberBuilder
func (*AttendeeChatMemberBuilder) Build ¶
func (builder *AttendeeChatMemberBuilder) Build() *AttendeeChatMember
func (*AttendeeChatMemberBuilder) DisplayName ¶
func (builder *AttendeeChatMemberBuilder) DisplayName(displayName string) *AttendeeChatMemberBuilder
参与人名称
示例值:Group
func (*AttendeeChatMemberBuilder) IsExternal ¶
func (builder *AttendeeChatMemberBuilder) IsExternal(isExternal bool) *AttendeeChatMemberBuilder
参与人是否为外部参与人
示例值:false
func (*AttendeeChatMemberBuilder) IsOptional ¶
func (builder *AttendeeChatMemberBuilder) IsOptional(isOptional bool) *AttendeeChatMemberBuilder
参与人是否为「可选参加」
示例值:true
func (*AttendeeChatMemberBuilder) IsOrganizer ¶
func (builder *AttendeeChatMemberBuilder) IsOrganizer(isOrganizer bool) *AttendeeChatMemberBuilder
参与人是否为日程组织者
示例值:false
func (*AttendeeChatMemberBuilder) RsvpStatus ¶
func (builder *AttendeeChatMemberBuilder) RsvpStatus(rsvpStatus string) *AttendeeChatMemberBuilder
参与人RSVP状态
示例值:needs_action
type BatchDeleteCalendarEventAttendeePathReqBodyBuilder ¶
type BatchDeleteCalendarEventAttendeePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchDeleteCalendarEventAttendeePathReqBodyBuilder ¶
func NewBatchDeleteCalendarEventAttendeePathReqBodyBuilder() *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
func (*BatchDeleteCalendarEventAttendeePathReqBodyBuilder) AttendeeIds ¶
func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) AttendeeIds(attendeeIds []string) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
要移除的参与人 ID 列表。参见[参与人ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee/introduction#4998889c)
示例值:["user_xxxxx", "chat_xxxxx", "resource_xxxxx", "third_party_xxxxx"]
func (*BatchDeleteCalendarEventAttendeePathReqBodyBuilder) Build ¶
func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) Build() (*BatchDeleteCalendarEventAttendeeReqBody, error)
func (*BatchDeleteCalendarEventAttendeePathReqBodyBuilder) DeleteIds ¶
func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) DeleteIds(deleteIds []*CalendarEventAttendeeId) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
需要删除的参与人类型实体ID,作为attendee_ids字段的补充。
示例值:
func (*BatchDeleteCalendarEventAttendeePathReqBodyBuilder) InstanceStartTimeAdmin ¶
func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
使用管理员身份访问时要修改的实例
示例值:1647320400
func (*BatchDeleteCalendarEventAttendeePathReqBodyBuilder) IsEnableAdmin ¶
func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
是否启用管理员身份(需先在管理后台设置某人为会议室管理员)
示例值:false
func (*BatchDeleteCalendarEventAttendeePathReqBodyBuilder) NeedNotification ¶
func (builder *BatchDeleteCalendarEventAttendeePathReqBodyBuilder) NeedNotification(needNotification bool) *BatchDeleteCalendarEventAttendeePathReqBodyBuilder
删除日程参与人时是否要给参与人发送bot通知,默认为true
示例值:false
type BatchDeleteCalendarEventAttendeeReq ¶
type BatchDeleteCalendarEventAttendeeReq struct { Body *BatchDeleteCalendarEventAttendeeReqBody `body:""` // contains filtered or unexported fields }
type BatchDeleteCalendarEventAttendeeReqBody ¶
type BatchDeleteCalendarEventAttendeeReqBody struct { AttendeeIds []string `json:"attendee_ids,omitempty"` // 要移除的参与人 ID 列表。参见[参与人ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee/introduction#4998889c) DeleteIds []*CalendarEventAttendeeId `json:"delete_ids,omitempty"` // 需要删除的参与人类型实体ID,作为attendee_ids字段的补充。 NeedNotification *bool `json:"need_notification,omitempty"` // 删除日程参与人时是否要给参与人发送bot通知,默认为true InstanceStartTimeAdmin *string `json:"instance_start_time_admin,omitempty"` // 使用管理员身份访问时要修改的实例 IsEnableAdmin *bool `json:"is_enable_admin,omitempty"` // 是否启用管理员身份(需先在管理后台设置某人为会议室管理员) }
type BatchDeleteCalendarEventAttendeeReqBodyBuilder ¶
type BatchDeleteCalendarEventAttendeeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchDeleteCalendarEventAttendeeReqBodyBuilder ¶
func NewBatchDeleteCalendarEventAttendeeReqBodyBuilder() *BatchDeleteCalendarEventAttendeeReqBodyBuilder
func (*BatchDeleteCalendarEventAttendeeReqBodyBuilder) AttendeeIds ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) AttendeeIds(attendeeIds []string) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
要移除的参与人 ID 列表。参见[参与人ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee/introduction#4998889c)
示例值:["user_xxxxx", "chat_xxxxx", "resource_xxxxx", "third_party_xxxxx"]
func (*BatchDeleteCalendarEventAttendeeReqBodyBuilder) Build ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) Build() *BatchDeleteCalendarEventAttendeeReqBody
func (*BatchDeleteCalendarEventAttendeeReqBodyBuilder) DeleteIds ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) DeleteIds(deleteIds []*CalendarEventAttendeeId) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
需要删除的参与人类型实体ID,作为attendee_ids字段的补充。
示例值:
func (*BatchDeleteCalendarEventAttendeeReqBodyBuilder) InstanceStartTimeAdmin ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
使用管理员身份访问时要修改的实例
示例值:1647320400
func (*BatchDeleteCalendarEventAttendeeReqBodyBuilder) IsEnableAdmin ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
是否启用管理员身份(需先在管理后台设置某人为会议室管理员)
示例值:false
func (*BatchDeleteCalendarEventAttendeeReqBodyBuilder) NeedNotification ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBodyBuilder) NeedNotification(needNotification bool) *BatchDeleteCalendarEventAttendeeReqBodyBuilder
删除日程参与人时是否要给参与人发送bot通知,默认为true
示例值:false
type BatchDeleteCalendarEventAttendeeReqBuilder ¶
type BatchDeleteCalendarEventAttendeeReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchDeleteCalendarEventAttendeeReqBuilder ¶
func NewBatchDeleteCalendarEventAttendeeReqBuilder() *BatchDeleteCalendarEventAttendeeReqBuilder
func (*BatchDeleteCalendarEventAttendeeReqBuilder) Body ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) Body(body *BatchDeleteCalendarEventAttendeeReqBody) *BatchDeleteCalendarEventAttendeeReqBuilder
批量删除日程的参与人。
func (*BatchDeleteCalendarEventAttendeeReqBuilder) Build ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) Build() *BatchDeleteCalendarEventAttendeeReq
func (*BatchDeleteCalendarEventAttendeeReqBuilder) CalendarId ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) CalendarId(calendarId string) *BatchDeleteCalendarEventAttendeeReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*BatchDeleteCalendarEventAttendeeReqBuilder) EventId ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) EventId(eventId string) *BatchDeleteCalendarEventAttendeeReqBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:xxxxxxxxx_0
func (*BatchDeleteCalendarEventAttendeeReqBuilder) UserIdType ¶
func (builder *BatchDeleteCalendarEventAttendeeReqBuilder) UserIdType(userIdType string) *BatchDeleteCalendarEventAttendeeReqBuilder
此次调用中使用的用户ID的类型
示例值:
type BatchDeleteCalendarEventAttendeeResp ¶
type BatchDeleteCalendarEventAttendeeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*BatchDeleteCalendarEventAttendeeResp) Success ¶
func (resp *BatchDeleteCalendarEventAttendeeResp) Success() bool
type BookMeetingRoomData ¶ added in v3.0.25
type BookMeetingRoomDataBuilder ¶ added in v3.0.25
type BookMeetingRoomDataBuilder struct {
// contains filtered or unexported fields
}
func NewBookMeetingRoomDataBuilder ¶ added in v3.0.25
func NewBookMeetingRoomDataBuilder() *BookMeetingRoomDataBuilder
func (*BookMeetingRoomDataBuilder) Build ¶ added in v3.0.25
func (builder *BookMeetingRoomDataBuilder) Build() *BookMeetingRoomData
func (*BookMeetingRoomDataBuilder) Hint ¶ added in v3.0.25
func (builder *BookMeetingRoomDataBuilder) Hint(hint string) *BookMeetingRoomDataBuilder
返回给ai的会议室描述数据
示例值:none
func (*BookMeetingRoomDataBuilder) MeetingRoomId ¶ added in v3.0.25
func (builder *BookMeetingRoomDataBuilder) MeetingRoomId(meetingRoomId string) *BookMeetingRoomDataBuilder
会议室ID
示例值:none
func (*BookMeetingRoomDataBuilder) RecurrenceRule ¶ added in v3.0.34
func (builder *BookMeetingRoomDataBuilder) RecurrenceRule(recurrenceRule string) *BookMeetingRoomDataBuilder
重复性日程规则
示例值:none
func (*BookMeetingRoomDataBuilder) Rooms ¶ added in v3.0.25
func (builder *BookMeetingRoomDataBuilder) Rooms(rooms []*RoomMeta) *BookMeetingRoomDataBuilder
日历实体列表
示例值:
type Calendar ¶
type Calendar struct { CalendarId *string `json:"calendar_id,omitempty"` // 日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction) Summary *string `json:"summary,omitempty"` // 日历标题 Description *string `json:"description,omitempty"` // 日历描述 Permissions *string `json:"permissions,omitempty"` // 日历公开范围 Color *int `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type *string `json:"type,omitempty"` // 日历类型 SummaryAlias *string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted *bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty *bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role *string `json:"role,omitempty"` // 当前身份对于该日历的访问权限 }
type CalendarAcl ¶
type CalendarAcl struct { AclId *string `json:"acl_id,omitempty"` // acl资源ID。参见[ACL ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-acl/introduction) Role *string `json:"role,omitempty"` // 对日历的访问权限 Scope *AclScope `json:"scope,omitempty"` // 权限范围 }
type CalendarAclBuilder ¶
type CalendarAclBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarAclBuilder ¶
func NewCalendarAclBuilder() *CalendarAclBuilder
func (*CalendarAclBuilder) AclId ¶
func (builder *CalendarAclBuilder) AclId(aclId string) *CalendarAclBuilder
acl资源ID。参见[ACL ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-acl/introduction)
示例值:user_xxxxxx
func (*CalendarAclBuilder) Build ¶
func (builder *CalendarAclBuilder) Build() *CalendarAcl
func (*CalendarAclBuilder) Role ¶
func (builder *CalendarAclBuilder) Role(role string) *CalendarAclBuilder
对日历的访问权限
示例值:writer
func (*CalendarAclBuilder) Scope ¶
func (builder *CalendarAclBuilder) Scope(scope *AclScope) *CalendarAclBuilder
权限范围
示例值:
type CalendarAclEvent ¶
type CalendarAclEvent struct { AclId *string `json:"acl_id,omitempty"` // acl资源ID Role *string `json:"role,omitempty"` // 对日历的访问权限 Scope *AclScopeEvent `json:"scope,omitempty"` // 权限范围 UserIdList []*UserId `json:"user_id_list,omitempty"` // 需要推送事件的用户列表 }
type CalendarAclEventBuilder ¶
type CalendarAclEventBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarAclEventBuilder ¶
func NewCalendarAclEventBuilder() *CalendarAclEventBuilder
func (*CalendarAclEventBuilder) AclId ¶
func (builder *CalendarAclEventBuilder) AclId(aclId string) *CalendarAclEventBuilder
acl资源ID
示例值:user_xxxxx
func (*CalendarAclEventBuilder) Build ¶
func (builder *CalendarAclEventBuilder) Build() *CalendarAclEvent
func (*CalendarAclEventBuilder) Role ¶
func (builder *CalendarAclEventBuilder) Role(role string) *CalendarAclEventBuilder
对日历的访问权限
示例值:unknown
func (*CalendarAclEventBuilder) Scope ¶
func (builder *CalendarAclEventBuilder) Scope(scope *AclScopeEvent) *CalendarAclEventBuilder
权限范围
示例值:
func (*CalendarAclEventBuilder) UserIdList ¶
func (builder *CalendarAclEventBuilder) UserIdList(userIdList []*UserId) *CalendarAclEventBuilder
需要推送事件的用户列表
示例值:
type CalendarAttendeeResourceCustomization ¶
type CalendarAttendeeResourceCustomization struct { IndexKey *string `json:"index_key,omitempty"` // 每个配置的唯一ID InputContent *string `json:"input_content,omitempty"` // 当type类型为填空时,该参数需要填入 Options []*CustomizationOption `json:"options,omitempty"` // 每个配置的选项 }
type CalendarAttendeeResourceCustomizationBuilder ¶
type CalendarAttendeeResourceCustomizationBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarAttendeeResourceCustomizationBuilder ¶
func NewCalendarAttendeeResourceCustomizationBuilder() *CalendarAttendeeResourceCustomizationBuilder
func (*CalendarAttendeeResourceCustomizationBuilder) Build ¶
func (builder *CalendarAttendeeResourceCustomizationBuilder) Build() *CalendarAttendeeResourceCustomization
func (*CalendarAttendeeResourceCustomizationBuilder) IndexKey ¶
func (builder *CalendarAttendeeResourceCustomizationBuilder) IndexKey(indexKey string) *CalendarAttendeeResourceCustomizationBuilder
每个配置的唯一ID
示例值:16281481596100
func (*CalendarAttendeeResourceCustomizationBuilder) InputContent ¶
func (builder *CalendarAttendeeResourceCustomizationBuilder) InputContent(inputContent string) *CalendarAttendeeResourceCustomizationBuilder
当type类型为填空时,该参数需要填入
示例值:xxx
func (*CalendarAttendeeResourceCustomizationBuilder) Options ¶
func (builder *CalendarAttendeeResourceCustomizationBuilder) Options(options []*CustomizationOption) *CalendarAttendeeResourceCustomizationBuilder
每个配置的选项
示例值:
type CalendarBuilder ¶
type CalendarBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarBuilder ¶
func NewCalendarBuilder() *CalendarBuilder
func (*CalendarBuilder) Build ¶
func (builder *CalendarBuilder) Build() *Calendar
func (*CalendarBuilder) CalendarId ¶
func (builder *CalendarBuilder) CalendarId(calendarId string) *CalendarBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*CalendarBuilder) Color ¶
func (builder *CalendarBuilder) Color(color int) *CalendarBuilder
日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效
示例值:-1
func (*CalendarBuilder) Description ¶
func (builder *CalendarBuilder) Description(description string) *CalendarBuilder
日历描述
示例值:使用开放接口创建日历
func (*CalendarBuilder) IsDeleted ¶
func (builder *CalendarBuilder) IsDeleted(isDeleted bool) *CalendarBuilder
对于当前身份,日历是否已经被标记为删除
示例值:false
func (*CalendarBuilder) IsThirdParty ¶
func (builder *CalendarBuilder) IsThirdParty(isThirdParty bool) *CalendarBuilder
当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入
示例值:false
func (*CalendarBuilder) Permissions ¶
func (builder *CalendarBuilder) Permissions(permissions string) *CalendarBuilder
日历公开范围
示例值:private
func (*CalendarBuilder) Role ¶
func (builder *CalendarBuilder) Role(role string) *CalendarBuilder
当前身份对于该日历的访问权限
示例值:owner
func (*CalendarBuilder) Summary ¶
func (builder *CalendarBuilder) Summary(summary string) *CalendarBuilder
日历标题
示例值:测试日历
func (*CalendarBuilder) SummaryAlias ¶
func (builder *CalendarBuilder) SummaryAlias(summaryAlias string) *CalendarBuilder
日历备注名,修改或添加后仅对当前身份生效
示例值:日历备注名
func (*CalendarBuilder) Type ¶
func (builder *CalendarBuilder) Type(type_ string) *CalendarBuilder
日历类型
示例值:shared
type CalendarEvent ¶
type CalendarEvent struct { EventId *string `json:"event_id,omitempty"` // 日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction) OrganizerCalendarId *string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction) Summary *string `json:"summary,omitempty"` // 日程标题 Description *string `json:"description,omitempty"` // 日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失 NeedNotification *bool `json:"need_notification,omitempty"` // 更新日程是否给日程参与人发送bot通知,默认为true StartTime *TimeInfo `json:"start_time,omitempty"` // 日程开始时间 EndTime *TimeInfo `json:"end_time,omitempty"` // 日程结束时间 Vchat *Vchat `json:"vchat,omitempty"` // 视频会议信息。 Visibility *string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效 AttendeeAbility *string `json:"attendee_ability,omitempty"` // 参与人权限 FreeBusyStatus *string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效 Location *EventLocation `json:"location,omitempty"` // 日程地点 Color *int `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 Reminders []*Reminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence *string `json:"recurrence,omitempty"` // 重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);;- 不支持COUNT和UNTIL同时出现;;- 预定会议室重复日程长度不得超过两年。 Status *string `json:"status,omitempty"` // 日程状态 IsException *bool `json:"is_exception,omitempty"` // 日程是否是一个重复日程的例外日程 RecurringEventId *string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id CreateTime *string `json:"create_time,omitempty"` // 日程的创建时间(秒级时间戳) Schemas []*Schema `json:"schemas,omitempty"` // 日程自定义信息;控制日程详情页的ui展示。 EventOrganizer *EventOrganizer `json:"event_organizer,omitempty"` // 日程组织者信息 AppLink *string `json:"app_link,omitempty"` // 日程的app_link,跳转到具体的某个日程 Attendees []*CalendarEventAttendee `json:"attendees,omitempty"` // 日程参与人信息 HasMoreAttendee *bool `json:"has_more_attendee,omitempty"` // 是否有更多的参与人 }
type CalendarEventAttendee ¶
type CalendarEventAttendee struct { Type *string `json:"type,omitempty"` // 参与人类型 AttendeeId *string `json:"attendee_id,omitempty"` // 参与人ID。参见[参与人ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee/introduction#4998889c) RsvpStatus *string `json:"rsvp_status,omitempty"` // 参与人RSVP状态 IsOptional *bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」,无法编辑群参与人的此字段 IsOrganizer *bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal *bool `json:"is_external,omitempty"` // 参与人是否为外部参与人;外部参与人不支持编辑 DisplayName *string `json:"display_name,omitempty"` // 参与人名称 ChatMembers []*AttendeeChatMember `json:"chat_members,omitempty"` // 群中的群成员,当type为Chat时有效;群成员不支持编辑 UserId *string `json:"user_id,omitempty"` // 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) ChatId *string `json:"chat_id,omitempty"` // chat类型参与人的群组chat_id,参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) RoomId *string `json:"room_id,omitempty"` // resource类型参与人的会议室room_id ThirdPartyEmail *string `json:"third_party_email,omitempty"` // third_party类型参与人的邮箱 OperateId *string `json:"operate_id,omitempty"` // 如果日程是使用应用身份创建的,在添加会议室的时候,用来指定会议室的联系人,在会议室视图展示。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) ResourceCustomization []*CalendarAttendeeResourceCustomization `json:"resource_customization,omitempty"` // 会议室的个性化配置 ApprovalReason *string `json:"approval_reason,omitempty"` // 会议室审批原因 }
type CalendarEventAttendeeBuilder ¶
type CalendarEventAttendeeBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarEventAttendeeBuilder ¶
func NewCalendarEventAttendeeBuilder() *CalendarEventAttendeeBuilder
func (*CalendarEventAttendeeBuilder) ApprovalReason ¶ added in v3.0.25
func (builder *CalendarEventAttendeeBuilder) ApprovalReason(approvalReason string) *CalendarEventAttendeeBuilder
会议室审批原因
示例值:申请审批原因
func (*CalendarEventAttendeeBuilder) AttendeeId ¶
func (builder *CalendarEventAttendeeBuilder) AttendeeId(attendeeId string) *CalendarEventAttendeeBuilder
参与人ID。参见[参与人ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee/introduction#4998889c)
示例值:user_xxxxxx
func (*CalendarEventAttendeeBuilder) Build ¶
func (builder *CalendarEventAttendeeBuilder) Build() *CalendarEventAttendee
func (*CalendarEventAttendeeBuilder) ChatId ¶
func (builder *CalendarEventAttendeeBuilder) ChatId(chatId string) *CalendarEventAttendeeBuilder
chat类型参与人的群组chat_id,参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description)
示例值:oc_xxxxxxxxx
func (*CalendarEventAttendeeBuilder) ChatMembers ¶
func (builder *CalendarEventAttendeeBuilder) ChatMembers(chatMembers []*AttendeeChatMember) *CalendarEventAttendeeBuilder
群中的群成员,当type为Chat时有效;群成员不支持编辑
示例值:
func (*CalendarEventAttendeeBuilder) DisplayName ¶
func (builder *CalendarEventAttendeeBuilder) DisplayName(displayName string) *CalendarEventAttendeeBuilder
参与人名称
示例值:Zhang San
func (*CalendarEventAttendeeBuilder) IsExternal ¶
func (builder *CalendarEventAttendeeBuilder) IsExternal(isExternal bool) *CalendarEventAttendeeBuilder
参与人是否为外部参与人;外部参与人不支持编辑
示例值:false
func (*CalendarEventAttendeeBuilder) IsOptional ¶
func (builder *CalendarEventAttendeeBuilder) IsOptional(isOptional bool) *CalendarEventAttendeeBuilder
参与人是否为「可选参加」,无法编辑群参与人的此字段
示例值:true
func (*CalendarEventAttendeeBuilder) IsOrganizer ¶
func (builder *CalendarEventAttendeeBuilder) IsOrganizer(isOrganizer bool) *CalendarEventAttendeeBuilder
参与人是否为日程组织者
示例值:true
func (*CalendarEventAttendeeBuilder) OperateId ¶
func (builder *CalendarEventAttendeeBuilder) OperateId(operateId string) *CalendarEventAttendeeBuilder
如果日程是使用应用身份创建的,在添加会议室的时候,用来指定会议室的联系人,在会议室视图展示。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_xxxxxxxx
func (*CalendarEventAttendeeBuilder) ResourceCustomization ¶
func (builder *CalendarEventAttendeeBuilder) ResourceCustomization(resourceCustomization []*CalendarAttendeeResourceCustomization) *CalendarEventAttendeeBuilder
会议室的个性化配置
示例值:
func (*CalendarEventAttendeeBuilder) RoomId ¶
func (builder *CalendarEventAttendeeBuilder) RoomId(roomId string) *CalendarEventAttendeeBuilder
resource类型参与人的会议室room_id
示例值:omm_xxxxxxxx
func (*CalendarEventAttendeeBuilder) RsvpStatus ¶
func (builder *CalendarEventAttendeeBuilder) RsvpStatus(rsvpStatus string) *CalendarEventAttendeeBuilder
参与人RSVP状态
示例值:needs_action
func (*CalendarEventAttendeeBuilder) ThirdPartyEmail ¶
func (builder *CalendarEventAttendeeBuilder) ThirdPartyEmail(thirdPartyEmail string) *CalendarEventAttendeeBuilder
third_party类型参与人的邮箱
示例值:wangwu@email.com
func (*CalendarEventAttendeeBuilder) Type ¶
func (builder *CalendarEventAttendeeBuilder) Type(type_ string) *CalendarEventAttendeeBuilder
参与人类型
示例值:user
func (*CalendarEventAttendeeBuilder) UserId ¶
func (builder *CalendarEventAttendeeBuilder) UserId(userId string) *CalendarEventAttendeeBuilder
参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_xxxxxxxx
type CalendarEventAttendeeChatMember ¶
type CalendarEventAttendeeChatMember struct { RsvpStatus *string `json:"rsvp_status,omitempty"` // 参与人RSVP状态 IsOptional *bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」 DisplayName *string `json:"display_name,omitempty"` // 参与人名称 OpenId *string `json:"open_id,omitempty"` // 参与人open_id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction);;**示例值**:"ou_xxxxxxxx" IsOrganizer *bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal *bool `json:"is_external,omitempty"` // 参与人是否为外部参与人 }
type CalendarEventAttendeeChatMemberBuilder ¶
type CalendarEventAttendeeChatMemberBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarEventAttendeeChatMemberBuilder ¶
func NewCalendarEventAttendeeChatMemberBuilder() *CalendarEventAttendeeChatMemberBuilder
func (*CalendarEventAttendeeChatMemberBuilder) Build ¶
func (builder *CalendarEventAttendeeChatMemberBuilder) Build() *CalendarEventAttendeeChatMember
func (*CalendarEventAttendeeChatMemberBuilder) DisplayName ¶
func (builder *CalendarEventAttendeeChatMemberBuilder) DisplayName(displayName string) *CalendarEventAttendeeChatMemberBuilder
参与人名称
示例值:Zhang San
func (*CalendarEventAttendeeChatMemberBuilder) IsExternal ¶
func (builder *CalendarEventAttendeeChatMemberBuilder) IsExternal(isExternal bool) *CalendarEventAttendeeChatMemberBuilder
参与人是否为外部参与人
示例值:false
func (*CalendarEventAttendeeChatMemberBuilder) IsOptional ¶
func (builder *CalendarEventAttendeeChatMemberBuilder) IsOptional(isOptional bool) *CalendarEventAttendeeChatMemberBuilder
参与人是否为「可选参加」
示例值:true
func (*CalendarEventAttendeeChatMemberBuilder) IsOrganizer ¶
func (builder *CalendarEventAttendeeChatMemberBuilder) IsOrganizer(isOrganizer bool) *CalendarEventAttendeeChatMemberBuilder
参与人是否为日程组织者
示例值:true
func (*CalendarEventAttendeeChatMemberBuilder) OpenId ¶
func (builder *CalendarEventAttendeeChatMemberBuilder) OpenId(openId string) *CalendarEventAttendeeChatMemberBuilder
参与人open_id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction);;**示例值**:"ou_xxxxxxxx"
示例值:ou_143669c5a53647f00f6c80a0253aa68b
func (*CalendarEventAttendeeChatMemberBuilder) RsvpStatus ¶
func (builder *CalendarEventAttendeeChatMemberBuilder) RsvpStatus(rsvpStatus string) *CalendarEventAttendeeChatMemberBuilder
参与人RSVP状态
示例值:needs_action
type CalendarEventAttendeeId ¶
type CalendarEventAttendeeId struct { Type *string `json:"type,omitempty"` // 参与人类型,仅当新建参与人时可设置类型 AttendeeId *string `json:"attendee_id,omitempty"` // 参与人ID UserId *string `json:"user_id,omitempty"` // 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id ChatId *string `json:"chat_id,omitempty"` // chat类型参与人的群组chat_id RoomId *string `json:"room_id,omitempty"` // resource类型参与人的会议室room_id ThirdPartyEmail *string `json:"third_party_email,omitempty"` // third_party类型参与人的邮箱 }
type CalendarEventAttendeeIdBuilder ¶
type CalendarEventAttendeeIdBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarEventAttendeeIdBuilder ¶
func NewCalendarEventAttendeeIdBuilder() *CalendarEventAttendeeIdBuilder
func (*CalendarEventAttendeeIdBuilder) AttendeeId ¶
func (builder *CalendarEventAttendeeIdBuilder) AttendeeId(attendeeId string) *CalendarEventAttendeeIdBuilder
参与人ID
示例值:
func (*CalendarEventAttendeeIdBuilder) Build ¶
func (builder *CalendarEventAttendeeIdBuilder) Build() *CalendarEventAttendeeId
func (*CalendarEventAttendeeIdBuilder) ChatId ¶
func (builder *CalendarEventAttendeeIdBuilder) ChatId(chatId string) *CalendarEventAttendeeIdBuilder
chat类型参与人的群组chat_id
示例值:oc_xxxxxxxxx
func (*CalendarEventAttendeeIdBuilder) RoomId ¶
func (builder *CalendarEventAttendeeIdBuilder) RoomId(roomId string) *CalendarEventAttendeeIdBuilder
resource类型参与人的会议室room_id
示例值:omm_xxxxxxxx
func (*CalendarEventAttendeeIdBuilder) ThirdPartyEmail ¶
func (builder *CalendarEventAttendeeIdBuilder) ThirdPartyEmail(thirdPartyEmail string) *CalendarEventAttendeeIdBuilder
third_party类型参与人的邮箱
示例值:wangwu@email.com
func (*CalendarEventAttendeeIdBuilder) Type ¶
func (builder *CalendarEventAttendeeIdBuilder) Type(type_ string) *CalendarEventAttendeeIdBuilder
参与人类型,仅当新建参与人时可设置类型
示例值:user
func (*CalendarEventAttendeeIdBuilder) UserId ¶
func (builder *CalendarEventAttendeeIdBuilder) UserId(userId string) *CalendarEventAttendeeIdBuilder
参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id
示例值:ou_xxxxxxxx
type CalendarEventAttendeeResp ¶
type CalendarEventAttendeeResp struct { Type *string `json:"type,omitempty"` // 参与人类型,仅当新建参与人时可设置类型。 AttendeeId *string `json:"attendee_id,omitempty"` // 参与人ID RsvpStatus *string `json:"rsvp_status,omitempty"` // 参与人RSVP状态 IsOptional *bool `json:"is_optional,omitempty"` // 参与人是否为「可选参加」,无法编辑群参与人的此字段 IsOrganizer *bool `json:"is_organizer,omitempty"` // 参与人是否为日程组织者 IsExternal *bool `json:"is_external,omitempty"` // 参与人是否为外部参与人;外部参与人不支持编辑 DisplayName *string `json:"display_name,omitempty"` // 参与人名称 ChatMembers []*AttendeeChatMember `json:"chat_members,omitempty"` // 群中的群成员,当type为Chat时有效;群成员不支持编辑 UserId *string `json:"user_id,omitempty"` // 参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id ChatId *string `json:"chat_id,omitempty"` // chat类型参与人的群组chat_id RoomId *string `json:"room_id,omitempty"` // resource类型参与人的会议室room_id ThirdPartyEmail *string `json:"third_party_email,omitempty"` // third_party类型参与人的邮箱 OperateId *string `json:"operate_id,omitempty"` // bot身份操作时,为预定的会议室指定实际预定人 ResourceCustomization []*CalendarAttendeeResourceCustomization `json:"resource_customization,omitempty"` // 会议室的个性化配置 }
type CalendarEventAttendeeRespBuilder ¶
type CalendarEventAttendeeRespBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarEventAttendeeRespBuilder ¶
func NewCalendarEventAttendeeRespBuilder() *CalendarEventAttendeeRespBuilder
func (*CalendarEventAttendeeRespBuilder) AttendeeId ¶
func (builder *CalendarEventAttendeeRespBuilder) AttendeeId(attendeeId string) *CalendarEventAttendeeRespBuilder
参与人ID
示例值:
func (*CalendarEventAttendeeRespBuilder) Build ¶
func (builder *CalendarEventAttendeeRespBuilder) Build() *CalendarEventAttendeeResp
func (*CalendarEventAttendeeRespBuilder) ChatId ¶
func (builder *CalendarEventAttendeeRespBuilder) ChatId(chatId string) *CalendarEventAttendeeRespBuilder
chat类型参与人的群组chat_id
示例值:
func (*CalendarEventAttendeeRespBuilder) ChatMembers ¶
func (builder *CalendarEventAttendeeRespBuilder) ChatMembers(chatMembers []*AttendeeChatMember) *CalendarEventAttendeeRespBuilder
群中的群成员,当type为Chat时有效;群成员不支持编辑
示例值:
func (*CalendarEventAttendeeRespBuilder) DisplayName ¶
func (builder *CalendarEventAttendeeRespBuilder) DisplayName(displayName string) *CalendarEventAttendeeRespBuilder
参与人名称
示例值:
func (*CalendarEventAttendeeRespBuilder) IsExternal ¶
func (builder *CalendarEventAttendeeRespBuilder) IsExternal(isExternal bool) *CalendarEventAttendeeRespBuilder
参与人是否为外部参与人;外部参与人不支持编辑
示例值:
func (*CalendarEventAttendeeRespBuilder) IsOptional ¶
func (builder *CalendarEventAttendeeRespBuilder) IsOptional(isOptional bool) *CalendarEventAttendeeRespBuilder
参与人是否为「可选参加」,无法编辑群参与人的此字段
示例值:
func (*CalendarEventAttendeeRespBuilder) IsOrganizer ¶
func (builder *CalendarEventAttendeeRespBuilder) IsOrganizer(isOrganizer bool) *CalendarEventAttendeeRespBuilder
参与人是否为日程组织者
示例值:
func (*CalendarEventAttendeeRespBuilder) OperateId ¶
func (builder *CalendarEventAttendeeRespBuilder) OperateId(operateId string) *CalendarEventAttendeeRespBuilder
bot身份操作时,为预定的会议室指定实际预定人
示例值:
func (*CalendarEventAttendeeRespBuilder) ResourceCustomization ¶
func (builder *CalendarEventAttendeeRespBuilder) ResourceCustomization(resourceCustomization []*CalendarAttendeeResourceCustomization) *CalendarEventAttendeeRespBuilder
会议室的个性化配置
示例值:
func (*CalendarEventAttendeeRespBuilder) RoomId ¶
func (builder *CalendarEventAttendeeRespBuilder) RoomId(roomId string) *CalendarEventAttendeeRespBuilder
resource类型参与人的会议室room_id
示例值:
func (*CalendarEventAttendeeRespBuilder) RsvpStatus ¶
func (builder *CalendarEventAttendeeRespBuilder) RsvpStatus(rsvpStatus string) *CalendarEventAttendeeRespBuilder
参与人RSVP状态
示例值:
func (*CalendarEventAttendeeRespBuilder) ThirdPartyEmail ¶
func (builder *CalendarEventAttendeeRespBuilder) ThirdPartyEmail(thirdPartyEmail string) *CalendarEventAttendeeRespBuilder
third_party类型参与人的邮箱
示例值:
func (*CalendarEventAttendeeRespBuilder) Type ¶
func (builder *CalendarEventAttendeeRespBuilder) Type(type_ string) *CalendarEventAttendeeRespBuilder
参与人类型,仅当新建参与人时可设置类型。
示例值:
func (*CalendarEventAttendeeRespBuilder) UserId ¶
func (builder *CalendarEventAttendeeRespBuilder) UserId(userId string) *CalendarEventAttendeeRespBuilder
参与人的用户id,依赖于user_id_type返回对应的取值,当is_external为true时,此字段只会返回open_id或者union_id
示例值:
type CalendarEventBuilder ¶
type CalendarEventBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarEventBuilder ¶
func NewCalendarEventBuilder() *CalendarEventBuilder
func (*CalendarEventBuilder) AppLink ¶ added in v3.0.34
func (builder *CalendarEventBuilder) AppLink(appLink string) *CalendarEventBuilder
日程的app_link,跳转到具体的某个日程
func (*CalendarEventBuilder) AttendeeAbility ¶
func (builder *CalendarEventBuilder) AttendeeAbility(attendeeAbility string) *CalendarEventBuilder
参与人权限
示例值:can_see_others
func (*CalendarEventBuilder) Attendees ¶ added in v3.1.2
func (builder *CalendarEventBuilder) Attendees(attendees []*CalendarEventAttendee) *CalendarEventBuilder
日程参与人信息
示例值:
func (*CalendarEventBuilder) Build ¶
func (builder *CalendarEventBuilder) Build() *CalendarEvent
func (*CalendarEventBuilder) Color ¶
func (builder *CalendarEventBuilder) Color(color int) *CalendarEventBuilder
日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。
示例值:-1
func (*CalendarEventBuilder) CreateTime ¶ added in v3.0.3
func (builder *CalendarEventBuilder) CreateTime(createTime string) *CalendarEventBuilder
日程的创建时间(秒级时间戳)
示例值:1602504000
func (*CalendarEventBuilder) Description ¶
func (builder *CalendarEventBuilder) Description(description string) *CalendarEventBuilder
日程描述;目前不支持编辑富文本描述,如果日程描述通过客户端编辑过,更新描述会导致富文本格式丢失
示例值:日程描述
func (*CalendarEventBuilder) EndTime ¶
func (builder *CalendarEventBuilder) EndTime(endTime *TimeInfo) *CalendarEventBuilder
日程结束时间
示例值:
func (*CalendarEventBuilder) EventId ¶
func (builder *CalendarEventBuilder) EventId(eventId string) *CalendarEventBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:00592a0e-7edf-4678-bc9d-1b77383ef08e_0
func (*CalendarEventBuilder) EventOrganizer ¶ added in v3.0.34
func (builder *CalendarEventBuilder) EventOrganizer(eventOrganizer *EventOrganizer) *CalendarEventBuilder
日程组织者信息
示例值:
func (*CalendarEventBuilder) FreeBusyStatus ¶
func (builder *CalendarEventBuilder) FreeBusyStatus(freeBusyStatus string) *CalendarEventBuilder
日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:busy
func (*CalendarEventBuilder) HasMoreAttendee ¶ added in v3.1.2
func (builder *CalendarEventBuilder) HasMoreAttendee(hasMoreAttendee bool) *CalendarEventBuilder
是否有更多的参与人
示例值:
func (*CalendarEventBuilder) IsException ¶
func (builder *CalendarEventBuilder) IsException(isException bool) *CalendarEventBuilder
日程是否是一个重复日程的例外日程
示例值:false
func (*CalendarEventBuilder) Location ¶
func (builder *CalendarEventBuilder) Location(location *EventLocation) *CalendarEventBuilder
日程地点
示例值:
func (*CalendarEventBuilder) NeedNotification ¶
func (builder *CalendarEventBuilder) NeedNotification(needNotification bool) *CalendarEventBuilder
更新日程是否给日程参与人发送bot通知,默认为true
示例值:false
func (*CalendarEventBuilder) OrganizerCalendarId ¶
func (builder *CalendarEventBuilder) OrganizerCalendarId(organizerCalendarId string) *CalendarEventBuilder
日程组织者日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*CalendarEventBuilder) Recurrence ¶
func (builder *CalendarEventBuilder) Recurrence(recurrence string) *CalendarEventBuilder
重复日程的重复性规则;参考[rfc5545](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10);;- 不支持COUNT和UNTIL同时出现;;- 预定会议室重复日程长度不得超过两年。
示例值:FREQ=DAILY;INTERVAL=1
func (*CalendarEventBuilder) RecurringEventId ¶
func (builder *CalendarEventBuilder) RecurringEventId(recurringEventId string) *CalendarEventBuilder
例外日程的原重复日程的event_id
示例值:1cd45aaa-fa70-4195-80b7-c93b2e208f45
func (*CalendarEventBuilder) Reminders ¶
func (builder *CalendarEventBuilder) Reminders(reminders []*Reminder) *CalendarEventBuilder
日程提醒列表
示例值:
func (*CalendarEventBuilder) Schemas ¶
func (builder *CalendarEventBuilder) Schemas(schemas []*Schema) *CalendarEventBuilder
日程自定义信息;控制日程详情页的ui展示。
示例值:
func (*CalendarEventBuilder) StartTime ¶
func (builder *CalendarEventBuilder) StartTime(startTime *TimeInfo) *CalendarEventBuilder
日程开始时间
示例值:
func (*CalendarEventBuilder) Status ¶
func (builder *CalendarEventBuilder) Status(status string) *CalendarEventBuilder
日程状态
示例值:confirmed
func (*CalendarEventBuilder) Summary ¶
func (builder *CalendarEventBuilder) Summary(summary string) *CalendarEventBuilder
日程标题
示例值:日程标题
func (*CalendarEventBuilder) Vchat ¶
func (builder *CalendarEventBuilder) Vchat(vchat *Vchat) *CalendarEventBuilder
视频会议信息。
示例值:
func (*CalendarEventBuilder) Visibility ¶
func (builder *CalendarEventBuilder) Visibility(visibility string) *CalendarEventBuilder
日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:default
type CalendarEventResp ¶
type CalendarEventResp struct { EventId *string `json:"event_id,omitempty"` // 日程ID OrganizerCalendarId *string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID Summary *string `json:"summary,omitempty"` // 日程标题 Description *string `json:"description,omitempty"` // 日程描述 NeedNotification *bool `json:"need_notification,omitempty"` // 是否发送通知消息 StartTime *TimeInfo `json:"start_time,omitempty"` // 日程开始时间 EndTime *TimeInfo `json:"end_time,omitempty"` // 日程结束时间 Vchat *Vchat `json:"vchat,omitempty"` // 视频会议信息,仅当日程至少有一位attendee时生效 Visibility *string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效 AttendeeAbility *string `json:"attendee_ability,omitempty"` // 参与人权限 FreeBusyStatus *string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效 Location *EventLocation `json:"location,omitempty"` // 日程地点 Color *int `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 Reminders []*Reminder `json:"reminders,omitempty"` // 日程提醒列表 Recurrence *string `json:"recurrence,omitempty"` // 重复日程的重复性规则 Status *string `json:"status,omitempty"` // 日程状态 IsException *bool `json:"is_exception,omitempty"` // 日程是否是一个重复日程的例外日程 RecurringEventId *string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id CreateTime *string `json:"create_time,omitempty"` // 日程的创建时间戳 Schemas []*Schema `json:"schemas,omitempty"` // 日程自定义信息 }
type CalendarEventRespBuilder ¶
type CalendarEventRespBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarEventRespBuilder ¶
func NewCalendarEventRespBuilder() *CalendarEventRespBuilder
func (*CalendarEventRespBuilder) AttendeeAbility ¶
func (builder *CalendarEventRespBuilder) AttendeeAbility(attendeeAbility string) *CalendarEventRespBuilder
参与人权限
示例值:
func (*CalendarEventRespBuilder) Build ¶
func (builder *CalendarEventRespBuilder) Build() *CalendarEventResp
func (*CalendarEventRespBuilder) Color ¶
func (builder *CalendarEventRespBuilder) Color(color int) *CalendarEventRespBuilder
日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。
示例值:-1
func (*CalendarEventRespBuilder) CreateTime ¶ added in v3.0.3
func (builder *CalendarEventRespBuilder) CreateTime(createTime string) *CalendarEventRespBuilder
日程的创建时间戳
示例值:1682585100
func (*CalendarEventRespBuilder) Description ¶
func (builder *CalendarEventRespBuilder) Description(description string) *CalendarEventRespBuilder
日程描述
示例值:日程描述
func (*CalendarEventRespBuilder) EndTime ¶
func (builder *CalendarEventRespBuilder) EndTime(endTime *TimeInfo) *CalendarEventRespBuilder
日程结束时间
示例值:
func (*CalendarEventRespBuilder) EventId ¶
func (builder *CalendarEventRespBuilder) EventId(eventId string) *CalendarEventRespBuilder
日程ID
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_0
func (*CalendarEventRespBuilder) FreeBusyStatus ¶
func (builder *CalendarEventRespBuilder) FreeBusyStatus(freeBusyStatus string) *CalendarEventRespBuilder
日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:
func (*CalendarEventRespBuilder) IsException ¶
func (builder *CalendarEventRespBuilder) IsException(isException bool) *CalendarEventRespBuilder
日程是否是一个重复日程的例外日程
示例值:true
func (*CalendarEventRespBuilder) Location ¶
func (builder *CalendarEventRespBuilder) Location(location *EventLocation) *CalendarEventRespBuilder
日程地点
示例值:
func (*CalendarEventRespBuilder) NeedNotification ¶
func (builder *CalendarEventRespBuilder) NeedNotification(needNotification bool) *CalendarEventRespBuilder
是否发送通知消息
示例值:true
func (*CalendarEventRespBuilder) OrganizerCalendarId ¶
func (builder *CalendarEventRespBuilder) OrganizerCalendarId(organizerCalendarId string) *CalendarEventRespBuilder
日程组织者日历ID
示例值:feishu.cn_HF9U2MbibE8PPpjro6xjqa@group.calendar.feishu.cn
func (*CalendarEventRespBuilder) Recurrence ¶
func (builder *CalendarEventRespBuilder) Recurrence(recurrence string) *CalendarEventRespBuilder
重复日程的重复性规则
示例值:FREQ=DAILY;INTERVAL=1
func (*CalendarEventRespBuilder) RecurringEventId ¶
func (builder *CalendarEventRespBuilder) RecurringEventId(recurringEventId string) *CalendarEventRespBuilder
例外日程的原重复日程的event_id
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_0
func (*CalendarEventRespBuilder) Reminders ¶
func (builder *CalendarEventRespBuilder) Reminders(reminders []*Reminder) *CalendarEventRespBuilder
日程提醒列表
示例值:
func (*CalendarEventRespBuilder) Schemas ¶
func (builder *CalendarEventRespBuilder) Schemas(schemas []*Schema) *CalendarEventRespBuilder
日程自定义信息
示例值:
func (*CalendarEventRespBuilder) StartTime ¶
func (builder *CalendarEventRespBuilder) StartTime(startTime *TimeInfo) *CalendarEventRespBuilder
日程开始时间
示例值:
func (*CalendarEventRespBuilder) Status ¶
func (builder *CalendarEventRespBuilder) Status(status string) *CalendarEventRespBuilder
日程状态
示例值:
func (*CalendarEventRespBuilder) Summary ¶
func (builder *CalendarEventRespBuilder) Summary(summary string) *CalendarEventRespBuilder
日程标题
示例值:日程主题
func (*CalendarEventRespBuilder) Vchat ¶
func (builder *CalendarEventRespBuilder) Vchat(vchat *Vchat) *CalendarEventRespBuilder
视频会议信息,仅当日程至少有一位attendee时生效
示例值:
func (*CalendarEventRespBuilder) Visibility ¶
func (builder *CalendarEventRespBuilder) Visibility(visibility string) *CalendarEventRespBuilder
日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:
type CalendarFreebusy ¶
type CalendarFreebusyBuilder ¶
type CalendarFreebusyBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarFreebusyBuilder ¶
func NewCalendarFreebusyBuilder() *CalendarFreebusyBuilder
func (*CalendarFreebusyBuilder) Build ¶
func (builder *CalendarFreebusyBuilder) Build() *CalendarFreebusy
func (*CalendarFreebusyBuilder) CalendarId ¶
func (builder *CalendarFreebusyBuilder) CalendarId(calendarId string) *CalendarFreebusyBuilder
日历id
示例值:
func (*CalendarFreebusyBuilder) EndTime ¶
func (builder *CalendarFreebusyBuilder) EndTime(endTime string) *CalendarFreebusyBuilder
忙闲信息结束时间,RFC3339 date_time格式
示例值:
func (*CalendarFreebusyBuilder) StartTime ¶
func (builder *CalendarFreebusyBuilder) StartTime(startTime string) *CalendarFreebusyBuilder
忙闲信息开始时间,RFC3339 date_time格式
示例值:
type CalendarFreebusyError ¶
type CalendarFreebusyErrorBuilder ¶
type CalendarFreebusyErrorBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarFreebusyErrorBuilder ¶
func NewCalendarFreebusyErrorBuilder() *CalendarFreebusyErrorBuilder
func (*CalendarFreebusyErrorBuilder) Build ¶
func (builder *CalendarFreebusyErrorBuilder) Build() *CalendarFreebusyError
func (*CalendarFreebusyErrorBuilder) CalendarId ¶
func (builder *CalendarFreebusyErrorBuilder) CalendarId(calendarId string) *CalendarFreebusyErrorBuilder
日历id
示例值:
func (*CalendarFreebusyErrorBuilder) ErrorMsg ¶
func (builder *CalendarFreebusyErrorBuilder) ErrorMsg(errorMsg string) *CalendarFreebusyErrorBuilder
错误信息
示例值:
type CalendarPrimaryBatchReq ¶ added in v3.0.34
type CalendarPrimaryBatchReq struct {
UserIds []string `json:"user_ids,omitempty"` // 用户ID列表
}
type CalendarPrimaryBatchReqBuilder ¶ added in v3.0.34
type CalendarPrimaryBatchReqBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarPrimaryBatchReqBuilder ¶ added in v3.0.34
func NewCalendarPrimaryBatchReqBuilder() *CalendarPrimaryBatchReqBuilder
func (*CalendarPrimaryBatchReqBuilder) Build ¶ added in v3.0.34
func (builder *CalendarPrimaryBatchReqBuilder) Build() *CalendarPrimaryBatchReq
func (*CalendarPrimaryBatchReqBuilder) UserIds ¶ added in v3.0.34
func (builder *CalendarPrimaryBatchReqBuilder) UserIds(userIds []string) *CalendarPrimaryBatchReqBuilder
用户ID列表
示例值:
type CalendarUnderstandExtra ¶ added in v3.0.34
type CalendarUnderstandExtraBuilder ¶ added in v3.0.34
type CalendarUnderstandExtraBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarUnderstandExtraBuilder ¶ added in v3.0.34
func NewCalendarUnderstandExtraBuilder() *CalendarUnderstandExtraBuilder
func (*CalendarUnderstandExtraBuilder) AiTaskId ¶ added in v3.0.34
func (builder *CalendarUnderstandExtraBuilder) AiTaskId(aiTaskId string) *CalendarUnderstandExtraBuilder
ai任务唯一标识
示例值:none
func (*CalendarUnderstandExtraBuilder) Build ¶ added in v3.0.34
func (builder *CalendarUnderstandExtraBuilder) Build() *CalendarUnderstandExtra
func (*CalendarUnderstandExtraBuilder) EventUid ¶ added in v3.0.34
func (builder *CalendarUnderstandExtraBuilder) EventUid(eventUid string) *CalendarUnderstandExtraBuilder
日程uid
示例值:b60bbd53-a52c-45a5-940a-1987de6a000f
func (*CalendarUnderstandExtraBuilder) OriginTime ¶ added in v3.0.34
func (builder *CalendarUnderstandExtraBuilder) OriginTime(originTime string) *CalendarUnderstandExtraBuilder
日程origin_time
示例值:1695355200
type CalendarUnderstandScenarioContext ¶ added in v3.0.34
type CalendarUnderstandScenarioContext struct { Scenario *string `json:"scenario,omitempty"` // 会话所处的业务场景 WorkMode *int `json:"work_mode,omitempty"` // 会话所处的业务模式 Extra *CalendarUnderstandExtra `json:"extra,omitempty"` // 透传数据 SystemInfo *SystemInfo `json:"system_info,omitempty"` // 系统信息 }
type CalendarUnderstandScenarioContextBuilder ¶ added in v3.0.34
type CalendarUnderstandScenarioContextBuilder struct {
// contains filtered or unexported fields
}
func NewCalendarUnderstandScenarioContextBuilder ¶ added in v3.0.34
func NewCalendarUnderstandScenarioContextBuilder() *CalendarUnderstandScenarioContextBuilder
func (*CalendarUnderstandScenarioContextBuilder) Build ¶ added in v3.0.34
func (builder *CalendarUnderstandScenarioContextBuilder) Build() *CalendarUnderstandScenarioContext
func (*CalendarUnderstandScenarioContextBuilder) Extra ¶ added in v3.0.34
func (builder *CalendarUnderstandScenarioContextBuilder) Extra(extra *CalendarUnderstandExtra) *CalendarUnderstandScenarioContextBuilder
透传数据
示例值:
func (*CalendarUnderstandScenarioContextBuilder) Scenario ¶ added in v3.0.34
func (builder *CalendarUnderstandScenarioContextBuilder) Scenario(scenario string) *CalendarUnderstandScenarioContextBuilder
会话所处的业务场景
示例值:IM
func (*CalendarUnderstandScenarioContextBuilder) SystemInfo ¶ added in v3.1.2
func (builder *CalendarUnderstandScenarioContextBuilder) SystemInfo(systemInfo *SystemInfo) *CalendarUnderstandScenarioContextBuilder
系统信息
示例值:
func (*CalendarUnderstandScenarioContextBuilder) WorkMode ¶ added in v3.0.34
func (builder *CalendarUnderstandScenarioContextBuilder) WorkMode(workMode int) *CalendarUnderstandScenarioContextBuilder
会话所处的业务模式
示例值:1
type CardCallback ¶ added in v3.0.25
type CardCallback struct { MessageId *string `json:"message_id,omitempty"` // 卡片的消息ID Status *MyaiCardStatus `json:"status,omitempty"` // CallbackInfo *string `json:"callback_info,omitempty"` // 业务定义的回调数据,json格式 }
type CardCallbackBuilder ¶ added in v3.0.25
type CardCallbackBuilder struct {
// contains filtered or unexported fields
}
func NewCardCallbackBuilder ¶ added in v3.0.25
func NewCardCallbackBuilder() *CardCallbackBuilder
func (*CardCallbackBuilder) Build ¶ added in v3.0.25
func (builder *CardCallbackBuilder) Build() *CardCallback
func (*CardCallbackBuilder) CallbackInfo ¶ added in v3.0.25
func (builder *CardCallbackBuilder) CallbackInfo(callbackInfo string) *CardCallbackBuilder
业务定义的回调数据,json格式
示例值:无
func (*CardCallbackBuilder) MessageId ¶ added in v3.0.25
func (builder *CardCallbackBuilder) MessageId(messageId string) *CardCallbackBuilder
卡片的消息ID
示例值:om_dc13264520392913993dd051dba21dcf
func (*CardCallbackBuilder) Status ¶ added in v3.0.25
func (builder *CardCallbackBuilder) Status(status *MyaiCardStatus) *CardCallbackBuilder
示例值:
type CardPresent ¶ added in v3.0.25
type CardPresent struct { Body *string `json:"body,omitempty"` // 卡片json内容 Interactable *bool `json:"interactable,omitempty"` // 是否为交互卡片 Type *string `json:"type,omitempty"` // 卡片类型 OperationType *string `json:"operation_type,omitempty"` // 操作类型 CallbackInfo *string `json:"callback_info,omitempty"` // 业务定义的卡片回调信息 }
type CardPresentBuilder ¶ added in v3.0.25
type CardPresentBuilder struct {
// contains filtered or unexported fields
}
func NewCardPresentBuilder ¶ added in v3.0.25
func NewCardPresentBuilder() *CardPresentBuilder
func (*CardPresentBuilder) Body ¶ added in v3.0.25
func (builder *CardPresentBuilder) Body(body string) *CardPresentBuilder
卡片json内容
示例值:无
func (*CardPresentBuilder) Build ¶ added in v3.0.25
func (builder *CardPresentBuilder) Build() *CardPresent
func (*CardPresentBuilder) CallbackInfo ¶ added in v3.0.25
func (builder *CardPresentBuilder) CallbackInfo(callbackInfo string) *CardPresentBuilder
业务定义的卡片回调信息
示例值:无
func (*CardPresentBuilder) Interactable ¶ added in v3.0.25
func (builder *CardPresentBuilder) Interactable(interactable bool) *CardPresentBuilder
是否为交互卡片
示例值:true
func (*CardPresentBuilder) OperationType ¶ added in v3.0.25
func (builder *CardPresentBuilder) OperationType(operationType string) *CardPresentBuilder
操作类型
示例值:UPDATE
func (*CardPresentBuilder) Type ¶ added in v3.0.25
func (builder *CardPresentBuilder) Type(type_ string) *CardPresentBuilder
卡片类型
示例值:14
type CreateCalendarAclReq ¶
type CreateCalendarAclReq struct { CalendarAcl *CalendarAcl `body:""` // contains filtered or unexported fields }
type CreateCalendarAclReqBuilder ¶
type CreateCalendarAclReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCalendarAclReqBuilder ¶
func NewCreateCalendarAclReqBuilder() *CreateCalendarAclReqBuilder
func (*CreateCalendarAclReqBuilder) Build ¶
func (builder *CreateCalendarAclReqBuilder) Build() *CreateCalendarAclReq
func (*CreateCalendarAclReqBuilder) CalendarAcl ¶
func (builder *CreateCalendarAclReqBuilder) CalendarAcl(calendarAcl *CalendarAcl) *CreateCalendarAclReqBuilder
该接口用于以当前身份(应用 / 用户)给日历添加访问控制权限,即日历成员。;;身份由 Header Authorization 的 Token 类型决定。
func (*CreateCalendarAclReqBuilder) CalendarId ¶
func (builder *CreateCalendarAclReqBuilder) CalendarId(calendarId string) *CreateCalendarAclReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*CreateCalendarAclReqBuilder) UserIdType ¶
func (builder *CreateCalendarAclReqBuilder) UserIdType(userIdType string) *CreateCalendarAclReqBuilder
此次调用中使用的用户ID的类型
示例值:
type CreateCalendarAclResp ¶
type CreateCalendarAclResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateCalendarAclRespData `json:"data"` // 业务数据 }
func (*CreateCalendarAclResp) Success ¶
func (resp *CreateCalendarAclResp) Success() bool
type CreateCalendarEventAttendeePathReqBodyBuilder ¶
type CreateCalendarEventAttendeePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCalendarEventAttendeePathReqBodyBuilder ¶
func NewCreateCalendarEventAttendeePathReqBodyBuilder() *CreateCalendarEventAttendeePathReqBodyBuilder
func (*CreateCalendarEventAttendeePathReqBodyBuilder) AddOperatorToAttendee ¶ added in v3.0.20
func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) AddOperatorToAttendee(addOperatorToAttendee bool) *CreateCalendarEventAttendeePathReqBodyBuilder
是否添加会议室operate_id标识的用户到参与人
示例值:false
func (*CreateCalendarEventAttendeePathReqBodyBuilder) Attendees ¶
func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) Attendees(attendees []*CalendarEventAttendee) *CreateCalendarEventAttendeePathReqBodyBuilder
新增参与人列表;;- 单次请求会议室的数量限制为100。
示例值:
func (*CreateCalendarEventAttendeePathReqBodyBuilder) Build ¶
func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) Build() (*CreateCalendarEventAttendeeReqBody, error)
func (*CreateCalendarEventAttendeePathReqBodyBuilder) InstanceStartTimeAdmin ¶
func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *CreateCalendarEventAttendeePathReqBodyBuilder
使用管理员身份访问时要修改的实例(仅用于重复日程修改其中的一个实例,非重复日程无需填此字段)
示例值:1647320400
func (*CreateCalendarEventAttendeePathReqBodyBuilder) IsEnableAdmin ¶
func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *CreateCalendarEventAttendeePathReqBodyBuilder
是否启用管理员身份(需先在管理后台设置某人为会议室管理员)
示例值:false
func (*CreateCalendarEventAttendeePathReqBodyBuilder) NeedNotification ¶
func (builder *CreateCalendarEventAttendeePathReqBodyBuilder) NeedNotification(needNotification bool) *CreateCalendarEventAttendeePathReqBodyBuilder
是否给参与人发送bot通知 默认为true
示例值:false
type CreateCalendarEventAttendeeReq ¶
type CreateCalendarEventAttendeeReq struct { Body *CreateCalendarEventAttendeeReqBody `body:""` // contains filtered or unexported fields }
type CreateCalendarEventAttendeeReqBody ¶
type CreateCalendarEventAttendeeReqBody struct { Attendees []*CalendarEventAttendee `json:"attendees,omitempty"` // 新增参与人列表;;- 单次请求会议室的数量限制为100。 NeedNotification *bool `json:"need_notification,omitempty"` // 是否给参与人发送bot通知 默认为true InstanceStartTimeAdmin *string `json:"instance_start_time_admin,omitempty"` // 使用管理员身份访问时要修改的实例(仅用于重复日程修改其中的一个实例,非重复日程无需填此字段) IsEnableAdmin *bool `json:"is_enable_admin,omitempty"` // 是否启用管理员身份(需先在管理后台设置某人为会议室管理员) AddOperatorToAttendee *bool `json:"add_operator_to_attendee,omitempty"` // 是否添加会议室operate_id标识的用户到参与人 }
type CreateCalendarEventAttendeeReqBodyBuilder ¶
type CreateCalendarEventAttendeeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCalendarEventAttendeeReqBodyBuilder ¶
func NewCreateCalendarEventAttendeeReqBodyBuilder() *CreateCalendarEventAttendeeReqBodyBuilder
func (*CreateCalendarEventAttendeeReqBodyBuilder) AddOperatorToAttendee ¶ added in v3.0.20
func (builder *CreateCalendarEventAttendeeReqBodyBuilder) AddOperatorToAttendee(addOperatorToAttendee bool) *CreateCalendarEventAttendeeReqBodyBuilder
是否添加会议室operate_id标识的用户到参与人
示例值:false
func (*CreateCalendarEventAttendeeReqBodyBuilder) Attendees ¶
func (builder *CreateCalendarEventAttendeeReqBodyBuilder) Attendees(attendees []*CalendarEventAttendee) *CreateCalendarEventAttendeeReqBodyBuilder
新增参与人列表;;- 单次请求会议室的数量限制为100。
示例值:
func (*CreateCalendarEventAttendeeReqBodyBuilder) Build ¶
func (builder *CreateCalendarEventAttendeeReqBodyBuilder) Build() *CreateCalendarEventAttendeeReqBody
func (*CreateCalendarEventAttendeeReqBodyBuilder) InstanceStartTimeAdmin ¶
func (builder *CreateCalendarEventAttendeeReqBodyBuilder) InstanceStartTimeAdmin(instanceStartTimeAdmin string) *CreateCalendarEventAttendeeReqBodyBuilder
使用管理员身份访问时要修改的实例(仅用于重复日程修改其中的一个实例,非重复日程无需填此字段)
示例值:1647320400
func (*CreateCalendarEventAttendeeReqBodyBuilder) IsEnableAdmin ¶
func (builder *CreateCalendarEventAttendeeReqBodyBuilder) IsEnableAdmin(isEnableAdmin bool) *CreateCalendarEventAttendeeReqBodyBuilder
是否启用管理员身份(需先在管理后台设置某人为会议室管理员)
示例值:false
func (*CreateCalendarEventAttendeeReqBodyBuilder) NeedNotification ¶
func (builder *CreateCalendarEventAttendeeReqBodyBuilder) NeedNotification(needNotification bool) *CreateCalendarEventAttendeeReqBodyBuilder
是否给参与人发送bot通知 默认为true
示例值:false
type CreateCalendarEventAttendeeReqBuilder ¶
type CreateCalendarEventAttendeeReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCalendarEventAttendeeReqBuilder ¶
func NewCreateCalendarEventAttendeeReqBuilder() *CreateCalendarEventAttendeeReqBuilder
func (*CreateCalendarEventAttendeeReqBuilder) Body ¶
func (builder *CreateCalendarEventAttendeeReqBuilder) Body(body *CreateCalendarEventAttendeeReqBody) *CreateCalendarEventAttendeeReqBuilder
批量给日程添加参与人。
func (*CreateCalendarEventAttendeeReqBuilder) Build ¶
func (builder *CreateCalendarEventAttendeeReqBuilder) Build() *CreateCalendarEventAttendeeReq
func (*CreateCalendarEventAttendeeReqBuilder) CalendarId ¶
func (builder *CreateCalendarEventAttendeeReqBuilder) CalendarId(calendarId string) *CreateCalendarEventAttendeeReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*CreateCalendarEventAttendeeReqBuilder) EventId ¶
func (builder *CreateCalendarEventAttendeeReqBuilder) EventId(eventId string) *CreateCalendarEventAttendeeReqBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:xxxxxxxxx_0
func (*CreateCalendarEventAttendeeReqBuilder) UserIdType ¶
func (builder *CreateCalendarEventAttendeeReqBuilder) UserIdType(userIdType string) *CreateCalendarEventAttendeeReqBuilder
此次调用中使用的用户ID的类型
示例值:
type CreateCalendarEventAttendeeResp ¶
type CreateCalendarEventAttendeeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateCalendarEventAttendeeRespData `json:"data"` // 业务数据 }
func (*CreateCalendarEventAttendeeResp) Success ¶
func (resp *CreateCalendarEventAttendeeResp) Success() bool
type CreateCalendarEventAttendeeRespData ¶
type CreateCalendarEventAttendeeRespData struct {
Attendees []*CalendarEventAttendee `json:"attendees,omitempty"` // 新增参与人后的日程所有参与人列表
}
type CreateCalendarEventMeetingChatReq ¶ added in v3.0.31
type CreateCalendarEventMeetingChatReq struct {
// contains filtered or unexported fields
}
type CreateCalendarEventMeetingChatReqBuilder ¶ added in v3.0.31
type CreateCalendarEventMeetingChatReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCalendarEventMeetingChatReqBuilder ¶ added in v3.0.31
func NewCreateCalendarEventMeetingChatReqBuilder() *CreateCalendarEventMeetingChatReqBuilder
func (*CreateCalendarEventMeetingChatReqBuilder) Build ¶ added in v3.0.31
func (builder *CreateCalendarEventMeetingChatReqBuilder) Build() *CreateCalendarEventMeetingChatReq
func (*CreateCalendarEventMeetingChatReqBuilder) CalendarId ¶ added in v3.0.31
func (builder *CreateCalendarEventMeetingChatReqBuilder) CalendarId(calendarId string) *CreateCalendarEventMeetingChatReqBuilder
日历ID
示例值:feishu.cn_HF9U2MbibE8PPpjro6xjqa@group.calendar.feishu.cn
func (*CreateCalendarEventMeetingChatReqBuilder) EventId ¶ added in v3.0.31
func (builder *CreateCalendarEventMeetingChatReqBuilder) EventId(eventId string) *CreateCalendarEventMeetingChatReqBuilder
日程ID
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_0
type CreateCalendarEventMeetingChatResp ¶ added in v3.0.31
type CreateCalendarEventMeetingChatResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateCalendarEventMeetingChatRespData `json:"data"` // 业务数据 }
func (*CreateCalendarEventMeetingChatResp) Success ¶ added in v3.0.31
func (resp *CreateCalendarEventMeetingChatResp) Success() bool
type CreateCalendarEventMeetingChatRespData ¶ added in v3.0.31
type CreateCalendarEventReq ¶
type CreateCalendarEventReq struct { CalendarEvent *CalendarEvent `body:""` // contains filtered or unexported fields }
type CreateCalendarEventReqBuilder ¶
type CreateCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCalendarEventReqBuilder ¶
func NewCreateCalendarEventReqBuilder() *CreateCalendarEventReqBuilder
func (*CreateCalendarEventReqBuilder) Build ¶
func (builder *CreateCalendarEventReqBuilder) Build() *CreateCalendarEventReq
func (*CreateCalendarEventReqBuilder) CalendarEvent ¶
func (builder *CreateCalendarEventReqBuilder) CalendarEvent(calendarEvent *CalendarEvent) *CreateCalendarEventReqBuilder
该接口用于以当前身份(应用 / 用户)在日历上创建一个日程。;;身份由 Header Authorization 的 Token 类型决定。
func (*CreateCalendarEventReqBuilder) CalendarId ¶
func (builder *CreateCalendarEventReqBuilder) CalendarId(calendarId string) *CreateCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*CreateCalendarEventReqBuilder) IdempotencyKey ¶ added in v3.0.22
func (builder *CreateCalendarEventReqBuilder) IdempotencyKey(idempotencyKey string) *CreateCalendarEventReqBuilder
幂等唯一key
示例值:25fdf41b-8c80-2ce1-e94c-de8b5e7aa7e6
func (*CreateCalendarEventReqBuilder) UserIdType ¶ added in v3.0.25
func (builder *CreateCalendarEventReqBuilder) UserIdType(userIdType string) *CreateCalendarEventReqBuilder
此次调用中使用的用户ID的类型
示例值:
type CreateCalendarEventResp ¶
type CreateCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateCalendarEventRespData `json:"data"` // 业务数据 }
func (*CreateCalendarEventResp) Success ¶
func (resp *CreateCalendarEventResp) Success() bool
type CreateCalendarEventRespData ¶
type CreateCalendarEventRespData struct {
Event *CalendarEvent `json:"event,omitempty"` // 新创建的日程实体
}
type CreateCalendarReq ¶
type CreateCalendarReq struct { Calendar *Calendar `body:""` // contains filtered or unexported fields }
type CreateCalendarReqBuilder ¶
type CreateCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateCalendarReqBuilder ¶
func NewCreateCalendarReqBuilder() *CreateCalendarReqBuilder
func (*CreateCalendarReqBuilder) Build ¶
func (builder *CreateCalendarReqBuilder) Build() *CreateCalendarReq
func (*CreateCalendarReqBuilder) Calendar ¶
func (builder *CreateCalendarReqBuilder) Calendar(calendar *Calendar) *CreateCalendarReqBuilder
该接口用于为当前身份(应用 / 用户)创建一个共享日历。;;身份由 Header Authorization 的 Token 类型决定。
type CreateCalendarResp ¶
type CreateCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateCalendarRespData `json:"data"` // 业务数据 }
func (*CreateCalendarResp) Success ¶
func (resp *CreateCalendarResp) Success() bool
type CreateCalendarRespData ¶
type CreateCalendarRespData struct {
Calendar *Calendar `json:"calendar,omitempty"` // 新创建的日历实体
}
type CreateExchangeBindingReq ¶
type CreateExchangeBindingReq struct { ExchangeBinding *ExchangeBinding `body:""` // contains filtered or unexported fields }
type CreateExchangeBindingReqBuilder ¶
type CreateExchangeBindingReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateExchangeBindingReqBuilder ¶
func NewCreateExchangeBindingReqBuilder() *CreateExchangeBindingReqBuilder
func (*CreateExchangeBindingReqBuilder) Build ¶
func (builder *CreateExchangeBindingReqBuilder) Build() *CreateExchangeBindingReq
func (*CreateExchangeBindingReqBuilder) ExchangeBinding ¶
func (builder *CreateExchangeBindingReqBuilder) ExchangeBinding(exchangeBinding *ExchangeBinding) *CreateExchangeBindingReqBuilder
本接口将Exchange账户绑定到飞书账户,进而支持Exchange日历的导入
func (*CreateExchangeBindingReqBuilder) UserIdType ¶
func (builder *CreateExchangeBindingReqBuilder) UserIdType(userIdType string) *CreateExchangeBindingReqBuilder
此次调用中使用的用户ID的类型
示例值:
type CreateExchangeBindingResp ¶
type CreateExchangeBindingResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateExchangeBindingRespData `json:"data"` // 业务数据 }
func (*CreateExchangeBindingResp) Success ¶
func (resp *CreateExchangeBindingResp) Success() bool
type CreateExchangeBindingRespData ¶
type CreateExchangeBindingRespData struct { AdminAccount *string `json:"admin_account,omitempty"` // admin账户 ExchangeAccount *string `json:"exchange_account,omitempty"` // 用户绑定的Exchange账户 UserId *string `json:"user_id,omitempty"` // Exchange账户绑定user唯一标识id Status *string `json:"status,omitempty"` // Exchange账户同步状态 ExchangeBindingId *string `json:"exchange_binding_id,omitempty"` // exchange绑定唯一标识id }
type CreateTimeoffEventReq ¶
type CreateTimeoffEventReq struct { TimeoffEvent *TimeoffEvent `body:""` // contains filtered or unexported fields }
type CreateTimeoffEventReqBuilder ¶
type CreateTimeoffEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateTimeoffEventReqBuilder ¶
func NewCreateTimeoffEventReqBuilder() *CreateTimeoffEventReqBuilder
func (*CreateTimeoffEventReqBuilder) Build ¶
func (builder *CreateTimeoffEventReqBuilder) Build() *CreateTimeoffEventReq
func (*CreateTimeoffEventReqBuilder) TimeoffEvent ¶
func (builder *CreateTimeoffEventReqBuilder) TimeoffEvent(timeoffEvent *TimeoffEvent) *CreateTimeoffEventReqBuilder
为指定用户创建一个请假日程,可以是一个普通请假日程,也可以是一个全天日程。;创建请假日程后,会在相应时间内,在用户个人签名页展示请假信息。
func (*CreateTimeoffEventReqBuilder) UserIdType ¶
func (builder *CreateTimeoffEventReqBuilder) UserIdType(userIdType string) *CreateTimeoffEventReqBuilder
此次调用中使用的用户ID的类型
示例值:
type CreateTimeoffEventResp ¶
type CreateTimeoffEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateTimeoffEventRespData `json:"data"` // 业务数据 }
func (*CreateTimeoffEventResp) Success ¶
func (resp *CreateTimeoffEventResp) Success() bool
type CreateTimeoffEventRespData ¶
type CreateTimeoffEventRespData struct { TimeoffEventId *string `json:"timeoff_event_id,omitempty"` // 休假申请的唯一标识id UserId *string `json:"user_id,omitempty"` // 用户的user id Timezone *string `json:"timezone,omitempty"` // 休假人的时区 StartTime *string `json:"start_time,omitempty"` // 休假开始时间(时间戳)/日期(2021-01-01),为日期时将生成全天日程,且与end_time对应,不符合将返回错误 EndTime *string `json:"end_time,omitempty"` // 休假结束时间(时间戳)/日期(2021-01-01),为日期时将生成全天日程,与start_time对应,不符合将返回错误 Title *string `json:"title,omitempty"` // 休假日程标题,可自定义例如:"请假中(全天) / 1-Day Time Off","请假中(半天) / 0.5-Day Time Off","长期休假中 / Leave of Absence","请假中" Description *string `json:"description,omitempty"` // 休假日程描述,可自定义,例如:;"若拒绝或删除此日程,飞书中相应的“请假”标签将自动消失,而请假系统中的休假申请不会被撤销。;;If the event is rejected or deleted, corresponding "On Leave" tag in Feishu will disappear, while the leave request in the time off system will not be revoked." }
type CustomizationOption ¶
type CustomizationOptionBuilder ¶
type CustomizationOptionBuilder struct {
// contains filtered or unexported fields
}
func NewCustomizationOptionBuilder ¶
func NewCustomizationOptionBuilder() *CustomizationOptionBuilder
func (*CustomizationOptionBuilder) Build ¶
func (builder *CustomizationOptionBuilder) Build() *CustomizationOption
func (*CustomizationOptionBuilder) OptionKey ¶
func (builder *CustomizationOptionBuilder) OptionKey(optionKey string) *CustomizationOptionBuilder
每个选项的唯一ID
示例值:16281481596185
func (*CustomizationOptionBuilder) OthersContent ¶
func (builder *CustomizationOptionBuilder) OthersContent(othersContent string) *CustomizationOptionBuilder
当type类型为其它选项时,该参数需要填入
示例值:xxx
type DeleteCalendarAclReq ¶
type DeleteCalendarAclReq struct {
// contains filtered or unexported fields
}
type DeleteCalendarAclReqBuilder ¶
type DeleteCalendarAclReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCalendarAclReqBuilder ¶
func NewDeleteCalendarAclReqBuilder() *DeleteCalendarAclReqBuilder
func (*DeleteCalendarAclReqBuilder) AclId ¶
func (builder *DeleteCalendarAclReqBuilder) AclId(aclId string) *DeleteCalendarAclReqBuilder
acl资源ID。参见[ACL ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-acl/introduction)
示例值:user_xxxxxx
func (*DeleteCalendarAclReqBuilder) Build ¶
func (builder *DeleteCalendarAclReqBuilder) Build() *DeleteCalendarAclReq
func (*DeleteCalendarAclReqBuilder) CalendarId ¶
func (builder *DeleteCalendarAclReqBuilder) CalendarId(calendarId string) *DeleteCalendarAclReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type DeleteCalendarAclResp ¶
type DeleteCalendarAclResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteCalendarAclResp) Success ¶
func (resp *DeleteCalendarAclResp) Success() bool
type DeleteCalendarEventMeetingChatReq ¶ added in v3.0.31
type DeleteCalendarEventMeetingChatReq struct {
// contains filtered or unexported fields
}
type DeleteCalendarEventMeetingChatReqBuilder ¶ added in v3.0.31
type DeleteCalendarEventMeetingChatReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCalendarEventMeetingChatReqBuilder ¶ added in v3.0.31
func NewDeleteCalendarEventMeetingChatReqBuilder() *DeleteCalendarEventMeetingChatReqBuilder
func (*DeleteCalendarEventMeetingChatReqBuilder) Build ¶ added in v3.0.31
func (builder *DeleteCalendarEventMeetingChatReqBuilder) Build() *DeleteCalendarEventMeetingChatReq
func (*DeleteCalendarEventMeetingChatReqBuilder) CalendarId ¶ added in v3.0.31
func (builder *DeleteCalendarEventMeetingChatReqBuilder) CalendarId(calendarId string) *DeleteCalendarEventMeetingChatReqBuilder
日历ID
示例值:feishu.cn_HF9U2MbibE8PPpjro6xjqa@group.calendar.feishu.cn
func (*DeleteCalendarEventMeetingChatReqBuilder) EventId ¶ added in v3.0.31
func (builder *DeleteCalendarEventMeetingChatReqBuilder) EventId(eventId string) *DeleteCalendarEventMeetingChatReqBuilder
日程ID
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_0
func (*DeleteCalendarEventMeetingChatReqBuilder) MeetingChatId ¶ added in v3.0.31
func (builder *DeleteCalendarEventMeetingChatReqBuilder) MeetingChatId(meetingChatId string) *DeleteCalendarEventMeetingChatReqBuilder
会议群ID
示例值:oc_a0553eda9014c201e6969b478895c230
type DeleteCalendarEventMeetingChatResp ¶ added in v3.0.31
type DeleteCalendarEventMeetingChatResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteCalendarEventMeetingChatResp) Success ¶ added in v3.0.31
func (resp *DeleteCalendarEventMeetingChatResp) Success() bool
type DeleteCalendarEventReq ¶
type DeleteCalendarEventReq struct {
// contains filtered or unexported fields
}
type DeleteCalendarEventReqBuilder ¶
type DeleteCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCalendarEventReqBuilder ¶
func NewDeleteCalendarEventReqBuilder() *DeleteCalendarEventReqBuilder
func (*DeleteCalendarEventReqBuilder) Build ¶
func (builder *DeleteCalendarEventReqBuilder) Build() *DeleteCalendarEventReq
func (*DeleteCalendarEventReqBuilder) CalendarId ¶
func (builder *DeleteCalendarEventReqBuilder) CalendarId(calendarId string) *DeleteCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*DeleteCalendarEventReqBuilder) EventId ¶
func (builder *DeleteCalendarEventReqBuilder) EventId(eventId string) *DeleteCalendarEventReqBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:xxxxxxxxx_0
func (*DeleteCalendarEventReqBuilder) NeedNotification ¶
func (builder *DeleteCalendarEventReqBuilder) NeedNotification(needNotification bool) *DeleteCalendarEventReqBuilder
删除日程是否给日程参与人发送bot通知,默认为true
示例值:false
type DeleteCalendarEventResp ¶
type DeleteCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteCalendarEventResp) Success ¶
func (resp *DeleteCalendarEventResp) Success() bool
type DeleteCalendarReq ¶
type DeleteCalendarReq struct {
// contains filtered or unexported fields
}
type DeleteCalendarReqBuilder ¶
type DeleteCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteCalendarReqBuilder ¶
func NewDeleteCalendarReqBuilder() *DeleteCalendarReqBuilder
func (*DeleteCalendarReqBuilder) Build ¶
func (builder *DeleteCalendarReqBuilder) Build() *DeleteCalendarReq
func (*DeleteCalendarReqBuilder) CalendarId ¶
func (builder *DeleteCalendarReqBuilder) CalendarId(calendarId string) *DeleteCalendarReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type DeleteCalendarResp ¶
type DeleteCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteCalendarResp) Success ¶
func (resp *DeleteCalendarResp) Success() bool
type DeleteExchangeBindingReq ¶
type DeleteExchangeBindingReq struct {
// contains filtered or unexported fields
}
type DeleteExchangeBindingReqBuilder ¶
type DeleteExchangeBindingReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteExchangeBindingReqBuilder ¶
func NewDeleteExchangeBindingReqBuilder() *DeleteExchangeBindingReqBuilder
func (*DeleteExchangeBindingReqBuilder) Build ¶
func (builder *DeleteExchangeBindingReqBuilder) Build() *DeleteExchangeBindingReq
func (*DeleteExchangeBindingReqBuilder) ExchangeBindingId ¶
func (builder *DeleteExchangeBindingReqBuilder) ExchangeBindingId(exchangeBindingId string) *DeleteExchangeBindingReqBuilder
exchange绑定唯一标识id。参见[exchange绑定ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/exchange_binding/introduction#12533d5e)
示例值:ZW1haWxfYWRtaW5fZXhhbXBsZUBvdXRsb29rLmNvbSBlbWFpbF9hY2NvdW50X2V4YW1wbGVAb3V0bG9vay5jb20=
type DeleteExchangeBindingResp ¶
type DeleteExchangeBindingResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteExchangeBindingResp) Success ¶
func (resp *DeleteExchangeBindingResp) Success() bool
type DeleteTimeoffEventReq ¶
type DeleteTimeoffEventReq struct {
// contains filtered or unexported fields
}
type DeleteTimeoffEventReqBuilder ¶
type DeleteTimeoffEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteTimeoffEventReqBuilder ¶
func NewDeleteTimeoffEventReqBuilder() *DeleteTimeoffEventReqBuilder
func (*DeleteTimeoffEventReqBuilder) Build ¶
func (builder *DeleteTimeoffEventReqBuilder) Build() *DeleteTimeoffEventReq
func (*DeleteTimeoffEventReqBuilder) TimeoffEventId ¶
func (builder *DeleteTimeoffEventReqBuilder) TimeoffEventId(timeoffEventId string) *DeleteTimeoffEventReqBuilder
休假申请的唯一标识id。参见[请假日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/timeoff_event/introduction#b6611a02)
示例值:timeoff:XXXXXX-XXXX-0917-1623-aa493d591a39
type DeleteTimeoffEventResp ¶
type DeleteTimeoffEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteTimeoffEventResp) Success ¶
func (resp *DeleteTimeoffEventResp) Success() bool
type DepartmentId ¶ added in v3.0.29
type DepartmentIdBuilder ¶ added in v3.0.29
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶ added in v3.0.29
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type EventBriefInfoAi ¶ added in v3.1.2
type EventBriefInfoAi struct { EventId *string `json:"event_id,omitempty"` // 日程ID Summary *string `json:"summary,omitempty"` // 日程名称 StartTime *string `json:"start_time,omitempty"` // 日程开始时间 EndTime *string `json:"end_time,omitempty"` // 日程结束时间 AppLink *string `json:"app_link,omitempty"` // 日程链接 Organizer *EventOrganizer `json:"organizer,omitempty"` // 日程组织者 }
type EventBriefInfoAiBuilder ¶ added in v3.1.2
type EventBriefInfoAiBuilder struct {
// contains filtered or unexported fields
}
func NewEventBriefInfoAiBuilder ¶ added in v3.1.2
func NewEventBriefInfoAiBuilder() *EventBriefInfoAiBuilder
func (*EventBriefInfoAiBuilder) AppLink ¶ added in v3.1.2
func (builder *EventBriefInfoAiBuilder) AppLink(appLink string) *EventBriefInfoAiBuilder
日程链接
func (*EventBriefInfoAiBuilder) Build ¶ added in v3.1.2
func (builder *EventBriefInfoAiBuilder) Build() *EventBriefInfoAi
func (*EventBriefInfoAiBuilder) EndTime ¶ added in v3.1.2
func (builder *EventBriefInfoAiBuilder) EndTime(endTime string) *EventBriefInfoAiBuilder
日程结束时间
示例值:2022-10-01 11:00:00
func (*EventBriefInfoAiBuilder) EventId ¶ added in v3.1.2
func (builder *EventBriefInfoAiBuilder) EventId(eventId string) *EventBriefInfoAiBuilder
日程ID
示例值:00592a0e-7edf-4678-bc9d-1b77383ef08e_0
func (*EventBriefInfoAiBuilder) Organizer ¶ added in v3.1.2
func (builder *EventBriefInfoAiBuilder) Organizer(organizer *EventOrganizer) *EventBriefInfoAiBuilder
日程组织者
示例值:
func (*EventBriefInfoAiBuilder) StartTime ¶ added in v3.1.2
func (builder *EventBriefInfoAiBuilder) StartTime(startTime string) *EventBriefInfoAiBuilder
日程开始时间
示例值:2022-10-01 10:00:00
func (*EventBriefInfoAiBuilder) Summary ¶ added in v3.1.2
func (builder *EventBriefInfoAiBuilder) Summary(summary string) *EventBriefInfoAiBuilder
日程名称
示例值:会议
type EventCard ¶ added in v3.0.25
type EventCard struct { Summary *string `json:"summary,omitempty"` // 日程主题 StartTime *string `json:"start_time,omitempty"` // 日程开始时间,日期+时间格式 EndTime *string `json:"end_time,omitempty"` // 日程结束时间,日期+时间格式 StartTimezone *string `json:"start_timezone,omitempty"` // 日程开始时间时区 ParticipantIds *string `json:"participant_ids,omitempty"` // 日程参与人open ID RecurrenceRule *string `json:"recurrence_rule,omitempty"` // 日程的重复性规则 MeetingRoomIds *string `json:"meeting_room_ids,omitempty"` // 需要预定的会议室ID列表 Duration *string `json:"duration,omitempty"` // 需要预定的日程长度 NeedMeetingNotes *string `json:"need_meeting_notes,omitempty"` // 是否需要生成会议纪要 ScenarioContextSchemaVersion *string `json:"scenario_context_schema_version,omitempty"` // 上下文信息 schema 版本 ScenarioContext *CalendarUnderstandScenarioContext `json:"scenario_context,omitempty"` // 上下文信息 EventId *string `json:"event_id,omitempty"` // 日程的uid_originTime }
type EventCardBuilder ¶ added in v3.0.25
type EventCardBuilder struct {
// contains filtered or unexported fields
}
func NewEventCardBuilder ¶ added in v3.0.25
func NewEventCardBuilder() *EventCardBuilder
func (*EventCardBuilder) Build ¶ added in v3.0.25
func (builder *EventCardBuilder) Build() *EventCard
func (*EventCardBuilder) Duration ¶ added in v3.0.30
func (builder *EventCardBuilder) Duration(duration string) *EventCardBuilder
需要预定的日程长度
示例值:1小时30分钟
func (*EventCardBuilder) EndTime ¶ added in v3.0.25
func (builder *EventCardBuilder) EndTime(endTime string) *EventCardBuilder
日程结束时间,日期+时间格式
示例值:2023-01-01T01:00
func (*EventCardBuilder) EventId ¶ added in v3.1.2
func (builder *EventCardBuilder) EventId(eventId string) *EventCardBuilder
日程的uid_originTime
示例值:11dd1004-7cfb-4ad2-89a0-aa3c82f34dda_0
func (*EventCardBuilder) MeetingRoomIds ¶ added in v3.0.25
func (builder *EventCardBuilder) MeetingRoomIds(meetingRoomIds string) *EventCardBuilder
需要预定的会议室ID列表
示例值:omm_xxx;omm_yyy
func (*EventCardBuilder) NeedMeetingNotes ¶ added in v3.0.34
func (builder *EventCardBuilder) NeedMeetingNotes(needMeetingNotes string) *EventCardBuilder
是否需要生成会议纪要
示例值:true
func (*EventCardBuilder) ParticipantIds ¶ added in v3.0.25
func (builder *EventCardBuilder) ParticipantIds(participantIds string) *EventCardBuilder
日程参与人open ID
示例值:ou_xxx;ou_yyy
func (*EventCardBuilder) RecurrenceRule ¶ added in v3.0.25
func (builder *EventCardBuilder) RecurrenceRule(recurrenceRule string) *EventCardBuilder
日程的重复性规则
示例值:FREQ=DAILY;INTERVAL=1
func (*EventCardBuilder) ScenarioContext ¶ added in v3.0.34
func (builder *EventCardBuilder) ScenarioContext(scenarioContext *CalendarUnderstandScenarioContext) *EventCardBuilder
上下文信息
示例值:
func (*EventCardBuilder) ScenarioContextSchemaVersion ¶ added in v3.0.34
func (builder *EventCardBuilder) ScenarioContextSchemaVersion(scenarioContextSchemaVersion string) *EventCardBuilder
上下文信息 schema 版本
示例值:v1
func (*EventCardBuilder) StartTime ¶ added in v3.0.25
func (builder *EventCardBuilder) StartTime(startTime string) *EventCardBuilder
日程开始时间,日期+时间格式
示例值:2023-01-01T00:00
func (*EventCardBuilder) StartTimezone ¶ added in v3.0.25
func (builder *EventCardBuilder) StartTimezone(startTimezone string) *EventCardBuilder
日程开始时间时区
示例值:Asia/Shanghai
func (*EventCardBuilder) Summary ¶ added in v3.0.25
func (builder *EventCardBuilder) Summary(summary string) *EventCardBuilder
日程主题
示例值:日程主题
type EventLocation ¶
type EventLocation struct { Name *string `json:"name,omitempty"` // 地点名称 Address *string `json:"address,omitempty"` // 地点地址 Latitude *float64 `json:"latitude,omitempty"` // 地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 Longitude *float64 `json:"longitude,omitempty"` // 地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准 }
type EventLocationBuilder ¶
type EventLocationBuilder struct {
// contains filtered or unexported fields
}
func NewEventLocationBuilder ¶
func NewEventLocationBuilder() *EventLocationBuilder
func (*EventLocationBuilder) Address ¶
func (builder *EventLocationBuilder) Address(address string) *EventLocationBuilder
地点地址
示例值:地点地址
func (*EventLocationBuilder) Build ¶
func (builder *EventLocationBuilder) Build() *EventLocation
func (*EventLocationBuilder) Latitude ¶
func (builder *EventLocationBuilder) Latitude(latitude float64) *EventLocationBuilder
地点坐标纬度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准
示例值:1.100000023841858
func (*EventLocationBuilder) Longitude ¶
func (builder *EventLocationBuilder) Longitude(longitude float64) *EventLocationBuilder
地点坐标经度信息,对于国内的地点,采用GCJ-02标准,海外地点采用WGS84标准
示例值:2.200000047683716
func (*EventLocationBuilder) Name ¶
func (builder *EventLocationBuilder) Name(name string) *EventLocationBuilder
地点名称
示例值:地点名称
type EventOrganizer ¶ added in v3.0.34
type EventOrganizerBuilder ¶ added in v3.0.34
type EventOrganizerBuilder struct {
// contains filtered or unexported fields
}
func NewEventOrganizerBuilder ¶ added in v3.0.34
func NewEventOrganizerBuilder() *EventOrganizerBuilder
func (*EventOrganizerBuilder) Build ¶ added in v3.0.34
func (builder *EventOrganizerBuilder) Build() *EventOrganizer
func (*EventOrganizerBuilder) DisplayName ¶ added in v3.0.34
func (builder *EventOrganizerBuilder) DisplayName(displayName string) *EventOrganizerBuilder
日程组织者姓名
示例值:孙二二
func (*EventOrganizerBuilder) UserId ¶ added in v3.0.34
func (builder *EventOrganizerBuilder) UserId(userId string) *EventOrganizerBuilder
日程组织者user ID
示例值:ou_xxxxxx
type EventSearchFilter ¶
type EventSearchFilter struct { StartTime *TimeInfo `json:"start_time,omitempty"` // 搜索过滤项,日程搜索区间的开始时间,被搜索日程的事件必须与搜索区间有交集 EndTime *TimeInfo `json:"end_time,omitempty"` // 搜索过滤项,日程搜索区间的结束时间,被搜索日程的事件必须与搜索区间有交集 UserIds []string `json:"user_ids,omitempty"` // 搜索过滤项,参与人的用户ID列表,被搜索日程中必须包含至少一个其中的参与人。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) RoomIds []string `json:"room_ids,omitempty"` // 搜索过滤项,会议室ID列表,被搜索日程中必须包含至少一个其中的会议室 ChatIds []string `json:"chat_ids,omitempty"` // 搜索过滤项,群ID列表,被搜索日程的参与人中必须包含至少一个其中的群。参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) }
type EventSearchFilterBuilder ¶
type EventSearchFilterBuilder struct {
// contains filtered or unexported fields
}
func NewEventSearchFilterBuilder ¶
func NewEventSearchFilterBuilder() *EventSearchFilterBuilder
func (*EventSearchFilterBuilder) Build ¶
func (builder *EventSearchFilterBuilder) Build() *EventSearchFilter
func (*EventSearchFilterBuilder) ChatIds ¶
func (builder *EventSearchFilterBuilder) ChatIds(chatIds []string) *EventSearchFilterBuilder
搜索过滤项,群ID列表,被搜索日程的参与人中必须包含至少一个其中的群。参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description)
示例值:xxxxx
func (*EventSearchFilterBuilder) EndTime ¶
func (builder *EventSearchFilterBuilder) EndTime(endTime *TimeInfo) *EventSearchFilterBuilder
搜索过滤项,日程搜索区间的结束时间,被搜索日程的事件必须与搜索区间有交集
示例值:
func (*EventSearchFilterBuilder) RoomIds ¶
func (builder *EventSearchFilterBuilder) RoomIds(roomIds []string) *EventSearchFilterBuilder
搜索过滤项,会议室ID列表,被搜索日程中必须包含至少一个其中的会议室
示例值:xxxxx
func (*EventSearchFilterBuilder) StartTime ¶
func (builder *EventSearchFilterBuilder) StartTime(startTime *TimeInfo) *EventSearchFilterBuilder
搜索过滤项,日程搜索区间的开始时间,被搜索日程的事件必须与搜索区间有交集
示例值:
func (*EventSearchFilterBuilder) UserIds ¶
func (builder *EventSearchFilterBuilder) UserIds(userIds []string) *EventSearchFilterBuilder
搜索过滤项,参与人的用户ID列表,被搜索日程中必须包含至少一个其中的参与人。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:xxxxx
type EventTimeBuilder ¶
type EventTimeBuilder struct {
// contains filtered or unexported fields
}
func NewEventTimeBuilder ¶
func NewEventTimeBuilder() *EventTimeBuilder
func (*EventTimeBuilder) Build ¶
func (builder *EventTimeBuilder) Build() *EventTime
func (*EventTimeBuilder) TimeStamp ¶
func (builder *EventTimeBuilder) TimeStamp(timeStamp string) *EventTimeBuilder
示例值:
type ExchangeBinding ¶
type ExchangeBinding struct { AdminAccount *string `json:"admin_account,omitempty"` // admin账户 ExchangeAccount *string `json:"exchange_account,omitempty"` // 用户绑定的exchange账户 UserId *string `json:"user_id,omitempty"` // exchange账户绑定user唯一标识id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Status *string `json:"status,omitempty"` // exchange账户同步状态 ExchangeBindingId *string `json:"exchange_binding_id,omitempty"` // exchange绑定唯一标识id。参见[exchange绑定ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/exchange_binding/introduction#12533d5e) }
type ExchangeBindingBuilder ¶
type ExchangeBindingBuilder struct {
// contains filtered or unexported fields
}
func NewExchangeBindingBuilder ¶
func NewExchangeBindingBuilder() *ExchangeBindingBuilder
func (*ExchangeBindingBuilder) AdminAccount ¶
func (builder *ExchangeBindingBuilder) AdminAccount(adminAccount string) *ExchangeBindingBuilder
admin账户
示例值:email_admin_example@outlook.com
func (*ExchangeBindingBuilder) Build ¶
func (builder *ExchangeBindingBuilder) Build() *ExchangeBinding
func (*ExchangeBindingBuilder) ExchangeAccount ¶
func (builder *ExchangeBindingBuilder) ExchangeAccount(exchangeAccount string) *ExchangeBindingBuilder
用户绑定的exchange账户
示例值:email_account_example@outlook.com
func (*ExchangeBindingBuilder) ExchangeBindingId ¶
func (builder *ExchangeBindingBuilder) ExchangeBindingId(exchangeBindingId string) *ExchangeBindingBuilder
exchange绑定唯一标识id。参见[exchange绑定ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/exchange_binding/introduction#12533d5e)
示例值:ZW1haWxfYWRtaW5fZXhhbXBsZUBvdXRsb29rLmNvbSBlbWFpbF9hY2NvdW50X2V4YW1wbGVAb3V0bG9vay5jb20=
func (*ExchangeBindingBuilder) Status ¶
func (builder *ExchangeBindingBuilder) Status(status string) *ExchangeBindingBuilder
exchange账户同步状态
示例值:doing
func (*ExchangeBindingBuilder) UserId ¶
func (builder *ExchangeBindingBuilder) UserId(userId string) *ExchangeBindingBuilder
exchange账户绑定user唯一标识id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_xxxxxxxxxxxxxxxxxx
type FreeTimeAi ¶ added in v3.1.0
type FreeTimeAi struct {
FreeTimeList *string `json:"free_time_list,omitempty"` // 空闲时间列表
}
type FreeTimeAiBuilder ¶ added in v3.1.0
type FreeTimeAiBuilder struct {
// contains filtered or unexported fields
}
func NewFreeTimeAiBuilder ¶ added in v3.1.0
func NewFreeTimeAiBuilder() *FreeTimeAiBuilder
func (*FreeTimeAiBuilder) Build ¶ added in v3.1.0
func (builder *FreeTimeAiBuilder) Build() *FreeTimeAi
func (*FreeTimeAiBuilder) FreeTimeList ¶ added in v3.1.0
func (builder *FreeTimeAiBuilder) FreeTimeList(freeTimeList string) *FreeTimeAiBuilder
空闲时间列表
示例值:2023-12-05T15:00:00--2023-12-05T15:30:00;2023-12-05T15:30:00--2023-12-05T16:00:00;
type FreeTimeBuilder ¶ added in v3.0.25
type FreeTimeBuilder struct {
// contains filtered or unexported fields
}
func NewFreeTimeBuilder ¶ added in v3.0.25
func NewFreeTimeBuilder() *FreeTimeBuilder
func (*FreeTimeBuilder) Build ¶ added in v3.0.25
func (builder *FreeTimeBuilder) Build() *FreeTime
func (*FreeTimeBuilder) FreeTimeEnd ¶ added in v3.0.25
func (builder *FreeTimeBuilder) FreeTimeEnd(freeTimeEnd string) *FreeTimeBuilder
空闲结束时间
示例值:none
func (*FreeTimeBuilder) FreeTimeList ¶ added in v3.0.30
func (builder *FreeTimeBuilder) FreeTimeList(freeTimeList string) *FreeTimeBuilder
空闲时间列表
示例值:none
func (*FreeTimeBuilder) FreeTimeStart ¶ added in v3.0.25
func (builder *FreeTimeBuilder) FreeTimeStart(freeTimeStart string) *FreeTimeBuilder
空闲开始时间
示例值:none
type FreeTimeSlot ¶ added in v3.0.34
type FreeTimeSlotBuilder ¶ added in v3.0.34
type FreeTimeSlotBuilder struct {
// contains filtered or unexported fields
}
func NewFreeTimeSlotBuilder ¶ added in v3.0.34
func NewFreeTimeSlotBuilder() *FreeTimeSlotBuilder
func (*FreeTimeSlotBuilder) Build ¶ added in v3.0.34
func (builder *FreeTimeSlotBuilder) Build() *FreeTimeSlot
func (*FreeTimeSlotBuilder) EndTime ¶ added in v3.0.34
func (builder *FreeTimeSlotBuilder) EndTime(endTime string) *FreeTimeSlotBuilder
空闲时间段的结束时间
示例值:2023-09-01 16:00:00
func (*FreeTimeSlotBuilder) Length ¶ added in v3.0.34
func (builder *FreeTimeSlotBuilder) Length(length int) *FreeTimeSlotBuilder
空闲时间段长度,单位 s
示例值:3600
func (*FreeTimeSlotBuilder) StartTime ¶ added in v3.0.34
func (builder *FreeTimeSlotBuilder) StartTime(startTime string) *FreeTimeSlotBuilder
空闲时间段的开始时间
示例值:2023-09-01 15:00:00
type FreebusyBuilder ¶
type FreebusyBuilder struct {
// contains filtered or unexported fields
}
func NewFreebusyBuilder ¶
func NewFreebusyBuilder() *FreebusyBuilder
func (*FreebusyBuilder) Build ¶
func (builder *FreebusyBuilder) Build() *Freebusy
func (*FreebusyBuilder) EndTime ¶
func (builder *FreebusyBuilder) EndTime(endTime string) *FreebusyBuilder
忙闲信息结束时间,RFC3339 date_time 格式
示例值:2020-10-28T22:45:00+08:00
func (*FreebusyBuilder) StartTime ¶
func (builder *FreebusyBuilder) StartTime(startTime string) *FreebusyBuilder
忙闲信息开始时间,RFC3339 date_time 格式
示例值:2020-10-28T22:30:00+08:00
type GenerateCaldavConfSettingPathReqBodyBuilder ¶
type GenerateCaldavConfSettingPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewGenerateCaldavConfSettingPathReqBodyBuilder ¶
func NewGenerateCaldavConfSettingPathReqBodyBuilder() *GenerateCaldavConfSettingPathReqBodyBuilder
func (*GenerateCaldavConfSettingPathReqBodyBuilder) Build ¶
func (builder *GenerateCaldavConfSettingPathReqBodyBuilder) Build() (*GenerateCaldavConfSettingReqBody, error)
func (*GenerateCaldavConfSettingPathReqBodyBuilder) DeviceName ¶
func (builder *GenerateCaldavConfSettingPathReqBodyBuilder) DeviceName(deviceName string) *GenerateCaldavConfSettingPathReqBodyBuilder
需要同步日历的设备名,在日历中展示用来管理密码
示例值:iPhone
type GenerateCaldavConfSettingReq ¶
type GenerateCaldavConfSettingReq struct { Body *GenerateCaldavConfSettingReqBody `body:""` // contains filtered or unexported fields }
type GenerateCaldavConfSettingReqBody ¶
type GenerateCaldavConfSettingReqBody struct {
DeviceName *string `json:"device_name,omitempty"` // 需要同步日历的设备名,在日历中展示用来管理密码
}
type GenerateCaldavConfSettingReqBodyBuilder ¶
type GenerateCaldavConfSettingReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewGenerateCaldavConfSettingReqBodyBuilder ¶
func NewGenerateCaldavConfSettingReqBodyBuilder() *GenerateCaldavConfSettingReqBodyBuilder
func (*GenerateCaldavConfSettingReqBodyBuilder) Build ¶
func (builder *GenerateCaldavConfSettingReqBodyBuilder) Build() *GenerateCaldavConfSettingReqBody
func (*GenerateCaldavConfSettingReqBodyBuilder) DeviceName ¶
func (builder *GenerateCaldavConfSettingReqBodyBuilder) DeviceName(deviceName string) *GenerateCaldavConfSettingReqBodyBuilder
需要同步日历的设备名,在日历中展示用来管理密码
示例值:iPhone
type GenerateCaldavConfSettingReqBuilder ¶
type GenerateCaldavConfSettingReqBuilder struct {
// contains filtered or unexported fields
}
func NewGenerateCaldavConfSettingReqBuilder ¶
func NewGenerateCaldavConfSettingReqBuilder() *GenerateCaldavConfSettingReqBuilder
func (*GenerateCaldavConfSettingReqBuilder) Body ¶
func (builder *GenerateCaldavConfSettingReqBuilder) Body(body *GenerateCaldavConfSettingReqBody) *GenerateCaldavConfSettingReqBuilder
用于为当前用户生成一个CalDAV账号密码,用于将飞书日历信息同步到本地设备日历。
func (*GenerateCaldavConfSettingReqBuilder) Build ¶
func (builder *GenerateCaldavConfSettingReqBuilder) Build() *GenerateCaldavConfSettingReq
type GenerateCaldavConfSettingResp ¶
type GenerateCaldavConfSettingResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GenerateCaldavConfSettingRespData `json:"data"` // 业务数据 }
func (*GenerateCaldavConfSettingResp) Success ¶
func (resp *GenerateCaldavConfSettingResp) Success() bool
type GetCalendarEventReq ¶
type GetCalendarEventReq struct {
// contains filtered or unexported fields
}
type GetCalendarEventReqBuilder ¶
type GetCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetCalendarEventReqBuilder ¶
func NewGetCalendarEventReqBuilder() *GetCalendarEventReqBuilder
func (*GetCalendarEventReqBuilder) Build ¶
func (builder *GetCalendarEventReqBuilder) Build() *GetCalendarEventReq
func (*GetCalendarEventReqBuilder) CalendarId ¶
func (builder *GetCalendarEventReqBuilder) CalendarId(calendarId string) *GetCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*GetCalendarEventReqBuilder) EventId ¶
func (builder *GetCalendarEventReqBuilder) EventId(eventId string) *GetCalendarEventReqBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:xxxxxxxxx_0
func (*GetCalendarEventReqBuilder) MaxAttendeeNum ¶ added in v3.1.2
func (builder *GetCalendarEventReqBuilder) MaxAttendeeNum(maxAttendeeNum int) *GetCalendarEventReqBuilder
返回的最大参与人数量
示例值:false
func (*GetCalendarEventReqBuilder) NeedAttendee ¶ added in v3.1.2
func (builder *GetCalendarEventReqBuilder) NeedAttendee(needAttendee bool) *GetCalendarEventReqBuilder
是否需要返回参与人信息
示例值:false
func (*GetCalendarEventReqBuilder) NeedMeetingSettings ¶ added in v3.0.25
func (builder *GetCalendarEventReqBuilder) NeedMeetingSettings(needMeetingSettings bool) *GetCalendarEventReqBuilder
是否需要返回会前设置
示例值:false
func (*GetCalendarEventReqBuilder) UserIdType ¶ added in v3.0.25
func (builder *GetCalendarEventReqBuilder) UserIdType(userIdType string) *GetCalendarEventReqBuilder
此次调用中使用的用户ID的类型
示例值:
type GetCalendarEventResp ¶
type GetCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetCalendarEventRespData `json:"data"` // 业务数据 }
func (*GetCalendarEventResp) Success ¶
func (resp *GetCalendarEventResp) Success() bool
type GetCalendarEventRespData ¶
type GetCalendarEventRespData struct {
Event *CalendarEvent `json:"event,omitempty"` // 日程实体
}
type GetCalendarReq ¶
type GetCalendarReq struct {
// contains filtered or unexported fields
}
type GetCalendarReqBuilder ¶
type GetCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetCalendarReqBuilder ¶
func NewGetCalendarReqBuilder() *GetCalendarReqBuilder
func (*GetCalendarReqBuilder) Build ¶
func (builder *GetCalendarReqBuilder) Build() *GetCalendarReq
func (*GetCalendarReqBuilder) CalendarId ¶
func (builder *GetCalendarReqBuilder) CalendarId(calendarId string) *GetCalendarReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type GetCalendarResp ¶
type GetCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetCalendarRespData `json:"data"` // 业务数据 }
func (*GetCalendarResp) Success ¶
func (resp *GetCalendarResp) Success() bool
type GetCalendarRespData ¶
type GetCalendarRespData struct { CalendarId *string `json:"calendar_id,omitempty"` // 日历OpenId Summary *string `json:"summary,omitempty"` // 日历标题 Description *string `json:"description,omitempty"` // 日历描述 Permissions *string `json:"permissions,omitempty"` // Color *int `json:"color,omitempty"` // 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 Type *string `json:"type,omitempty"` // 日历类型 SummaryAlias *string `json:"summary_alias,omitempty"` // 日历备注名,修改或添加后仅对当前身份生效 IsDeleted *bool `json:"is_deleted,omitempty"` // 对于当前身份,日历是否已经被标记为删除 IsThirdParty *bool `json:"is_third_party,omitempty"` // 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 Role *string `json:"role,omitempty"` // 当前身份对于该日历的访问权限 }
type GetExchangeBindingReq ¶
type GetExchangeBindingReq struct {
// contains filtered or unexported fields
}
type GetExchangeBindingReqBuilder ¶
type GetExchangeBindingReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetExchangeBindingReqBuilder ¶
func NewGetExchangeBindingReqBuilder() *GetExchangeBindingReqBuilder
func (*GetExchangeBindingReqBuilder) Build ¶
func (builder *GetExchangeBindingReqBuilder) Build() *GetExchangeBindingReq
func (*GetExchangeBindingReqBuilder) ExchangeBindingId ¶
func (builder *GetExchangeBindingReqBuilder) ExchangeBindingId(exchangeBindingId string) *GetExchangeBindingReqBuilder
exchange绑定唯一标识id。参见[exchange绑定ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/exchange_binding/introduction#12533d5e)
示例值:ZW1haWxfYWRtaW5fZXhhbXBsZUBvdXRsb29rLmNvbSBlbWFpbF9hY2NvdW50X2V4YW1wbGVAb3V0bG9vay5jb20=
func (*GetExchangeBindingReqBuilder) UserIdType ¶
func (builder *GetExchangeBindingReqBuilder) UserIdType(userIdType string) *GetExchangeBindingReqBuilder
此次调用中使用的用户ID的类型
示例值:
type GetExchangeBindingResp ¶
type GetExchangeBindingResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetExchangeBindingRespData `json:"data"` // 业务数据 }
func (*GetExchangeBindingResp) Success ¶
func (resp *GetExchangeBindingResp) Success() bool
type GetExchangeBindingRespData ¶
type GetExchangeBindingRespData struct { AdminAccount *string `json:"admin_account,omitempty"` // admin账户 ExchangeAccount *string `json:"exchange_account,omitempty"` // 用户绑定的Exchange账户 UserId *string `json:"user_id,omitempty"` // Exchange账户绑定user唯一标识id Status *string `json:"status,omitempty"` // Exchange账户同步状态 ExchangeBindingId *string `json:"exchange_binding_id,omitempty"` // Exchange绑定关系唯一标识ID }
type Instance ¶ added in v3.0.34
type Instance struct { EventId *string `json:"event_id,omitempty"` // 日程实例ID Summary *string `json:"summary,omitempty"` // 日程主题 Description *string `json:"description,omitempty"` // 日程描述 StartTime *TimeInfo `json:"start_time,omitempty"` // 开始时间 EndTime *TimeInfo `json:"end_time,omitempty"` // 结束时间 Status *string `json:"status,omitempty"` // 日程状态 IsException *bool `json:"is_exception,omitempty"` // 是否是例外日程实例 AppLink *string `json:"app_link,omitempty"` // 日程的app_link,跳转到具体的某个日程 OrganizerCalendarId *string `json:"organizer_calendar_id,omitempty"` // 日程组织者日历ID Vchat *Vchat `json:"vchat,omitempty"` // 视频会议信息,仅当日程至少有一位attendee时生效 Visibility *string `json:"visibility,omitempty"` // 日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效 AttendeeAbility *string `json:"attendee_ability,omitempty"` // 参与人权限 FreeBusyStatus *string `json:"free_busy_status,omitempty"` // 日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效 Location *EventLocation `json:"location,omitempty"` // 日程地点 Color *int `json:"color,omitempty"` // 日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。 RecurringEventId *string `json:"recurring_event_id,omitempty"` // 例外日程的原重复日程的event_id EventOrganizer *EventOrganizer `json:"event_organizer,omitempty"` // 日程组织者信息 Attendees []*CalendarEventAttendee `json:"attendees,omitempty"` // 日程参与人信息 }
type InstanceBuilder ¶ added in v3.0.34
type InstanceBuilder struct {
// contains filtered or unexported fields
}
func NewInstanceBuilder ¶ added in v3.0.34
func NewInstanceBuilder() *InstanceBuilder
func (*InstanceBuilder) AppLink ¶ added in v3.0.34
func (builder *InstanceBuilder) AppLink(appLink string) *InstanceBuilder
日程的app_link,跳转到具体的某个日程
func (*InstanceBuilder) AttendeeAbility ¶ added in v3.1.2
func (builder *InstanceBuilder) AttendeeAbility(attendeeAbility string) *InstanceBuilder
参与人权限
示例值:
func (*InstanceBuilder) Attendees ¶ added in v3.1.2
func (builder *InstanceBuilder) Attendees(attendees []*CalendarEventAttendee) *InstanceBuilder
日程参与人信息
示例值:
func (*InstanceBuilder) Build ¶ added in v3.0.34
func (builder *InstanceBuilder) Build() *Instance
func (*InstanceBuilder) Color ¶ added in v3.1.2
func (builder *InstanceBuilder) Color(color int) *InstanceBuilder
日程颜色,颜色RGB值的int32表示。仅对当前身份生效;客户端展示时会映射到色板上最接近的一种颜色;值为0或-1时默认跟随日历颜色。
示例值:0
func (*InstanceBuilder) Description ¶ added in v3.0.34
func (builder *InstanceBuilder) Description(description string) *InstanceBuilder
日程描述
示例值:desc
func (*InstanceBuilder) EndTime ¶ added in v3.0.34
func (builder *InstanceBuilder) EndTime(endTime *TimeInfo) *InstanceBuilder
结束时间
示例值:
func (*InstanceBuilder) EventId ¶ added in v3.0.34
func (builder *InstanceBuilder) EventId(eventId string) *InstanceBuilder
日程实例ID
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_1602504000
func (*InstanceBuilder) EventOrganizer ¶ added in v3.1.2
func (builder *InstanceBuilder) EventOrganizer(eventOrganizer *EventOrganizer) *InstanceBuilder
日程组织者信息
示例值:
func (*InstanceBuilder) FreeBusyStatus ¶ added in v3.1.2
func (builder *InstanceBuilder) FreeBusyStatus(freeBusyStatus string) *InstanceBuilder
日程占用的忙闲状态,新建日程默认为Busy;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:
func (*InstanceBuilder) IsException ¶ added in v3.0.34
func (builder *InstanceBuilder) IsException(isException bool) *InstanceBuilder
是否是例外日程实例
示例值:false
func (*InstanceBuilder) Location ¶ added in v3.1.2
func (builder *InstanceBuilder) Location(location *EventLocation) *InstanceBuilder
日程地点
示例值:
func (*InstanceBuilder) OrganizerCalendarId ¶ added in v3.1.2
func (builder *InstanceBuilder) OrganizerCalendarId(organizerCalendarId string) *InstanceBuilder
日程组织者日历ID
示例值:feishu.cn_HF9U2MbibE8PPpjro6xjqa@group.calendar.feishu.cn
func (*InstanceBuilder) RecurringEventId ¶ added in v3.1.2
func (builder *InstanceBuilder) RecurringEventId(recurringEventId string) *InstanceBuilder
例外日程的原重复日程的event_id
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_0
func (*InstanceBuilder) StartTime ¶ added in v3.0.34
func (builder *InstanceBuilder) StartTime(startTime *TimeInfo) *InstanceBuilder
开始时间
示例值:
func (*InstanceBuilder) Status ¶ added in v3.0.34
func (builder *InstanceBuilder) Status(status string) *InstanceBuilder
日程状态
示例值:confirmed
func (*InstanceBuilder) Summary ¶ added in v3.0.34
func (builder *InstanceBuilder) Summary(summary string) *InstanceBuilder
日程主题
示例值:日程主题
func (*InstanceBuilder) Vchat ¶ added in v3.1.2
func (builder *InstanceBuilder) Vchat(vchat *Vchat) *InstanceBuilder
视频会议信息,仅当日程至少有一位attendee时生效
示例值:
func (*InstanceBuilder) Visibility ¶ added in v3.1.2
func (builder *InstanceBuilder) Visibility(visibility string) *InstanceBuilder
日程公开范围,新建日程默认为Default;仅新建日程时对所有参与人生效,之后修改该属性仅对当前身份生效
示例值:
type InstanceViewCalendarEventReq ¶ added in v3.1.2
type InstanceViewCalendarEventReq struct {
// contains filtered or unexported fields
}
type InstanceViewCalendarEventReqBuilder ¶ added in v3.1.2
type InstanceViewCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewInstanceViewCalendarEventReqBuilder ¶ added in v3.1.2
func NewInstanceViewCalendarEventReqBuilder() *InstanceViewCalendarEventReqBuilder
func (*InstanceViewCalendarEventReqBuilder) Build ¶ added in v3.1.2
func (builder *InstanceViewCalendarEventReqBuilder) Build() *InstanceViewCalendarEventReq
func (*InstanceViewCalendarEventReqBuilder) CalendarId ¶ added in v3.1.2
func (builder *InstanceViewCalendarEventReqBuilder) CalendarId(calendarId string) *InstanceViewCalendarEventReqBuilder
日历ID
示例值:feishu.cn_HF9U2MbibE8PPpjro6xjqa@group.calendar.feishu.cn
func (*InstanceViewCalendarEventReqBuilder) EndTime ¶ added in v3.1.2
func (builder *InstanceViewCalendarEventReqBuilder) EndTime(endTime string) *InstanceViewCalendarEventReqBuilder
日程结束Unix时间戳,单位为秒
示例值:1631777271
func (*InstanceViewCalendarEventReqBuilder) StartTime ¶ added in v3.1.2
func (builder *InstanceViewCalendarEventReqBuilder) StartTime(startTime string) *InstanceViewCalendarEventReqBuilder
日程开始Unix时间戳,单位为秒
示例值:1631777271
func (*InstanceViewCalendarEventReqBuilder) UserIdType ¶ added in v3.1.2
func (builder *InstanceViewCalendarEventReqBuilder) UserIdType(userIdType string) *InstanceViewCalendarEventReqBuilder
此次调用中使用的用户ID的类型
示例值:
type InstanceViewCalendarEventResp ¶ added in v3.1.2
type InstanceViewCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *InstanceViewCalendarEventRespData `json:"data"` // 业务数据 }
func (*InstanceViewCalendarEventResp) Success ¶ added in v3.1.2
func (resp *InstanceViewCalendarEventResp) Success() bool
type InstanceViewCalendarEventRespData ¶ added in v3.1.2
type InstanceViewCalendarEventRespData struct {
Items []*Instance `json:"items,omitempty"` // 日程instance列表
}
type InstancesCalendarEventReq ¶ added in v3.1.2
type InstancesCalendarEventReq struct {
// contains filtered or unexported fields
}
type InstancesCalendarEventReqBuilder ¶ added in v3.1.2
type InstancesCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewInstancesCalendarEventReqBuilder ¶ added in v3.1.2
func NewInstancesCalendarEventReqBuilder() *InstancesCalendarEventReqBuilder
func (*InstancesCalendarEventReqBuilder) Build ¶ added in v3.1.2
func (builder *InstancesCalendarEventReqBuilder) Build() *InstancesCalendarEventReq
func (*InstancesCalendarEventReqBuilder) CalendarId ¶ added in v3.1.2
func (builder *InstancesCalendarEventReqBuilder) CalendarId(calendarId string) *InstancesCalendarEventReqBuilder
日历资源ID
示例值:feishu.cn_HF9U2MbibE8PPpjro6xjqa@group.calendar.feishu.cn
func (*InstancesCalendarEventReqBuilder) EndTime ¶ added in v3.1.2
func (builder *InstancesCalendarEventReqBuilder) EndTime(endTime string) *InstancesCalendarEventReqBuilder
日程实例结束Unix时间戳,单位为秒,日程的start_time上限(不包含)
示例值:1631777271
func (*InstancesCalendarEventReqBuilder) EventId ¶ added in v3.1.2
func (builder *InstancesCalendarEventReqBuilder) EventId(eventId string) *InstancesCalendarEventReqBuilder
日程资源ID
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_0
func (*InstancesCalendarEventReqBuilder) PageSize ¶ added in v3.1.2
func (builder *InstancesCalendarEventReqBuilder) PageSize(pageSize int) *InstancesCalendarEventReqBuilder
分页大小
示例值:
func (*InstancesCalendarEventReqBuilder) PageToken ¶ added in v3.1.2
func (builder *InstancesCalendarEventReqBuilder) PageToken(pageToken string) *InstancesCalendarEventReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:
func (*InstancesCalendarEventReqBuilder) StartTime ¶ added in v3.1.2
func (builder *InstancesCalendarEventReqBuilder) StartTime(startTime string) *InstancesCalendarEventReqBuilder
日程实例开始Unix时间戳,单位为秒,日程的end_time的下限(不包含)
示例值:1631777271
type InstancesCalendarEventResp ¶ added in v3.1.2
type InstancesCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *InstancesCalendarEventRespData `json:"data"` // 业务数据 }
func (*InstancesCalendarEventResp) Success ¶ added in v3.1.2
func (resp *InstancesCalendarEventResp) Success() bool
type InstancesCalendarEventRespData ¶ added in v3.1.2
type ListCalendarAclIterator ¶
type ListCalendarAclIterator struct {
// contains filtered or unexported fields
}
func (*ListCalendarAclIterator) Next ¶
func (iterator *ListCalendarAclIterator) Next() (bool, *CalendarAcl, error)
func (*ListCalendarAclIterator) NextPageToken ¶
func (iterator *ListCalendarAclIterator) NextPageToken() *string
type ListCalendarAclReq ¶
type ListCalendarAclReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListCalendarAclReqBuilder ¶
type ListCalendarAclReqBuilder struct {
// contains filtered or unexported fields
}
func NewListCalendarAclReqBuilder ¶
func NewListCalendarAclReqBuilder() *ListCalendarAclReqBuilder
func (*ListCalendarAclReqBuilder) Build ¶
func (builder *ListCalendarAclReqBuilder) Build() *ListCalendarAclReq
func (*ListCalendarAclReqBuilder) CalendarId ¶
func (builder *ListCalendarAclReqBuilder) CalendarId(calendarId string) *ListCalendarAclReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*ListCalendarAclReqBuilder) Limit ¶
func (builder *ListCalendarAclReqBuilder) Limit(limit int) *ListCalendarAclReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListCalendarAclReqBuilder) PageSize ¶
func (builder *ListCalendarAclReqBuilder) PageSize(pageSize int) *ListCalendarAclReqBuilder
分页大小
示例值:10,小于10取10
func (*ListCalendarAclReqBuilder) PageToken ¶
func (builder *ListCalendarAclReqBuilder) PageToken(pageToken string) *ListCalendarAclReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果
示例值:xxx
func (*ListCalendarAclReqBuilder) UserIdType ¶
func (builder *ListCalendarAclReqBuilder) UserIdType(userIdType string) *ListCalendarAclReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListCalendarAclResp ¶
type ListCalendarAclResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListCalendarAclRespData `json:"data"` // 业务数据 }
func (*ListCalendarAclResp) Success ¶
func (resp *ListCalendarAclResp) Success() bool
type ListCalendarAclRespData ¶
type ListCalendarAclRespData struct { Acls []*CalendarAcl `json:"acls,omitempty"` // 入参日历对应的acl列表 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken *string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记,90 天有效期 }
type ListCalendarEventAttendeeChatMemberIterator ¶
type ListCalendarEventAttendeeChatMemberIterator struct {
// contains filtered or unexported fields
}
func (*ListCalendarEventAttendeeChatMemberIterator) Next ¶
func (iterator *ListCalendarEventAttendeeChatMemberIterator) Next() (bool, *CalendarEventAttendeeChatMember, error)
func (*ListCalendarEventAttendeeChatMemberIterator) NextPageToken ¶
func (iterator *ListCalendarEventAttendeeChatMemberIterator) NextPageToken() *string
type ListCalendarEventAttendeeChatMemberReq ¶
type ListCalendarEventAttendeeChatMemberReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListCalendarEventAttendeeChatMemberReqBuilder ¶
type ListCalendarEventAttendeeChatMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewListCalendarEventAttendeeChatMemberReqBuilder ¶
func NewListCalendarEventAttendeeChatMemberReqBuilder() *ListCalendarEventAttendeeChatMemberReqBuilder
func (*ListCalendarEventAttendeeChatMemberReqBuilder) AttendeeId ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) AttendeeId(attendeeId string) *ListCalendarEventAttendeeChatMemberReqBuilder
群参与人 ID。参见[参与人ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee/introduction#4998889c)
示例值:chat_xxxxxx
func (*ListCalendarEventAttendeeChatMemberReqBuilder) Build ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) Build() *ListCalendarEventAttendeeChatMemberReq
func (*ListCalendarEventAttendeeChatMemberReqBuilder) CalendarId ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) CalendarId(calendarId string) *ListCalendarEventAttendeeChatMemberReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*ListCalendarEventAttendeeChatMemberReqBuilder) EventId ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) EventId(eventId string) *ListCalendarEventAttendeeChatMemberReqBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:xxxxxxxxx_0
func (*ListCalendarEventAttendeeChatMemberReqBuilder) Limit ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) Limit(limit int) *ListCalendarEventAttendeeChatMemberReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListCalendarEventAttendeeChatMemberReqBuilder) PageSize ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) PageSize(pageSize int) *ListCalendarEventAttendeeChatMemberReqBuilder
分页大小
示例值:10
func (*ListCalendarEventAttendeeChatMemberReqBuilder) PageToken ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) PageToken(pageToken string) *ListCalendarEventAttendeeChatMemberReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果
示例值:23jhysaxxxxsysy
func (*ListCalendarEventAttendeeChatMemberReqBuilder) UserIdType ¶
func (builder *ListCalendarEventAttendeeChatMemberReqBuilder) UserIdType(userIdType string) *ListCalendarEventAttendeeChatMemberReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListCalendarEventAttendeeChatMemberResp ¶
type ListCalendarEventAttendeeChatMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListCalendarEventAttendeeChatMemberRespData `json:"data"` // 业务数据 }
func (*ListCalendarEventAttendeeChatMemberResp) Success ¶
func (resp *ListCalendarEventAttendeeChatMemberResp) Success() bool
type ListCalendarEventAttendeeChatMemberRespData ¶
type ListCalendarEventAttendeeChatMemberRespData struct { Items []*CalendarEventAttendeeChatMember `json:"items,omitempty"` // 群中的群成员,当type为chat时有效;群成员不支持编辑 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken *string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记 }
type ListCalendarEventAttendeeIterator ¶
type ListCalendarEventAttendeeIterator struct {
// contains filtered or unexported fields
}
func (*ListCalendarEventAttendeeIterator) Next ¶
func (iterator *ListCalendarEventAttendeeIterator) Next() (bool, *CalendarEventAttendee, error)
func (*ListCalendarEventAttendeeIterator) NextPageToken ¶
func (iterator *ListCalendarEventAttendeeIterator) NextPageToken() *string
type ListCalendarEventAttendeeReq ¶
type ListCalendarEventAttendeeReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListCalendarEventAttendeeReqBuilder ¶
type ListCalendarEventAttendeeReqBuilder struct {
// contains filtered or unexported fields
}
func NewListCalendarEventAttendeeReqBuilder ¶
func NewListCalendarEventAttendeeReqBuilder() *ListCalendarEventAttendeeReqBuilder
func (*ListCalendarEventAttendeeReqBuilder) Build ¶
func (builder *ListCalendarEventAttendeeReqBuilder) Build() *ListCalendarEventAttendeeReq
func (*ListCalendarEventAttendeeReqBuilder) CalendarId ¶
func (builder *ListCalendarEventAttendeeReqBuilder) CalendarId(calendarId string) *ListCalendarEventAttendeeReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*ListCalendarEventAttendeeReqBuilder) EventId ¶
func (builder *ListCalendarEventAttendeeReqBuilder) EventId(eventId string) *ListCalendarEventAttendeeReqBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:xxxxxxxxx_0
func (*ListCalendarEventAttendeeReqBuilder) Limit ¶
func (builder *ListCalendarEventAttendeeReqBuilder) Limit(limit int) *ListCalendarEventAttendeeReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListCalendarEventAttendeeReqBuilder) NeedResourceCustomization ¶ added in v3.0.25
func (builder *ListCalendarEventAttendeeReqBuilder) NeedResourceCustomization(needResourceCustomization bool) *ListCalendarEventAttendeeReqBuilder
是否需要会议室表单信息
示例值:true
func (*ListCalendarEventAttendeeReqBuilder) PageSize ¶
func (builder *ListCalendarEventAttendeeReqBuilder) PageSize(pageSize int) *ListCalendarEventAttendeeReqBuilder
分页大小
示例值:10
func (*ListCalendarEventAttendeeReqBuilder) PageToken ¶
func (builder *ListCalendarEventAttendeeReqBuilder) PageToken(pageToken string) *ListCalendarEventAttendeeReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果
示例值:780TRhwXXXXX
func (*ListCalendarEventAttendeeReqBuilder) UserIdType ¶
func (builder *ListCalendarEventAttendeeReqBuilder) UserIdType(userIdType string) *ListCalendarEventAttendeeReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListCalendarEventAttendeeResp ¶
type ListCalendarEventAttendeeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListCalendarEventAttendeeRespData `json:"data"` // 业务数据 }
func (*ListCalendarEventAttendeeResp) Success ¶
func (resp *ListCalendarEventAttendeeResp) Success() bool
type ListCalendarEventAttendeeRespData ¶
type ListCalendarEventAttendeeRespData struct { Items []*CalendarEventAttendee `json:"items,omitempty"` // 日程的参与者列表 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken *string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记,90 天有效期 }
type ListCalendarEventReq ¶
type ListCalendarEventReq struct {
// contains filtered or unexported fields
}
type ListCalendarEventReqBuilder ¶
type ListCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewListCalendarEventReqBuilder ¶
func NewListCalendarEventReqBuilder() *ListCalendarEventReqBuilder
func (*ListCalendarEventReqBuilder) AnchorTime ¶
func (builder *ListCalendarEventReqBuilder) AnchorTime(anchorTime string) *ListCalendarEventReqBuilder
拉取anchor_time之后的日程,为timestamp
示例值:1609430400
func (*ListCalendarEventReqBuilder) Build ¶
func (builder *ListCalendarEventReqBuilder) Build() *ListCalendarEventReq
func (*ListCalendarEventReqBuilder) CalendarId ¶
func (builder *ListCalendarEventReqBuilder) CalendarId(calendarId string) *ListCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*ListCalendarEventReqBuilder) EndTime ¶
func (builder *ListCalendarEventReqBuilder) EndTime(endTime string) *ListCalendarEventReqBuilder
日程结束Unix时间戳,单位为秒
示例值:1631777271
func (*ListCalendarEventReqBuilder) PageSize ¶
func (builder *ListCalendarEventReqBuilder) PageSize(pageSize int) *ListCalendarEventReqBuilder
一次请求要求返回最大数量,默认500,取值范围为[50, 1000]
示例值:50
func (*ListCalendarEventReqBuilder) PageToken ¶
func (builder *ListCalendarEventReqBuilder) PageToken(pageToken string) *ListCalendarEventReqBuilder
上次请求Response返回的分页标记,首次请求时为空
示例值:ListCalendarsPageToken_1632452910_1632539310
func (*ListCalendarEventReqBuilder) StartTime ¶
func (builder *ListCalendarEventReqBuilder) StartTime(startTime string) *ListCalendarEventReqBuilder
日程开始Unix时间戳,单位为秒
示例值:1631777271
func (*ListCalendarEventReqBuilder) SyncToken ¶
func (builder *ListCalendarEventReqBuilder) SyncToken(syncToken string) *ListCalendarEventReqBuilder
上次请求Response返回的增量同步标记,分页请求未结束时为空
示例值:ListCalendarsSyncToken_1632452910
func (*ListCalendarEventReqBuilder) UserIdType ¶ added in v3.0.34
func (builder *ListCalendarEventReqBuilder) UserIdType(userIdType string) *ListCalendarEventReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListCalendarEventResp ¶
type ListCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListCalendarEventRespData `json:"data"` // 业务数据 }
func (*ListCalendarEventResp) Success ¶
func (resp *ListCalendarEventResp) Success() bool
type ListCalendarEventRespData ¶
type ListCalendarEventRespData struct { HasMore *bool `json:"has_more,omitempty"` // 是否还有更多数据 PageToken *string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记 SyncToken *string `json:"sync_token,omitempty"` // 下次请求需要带上的增量同步标记 Items []*CalendarEvent `json:"items,omitempty"` // 日程列表 }
type ListCalendarReq ¶
type ListCalendarReq struct {
// contains filtered or unexported fields
}
type ListCalendarReqBuilder ¶
type ListCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewListCalendarReqBuilder ¶
func NewListCalendarReqBuilder() *ListCalendarReqBuilder
func (*ListCalendarReqBuilder) Build ¶
func (builder *ListCalendarReqBuilder) Build() *ListCalendarReq
func (*ListCalendarReqBuilder) PageSize ¶
func (builder *ListCalendarReqBuilder) PageSize(pageSize int) *ListCalendarReqBuilder
一次请求要求返回最大数量,默认500,取值范围为[50. 1000]
示例值:50
func (*ListCalendarReqBuilder) PageToken ¶
func (builder *ListCalendarReqBuilder) PageToken(pageToken string) *ListCalendarReqBuilder
上次请求Response返回的分页标记,首次请求时为空
示例值:ListCalendarsPageToken_xxx
func (*ListCalendarReqBuilder) SyncToken ¶
func (builder *ListCalendarReqBuilder) SyncToken(syncToken string) *ListCalendarReqBuilder
上次请求Response返回的增量同步标记,分页请求未结束时为空
示例值:ListCalendarsSyncToken_xxx
type ListCalendarResp ¶
type ListCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListCalendarRespData `json:"data"` // 业务数据 }
func (*ListCalendarResp) Success ¶
func (resp *ListCalendarResp) Success() bool
type ListCalendarRespData ¶
type ListCalendarRespData struct { HasMore *bool `json:"has_more,omitempty"` // 是否还有更多数据 PageToken *string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记,90 天有效期 SyncToken *string `json:"sync_token,omitempty"` // 下次请求需要带上的增量同步标记,90 天有效期 CalendarList []*Calendar `json:"calendar_list,omitempty"` // 分页加载的日历数据列表 }
type ListFreebusyPathReqBodyBuilder ¶
type ListFreebusyPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewListFreebusyPathReqBodyBuilder ¶
func NewListFreebusyPathReqBodyBuilder() *ListFreebusyPathReqBodyBuilder
func (*ListFreebusyPathReqBodyBuilder) Build ¶
func (builder *ListFreebusyPathReqBodyBuilder) Build() (*ListFreebusyReqBody, error)
func (*ListFreebusyPathReqBodyBuilder) IncludeExternalCalendar ¶ added in v3.0.34
func (builder *ListFreebusyPathReqBodyBuilder) IncludeExternalCalendar(includeExternalCalendar bool) *ListFreebusyPathReqBodyBuilder
是否包含绑定的三方日历中的日程,不传默认为true,即包含。
示例值:true
func (*ListFreebusyPathReqBodyBuilder) OnlyBusy ¶ added in v3.0.34
func (builder *ListFreebusyPathReqBodyBuilder) OnlyBusy(onlyBusy bool) *ListFreebusyPathReqBodyBuilder
是否包含标记为空闲的日程,不传默认为true,即包含。
示例值:true
func (*ListFreebusyPathReqBodyBuilder) RoomId ¶
func (builder *ListFreebusyPathReqBodyBuilder) RoomId(roomId string) *ListFreebusyPathReqBodyBuilder
会议室room_id,输入时与 user_id 二选一
示例值:omm_xxxxxxxxxx
func (*ListFreebusyPathReqBodyBuilder) TimeMax ¶
func (builder *ListFreebusyPathReqBodyBuilder) TimeMax(timeMax string) *ListFreebusyPathReqBodyBuilder
查询时段结束时间,需要url编码
示例值:2020-12-28T12:00:00+08:00
func (*ListFreebusyPathReqBodyBuilder) TimeMin ¶
func (builder *ListFreebusyPathReqBodyBuilder) TimeMin(timeMin string) *ListFreebusyPathReqBodyBuilder
查询时段开始时间,需要url编码
示例值:2020-10-28T12:00:00+08:00
func (*ListFreebusyPathReqBodyBuilder) UserId ¶
func (builder *ListFreebusyPathReqBodyBuilder) UserId(userId string) *ListFreebusyPathReqBodyBuilder
用户user_id,输入时与 room_id 二选一。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_xxxxxxxxxx
type ListFreebusyReq ¶
type ListFreebusyReq struct { Body *ListFreebusyReqBody `body:""` // contains filtered or unexported fields }
type ListFreebusyReqBody ¶
type ListFreebusyReqBody struct { TimeMin *string `json:"time_min,omitempty"` // 查询时段开始时间,需要url编码 TimeMax *string `json:"time_max,omitempty"` // 查询时段结束时间,需要url编码 UserId *string `json:"user_id,omitempty"` // 用户user_id,输入时与 room_id 二选一。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) RoomId *string `json:"room_id,omitempty"` // 会议室room_id,输入时与 user_id 二选一 IncludeExternalCalendar *bool `json:"include_external_calendar,omitempty"` // 是否包含绑定的三方日历中的日程,不传默认为true,即包含。 OnlyBusy *bool `json:"only_busy,omitempty"` // 是否包含标记为空闲的日程,不传默认为true,即包含。 }
type ListFreebusyReqBodyBuilder ¶
type ListFreebusyReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewListFreebusyReqBodyBuilder ¶
func NewListFreebusyReqBodyBuilder() *ListFreebusyReqBodyBuilder
func (*ListFreebusyReqBodyBuilder) Build ¶
func (builder *ListFreebusyReqBodyBuilder) Build() *ListFreebusyReqBody
func (*ListFreebusyReqBodyBuilder) IncludeExternalCalendar ¶ added in v3.0.34
func (builder *ListFreebusyReqBodyBuilder) IncludeExternalCalendar(includeExternalCalendar bool) *ListFreebusyReqBodyBuilder
是否包含绑定的三方日历中的日程,不传默认为true,即包含。
示例值:true
func (*ListFreebusyReqBodyBuilder) OnlyBusy ¶ added in v3.0.34
func (builder *ListFreebusyReqBodyBuilder) OnlyBusy(onlyBusy bool) *ListFreebusyReqBodyBuilder
是否包含标记为空闲的日程,不传默认为true,即包含。
示例值:true
func (*ListFreebusyReqBodyBuilder) RoomId ¶
func (builder *ListFreebusyReqBodyBuilder) RoomId(roomId string) *ListFreebusyReqBodyBuilder
会议室room_id,输入时与 user_id 二选一
示例值:omm_xxxxxxxxxx
func (*ListFreebusyReqBodyBuilder) TimeMax ¶
func (builder *ListFreebusyReqBodyBuilder) TimeMax(timeMax string) *ListFreebusyReqBodyBuilder
查询时段结束时间,需要url编码
示例值:2020-12-28T12:00:00+08:00
func (*ListFreebusyReqBodyBuilder) TimeMin ¶
func (builder *ListFreebusyReqBodyBuilder) TimeMin(timeMin string) *ListFreebusyReqBodyBuilder
查询时段开始时间,需要url编码
示例值:2020-10-28T12:00:00+08:00
func (*ListFreebusyReqBodyBuilder) UserId ¶
func (builder *ListFreebusyReqBodyBuilder) UserId(userId string) *ListFreebusyReqBodyBuilder
用户user_id,输入时与 room_id 二选一。参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_xxxxxxxxxx
type ListFreebusyReqBuilder ¶
type ListFreebusyReqBuilder struct {
// contains filtered or unexported fields
}
func NewListFreebusyReqBuilder ¶
func NewListFreebusyReqBuilder() *ListFreebusyReqBuilder
func (*ListFreebusyReqBuilder) Body ¶
func (builder *ListFreebusyReqBuilder) Body(body *ListFreebusyReqBody) *ListFreebusyReqBuilder
查询用户主日历或会议室的忙闲信息。
func (*ListFreebusyReqBuilder) Build ¶
func (builder *ListFreebusyReqBuilder) Build() *ListFreebusyReq
func (*ListFreebusyReqBuilder) UserIdType ¶
func (builder *ListFreebusyReqBuilder) UserIdType(userIdType string) *ListFreebusyReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListFreebusyResp ¶
type ListFreebusyResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListFreebusyRespData `json:"data"` // 业务数据 }
func (*ListFreebusyResp) Success ¶
func (resp *ListFreebusyResp) Success() bool
type ListFreebusyRespData ¶
type ListFreebusyRespData struct {
FreebusyList []*Freebusy `json:"freebusy_list,omitempty"` // 日历上请求时间区间内的忙碌时间段信息。
}
type MeetingChat ¶ added in v3.0.25
type MeetingChatBuilder ¶ added in v3.0.25
type MeetingChatBuilder struct {
// contains filtered or unexported fields
}
func NewMeetingChatBuilder ¶ added in v3.0.25
func NewMeetingChatBuilder() *MeetingChatBuilder
func (*MeetingChatBuilder) Applink ¶ added in v3.0.25
func (builder *MeetingChatBuilder) Applink(applink string) *MeetingChatBuilder
群分享链接
示例值:https://applink.feishu.cn/client/chat/open?openChatId=oc_a0553eda9014c201e6969b478895c230
func (*MeetingChatBuilder) Build ¶ added in v3.0.25
func (builder *MeetingChatBuilder) Build() *MeetingChat
func (*MeetingChatBuilder) MeetingChatId ¶ added in v3.0.25
func (builder *MeetingChatBuilder) MeetingChatId(meetingChatId string) *MeetingChatBuilder
会议群ID
示例值:oc_a0553eda9014c201e6969b478895c230
type MeetingMinute ¶ added in v3.0.25
type MeetingMinuteBuilder ¶ added in v3.0.25
type MeetingMinuteBuilder struct {
// contains filtered or unexported fields
}
func NewMeetingMinuteBuilder ¶ added in v3.0.25
func NewMeetingMinuteBuilder() *MeetingMinuteBuilder
func (*MeetingMinuteBuilder) Build ¶ added in v3.0.25
func (builder *MeetingMinuteBuilder) Build() *MeetingMinute
func (*MeetingMinuteBuilder) DocToken ¶ added in v3.0.25
func (builder *MeetingMinuteBuilder) DocToken(docToken string) *MeetingMinuteBuilder
文档token
示例值:WCEZdjUSSoH5rvx6hEhcyMjxn6c
func (*MeetingMinuteBuilder) DocUrl ¶ added in v3.0.25
func (builder *MeetingMinuteBuilder) DocUrl(docUrl string) *MeetingMinuteBuilder
文档URL
示例值:https://bytedance.feishu.cn/docx/WCEZdjUSSoH5rvx6hEhcyMjxn6c
type MeetingSettings ¶ added in v3.0.25
type MeetingSettings struct { OwnerId *string `json:"owner_id,omitempty"` // 设置会议 owner JoinMeetingPermission *string `json:"join_meeting_permission,omitempty"` // 设置入会范围 AssignHosts []string `json:"assign_hosts,omitempty"` // 指定主持人 AutoRecord *bool `json:"auto_record,omitempty"` // 设置自动录制 OpenLobby *bool `json:"open_lobby,omitempty"` // 开启等候室 AllowAttendeesStart *bool `json:"allow_attendees_start,omitempty"` // 允许日程参与者发起会议 }
type MeetingSettingsBuilder ¶ added in v3.0.25
type MeetingSettingsBuilder struct {
// contains filtered or unexported fields
}
func NewMeetingSettingsBuilder ¶ added in v3.0.25
func NewMeetingSettingsBuilder() *MeetingSettingsBuilder
func (*MeetingSettingsBuilder) AllowAttendeesStart ¶ added in v3.0.25
func (builder *MeetingSettingsBuilder) AllowAttendeesStart(allowAttendeesStart bool) *MeetingSettingsBuilder
允许日程参与者发起会议
示例值:true
func (*MeetingSettingsBuilder) AssignHosts ¶ added in v3.0.25
func (builder *MeetingSettingsBuilder) AssignHosts(assignHosts []string) *MeetingSettingsBuilder
指定主持人
示例值:
func (*MeetingSettingsBuilder) AutoRecord ¶ added in v3.0.25
func (builder *MeetingSettingsBuilder) AutoRecord(autoRecord bool) *MeetingSettingsBuilder
设置自动录制
示例值:false
func (*MeetingSettingsBuilder) Build ¶ added in v3.0.25
func (builder *MeetingSettingsBuilder) Build() *MeetingSettings
func (*MeetingSettingsBuilder) JoinMeetingPermission ¶ added in v3.0.25
func (builder *MeetingSettingsBuilder) JoinMeetingPermission(joinMeetingPermission string) *MeetingSettingsBuilder
设置入会范围
示例值:
func (*MeetingSettingsBuilder) OpenLobby ¶ added in v3.0.25
func (builder *MeetingSettingsBuilder) OpenLobby(openLobby bool) *MeetingSettingsBuilder
开启等候室
示例值:true
func (*MeetingSettingsBuilder) OwnerId ¶ added in v3.0.25
func (builder *MeetingSettingsBuilder) OwnerId(ownerId string) *MeetingSettingsBuilder
设置会议 owner
示例值:ou_7d8a6e6df7621556ce0d21922b676706ccs
type MyAiEventDetail ¶ added in v3.1.2
type MyAiEventDetail struct { EventId *string `json:"event_id,omitempty"` // 日程的uid_originTime Summary *string `json:"summary,omitempty"` // 日程主题 StartTime *string `json:"start_time,omitempty"` // 日程开始时间 EndTime *string `json:"end_time,omitempty"` // 日程结束时间 Timezone *string `json:"timezone,omitempty"` // 时区 RecurrenceRule *string `json:"recurrence_rule,omitempty"` // 日程的重复性规则 Participants []*UserMeta `json:"participants,omitempty"` // 参与人实体列表 Rooms []*RoomMeta `json:"rooms,omitempty"` // 会议室实体列表 AccessRole *string `json:"access_role,omitempty"` // 日程的权限 }
type MyAiEventDetailBuilder ¶ added in v3.1.2
type MyAiEventDetailBuilder struct {
// contains filtered or unexported fields
}
func NewMyAiEventDetailBuilder ¶ added in v3.1.2
func NewMyAiEventDetailBuilder() *MyAiEventDetailBuilder
func (*MyAiEventDetailBuilder) AccessRole ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) AccessRole(accessRole string) *MyAiEventDetailBuilder
日程的权限
示例值:read/invite/edit
func (*MyAiEventDetailBuilder) Build ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) Build() *MyAiEventDetail
func (*MyAiEventDetailBuilder) EndTime ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) EndTime(endTime string) *MyAiEventDetailBuilder
日程结束时间
示例值:none
func (*MyAiEventDetailBuilder) EventId ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) EventId(eventId string) *MyAiEventDetailBuilder
日程的uid_originTime
示例值:11dd1004-7cfb-4ad2-89a0-aa3c82f34dda_0
func (*MyAiEventDetailBuilder) Participants ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) Participants(participants []*UserMeta) *MyAiEventDetailBuilder
参与人实体列表
示例值:
func (*MyAiEventDetailBuilder) RecurrenceRule ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) RecurrenceRule(recurrenceRule string) *MyAiEventDetailBuilder
日程的重复性规则
示例值:FREQ=DAILY;INTERVAL=1
func (*MyAiEventDetailBuilder) Rooms ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) Rooms(rooms []*RoomMeta) *MyAiEventDetailBuilder
会议室实体列表
示例值:
func (*MyAiEventDetailBuilder) StartTime ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) StartTime(startTime string) *MyAiEventDetailBuilder
日程开始时间
示例值:none
func (*MyAiEventDetailBuilder) Summary ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) Summary(summary string) *MyAiEventDetailBuilder
日程主题
示例值:none
func (*MyAiEventDetailBuilder) Timezone ¶ added in v3.1.2
func (builder *MyAiEventDetailBuilder) Timezone(timezone string) *MyAiEventDetailBuilder
时区
示例值:Asia/Shanghai
type MyAiEventInfo ¶ added in v3.1.2
type MyAiEventInfo struct { EventId *string `json:"event_id,omitempty"` // 日程的uid_originTime Summary *string `json:"summary,omitempty"` // 日程主题 StartTime *string `json:"start_time,omitempty"` // 日程开始时间,日期+时间格式 EndTime *string `json:"end_time,omitempty"` // 日程结束时间,日期+时间格式 StartTimezone *string `json:"start_timezone,omitempty"` // 日程开始时间时区 RecurrenceRule *string `json:"recurrence_rule,omitempty"` // 日程的重复性规则 ParticipantIds *string `json:"participant_ids,omitempty"` // 日程参与人open ID MeetingRoomIds *string `json:"meeting_room_ids,omitempty"` // 需要预定的会议室ID列表 }
type MyAiEventInfoBuilder ¶ added in v3.1.2
type MyAiEventInfoBuilder struct {
// contains filtered or unexported fields
}
func NewMyAiEventInfoBuilder ¶ added in v3.1.2
func NewMyAiEventInfoBuilder() *MyAiEventInfoBuilder
func (*MyAiEventInfoBuilder) Build ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) Build() *MyAiEventInfo
func (*MyAiEventInfoBuilder) EndTime ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) EndTime(endTime string) *MyAiEventInfoBuilder
日程结束时间,日期+时间格式
示例值:2023-01-01T01:00
func (*MyAiEventInfoBuilder) EventId ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) EventId(eventId string) *MyAiEventInfoBuilder
日程的uid_originTime
示例值:11dd1004-7cfb-4ad2-89a0-aa3c82f34dda_0
func (*MyAiEventInfoBuilder) MeetingRoomIds ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) MeetingRoomIds(meetingRoomIds string) *MyAiEventInfoBuilder
需要预定的会议室ID列表
示例值:omm_xxx;omm_yyy
func (*MyAiEventInfoBuilder) ParticipantIds ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) ParticipantIds(participantIds string) *MyAiEventInfoBuilder
日程参与人open ID
示例值:ou_xxx;ou_yyy
func (*MyAiEventInfoBuilder) RecurrenceRule ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) RecurrenceRule(recurrenceRule string) *MyAiEventInfoBuilder
日程的重复性规则
示例值:FREQ=DAILY;INTERVAL=1
func (*MyAiEventInfoBuilder) StartTime ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) StartTime(startTime string) *MyAiEventInfoBuilder
日程开始时间,日期+时间格式
示例值:2023-01-01T00:00
func (*MyAiEventInfoBuilder) StartTimezone ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) StartTimezone(startTimezone string) *MyAiEventInfoBuilder
日程开始时间时区
示例值:Asia/Shanghai
func (*MyAiEventInfoBuilder) Summary ¶ added in v3.1.2
func (builder *MyAiEventInfoBuilder) Summary(summary string) *MyAiEventInfoBuilder
日程主题
示例值:日程主题
type MyaiCardStatus ¶ added in v3.0.25
type MyaiCardStatusBuilder ¶ added in v3.0.25
type MyaiCardStatusBuilder struct {
// contains filtered or unexported fields
}
func NewMyaiCardStatusBuilder ¶ added in v3.0.25
func NewMyaiCardStatusBuilder() *MyaiCardStatusBuilder
func (*MyaiCardStatusBuilder) Build ¶ added in v3.0.25
func (builder *MyaiCardStatusBuilder) Build() *MyaiCardStatus
func (*MyaiCardStatusBuilder) FromStatus ¶ added in v3.0.25
func (builder *MyaiCardStatusBuilder) FromStatus(fromStatus string) *MyaiCardStatusBuilder
卡片原来的状态
示例值:CREATED
func (*MyaiCardStatusBuilder) ToStatus ¶ added in v3.0.25
func (builder *MyaiCardStatusBuilder) ToStatus(toStatus string) *MyaiCardStatusBuilder
卡片的新状态
示例值:INVALIDATED
type MyaiReply ¶ added in v3.0.25
type MyaiReply struct { Reply *string `json:"reply,omitempty"` // 返回给myai的自然语言描述 StartTime *string `json:"start_time,omitempty"` // 日程开始时间 EndTime *string `json:"end_time,omitempty"` // 日程结束时间 Rooms []*RoomMeta `json:"rooms,omitempty"` // 会议室实体列表 Summary *string `json:"summary,omitempty"` // 日程主题 Participants []*UserMeta `json:"participants,omitempty"` // 参与人实体列表 EventId *string `json:"event_id,omitempty"` // 日程的uid_originTime RecurrenceRule *string `json:"recurrence_rule,omitempty"` // 日程的重复性规则 }
type MyaiReplyBuilder ¶ added in v3.0.25
type MyaiReplyBuilder struct {
// contains filtered or unexported fields
}
func NewMyaiReplyBuilder ¶ added in v3.0.25
func NewMyaiReplyBuilder() *MyaiReplyBuilder
func (*MyaiReplyBuilder) Build ¶ added in v3.0.25
func (builder *MyaiReplyBuilder) Build() *MyaiReply
func (*MyaiReplyBuilder) EndTime ¶ added in v3.0.25
func (builder *MyaiReplyBuilder) EndTime(endTime string) *MyaiReplyBuilder
日程结束时间
示例值:none
func (*MyaiReplyBuilder) EventId ¶ added in v3.1.2
func (builder *MyaiReplyBuilder) EventId(eventId string) *MyaiReplyBuilder
日程的uid_originTime
示例值:11dd1004-7cfb-4ad2-89a0-aa3c82f34dda_0
func (*MyaiReplyBuilder) Participants ¶ added in v3.0.34
func (builder *MyaiReplyBuilder) Participants(participants []*UserMeta) *MyaiReplyBuilder
参与人实体列表
示例值:
func (*MyaiReplyBuilder) RecurrenceRule ¶ added in v3.1.2
func (builder *MyaiReplyBuilder) RecurrenceRule(recurrenceRule string) *MyaiReplyBuilder
日程的重复性规则
示例值:FREQ=DAILY;INTERVAL=1
func (*MyaiReplyBuilder) Reply ¶ added in v3.0.25
func (builder *MyaiReplyBuilder) Reply(reply string) *MyaiReplyBuilder
返回给myai的自然语言描述
示例值:none
func (*MyaiReplyBuilder) Rooms ¶ added in v3.0.25
func (builder *MyaiReplyBuilder) Rooms(rooms []*RoomMeta) *MyaiReplyBuilder
会议室实体列表
示例值:
func (*MyaiReplyBuilder) StartTime ¶ added in v3.0.25
func (builder *MyaiReplyBuilder) StartTime(startTime string) *MyaiReplyBuilder
日程开始时间
示例值:none
func (*MyaiReplyBuilder) Summary ¶ added in v3.0.25
func (builder *MyaiReplyBuilder) Summary(summary string) *MyaiReplyBuilder
日程主题
示例值:none
type OperateCardData ¶ added in v3.0.25
type OperateCardDataBuilder ¶ added in v3.0.25
type OperateCardDataBuilder struct {
// contains filtered or unexported fields
}
func NewOperateCardDataBuilder ¶ added in v3.0.25
func NewOperateCardDataBuilder() *OperateCardDataBuilder
func (*OperateCardDataBuilder) Build ¶ added in v3.0.25
func (builder *OperateCardDataBuilder) Build() *OperateCardData
func (*OperateCardDataBuilder) MeetingNo ¶ added in v3.0.25
func (builder *OperateCardDataBuilder) MeetingNo(meetingNo string) *OperateCardDataBuilder
视频会议no
示例值:808056935
func (*OperateCardDataBuilder) MeetingUrl ¶ added in v3.0.25
func (builder *OperateCardDataBuilder) MeetingUrl(meetingUrl string) *OperateCardDataBuilder
视频会议链接
type P2CalendarAclCreatedV4 ¶
type P2CalendarAclCreatedV4 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2CalendarAclCreatedV4Data `json:"event"` // 事件内容 }
func (*P2CalendarAclCreatedV4) RawReq ¶
func (m *P2CalendarAclCreatedV4) RawReq(req *larkevent.EventReq)
type P2CalendarAclCreatedV4Data ¶
type P2CalendarAclCreatedV4Data struct { AclId *string `json:"acl_id,omitempty"` // acl资源ID Role *string `json:"role,omitempty"` // 对日历的访问权限 Scope *AclScopeEvent `json:"scope,omitempty"` // 权限范围 UserIdList []*UserId `json:"user_id_list,omitempty"` // 需要推送事件的用户列表 }
type P2CalendarAclCreatedV4Handler ¶
type P2CalendarAclCreatedV4Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2CalendarAclCreatedV4Handler ¶
func NewP2CalendarAclCreatedV4Handler(handler func(context.Context, *P2CalendarAclCreatedV4) error) *P2CalendarAclCreatedV4Handler
func (*P2CalendarAclCreatedV4Handler) Event ¶
func (h *P2CalendarAclCreatedV4Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2CalendarAclDeletedV4 ¶
type P2CalendarAclDeletedV4 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2CalendarAclDeletedV4Data `json:"event"` // 事件内容 }
func (*P2CalendarAclDeletedV4) RawReq ¶
func (m *P2CalendarAclDeletedV4) RawReq(req *larkevent.EventReq)
type P2CalendarAclDeletedV4Data ¶
type P2CalendarAclDeletedV4Data struct { AclId *string `json:"acl_id,omitempty"` // acl资源ID Role *string `json:"role,omitempty"` // 对日历的访问权限 Scope *AclScopeEvent `json:"scope,omitempty"` // 权限范围 UserIdList []*UserId `json:"user_id_list,omitempty"` // 需要推送事件的用户列表 }
type P2CalendarAclDeletedV4Handler ¶
type P2CalendarAclDeletedV4Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2CalendarAclDeletedV4Handler ¶
func NewP2CalendarAclDeletedV4Handler(handler func(context.Context, *P2CalendarAclDeletedV4) error) *P2CalendarAclDeletedV4Handler
func (*P2CalendarAclDeletedV4Handler) Event ¶
func (h *P2CalendarAclDeletedV4Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2CalendarChangedV4 ¶
type P2CalendarChangedV4 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2CalendarChangedV4Data `json:"event"` // 事件内容 }
func (*P2CalendarChangedV4) RawReq ¶
func (m *P2CalendarChangedV4) RawReq(req *larkevent.EventReq)
type P2CalendarChangedV4Data ¶
type P2CalendarChangedV4Data struct {
UserIdList []*UserId `json:"user_id_list,omitempty"` // 需要推送事件的用户列表
}
type P2CalendarChangedV4Handler ¶
type P2CalendarChangedV4Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2CalendarChangedV4Handler ¶
func NewP2CalendarChangedV4Handler(handler func(context.Context, *P2CalendarChangedV4) error) *P2CalendarChangedV4Handler
func (*P2CalendarChangedV4Handler) Event ¶
func (h *P2CalendarChangedV4Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2CalendarEventChangedV4 ¶
type P2CalendarEventChangedV4 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2CalendarEventChangedV4Data `json:"event"` // 事件内容 }
func (*P2CalendarEventChangedV4) RawReq ¶
func (m *P2CalendarEventChangedV4) RawReq(req *larkevent.EventReq)
type P2CalendarEventChangedV4Handler ¶
type P2CalendarEventChangedV4Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2CalendarEventChangedV4Handler ¶
func NewP2CalendarEventChangedV4Handler(handler func(context.Context, *P2CalendarEventChangedV4) error) *P2CalendarEventChangedV4Handler
func (*P2CalendarEventChangedV4Handler) Event ¶
func (h *P2CalendarEventChangedV4Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type PatchCalendarEventReq ¶
type PatchCalendarEventReq struct { CalendarEvent *CalendarEvent `body:""` // contains filtered or unexported fields }
type PatchCalendarEventReqBuilder ¶
type PatchCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCalendarEventReqBuilder ¶
func NewPatchCalendarEventReqBuilder() *PatchCalendarEventReqBuilder
func (*PatchCalendarEventReqBuilder) Build ¶
func (builder *PatchCalendarEventReqBuilder) Build() *PatchCalendarEventReq
func (*PatchCalendarEventReqBuilder) CalendarEvent ¶
func (builder *PatchCalendarEventReqBuilder) CalendarEvent(calendarEvent *CalendarEvent) *PatchCalendarEventReqBuilder
该接口用于以当前身份(应用 / 用户)更新日历上的一个日程。;;身份由 Header Authorization 的 Token 类型决定。
func (*PatchCalendarEventReqBuilder) CalendarId ¶
func (builder *PatchCalendarEventReqBuilder) CalendarId(calendarId string) *PatchCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*PatchCalendarEventReqBuilder) EventId ¶
func (builder *PatchCalendarEventReqBuilder) EventId(eventId string) *PatchCalendarEventReqBuilder
日程ID。参见[日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/introduction)
示例值:00592a0e-7edf-4678-bc9d-1b77383ef08e_0
func (*PatchCalendarEventReqBuilder) UserIdType ¶ added in v3.0.25
func (builder *PatchCalendarEventReqBuilder) UserIdType(userIdType string) *PatchCalendarEventReqBuilder
此次调用中使用的用户ID的类型
示例值:
type PatchCalendarEventResp ¶
type PatchCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchCalendarEventRespData `json:"data"` // 业务数据 }
func (*PatchCalendarEventResp) Success ¶
func (resp *PatchCalendarEventResp) Success() bool
type PatchCalendarEventRespData ¶
type PatchCalendarEventRespData struct {
Event *CalendarEvent `json:"event,omitempty"` // 更新后的日程实体
}
type PatchCalendarReq ¶
type PatchCalendarReq struct { Calendar *Calendar `body:""` // contains filtered or unexported fields }
type PatchCalendarReqBuilder ¶
type PatchCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchCalendarReqBuilder ¶
func NewPatchCalendarReqBuilder() *PatchCalendarReqBuilder
func (*PatchCalendarReqBuilder) Build ¶
func (builder *PatchCalendarReqBuilder) Build() *PatchCalendarReq
func (*PatchCalendarReqBuilder) Calendar ¶
func (builder *PatchCalendarReqBuilder) Calendar(calendar *Calendar) *PatchCalendarReqBuilder
该接口用于以当前身份(应用 / 用户)修改日历信息。;;身份由 Header Authorization 的 Token 类型决定。
func (*PatchCalendarReqBuilder) CalendarId ¶
func (builder *PatchCalendarReqBuilder) CalendarId(calendarId string) *PatchCalendarReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type PatchCalendarResp ¶
type PatchCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchCalendarRespData `json:"data"` // 业务数据 }
func (*PatchCalendarResp) Success ¶
func (resp *PatchCalendarResp) Success() bool
type PatchCalendarRespData ¶
type PatchCalendarRespData struct {
Calendar *Calendar `json:"calendar,omitempty"` // 更新后的日历实体
}
type PrimaryCalendarReq ¶
type PrimaryCalendarReq struct {
// contains filtered or unexported fields
}
type PrimaryCalendarReqBuilder ¶
type PrimaryCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewPrimaryCalendarReqBuilder ¶
func NewPrimaryCalendarReqBuilder() *PrimaryCalendarReqBuilder
func (*PrimaryCalendarReqBuilder) Build ¶
func (builder *PrimaryCalendarReqBuilder) Build() *PrimaryCalendarReq
func (*PrimaryCalendarReqBuilder) UserIdType ¶
func (builder *PrimaryCalendarReqBuilder) UserIdType(userIdType string) *PrimaryCalendarReqBuilder
此次调用中使用的用户ID的类型
示例值:
type PrimaryCalendarResp ¶
type PrimaryCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PrimaryCalendarRespData `json:"data"` // 业务数据 }
func (*PrimaryCalendarResp) Success ¶
func (resp *PrimaryCalendarResp) Success() bool
type PrimaryCalendarRespData ¶
type PrimaryCalendarRespData struct {
Calendars []*UserCalendar `json:"calendars,omitempty"` // 主日历列表
}
type Reminder ¶
type Reminder struct {
Minutes *int `json:"minutes,omitempty"` // 日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒;新建或更新日程时传入该字段,仅对当前身份生效
}
type ReminderBuilder ¶
type ReminderBuilder struct {
// contains filtered or unexported fields
}
func NewReminderBuilder ¶
func NewReminderBuilder() *ReminderBuilder
func (*ReminderBuilder) Build ¶
func (builder *ReminderBuilder) Build() *Reminder
func (*ReminderBuilder) Minutes ¶
func (builder *ReminderBuilder) Minutes(minutes int) *ReminderBuilder
日程提醒时间的偏移量,正数时表示在日程开始前X分钟提醒,负数时表示在日程开始后X分钟提醒;新建或更新日程时传入该字段,仅对当前身份生效
示例值:5
type ReplyCalendarEventPathReqBodyBuilder ¶ added in v3.1.2
type ReplyCalendarEventPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewReplyCalendarEventPathReqBodyBuilder ¶ added in v3.1.2
func NewReplyCalendarEventPathReqBodyBuilder() *ReplyCalendarEventPathReqBodyBuilder
func (*ReplyCalendarEventPathReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *ReplyCalendarEventPathReqBodyBuilder) Build() (*ReplyCalendarEventReqBody, error)
func (*ReplyCalendarEventPathReqBodyBuilder) RsvpStatus ¶ added in v3.1.2
func (builder *ReplyCalendarEventPathReqBodyBuilder) RsvpStatus(rsvpStatus string) *ReplyCalendarEventPathReqBodyBuilder
rsvp状态
示例值:accept
type ReplyCalendarEventReq ¶ added in v3.1.2
type ReplyCalendarEventReq struct { Body *ReplyCalendarEventReqBody `body:""` // contains filtered or unexported fields }
type ReplyCalendarEventReqBody ¶ added in v3.1.2
type ReplyCalendarEventReqBody struct {
RsvpStatus *string `json:"rsvp_status,omitempty"` // rsvp状态
}
type ReplyCalendarEventReqBodyBuilder ¶ added in v3.1.2
type ReplyCalendarEventReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewReplyCalendarEventReqBodyBuilder ¶ added in v3.1.2
func NewReplyCalendarEventReqBodyBuilder() *ReplyCalendarEventReqBodyBuilder
func (*ReplyCalendarEventReqBodyBuilder) Build ¶ added in v3.1.2
func (builder *ReplyCalendarEventReqBodyBuilder) Build() *ReplyCalendarEventReqBody
func (*ReplyCalendarEventReqBodyBuilder) RsvpStatus ¶ added in v3.1.2
func (builder *ReplyCalendarEventReqBodyBuilder) RsvpStatus(rsvpStatus string) *ReplyCalendarEventReqBodyBuilder
rsvp状态
示例值:accept
type ReplyCalendarEventReqBuilder ¶ added in v3.1.2
type ReplyCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewReplyCalendarEventReqBuilder ¶ added in v3.1.2
func NewReplyCalendarEventReqBuilder() *ReplyCalendarEventReqBuilder
func (*ReplyCalendarEventReqBuilder) Body ¶ added in v3.1.2
func (builder *ReplyCalendarEventReqBuilder) Body(body *ReplyCalendarEventReqBody) *ReplyCalendarEventReqBuilder
func (*ReplyCalendarEventReqBuilder) Build ¶ added in v3.1.2
func (builder *ReplyCalendarEventReqBuilder) Build() *ReplyCalendarEventReq
func (*ReplyCalendarEventReqBuilder) CalendarId ¶ added in v3.1.2
func (builder *ReplyCalendarEventReqBuilder) CalendarId(calendarId string) *ReplyCalendarEventReqBuilder
日历资源ID
示例值:feishu.cn_HF9U2MbibE8PPpjro6xjqa@group.calendar.feishu.cn
func (*ReplyCalendarEventReqBuilder) EventId ¶ added in v3.1.2
func (builder *ReplyCalendarEventReqBuilder) EventId(eventId string) *ReplyCalendarEventReqBuilder
日程资源ID
示例值:75d28f9b-e35c-4230-8a83-4a661497db54_0
type ReplyCalendarEventResp ¶ added in v3.1.2
type ReplyCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*ReplyCalendarEventResp) Success ¶ added in v3.1.2
func (resp *ReplyCalendarEventResp) Success() bool
type RoomMetaBuilder ¶ added in v3.0.25
type RoomMetaBuilder struct {
// contains filtered or unexported fields
}
func NewRoomMetaBuilder ¶ added in v3.0.25
func NewRoomMetaBuilder() *RoomMetaBuilder
func (*RoomMetaBuilder) Build ¶ added in v3.0.25
func (builder *RoomMetaBuilder) Build() *RoomMeta
func (*RoomMetaBuilder) Name ¶ added in v3.0.25
func (builder *RoomMetaBuilder) Name(name string) *RoomMetaBuilder
会议室名称
示例值:none
func (*RoomMetaBuilder) RoomId ¶ added in v3.0.25
func (builder *RoomMetaBuilder) RoomId(roomId string) *RoomMetaBuilder
会议室ID
示例值:none
type Schema ¶
type Schema struct { UiName *string `json:"ui_name,omitempty"` // UI名称。取值范围如下: ;- ForwardIcon: 日程转发按钮 ;- MeetingChatIcon: 会议群聊按钮 ;- MeetingMinutesIcon: 会议纪要按钮 ;- MeetingVideo: 视频会议区域 ;- RSVP: 接受/拒绝/待定区域 ;- Attendee: 参与者区域 ;- OrganizerOrCreator: 组织者/创建者区域 UiStatus *string `json:"ui_status,omitempty"` // UI项自定义状态。**目前只支持hide** AppLink *string `json:"app_link,omitempty"` // 按钮点击后跳转的链接; **该字段暂不支持传入。** }
type SchemaBuilder ¶
type SchemaBuilder struct {
// contains filtered or unexported fields
}
func NewSchemaBuilder ¶
func NewSchemaBuilder() *SchemaBuilder
func (*SchemaBuilder) AppLink ¶
func (builder *SchemaBuilder) AppLink(appLink string) *SchemaBuilder
按钮点击后跳转的链接; **该字段暂不支持传入。**
func (*SchemaBuilder) Build ¶
func (builder *SchemaBuilder) Build() *Schema
func (*SchemaBuilder) UiName ¶
func (builder *SchemaBuilder) UiName(uiName string) *SchemaBuilder
UI名称。取值范围如下: ;- ForwardIcon: 日程转发按钮 ;- MeetingChatIcon: 会议群聊按钮 ;- MeetingMinutesIcon: 会议纪要按钮 ;- MeetingVideo: 视频会议区域 ;- RSVP: 接受/拒绝/待定区域 ;- Attendee: 参与者区域 ;- OrganizerOrCreator: 组织者/创建者区域
示例值:ForwardIcon
func (*SchemaBuilder) UiStatus ¶
func (builder *SchemaBuilder) UiStatus(uiStatus string) *SchemaBuilder
UI项自定义状态。**目前只支持hide**
示例值:hide
type SearchCalendarEventIterator ¶
type SearchCalendarEventIterator struct {
// contains filtered or unexported fields
}
func (*SearchCalendarEventIterator) Next ¶
func (iterator *SearchCalendarEventIterator) Next() (bool, *CalendarEvent, error)
func (*SearchCalendarEventIterator) NextPageToken ¶
func (iterator *SearchCalendarEventIterator) NextPageToken() *string
type SearchCalendarEventPathReqBodyBuilder ¶
type SearchCalendarEventPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCalendarEventPathReqBodyBuilder ¶
func NewSearchCalendarEventPathReqBodyBuilder() *SearchCalendarEventPathReqBodyBuilder
func (*SearchCalendarEventPathReqBodyBuilder) Build ¶
func (builder *SearchCalendarEventPathReqBodyBuilder) Build() (*SearchCalendarEventReqBody, error)
func (*SearchCalendarEventPathReqBodyBuilder) Filter ¶
func (builder *SearchCalendarEventPathReqBodyBuilder) Filter(filter *EventSearchFilter) *SearchCalendarEventPathReqBodyBuilder
搜索过滤器
示例值:
func (*SearchCalendarEventPathReqBodyBuilder) Query ¶
func (builder *SearchCalendarEventPathReqBodyBuilder) Query(query string) *SearchCalendarEventPathReqBodyBuilder
搜索关键字
示例值:query words
type SearchCalendarEventReq ¶
type SearchCalendarEventReq struct { Body *SearchCalendarEventReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchCalendarEventReqBody ¶
type SearchCalendarEventReqBody struct { Query *string `json:"query,omitempty"` // 搜索关键字 Filter *EventSearchFilter `json:"filter,omitempty"` // 搜索过滤器 }
type SearchCalendarEventReqBodyBuilder ¶
type SearchCalendarEventReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCalendarEventReqBodyBuilder ¶
func NewSearchCalendarEventReqBodyBuilder() *SearchCalendarEventReqBodyBuilder
func (*SearchCalendarEventReqBodyBuilder) Build ¶
func (builder *SearchCalendarEventReqBodyBuilder) Build() *SearchCalendarEventReqBody
func (*SearchCalendarEventReqBodyBuilder) Filter ¶
func (builder *SearchCalendarEventReqBodyBuilder) Filter(filter *EventSearchFilter) *SearchCalendarEventReqBodyBuilder
搜索过滤器
示例值:
func (*SearchCalendarEventReqBodyBuilder) Query ¶
func (builder *SearchCalendarEventReqBodyBuilder) Query(query string) *SearchCalendarEventReqBodyBuilder
搜索关键字
示例值:query words
type SearchCalendarEventReqBuilder ¶
type SearchCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCalendarEventReqBuilder ¶
func NewSearchCalendarEventReqBuilder() *SearchCalendarEventReqBuilder
func (*SearchCalendarEventReqBuilder) Body ¶
func (builder *SearchCalendarEventReqBuilder) Body(body *SearchCalendarEventReqBody) *SearchCalendarEventReqBuilder
该接口用于以用户身份搜索某日历下的相关日程。;;身份由 Header Authorization 的 Token 类型决定。
func (*SearchCalendarEventReqBuilder) Build ¶
func (builder *SearchCalendarEventReqBuilder) Build() *SearchCalendarEventReq
func (*SearchCalendarEventReqBuilder) CalendarId ¶
func (builder *SearchCalendarEventReqBuilder) CalendarId(calendarId string) *SearchCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
func (*SearchCalendarEventReqBuilder) Limit ¶
func (builder *SearchCalendarEventReqBuilder) Limit(limit int) *SearchCalendarEventReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchCalendarEventReqBuilder) PageSize ¶
func (builder *SearchCalendarEventReqBuilder) PageSize(pageSize int) *SearchCalendarEventReqBuilder
分页大小
示例值:10
func (*SearchCalendarEventReqBuilder) PageToken ¶
func (builder *SearchCalendarEventReqBuilder) PageToken(pageToken string) *SearchCalendarEventReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果
示例值:xxxxx
func (*SearchCalendarEventReqBuilder) UserIdType ¶
func (builder *SearchCalendarEventReqBuilder) UserIdType(userIdType string) *SearchCalendarEventReqBuilder
此次调用中使用的用户ID的类型
示例值:
type SearchCalendarEventResp ¶
type SearchCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchCalendarEventRespData `json:"data"` // 业务数据 }
func (*SearchCalendarEventResp) Success ¶
func (resp *SearchCalendarEventResp) Success() bool
type SearchCalendarEventRespData ¶
type SearchCalendarEventRespData struct { Items []*CalendarEvent `json:"items,omitempty"` // 搜索命中的日程列表 PageToken *string `json:"page_token,omitempty"` // 下次请求需要带上的分页标记 }
type SearchCalendarIterator ¶
type SearchCalendarIterator struct {
// contains filtered or unexported fields
}
func (*SearchCalendarIterator) Next ¶
func (iterator *SearchCalendarIterator) Next() (bool, *Calendar, error)
func (*SearchCalendarIterator) NextPageToken ¶
func (iterator *SearchCalendarIterator) NextPageToken() *string
type SearchCalendarPathReqBodyBuilder ¶
type SearchCalendarPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCalendarPathReqBodyBuilder ¶
func NewSearchCalendarPathReqBodyBuilder() *SearchCalendarPathReqBodyBuilder
func (*SearchCalendarPathReqBodyBuilder) Build ¶
func (builder *SearchCalendarPathReqBodyBuilder) Build() (*SearchCalendarReqBody, error)
func (*SearchCalendarPathReqBodyBuilder) Query ¶
func (builder *SearchCalendarPathReqBodyBuilder) Query(query string) *SearchCalendarPathReqBodyBuilder
搜索关键字
示例值:query words
type SearchCalendarReq ¶
type SearchCalendarReq struct { Body *SearchCalendarReqBody `body:""` Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type SearchCalendarReqBody ¶
type SearchCalendarReqBody struct {
Query *string `json:"query,omitempty"` // 搜索关键字
}
type SearchCalendarReqBodyBuilder ¶
type SearchCalendarReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCalendarReqBodyBuilder ¶
func NewSearchCalendarReqBodyBuilder() *SearchCalendarReqBodyBuilder
func (*SearchCalendarReqBodyBuilder) Build ¶
func (builder *SearchCalendarReqBodyBuilder) Build() *SearchCalendarReqBody
func (*SearchCalendarReqBodyBuilder) Query ¶
func (builder *SearchCalendarReqBodyBuilder) Query(query string) *SearchCalendarReqBodyBuilder
搜索关键字
示例值:query words
type SearchCalendarReqBuilder ¶
type SearchCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchCalendarReqBuilder ¶
func NewSearchCalendarReqBuilder() *SearchCalendarReqBuilder
func (*SearchCalendarReqBuilder) Body ¶
func (builder *SearchCalendarReqBuilder) Body(body *SearchCalendarReqBody) *SearchCalendarReqBuilder
该接口用于通过关键字查询公共日历或用户主日历。
func (*SearchCalendarReqBuilder) Build ¶
func (builder *SearchCalendarReqBuilder) Build() *SearchCalendarReq
func (*SearchCalendarReqBuilder) Limit ¶
func (builder *SearchCalendarReqBuilder) Limit(limit int) *SearchCalendarReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*SearchCalendarReqBuilder) PageSize ¶
func (builder *SearchCalendarReqBuilder) PageSize(pageSize int) *SearchCalendarReqBuilder
分页大小
示例值:10
func (*SearchCalendarReqBuilder) PageToken ¶
func (builder *SearchCalendarReqBuilder) PageToken(pageToken string) *SearchCalendarReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果
示例值:10
type SearchCalendarResp ¶
type SearchCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SearchCalendarRespData `json:"data"` // 业务数据 }
func (*SearchCalendarResp) Success ¶
func (resp *SearchCalendarResp) Success() bool
type SearchCalendarRespData ¶
type SearchEventData ¶ added in v3.1.2
type SearchEventData struct { Events []*EventBriefInfoAi `json:"events,omitempty"` // 日程列表 Msg *string `json:"msg,omitempty"` // 返回给prompt展示内容 }
type SearchEventDataBuilder ¶ added in v3.1.2
type SearchEventDataBuilder struct {
// contains filtered or unexported fields
}
func NewSearchEventDataBuilder ¶ added in v3.1.2
func NewSearchEventDataBuilder() *SearchEventDataBuilder
func (*SearchEventDataBuilder) Build ¶ added in v3.1.2
func (builder *SearchEventDataBuilder) Build() *SearchEventData
func (*SearchEventDataBuilder) Events ¶ added in v3.1.2
func (builder *SearchEventDataBuilder) Events(events []*EventBriefInfoAi) *SearchEventDataBuilder
日程列表
示例值:
func (*SearchEventDataBuilder) Msg ¶ added in v3.1.3
func (builder *SearchEventDataBuilder) Msg(msg string) *SearchEventDataBuilder
返回给prompt展示内容
示例值:帮我展示卡片消息
type SearchUserDataAi ¶ added in v3.1.2
type SearchUserDataAiBuilder ¶ added in v3.1.2
type SearchUserDataAiBuilder struct {
// contains filtered or unexported fields
}
func NewSearchUserDataAiBuilder ¶ added in v3.1.2
func NewSearchUserDataAiBuilder() *SearchUserDataAiBuilder
func (*SearchUserDataAiBuilder) Build ¶ added in v3.1.2
func (builder *SearchUserDataAiBuilder) Build() *SearchUserDataAi
func (*SearchUserDataAiBuilder) QueryKeyword ¶ added in v3.1.2
func (builder *SearchUserDataAiBuilder) QueryKeyword(queryKeyword string) *SearchUserDataAiBuilder
查询传入的单个Keyword
示例值:UserName
func (*SearchUserDataAiBuilder) UserInfo ¶ added in v3.1.2
func (builder *SearchUserDataAiBuilder) UserInfo(userInfo *UserMeta) *SearchUserDataAiBuilder
搜索到的用户信息
示例值:
type SearchUserResultAi ¶ added in v3.1.2
type SearchUserResultAi struct {
SearchResults []*SearchUserDataAi `json:"search_results,omitempty"` // 搜索结果
}
type SearchUserResultAiBuilder ¶ added in v3.1.2
type SearchUserResultAiBuilder struct {
// contains filtered or unexported fields
}
func NewSearchUserResultAiBuilder ¶ added in v3.1.2
func NewSearchUserResultAiBuilder() *SearchUserResultAiBuilder
func (*SearchUserResultAiBuilder) Build ¶ added in v3.1.2
func (builder *SearchUserResultAiBuilder) Build() *SearchUserResultAi
func (*SearchUserResultAiBuilder) SearchResults ¶ added in v3.1.2
func (builder *SearchUserResultAiBuilder) SearchResults(searchResults []*SearchUserDataAi) *SearchUserResultAiBuilder
搜索结果
示例值:
type SubscribeCalendarReq ¶
type SubscribeCalendarReq struct {
// contains filtered or unexported fields
}
type SubscribeCalendarReqBuilder ¶
type SubscribeCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewSubscribeCalendarReqBuilder ¶
func NewSubscribeCalendarReqBuilder() *SubscribeCalendarReqBuilder
func (*SubscribeCalendarReqBuilder) Build ¶
func (builder *SubscribeCalendarReqBuilder) Build() *SubscribeCalendarReq
func (*SubscribeCalendarReqBuilder) CalendarId ¶
func (builder *SubscribeCalendarReqBuilder) CalendarId(calendarId string) *SubscribeCalendarReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type SubscribeCalendarResp ¶
type SubscribeCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *SubscribeCalendarRespData `json:"data"` // 业务数据 }
func (*SubscribeCalendarResp) Success ¶
func (resp *SubscribeCalendarResp) Success() bool
type SubscribeCalendarRespData ¶
type SubscribeCalendarRespData struct {
Calendar *Calendar `json:"calendar,omitempty"` // 订阅的日历实体
}
type SubscriptionCalendarAclReq ¶
type SubscriptionCalendarAclReq struct {
// contains filtered or unexported fields
}
type SubscriptionCalendarAclReqBuilder ¶
type SubscriptionCalendarAclReqBuilder struct {
// contains filtered or unexported fields
}
func NewSubscriptionCalendarAclReqBuilder ¶
func NewSubscriptionCalendarAclReqBuilder() *SubscriptionCalendarAclReqBuilder
func (*SubscriptionCalendarAclReqBuilder) Build ¶
func (builder *SubscriptionCalendarAclReqBuilder) Build() *SubscriptionCalendarAclReq
func (*SubscriptionCalendarAclReqBuilder) CalendarId ¶
func (builder *SubscriptionCalendarAclReqBuilder) CalendarId(calendarId string) *SubscriptionCalendarAclReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type SubscriptionCalendarAclResp ¶
type SubscriptionCalendarAclResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*SubscriptionCalendarAclResp) Success ¶
func (resp *SubscriptionCalendarAclResp) Success() bool
type SubscriptionCalendarEventReq ¶
type SubscriptionCalendarEventReq struct {
// contains filtered or unexported fields
}
type SubscriptionCalendarEventReqBuilder ¶
type SubscriptionCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewSubscriptionCalendarEventReqBuilder ¶
func NewSubscriptionCalendarEventReqBuilder() *SubscriptionCalendarEventReqBuilder
func (*SubscriptionCalendarEventReqBuilder) Build ¶
func (builder *SubscriptionCalendarEventReqBuilder) Build() *SubscriptionCalendarEventReq
func (*SubscriptionCalendarEventReqBuilder) CalendarId ¶
func (builder *SubscriptionCalendarEventReqBuilder) CalendarId(calendarId string) *SubscriptionCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type SubscriptionCalendarEventResp ¶
type SubscriptionCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*SubscriptionCalendarEventResp) Success ¶
func (resp *SubscriptionCalendarEventResp) Success() bool
type SubscriptionCalendarResp ¶
type SubscriptionCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*SubscriptionCalendarResp) Success ¶
func (resp *SubscriptionCalendarResp) Success() bool
type SystemInfo ¶ added in v3.1.2
type SystemInfo struct {
SessionId *string `json:"session_id,omitempty"` // session_id
}
type SystemInfoBuilder ¶ added in v3.1.2
type SystemInfoBuilder struct {
// contains filtered or unexported fields
}
func NewSystemInfoBuilder ¶ added in v3.1.2
func NewSystemInfoBuilder() *SystemInfoBuilder
func (*SystemInfoBuilder) Build ¶ added in v3.1.2
func (builder *SystemInfoBuilder) Build() *SystemInfo
func (*SystemInfoBuilder) SessionId ¶ added in v3.1.2
func (builder *SystemInfoBuilder) SessionId(sessionId string) *SystemInfoBuilder
session_id
示例值:56786545678765456785345678
type TimeInfo ¶
type TimeInfo struct { Date *string `json:"date,omitempty"` // 仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定 Timestamp *string `json:"timestamp,omitempty"` // 秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区) Timezone *string `json:"timezone,omitempty"` // 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai }
type TimeInfoBuilder ¶
type TimeInfoBuilder struct {
// contains filtered or unexported fields
}
func NewTimeInfoBuilder ¶
func NewTimeInfoBuilder() *TimeInfoBuilder
func (*TimeInfoBuilder) Build ¶
func (builder *TimeInfoBuilder) Build() *TimeInfo
func (*TimeInfoBuilder) Date ¶
func (builder *TimeInfoBuilder) Date(date string) *TimeInfoBuilder
仅全天日程使用该字段,如2018-09-01。需满足 RFC3339 格式。不能与 timestamp 同时指定
示例值:2018-09-01
func (*TimeInfoBuilder) Timestamp ¶
func (builder *TimeInfoBuilder) Timestamp(timestamp string) *TimeInfoBuilder
秒级时间戳,如1602504000(表示2020/10/12 20:0:00 +8时区)
示例值:1602504000
func (*TimeInfoBuilder) Timezone ¶
func (builder *TimeInfoBuilder) Timezone(timezone string) *TimeInfoBuilder
时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai
示例值:Asia/Shanghai
type TimeSpanBuilder ¶ added in v3.0.31
type TimeSpanBuilder struct {
// contains filtered or unexported fields
}
func NewTimeSpanBuilder ¶ added in v3.0.31
func NewTimeSpanBuilder() *TimeSpanBuilder
func (*TimeSpanBuilder) Build ¶ added in v3.0.31
func (builder *TimeSpanBuilder) Build() *TimeSpan
func (*TimeSpanBuilder) EndTime ¶ added in v3.0.31
func (builder *TimeSpanBuilder) EndTime(endTime string) *TimeSpanBuilder
空闲时间-结束时间
示例值:none
func (*TimeSpanBuilder) StartTime ¶ added in v3.0.31
func (builder *TimeSpanBuilder) StartTime(startTime string) *TimeSpanBuilder
空闲时间-开始时间
示例值:none
type TimeoffEvent ¶
type TimeoffEvent struct { TimeoffEventId *string `json:"timeoff_event_id,omitempty"` // 请假日程ID。参见[请假日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/timeoff_event/introduction#b6611a02) UserId *string `json:"user_id,omitempty"` // 用户id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) Timezone *string `json:"timezone,omitempty"` // 时区 StartTime *string `json:"start_time,omitempty"` // 休假开始时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。 EndTime *string `json:"end_time,omitempty"` // 休假结束时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。 Title *string `json:"title,omitempty"` // 自定义请假日程标题,没有设置则为默认日程标题 Description *string `json:"description,omitempty"` // 自定义请假日程描述,没有设置则为默认日程描述 }
type TimeoffEventBuilder ¶
type TimeoffEventBuilder struct {
// contains filtered or unexported fields
}
func NewTimeoffEventBuilder ¶
func NewTimeoffEventBuilder() *TimeoffEventBuilder
func (*TimeoffEventBuilder) Build ¶
func (builder *TimeoffEventBuilder) Build() *TimeoffEvent
func (*TimeoffEventBuilder) Description ¶
func (builder *TimeoffEventBuilder) Description(description string) *TimeoffEventBuilder
自定义请假日程描述,没有设置则为默认日程描述
示例值:若删除此日程,飞书中相应的“请假”标签将自动消失,而请假系统中的休假申请不会被撤销。
func (*TimeoffEventBuilder) EndTime ¶
func (builder *TimeoffEventBuilder) EndTime(endTime string) *TimeoffEventBuilder
休假结束时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。
示例值:2021-01-01
func (*TimeoffEventBuilder) StartTime ¶
func (builder *TimeoffEventBuilder) StartTime(startTime string) *TimeoffEventBuilder
休假开始时间:;有时间戳(1609430400)和日期(2021-01-01)两种格式,其它格式无效;;时间戳格式是按小时休假日程,日期格式是全天休假日程;;start_time与end_time格式需保持一致,否则无效。
示例值:2021-01-01
func (*TimeoffEventBuilder) TimeoffEventId ¶
func (builder *TimeoffEventBuilder) TimeoffEventId(timeoffEventId string) *TimeoffEventBuilder
请假日程ID。参见[请假日程ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/timeoff_event/introduction#b6611a02)
示例值:timeoff:XXXXXX-XXXX-0917-1623-aa493d591a39-XXXXXX
func (*TimeoffEventBuilder) Timezone ¶
func (builder *TimeoffEventBuilder) Timezone(timezone string) *TimeoffEventBuilder
时区
示例值:Asia/Shanghai
func (*TimeoffEventBuilder) Title ¶
func (builder *TimeoffEventBuilder) Title(title string) *TimeoffEventBuilder
自定义请假日程标题,没有设置则为默认日程标题
示例值:请假中(全天) / 1-Day Time Off
func (*TimeoffEventBuilder) UserId ¶
func (builder *TimeoffEventBuilder) UserId(userId string) *TimeoffEventBuilder
用户id,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_XXXXXXXXXX
type UnsubscribeCalendarReq ¶
type UnsubscribeCalendarReq struct {
// contains filtered or unexported fields
}
type UnsubscribeCalendarReqBuilder ¶
type UnsubscribeCalendarReqBuilder struct {
// contains filtered or unexported fields
}
func NewUnsubscribeCalendarReqBuilder ¶
func NewUnsubscribeCalendarReqBuilder() *UnsubscribeCalendarReqBuilder
func (*UnsubscribeCalendarReqBuilder) Build ¶
func (builder *UnsubscribeCalendarReqBuilder) Build() *UnsubscribeCalendarReq
func (*UnsubscribeCalendarReqBuilder) CalendarId ¶
func (builder *UnsubscribeCalendarReqBuilder) CalendarId(calendarId string) *UnsubscribeCalendarReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type UnsubscribeCalendarResp ¶
type UnsubscribeCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UnsubscribeCalendarResp) Success ¶
func (resp *UnsubscribeCalendarResp) Success() bool
type UnsubscriptionCalendarAclReq ¶ added in v3.0.1
type UnsubscriptionCalendarAclReq struct {
// contains filtered or unexported fields
}
type UnsubscriptionCalendarAclReqBuilder ¶ added in v3.0.1
type UnsubscriptionCalendarAclReqBuilder struct {
// contains filtered or unexported fields
}
func NewUnsubscriptionCalendarAclReqBuilder ¶ added in v3.0.1
func NewUnsubscriptionCalendarAclReqBuilder() *UnsubscriptionCalendarAclReqBuilder
func (*UnsubscriptionCalendarAclReqBuilder) Build ¶ added in v3.0.1
func (builder *UnsubscriptionCalendarAclReqBuilder) Build() *UnsubscriptionCalendarAclReq
func (*UnsubscriptionCalendarAclReqBuilder) CalendarId ¶ added in v3.0.1
func (builder *UnsubscriptionCalendarAclReqBuilder) CalendarId(calendarId string) *UnsubscriptionCalendarAclReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type UnsubscriptionCalendarAclResp ¶ added in v3.0.1
type UnsubscriptionCalendarAclResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UnsubscriptionCalendarAclResp) Success ¶ added in v3.0.1
func (resp *UnsubscriptionCalendarAclResp) Success() bool
type UnsubscriptionCalendarEventReq ¶ added in v3.0.1
type UnsubscriptionCalendarEventReq struct {
// contains filtered or unexported fields
}
type UnsubscriptionCalendarEventReqBuilder ¶ added in v3.0.1
type UnsubscriptionCalendarEventReqBuilder struct {
// contains filtered or unexported fields
}
func NewUnsubscriptionCalendarEventReqBuilder ¶ added in v3.0.1
func NewUnsubscriptionCalendarEventReqBuilder() *UnsubscriptionCalendarEventReqBuilder
func (*UnsubscriptionCalendarEventReqBuilder) Build ¶ added in v3.0.1
func (builder *UnsubscriptionCalendarEventReqBuilder) Build() *UnsubscriptionCalendarEventReq
func (*UnsubscriptionCalendarEventReqBuilder) CalendarId ¶ added in v3.0.1
func (builder *UnsubscriptionCalendarEventReqBuilder) CalendarId(calendarId string) *UnsubscriptionCalendarEventReqBuilder
日历ID。参见[日历ID说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/introduction)
示例值:feishu.cn_xxxxxxxxxx@group.calendar.feishu.cn
type UnsubscriptionCalendarEventResp ¶ added in v3.0.1
type UnsubscriptionCalendarEventResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UnsubscriptionCalendarEventResp) Success ¶ added in v3.0.1
func (resp *UnsubscriptionCalendarEventResp) Success() bool
type UnsubscriptionCalendarResp ¶ added in v3.0.1
type UnsubscriptionCalendarResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UnsubscriptionCalendarResp) Success ¶ added in v3.0.1
func (resp *UnsubscriptionCalendarResp) Success() bool
type UserCalendar ¶
type UserCalendar struct { Calendar *Calendar `json:"calendar,omitempty"` // 日历实体信息 UserId *string `json:"user_id,omitempty"` // 日历的创建者user ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) }
type UserCalendarBuilder ¶
type UserCalendarBuilder struct {
// contains filtered or unexported fields
}
func NewUserCalendarBuilder ¶
func NewUserCalendarBuilder() *UserCalendarBuilder
func (*UserCalendarBuilder) Build ¶
func (builder *UserCalendarBuilder) Build() *UserCalendar
func (*UserCalendarBuilder) Calendar ¶
func (builder *UserCalendarBuilder) Calendar(calendar *Calendar) *UserCalendarBuilder
日历实体信息
示例值:
func (*UserCalendarBuilder) UserId ¶
func (builder *UserCalendarBuilder) UserId(userId string) *UserCalendarBuilder
日历的创建者user ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
示例值:ou_xxxxxx
type UserFreebusy ¶ added in v3.0.34
type UserFreebusyBuilder ¶ added in v3.0.34
type UserFreebusyBuilder struct {
// contains filtered or unexported fields
}
func NewUserFreebusyBuilder ¶ added in v3.0.34
func NewUserFreebusyBuilder() *UserFreebusyBuilder
func (*UserFreebusyBuilder) Build ¶ added in v3.0.34
func (builder *UserFreebusyBuilder) Build() *UserFreebusy
func (*UserFreebusyBuilder) FreebusyItems ¶ added in v3.0.34
func (builder *UserFreebusyBuilder) FreebusyItems(freebusyItems []*Freebusy) *UserFreebusyBuilder
日历上请求时间区间内的忙闲信息
示例值:
func (*UserFreebusyBuilder) UserId ¶ added in v3.0.34
func (builder *UserFreebusyBuilder) UserId(userId string) *UserFreebusyBuilder
日历的创建者userID
示例值:
type UserIdBuilder ¶
type UserIdBuilder struct {
// contains filtered or unexported fields
}
func NewUserIdBuilder ¶
func NewUserIdBuilder() *UserIdBuilder
func (*UserIdBuilder) Build ¶
func (builder *UserIdBuilder) Build() *UserId
func (*UserIdBuilder) OpenId ¶
func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UnionId ¶
func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UserId ¶
func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder
示例值:
type UserMetaBuilder ¶ added in v3.0.34
type UserMetaBuilder struct {
// contains filtered or unexported fields
}
func NewUserMetaBuilder ¶ added in v3.0.34
func NewUserMetaBuilder() *UserMetaBuilder
func (*UserMetaBuilder) Build ¶ added in v3.0.34
func (builder *UserMetaBuilder) Build() *UserMeta
func (*UserMetaBuilder) Name ¶ added in v3.0.34
func (builder *UserMetaBuilder) Name(name string) *UserMetaBuilder
用户名称
示例值:none
func (*UserMetaBuilder) UserId ¶ added in v3.0.34
func (builder *UserMetaBuilder) UserId(userId string) *UserMetaBuilder
用户ID
示例值:none
type V4 ¶ added in v3.1.0
type V4 struct { Calendar *calendar // 日历管理 CalendarAcl *calendarAcl // 日历访问控制 CalendarEvent *calendarEvent // 日程 CalendarEventAttendee *calendarEventAttendee // 日程参与人 CalendarEventAttendeeChatMember *calendarEventAttendeeChatMember // 日程参与人群成员 CalendarEventMeetingChat *calendarEventMeetingChat // calendar.event.meeting_chat ExchangeBinding *exchangeBinding // Exchange绑定 Freebusy *freebusy // freebusy Setting *setting // 日历设置 TimeoffEvent *timeoffEvent // 请假 }
type VcInfoBuilder ¶ added in v3.0.22
type VcInfoBuilder struct {
// contains filtered or unexported fields
}
func NewVcInfoBuilder ¶ added in v3.0.22
func NewVcInfoBuilder() *VcInfoBuilder
func (*VcInfoBuilder) Build ¶ added in v3.0.22
func (builder *VcInfoBuilder) Build() *VcInfo
func (*VcInfoBuilder) MeetingNo ¶ added in v3.0.22
func (builder *VcInfoBuilder) MeetingNo(meetingNo string) *VcInfoBuilder
会议号
示例值:808056935
func (*VcInfoBuilder) UniqueId ¶ added in v3.0.22
func (builder *VcInfoBuilder) UniqueId(uniqueId string) *VcInfoBuilder
会议唯一ID
示例值:7226647229510582291
type Vchat ¶
type Vchat struct { VcType *string `json:"vc_type,omitempty"` // 视频会议类型 IconType *string `json:"icon_type,omitempty"` // 第三方视频会议icon类型;可以为空,为空展示默认icon。 Description *string `json:"description,omitempty"` // 第三方视频会议文案,可以为空,为空展示默认文案 MeetingUrl *string `json:"meeting_url,omitempty"` // 视频会议URL MeetingSettings *MeetingSettings `json:"meeting_settings,omitempty"` // VC视频会议的会前设置 }
type VchatBuilder ¶
type VchatBuilder struct {
// contains filtered or unexported fields
}
func NewVchatBuilder ¶
func NewVchatBuilder() *VchatBuilder
func (*VchatBuilder) Build ¶
func (builder *VchatBuilder) Build() *Vchat
func (*VchatBuilder) Description ¶
func (builder *VchatBuilder) Description(description string) *VchatBuilder
第三方视频会议文案,可以为空,为空展示默认文案
示例值:发起视频会议
func (*VchatBuilder) IconType ¶
func (builder *VchatBuilder) IconType(iconType string) *VchatBuilder
第三方视频会议icon类型;可以为空,为空展示默认icon。
示例值:vc
func (*VchatBuilder) MeetingSettings ¶ added in v3.0.25
func (builder *VchatBuilder) MeetingSettings(meetingSettings *MeetingSettings) *VchatBuilder
VC视频会议的会前设置
示例值:
func (*VchatBuilder) MeetingUrl ¶
func (builder *VchatBuilder) MeetingUrl(meetingUrl string) *VchatBuilder
视频会议URL
func (*VchatBuilder) VcType ¶
func (builder *VchatBuilder) VcType(vcType string) *VchatBuilder
视频会议类型
示例值:third_party
type WorkhourBuilder ¶ added in v3.0.34
type WorkhourBuilder struct {
// contains filtered or unexported fields
}
func NewWorkhourBuilder ¶ added in v3.0.34
func NewWorkhourBuilder() *WorkhourBuilder
func (*WorkhourBuilder) Build ¶ added in v3.0.34
func (builder *WorkhourBuilder) Build() *Workhour
func (*WorkhourBuilder) DayOfWeek ¶ added in v3.0.34
func (builder *WorkhourBuilder) DayOfWeek(dayOfWeek int) *WorkhourBuilder
工作日,定义每周的星期几为工作日.枚举值 0-6 代表 周日-周六
示例值:1
func (*WorkhourBuilder) EndTime ¶ added in v3.0.34
func (builder *WorkhourBuilder) EndTime(endTime int) *WorkhourBuilder
工作时间的结束时间,单位为分钟,取值 start_time - 1440
示例值:1020
func (*WorkhourBuilder) StartTime ¶ added in v3.0.34
func (builder *WorkhourBuilder) StartTime(startTime int) *WorkhourBuilder
工作时间的开始时间,单位为分钟,取值 0 - 1440
示例值:480
type WorkhourSetting ¶ added in v3.0.34
type WorkhourSettingBuilder ¶ added in v3.0.34
type WorkhourSettingBuilder struct {
// contains filtered or unexported fields
}
func NewWorkhourSettingBuilder ¶ added in v3.0.34
func NewWorkhourSettingBuilder() *WorkhourSettingBuilder
func (*WorkhourSettingBuilder) Build ¶ added in v3.0.34
func (builder *WorkhourSettingBuilder) Build() *WorkhourSetting
func (*WorkhourSettingBuilder) EnableWorkHour ¶ added in v3.0.34
func (builder *WorkhourSettingBuilder) EnableWorkHour(enableWorkHour bool) *WorkhourSettingBuilder
用户是否启用工作时间设置
示例值:false
func (*WorkhourSettingBuilder) Timezone ¶ added in v3.0.34
func (builder *WorkhourSettingBuilder) Timezone(timezone string) *WorkhourSettingBuilder
用户设置的对外展示时区
示例值:Asia/Shanghai
func (*WorkhourSettingBuilder) UserId ¶ added in v3.0.34
func (builder *WorkhourSettingBuilder) UserId(userId string) *WorkhourSettingBuilder
用户user id
示例值:ou_xxxxxx
func (*WorkhourSettingBuilder) Workhours ¶ added in v3.0.34
func (builder *WorkhourSettingBuilder) Workhours(workhours []*Workhour) *WorkhourSettingBuilder
工作时间设置
示例值: