Documentation
¶
Overview ¶
Package calendar code generated by lark suite oapi sdk gen
Package calendar code generated by lark suite oapi sdk gen ¶
Package calendar code generated by lark suite oapi sdk gen
Index ¶
- type AclScope
- type AclScopeEvent
- type AttendeeChatMember
- type Calendar
- type CalendarAcl
- type CalendarAclCreateReq
- type CalendarAclCreateResp
- type CalendarAclCreatedEvent
- type CalendarAclCreatedEventData
- type CalendarAclDeleteReq
- type CalendarAclDeleteResp
- type CalendarAclDeletedEvent
- type CalendarAclDeletedEventData
- type CalendarAclEvent
- type CalendarAclListReq
- type CalendarAclListResp
- type CalendarAclListRespData
- type CalendarAclSubscriptionReq
- type CalendarAclSubscriptionResp
- type CalendarAttendeeResourceCustomization
- type CalendarChangedEvent
- type CalendarChangedEventData
- type CalendarCreateReq
- type CalendarCreateResp
- type CalendarCreateRespData
- type CalendarDeleteReq
- type CalendarDeleteResp
- type CalendarEvent
- type CalendarEventAttendee
- type CalendarEventAttendeeBatchDeleteReq
- type CalendarEventAttendeeBatchDeleteReqBody
- type CalendarEventAttendeeBatchDeleteResp
- type CalendarEventAttendeeChatMember
- type CalendarEventAttendeeChatMemberListReq
- type CalendarEventAttendeeChatMemberListResp
- type CalendarEventAttendeeChatMemberListRespData
- type CalendarEventAttendeeCreateReq
- type CalendarEventAttendeeCreateReqBody
- type CalendarEventAttendeeCreateResp
- type CalendarEventAttendeeCreateRespData
- type CalendarEventAttendeeListReq
- type CalendarEventAttendeeListResp
- type CalendarEventAttendeeListRespData
- type CalendarEventChangedEvent
- type CalendarEventChangedEventData
- type CalendarEventCreateReq
- type CalendarEventCreateResp
- type CalendarEventCreateRespData
- type CalendarEventDeleteReq
- type CalendarEventDeleteResp
- type CalendarEventGetReq
- type CalendarEventGetResp
- type CalendarEventGetRespData
- type CalendarEventListReq
- type CalendarEventListResp
- type CalendarEventListRespData
- type CalendarEventPatchReq
- type CalendarEventPatchResp
- type CalendarEventPatchRespData
- type CalendarEventSearchReq
- type CalendarEventSearchReqBody
- type CalendarEventSearchResp
- type CalendarEventSearchRespData
- type CalendarEventSubscriptionReq
- type CalendarEventSubscriptionResp
- type CalendarGetReq
- type CalendarGetResp
- type CalendarListReq
- type CalendarListResp
- type CalendarListRespData
- type CalendarPatchReq
- type CalendarPatchResp
- type CalendarPatchRespData
- type CalendarSearchReq
- type CalendarSearchReqBody
- type CalendarSearchResp
- type CalendarSearchRespData
- type CalendarService
- type CalendarSubscribeReq
- type CalendarSubscribeResp
- type CalendarSubscribeRespData
- type CalendarSubscriptionResp
- type CalendarUnsubscribeReq
- type CalendarUnsubscribeResp
- type CustomizationOption
- type EventLocation
- type EventSearchFilter
- type ExchangeBinding
- type Freebusy
- type FreebusyListReq
- type FreebusyListReqBody
- type FreebusyListResp
- type FreebusyListRespData
- type Reminder
- type Schema
- type SettingGenerateCaldavConfReq
- type SettingGenerateCaldavConfReqBody
- type SettingGenerateCaldavConfResp
- type SettingGenerateCaldavConfRespData
- type TimeInfo
- type TimeoffEvent
- type TimeoffEventCreateReq
- type TimeoffEventCreateResp
- type TimeoffEventDeleteReq
- type TimeoffEventDeleteResp
- type UserId
- type Vchat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AclScopeEvent ¶
type AttendeeChatMember ¶
type Calendar ¶
type Calendar struct { CalendarId *string `json:"calendar_id,omitempty"` Summary *string `json:"summary,omitempty"` Description *string `json:"description,omitempty"` Permissions *string `json:"permissions,omitempty"` Color *int `json:"color,omitempty"` 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 CalendarAclCreateReq ¶
type CalendarAclCreateReq struct { CalendarId string `path:"calendar_id"` UserIdType *string `query:"user_id_type"` CalendarAcl *CalendarAcl `body:""` }
type CalendarAclCreateResp ¶
type CalendarAclCreateResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarAcl `json:"data"` }
type CalendarAclCreatedEvent ¶
type CalendarAclCreatedEvent struct { *lark.EventV2Base Event *CalendarAclCreatedEventData `json:"event"` }
type CalendarAclCreatedEventData ¶
type CalendarAclCreatedEventData struct { AclId *string `json:"acl_id,omitempty"` Role *string `json:"role,omitempty"` Scope *AclScopeEvent `json:"scope,omitempty"` UserIdList []*UserId `json:"user_id_list,omitempty"` }
type CalendarAclDeleteReq ¶
type CalendarAclDeleteResp ¶
type CalendarAclDeleteResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CalendarAclDeletedEvent ¶
type CalendarAclDeletedEvent struct { *lark.EventV2Base Event *CalendarAclDeletedEventData `json:"event"` }
type CalendarAclDeletedEventData ¶
type CalendarAclDeletedEventData struct { AclId *string `json:"acl_id,omitempty"` Role *string `json:"role,omitempty"` Scope *AclScopeEvent `json:"scope,omitempty"` UserIdList []*UserId `json:"user_id_list,omitempty"` }
type CalendarAclEvent ¶
type CalendarAclEvent struct { AclId *string `json:"acl_id,omitempty"` Role *string `json:"role,omitempty"` Scope *AclScopeEvent `json:"scope,omitempty"` UserIdList []*UserId `json:"user_id_list,omitempty"` }
type CalendarAclListReq ¶
type CalendarAclListResp ¶
type CalendarAclListResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarAclListRespData `json:"data"` }
type CalendarAclListRespData ¶
type CalendarAclListRespData struct { Acls []*CalendarAcl `json:"acls,omitempty"` HasMore *bool `json:"has_more,omitempty"` PageToken *string `json:"page_token,omitempty"` }
type CalendarAclSubscriptionReq ¶
type CalendarAclSubscriptionReq struct {
CalendarId string `path:"calendar_id"`
}
type CalendarAclSubscriptionResp ¶
type CalendarAclSubscriptionResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CalendarAttendeeResourceCustomization ¶
type CalendarAttendeeResourceCustomization struct { IndexKey *string `json:"index_key,omitempty"` InputContent *string `json:"input_content,omitempty"` Options []*CustomizationOption `json:"options,omitempty"` }
type CalendarChangedEvent ¶
type CalendarChangedEvent struct { *lark.EventV2Base Event *CalendarChangedEventData `json:"event"` }
type CalendarChangedEventData ¶
type CalendarChangedEventData struct {
UserIdList []*UserId `json:"user_id_list,omitempty"`
}
type CalendarCreateReq ¶
type CalendarCreateReq struct {
Calendar *Calendar `body:""`
}
type CalendarCreateResp ¶
type CalendarCreateResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarCreateRespData `json:"data"` }
type CalendarCreateRespData ¶
type CalendarCreateRespData struct {
Calendar *Calendar `json:"calendar,omitempty"`
}
type CalendarDeleteReq ¶
type CalendarDeleteReq struct {
CalendarId string `path:"calendar_id"`
}
type CalendarDeleteResp ¶
type CalendarDeleteResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CalendarEvent ¶
type CalendarEvent struct { EventId *string `json:"event_id,omitempty"` 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"` Visibility *string `json:"visibility,omitempty"` AttendeeAbility *string `json:"attendee_ability,omitempty"` FreeBusyStatus *string `json:"free_busy_status,omitempty"` Location *EventLocation `json:"location,omitempty"` Color *int `json:"color,omitempty"` 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"` Schemas []*Schema `json:"schemas,omitempty"` }
type CalendarEventAttendee ¶
type CalendarEventAttendee struct { Type *string `json:"type,omitempty"` AttendeeId *string `json:"attendee_id,omitempty"` RsvpStatus *string `json:"rsvp_status,omitempty"` 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"` UserId *string `json:"user_id,omitempty"` ChatId *string `json:"chat_id,omitempty"` RoomId *string `json:"room_id,omitempty"` ThirdPartyEmail *string `json:"third_party_email,omitempty"` OperateId *string `json:"operate_id,omitempty"` ResourceCustomization []*CalendarAttendeeResourceCustomization `json:"resource_customization,omitempty"` }
type CalendarEventAttendeeBatchDeleteReq ¶
type CalendarEventAttendeeBatchDeleteReq struct { CalendarId string `path:"calendar_id"` EventId string `path:"event_id"` Body *CalendarEventAttendeeBatchDeleteReqBody `body:""` }
type CalendarEventAttendeeBatchDeleteResp ¶
type CalendarEventAttendeeBatchDeleteResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CalendarEventAttendeeChatMemberListResp ¶
type CalendarEventAttendeeChatMemberListResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventAttendeeChatMemberListRespData `json:"data"` }
type CalendarEventAttendeeChatMemberListRespData ¶
type CalendarEventAttendeeChatMemberListRespData struct { Items []*CalendarEventAttendeeChatMember `json:"items,omitempty"` HasMore *bool `json:"has_more,omitempty"` PageToken *string `json:"page_token,omitempty"` }
type CalendarEventAttendeeCreateReq ¶
type CalendarEventAttendeeCreateReq struct { CalendarId string `path:"calendar_id"` EventId string `path:"event_id"` UserIdType *string `query:"user_id_type"` Body *CalendarEventAttendeeCreateReqBody `body:""` }
type CalendarEventAttendeeCreateReqBody ¶
type CalendarEventAttendeeCreateReqBody struct { Attendees []*CalendarEventAttendee `json:"attendees,omitempty"` NeedNotification *bool `json:"need_notification,omitempty"` }
type CalendarEventAttendeeCreateResp ¶
type CalendarEventAttendeeCreateResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventAttendeeCreateRespData `json:"data"` }
type CalendarEventAttendeeCreateRespData ¶
type CalendarEventAttendeeCreateRespData struct {
Attendees []*CalendarEventAttendee `json:"attendees,omitempty"`
}
type CalendarEventAttendeeListResp ¶
type CalendarEventAttendeeListResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventAttendeeListRespData `json:"data"` }
type CalendarEventAttendeeListRespData ¶
type CalendarEventAttendeeListRespData struct { Items []*CalendarEventAttendee `json:"items,omitempty"` HasMore *bool `json:"has_more,omitempty"` PageToken *string `json:"page_token,omitempty"` }
type CalendarEventChangedEvent ¶
type CalendarEventChangedEvent struct { *lark.EventV2Base Event *CalendarEventChangedEventData `json:"event"` }
type CalendarEventCreateReq ¶
type CalendarEventCreateReq struct { CalendarId string `path:"calendar_id"` CalendarEvent *CalendarEvent `body:""` }
type CalendarEventCreateResp ¶
type CalendarEventCreateResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventCreateRespData `json:"data"` }
type CalendarEventCreateRespData ¶
type CalendarEventCreateRespData struct {
Event *CalendarEvent `json:"event,omitempty"`
}
type CalendarEventDeleteReq ¶
type CalendarEventDeleteResp ¶
type CalendarEventDeleteResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CalendarEventGetReq ¶
type CalendarEventGetResp ¶
type CalendarEventGetResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventGetRespData `json:"data"` }
type CalendarEventGetRespData ¶
type CalendarEventGetRespData struct {
Event *CalendarEvent `json:"event,omitempty"`
}
type CalendarEventListReq ¶
type CalendarEventListReq struct { CalendarId string `path:"calendar_id"` PageSize *int `query:"page_size"` AnchorTime *string `query:"anchor_time"` PageToken *string `query:"page_token"` SyncToken *string `query:"sync_token"` StartTime *string `query:"start_time"` EndTime *string `query:"end_time"` }
type CalendarEventListResp ¶
type CalendarEventListResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventListRespData `json:"data"` }
type CalendarEventListRespData ¶
type CalendarEventListRespData 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 CalendarEventPatchReq ¶
type CalendarEventPatchReq struct { CalendarId string `path:"calendar_id"` EventId string `path:"event_id"` CalendarEvent *CalendarEvent `body:""` }
type CalendarEventPatchResp ¶
type CalendarEventPatchResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventPatchRespData `json:"data"` }
type CalendarEventPatchRespData ¶
type CalendarEventPatchRespData struct {
Event *CalendarEvent `json:"event,omitempty"`
}
type CalendarEventSearchReq ¶
type CalendarEventSearchReq struct { CalendarId string `path:"calendar_id"` UserIdType *string `query:"user_id_type"` PageToken *string `query:"page_token"` PageSize *int `query:"page_size"` Body *CalendarEventSearchReqBody `body:""` }
type CalendarEventSearchReqBody ¶
type CalendarEventSearchReqBody struct { Query *string `json:"query,omitempty"` Filter *EventSearchFilter `json:"filter,omitempty"` }
type CalendarEventSearchResp ¶
type CalendarEventSearchResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarEventSearchRespData `json:"data"` }
type CalendarEventSearchRespData ¶
type CalendarEventSearchRespData struct { Items []*CalendarEvent `json:"items,omitempty"` PageToken *string `json:"page_token,omitempty"` }
type CalendarEventSubscriptionReq ¶
type CalendarEventSubscriptionReq struct {
CalendarId string `path:"calendar_id"`
}
type CalendarEventSubscriptionResp ¶
type CalendarEventSubscriptionResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CalendarGetReq ¶
type CalendarGetReq struct {
CalendarId string `path:"calendar_id"`
}
type CalendarGetResp ¶
type CalendarGetResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *Calendar `json:"data"` }
type CalendarListReq ¶
type CalendarListResp ¶
type CalendarListResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarListRespData `json:"data"` }
type CalendarListRespData ¶
type CalendarPatchReq ¶
type CalendarPatchResp ¶
type CalendarPatchResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarPatchRespData `json:"data"` }
type CalendarPatchRespData ¶
type CalendarPatchRespData struct {
Calendar *Calendar `json:"calendar,omitempty"`
}
type CalendarSearchReq ¶
type CalendarSearchReq struct { PageToken *string `query:"page_token"` PageSize *int `query:"page_size"` Body *CalendarSearchReqBody `body:""` }
type CalendarSearchReqBody ¶
type CalendarSearchReqBody struct {
Query *string `json:"query,omitempty"`
}
type CalendarSearchResp ¶
type CalendarSearchResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarSearchRespData `json:"data"` }
type CalendarSearchRespData ¶
type CalendarService ¶
type CalendarService struct { Calendars *calendars CalendarAcls *calendarAcls CalendarEvents *calendarEvents CalendarEventAttendees *calendarEventAttendees CalendarEventAttendeeChatMembers *calendarEventAttendeeChatMembers Freebusy *freebusy Settings *settings TimeoffEvents *timeoffEvents }
func New ¶
func New(app *lark.App) *CalendarService
type CalendarSubscribeReq ¶
type CalendarSubscribeReq struct {
CalendarId string `path:"calendar_id"`
}
type CalendarSubscribeResp ¶
type CalendarSubscribeResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *CalendarSubscribeRespData `json:"data"` }
type CalendarSubscribeRespData ¶
type CalendarSubscribeRespData struct {
Calendar *Calendar `json:"calendar,omitempty"`
}
type CalendarSubscriptionResp ¶
type CalendarSubscriptionResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CalendarUnsubscribeReq ¶
type CalendarUnsubscribeReq struct {
CalendarId string `path:"calendar_id"`
}
type CalendarUnsubscribeResp ¶
type CalendarUnsubscribeResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
type CustomizationOption ¶
type EventLocation ¶
type EventSearchFilter ¶
type ExchangeBinding ¶
type FreebusyListReq ¶
type FreebusyListReq struct { UserIdType *string `query:"user_id_type"` Body *FreebusyListReqBody `body:""` }
type FreebusyListReqBody ¶
type FreebusyListResp ¶
type FreebusyListResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *FreebusyListRespData `json:"data"` }
type FreebusyListRespData ¶
type FreebusyListRespData struct {
FreebusyList []*Freebusy `json:"freebusy_list,omitempty"`
}
type SettingGenerateCaldavConfReq ¶
type SettingGenerateCaldavConfReq struct {
Body *SettingGenerateCaldavConfReqBody `body:""`
}
type SettingGenerateCaldavConfReqBody ¶
type SettingGenerateCaldavConfReqBody struct {
DeviceName *string `json:"device_name,omitempty"`
}
type SettingGenerateCaldavConfResp ¶
type SettingGenerateCaldavConfResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *SettingGenerateCaldavConfRespData `json:"data"` }
type TimeoffEvent ¶
type TimeoffEvent struct { TimeoffEventId *string `json:"timeoff_event_id,omitempty"` UserId *string `json:"user_id,omitempty"` Timezone *string `json:"timezone,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` Title *string `json:"title,omitempty"` Description *string `json:"description,omitempty"` }
type TimeoffEventCreateReq ¶
type TimeoffEventCreateReq struct { UserIdType *string `query:"user_id_type"` TimeoffEvent *TimeoffEvent `body:""` }
type TimeoffEventCreateResp ¶
type TimeoffEventCreateResp struct { *lark.RawResponse `json:"-"` lark.CodeError Data *TimeoffEvent `json:"data"` }
type TimeoffEventDeleteReq ¶
type TimeoffEventDeleteReq struct {
TimeoffEventId string `path:"timeoff_event_id"`
}
type TimeoffEventDeleteResp ¶
type TimeoffEventDeleteResp struct { *lark.RawResponse `json:"-"` lark.CodeError }
Click to show internal directories.
Click to hide internal directories.