v4

package
v1.1.45 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by lark suite oapi sdk gen

Code generated by lark suite oapi sdk gen

Code generated by lark suite oapi sdk gen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCalendarAclCreatedEventHandler added in v1.1.21

func SetCalendarAclCreatedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *CalendarAclCreatedEvent) error)

func SetCalendarAclDeletedEventHandler added in v1.1.21

func SetCalendarAclDeletedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *CalendarAclDeletedEvent) error)

func SetCalendarChangedEventHandler added in v1.1.21

func SetCalendarChangedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *CalendarChangedEvent) error)

func SetCalendarEventChangedEventHandler added in v1.1.21

func SetCalendarEventChangedEventHandler(conf *config.Config, fn func(ctx *core.Context, event *CalendarEventChangedEvent) error)

Types

type AclScope

type AclScope struct {
	Type            string   `json:"type,omitempty"`
	UserId          string   `json:"user_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*AclScope) MarshalJSON added in v1.1.21

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

type AclScopeEvent added in v1.1.41

type AclScopeEvent struct {
	Type            string   `json:"type,omitempty"`
	UserId          *UserId  `json:"user_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*AclScopeEvent) MarshalJSON added in v1.1.41

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

type AttendeeChatMember

type AttendeeChatMember struct {
	RsvpStatus      string   `json:"rsvp_status,omitempty"`
	IsOptional      bool     `json:"is_optional,omitempty"`
	DisplayName     string   `json:"display_name,omitempty"`
	IsOrganizer     bool     `json:"is_organizer,omitempty"`
	IsExternal      bool     `json:"is_external,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*AttendeeChatMember) MarshalJSON added in v1.1.21

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

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"`
	ForceSendFields []string `json:"-"`
}

func (*Calendar) MarshalJSON added in v1.1.21

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

type CalendarAcl

type CalendarAcl struct {
	AclId           string    `json:"acl_id,omitempty"`
	Role            string    `json:"role,omitempty"`
	Scope           *AclScope `json:"scope,omitempty"`
	ForceSendFields []string  `json:"-"`
}

func (*CalendarAcl) MarshalJSON added in v1.1.21

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

type CalendarAclCreateReqCall

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

func (*CalendarAclCreateReqCall) Do

func (*CalendarAclCreateReqCall) SetCalendarId

func (rc *CalendarAclCreateReqCall) SetCalendarId(calendarId string)

func (*CalendarAclCreateReqCall) SetUserIdType

func (rc *CalendarAclCreateReqCall) SetUserIdType(userIdType string)

type CalendarAclCreatedEvent added in v1.1.21

type CalendarAclCreatedEvent struct {
	*model.BaseEventV2
	Event *CalendarAclCreatedEventData `json:"event"`
}

type CalendarAclCreatedEventData added in v1.1.21

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 CalendarAclCreatedEventHandler added in v1.1.21

type CalendarAclCreatedEventHandler struct {
	Fn func(*core.Context, *CalendarAclCreatedEvent) error
}

func (*CalendarAclCreatedEventHandler) GetEvent added in v1.1.21

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

func (*CalendarAclCreatedEventHandler) Handle added in v1.1.21

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

type CalendarAclDeleteReqCall

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

func (*CalendarAclDeleteReqCall) Do

func (*CalendarAclDeleteReqCall) SetAclId

func (rc *CalendarAclDeleteReqCall) SetAclId(aclId string)

func (*CalendarAclDeleteReqCall) SetCalendarId

func (rc *CalendarAclDeleteReqCall) SetCalendarId(calendarId string)

type CalendarAclDeletedEvent added in v1.1.21

type CalendarAclDeletedEvent struct {
	*model.BaseEventV2
	Event *CalendarAclDeletedEventData `json:"event"`
}

type CalendarAclDeletedEventData added in v1.1.21

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 CalendarAclDeletedEventHandler added in v1.1.21

type CalendarAclDeletedEventHandler struct {
	Fn func(*core.Context, *CalendarAclDeletedEvent) error
}

func (*CalendarAclDeletedEventHandler) GetEvent added in v1.1.21

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

func (*CalendarAclDeletedEventHandler) Handle added in v1.1.21

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

type CalendarAclEvent added in v1.1.41

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"`
	ForceSendFields []string       `json:"-"`
}

func (*CalendarAclEvent) MarshalJSON added in v1.1.41

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

type CalendarAclListReqCall

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

func (*CalendarAclListReqCall) Do

func (*CalendarAclListReqCall) SetCalendarId

func (rc *CalendarAclListReqCall) SetCalendarId(calendarId string)

func (*CalendarAclListReqCall) SetPageSize

func (rc *CalendarAclListReqCall) SetPageSize(pageSize int)

func (*CalendarAclListReqCall) SetPageToken

func (rc *CalendarAclListReqCall) SetPageToken(pageToken string)

func (*CalendarAclListReqCall) SetUserIdType added in v1.1.9

func (rc *CalendarAclListReqCall) SetUserIdType(userIdType string)

type CalendarAclListResult

type CalendarAclListResult struct {
	Acls      []*CalendarAcl `json:"acls,omitempty"`
	HasMore   bool           `json:"has_more,omitempty"`
	PageToken string         `json:"page_token,omitempty"`
}

type CalendarAclService

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

func (*CalendarAclService) Create

func (calendarAcls *CalendarAclService) Create(ctx *core.Context, body *CalendarAcl, optFns ...request.OptFn) *CalendarAclCreateReqCall

func (*CalendarAclService) Delete

func (calendarAcls *CalendarAclService) Delete(ctx *core.Context, optFns ...request.OptFn) *CalendarAclDeleteReqCall

func (*CalendarAclService) List

func (calendarAcls *CalendarAclService) List(ctx *core.Context, optFns ...request.OptFn) *CalendarAclListReqCall

func (*CalendarAclService) Subscription added in v1.1.21

func (calendarAcls *CalendarAclService) Subscription(ctx *core.Context, optFns ...request.OptFn) *CalendarAclSubscriptionReqCall

type CalendarAclSubscriptionReqCall added in v1.1.21

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

func (*CalendarAclSubscriptionReqCall) Do added in v1.1.21

func (*CalendarAclSubscriptionReqCall) SetCalendarId added in v1.1.21

func (rc *CalendarAclSubscriptionReqCall) SetCalendarId(calendarId string)

type CalendarAttendeeResourceCustomization added in v1.1.41

type CalendarAttendeeResourceCustomization struct {
	IndexKey        string                 `json:"index_key,omitempty"`
	InputContent    string                 `json:"input_content,omitempty"`
	Options         []*CustomizationOption `json:"options,omitempty"`
	ForceSendFields []string               `json:"-"`
}

func (*CalendarAttendeeResourceCustomization) MarshalJSON added in v1.1.41

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

type CalendarChangedEvent added in v1.1.21

type CalendarChangedEvent struct {
	*model.BaseEventV2
	Event *CalendarChangedEventData `json:"event"`
}

type CalendarChangedEventData added in v1.1.21

type CalendarChangedEventData struct {
	UserIdList []*UserId `json:"user_id_list,omitempty"`
}

type CalendarChangedEventHandler added in v1.1.21

type CalendarChangedEventHandler struct {
	Fn func(*core.Context, *CalendarChangedEvent) error
}

func (*CalendarChangedEventHandler) GetEvent added in v1.1.21

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

func (*CalendarChangedEventHandler) Handle added in v1.1.21

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

type CalendarCreateReqCall

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

func (*CalendarCreateReqCall) Do

type CalendarCreateResult

type CalendarCreateResult struct {
	Calendar *Calendar `json:"calendar,omitempty"`
}

type CalendarDeleteReqCall

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

func (*CalendarDeleteReqCall) Do

func (*CalendarDeleteReqCall) SetCalendarId

func (rc *CalendarDeleteReqCall) SetCalendarId(calendarId string)

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"`
	ForceSendFields  []string       `json:"-"`
}

func (*CalendarEvent) MarshalJSON added in v1.1.21

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

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"`
	ForceSendFields       []string                                 `json:"-"`
}

func (*CalendarEventAttendee) MarshalJSON added in v1.1.21

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

type CalendarEventAttendeeBatchDeleteReqBody

type CalendarEventAttendeeBatchDeleteReqBody struct {
	AttendeeIds      []string `json:"attendee_ids,omitempty"`
	NeedNotification bool     `json:"need_notification,omitempty"`
	ForceSendFields  []string `json:"-"`
}

func (*CalendarEventAttendeeBatchDeleteReqBody) MarshalJSON added in v1.1.21

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

type CalendarEventAttendeeBatchDeleteReqCall

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

func (*CalendarEventAttendeeBatchDeleteReqCall) Do

func (*CalendarEventAttendeeBatchDeleteReqCall) SetCalendarId

func (rc *CalendarEventAttendeeBatchDeleteReqCall) SetCalendarId(calendarId string)

func (*CalendarEventAttendeeBatchDeleteReqCall) SetEventId

func (rc *CalendarEventAttendeeBatchDeleteReqCall) SetEventId(eventId string)

type CalendarEventAttendeeChatMember added in v1.1.9

type CalendarEventAttendeeChatMember struct {
	RsvpStatus      string   `json:"rsvp_status,omitempty"`
	IsOptional      bool     `json:"is_optional,omitempty"`
	DisplayName     string   `json:"display_name,omitempty"`
	IsOrganizer     bool     `json:"is_organizer,omitempty"`
	IsExternal      bool     `json:"is_external,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*CalendarEventAttendeeChatMember) MarshalJSON added in v1.1.21

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

type CalendarEventAttendeeChatMemberListReqCall added in v1.1.9

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

func (*CalendarEventAttendeeChatMemberListReqCall) Do added in v1.1.9

func (*CalendarEventAttendeeChatMemberListReqCall) SetAttendeeId added in v1.1.9

func (rc *CalendarEventAttendeeChatMemberListReqCall) SetAttendeeId(attendeeId string)

func (*CalendarEventAttendeeChatMemberListReqCall) SetCalendarId added in v1.1.9

func (rc *CalendarEventAttendeeChatMemberListReqCall) SetCalendarId(calendarId string)

func (*CalendarEventAttendeeChatMemberListReqCall) SetEventId added in v1.1.9

func (rc *CalendarEventAttendeeChatMemberListReqCall) SetEventId(eventId string)

func (*CalendarEventAttendeeChatMemberListReqCall) SetPageSize added in v1.1.9

func (rc *CalendarEventAttendeeChatMemberListReqCall) SetPageSize(pageSize int)

func (*CalendarEventAttendeeChatMemberListReqCall) SetPageToken added in v1.1.9

func (rc *CalendarEventAttendeeChatMemberListReqCall) SetPageToken(pageToken string)

type CalendarEventAttendeeChatMemberListResult added in v1.1.9

type CalendarEventAttendeeChatMemberListResult struct {
	Items     []*CalendarEventAttendeeChatMember `json:"items,omitempty"`
	HasMore   bool                               `json:"has_more,omitempty"`
	PageToken string                             `json:"page_token,omitempty"`
}

type CalendarEventAttendeeChatMemberService added in v1.1.9

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

func (*CalendarEventAttendeeChatMemberService) List added in v1.1.9

func (calendarEventAttendeeChatMembers *CalendarEventAttendeeChatMemberService) List(ctx *core.Context, optFns ...request.OptFn) *CalendarEventAttendeeChatMemberListReqCall

type CalendarEventAttendeeCreateReqBody

type CalendarEventAttendeeCreateReqBody struct {
	Attendees        []*CalendarEventAttendee `json:"attendees,omitempty"`
	NeedNotification bool                     `json:"need_notification,omitempty"`
	ForceSendFields  []string                 `json:"-"`
}

func (*CalendarEventAttendeeCreateReqBody) MarshalJSON added in v1.1.21

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

type CalendarEventAttendeeCreateReqCall

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

func (*CalendarEventAttendeeCreateReqCall) Do

func (*CalendarEventAttendeeCreateReqCall) SetCalendarId

func (rc *CalendarEventAttendeeCreateReqCall) SetCalendarId(calendarId string)

func (*CalendarEventAttendeeCreateReqCall) SetEventId

func (rc *CalendarEventAttendeeCreateReqCall) SetEventId(eventId string)

func (*CalendarEventAttendeeCreateReqCall) SetUserIdType

func (rc *CalendarEventAttendeeCreateReqCall) SetUserIdType(userIdType string)

type CalendarEventAttendeeCreateResult

type CalendarEventAttendeeCreateResult struct {
	Attendees []*CalendarEventAttendee `json:"attendees,omitempty"`
}

type CalendarEventAttendeeListReqCall

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

func (*CalendarEventAttendeeListReqCall) Do

func (*CalendarEventAttendeeListReqCall) SetCalendarId

func (rc *CalendarEventAttendeeListReqCall) SetCalendarId(calendarId string)

func (*CalendarEventAttendeeListReqCall) SetEventId

func (rc *CalendarEventAttendeeListReqCall) SetEventId(eventId string)

func (*CalendarEventAttendeeListReqCall) SetPageSize

func (rc *CalendarEventAttendeeListReqCall) SetPageSize(pageSize int)

func (*CalendarEventAttendeeListReqCall) SetPageToken

func (rc *CalendarEventAttendeeListReqCall) SetPageToken(pageToken string)

func (*CalendarEventAttendeeListReqCall) SetUserIdType

func (rc *CalendarEventAttendeeListReqCall) SetUserIdType(userIdType string)

type CalendarEventAttendeeListResult

type CalendarEventAttendeeListResult struct {
	Items     []*CalendarEventAttendee `json:"items,omitempty"`
	HasMore   bool                     `json:"has_more,omitempty"`
	PageToken string                   `json:"page_token,omitempty"`
}

type CalendarEventAttendeeService

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

func (*CalendarEventAttendeeService) BatchDelete

func (*CalendarEventAttendeeService) Create

func (*CalendarEventAttendeeService) List

func (calendarEventAttendees *CalendarEventAttendeeService) List(ctx *core.Context, optFns ...request.OptFn) *CalendarEventAttendeeListReqCall

type CalendarEventChangedEvent added in v1.1.21

type CalendarEventChangedEvent struct {
	*model.BaseEventV2
	Event *CalendarEventChangedEventData `json:"event"`
}

type CalendarEventChangedEventData added in v1.1.21

type CalendarEventChangedEventData struct {
	CalendarId string    `json:"calendar_id,omitempty"`
	UserIdList []*UserId `json:"user_id_list,omitempty"`
}

type CalendarEventChangedEventHandler added in v1.1.21

type CalendarEventChangedEventHandler struct {
	Fn func(*core.Context, *CalendarEventChangedEvent) error
}

func (*CalendarEventChangedEventHandler) GetEvent added in v1.1.21

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

func (*CalendarEventChangedEventHandler) Handle added in v1.1.21

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

type CalendarEventCreateReqCall

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

func (*CalendarEventCreateReqCall) Do

func (*CalendarEventCreateReqCall) SetCalendarId

func (rc *CalendarEventCreateReqCall) SetCalendarId(calendarId string)

type CalendarEventCreateResult

type CalendarEventCreateResult struct {
	Event *CalendarEvent `json:"event,omitempty"`
}

type CalendarEventDeleteReqCall

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

func (*CalendarEventDeleteReqCall) Do

func (*CalendarEventDeleteReqCall) SetCalendarId

func (rc *CalendarEventDeleteReqCall) SetCalendarId(calendarId string)

func (*CalendarEventDeleteReqCall) SetEventId

func (rc *CalendarEventDeleteReqCall) SetEventId(eventId string)

func (*CalendarEventDeleteReqCall) SetNeedNotification added in v1.1.38

func (rc *CalendarEventDeleteReqCall) SetNeedNotification(needNotification bool)

type CalendarEventGetReqCall

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

func (*CalendarEventGetReqCall) Do

func (*CalendarEventGetReqCall) SetCalendarId

func (rc *CalendarEventGetReqCall) SetCalendarId(calendarId string)

func (*CalendarEventGetReqCall) SetEventId

func (rc *CalendarEventGetReqCall) SetEventId(eventId string)

type CalendarEventGetResult

type CalendarEventGetResult struct {
	Event *CalendarEvent `json:"event,omitempty"`
}

type CalendarEventListReqCall

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

func (*CalendarEventListReqCall) Do

func (*CalendarEventListReqCall) SetAnchorTime added in v1.1.41

func (rc *CalendarEventListReqCall) SetAnchorTime(anchorTime string)

func (*CalendarEventListReqCall) SetCalendarId

func (rc *CalendarEventListReqCall) SetCalendarId(calendarId string)

func (*CalendarEventListReqCall) SetEndTime added in v1.1.41

func (rc *CalendarEventListReqCall) SetEndTime(endTime string)

func (*CalendarEventListReqCall) SetPageSize

func (rc *CalendarEventListReqCall) SetPageSize(pageSize int)

func (*CalendarEventListReqCall) SetPageToken

func (rc *CalendarEventListReqCall) SetPageToken(pageToken string)

func (*CalendarEventListReqCall) SetStartTime added in v1.1.41

func (rc *CalendarEventListReqCall) SetStartTime(startTime string)

func (*CalendarEventListReqCall) SetSyncToken

func (rc *CalendarEventListReqCall) SetSyncToken(syncToken string)

type CalendarEventListResult

type CalendarEventListResult 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 CalendarEventPatchReqCall

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

func (*CalendarEventPatchReqCall) Do

func (*CalendarEventPatchReqCall) SetCalendarId

func (rc *CalendarEventPatchReqCall) SetCalendarId(calendarId string)

func (*CalendarEventPatchReqCall) SetEventId

func (rc *CalendarEventPatchReqCall) SetEventId(eventId string)

type CalendarEventPatchResult

type CalendarEventPatchResult struct {
	Event *CalendarEvent `json:"event,omitempty"`
}

type CalendarEventSearchReqBody added in v1.1.9

type CalendarEventSearchReqBody struct {
	Query           string             `json:"query,omitempty"`
	Filter          *EventSearchFilter `json:"filter,omitempty"`
	ForceSendFields []string           `json:"-"`
}

func (*CalendarEventSearchReqBody) MarshalJSON added in v1.1.21

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

type CalendarEventSearchReqCall added in v1.1.9

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

func (*CalendarEventSearchReqCall) Do added in v1.1.9

func (*CalendarEventSearchReqCall) SetCalendarId added in v1.1.9

func (rc *CalendarEventSearchReqCall) SetCalendarId(calendarId string)

func (*CalendarEventSearchReqCall) SetPageSize added in v1.1.9

func (rc *CalendarEventSearchReqCall) SetPageSize(pageSize int)

func (*CalendarEventSearchReqCall) SetPageToken added in v1.1.9

func (rc *CalendarEventSearchReqCall) SetPageToken(pageToken string)

func (*CalendarEventSearchReqCall) SetUserIdType added in v1.1.9

func (rc *CalendarEventSearchReqCall) SetUserIdType(userIdType string)

type CalendarEventSearchResult added in v1.1.9

type CalendarEventSearchResult struct {
	Items     []*CalendarEvent `json:"items,omitempty"`
	PageToken string           `json:"page_token,omitempty"`
}

type CalendarEventService

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

func (*CalendarEventService) Create

func (calendarEvents *CalendarEventService) Create(ctx *core.Context, body *CalendarEvent, optFns ...request.OptFn) *CalendarEventCreateReqCall

func (*CalendarEventService) Delete

func (calendarEvents *CalendarEventService) Delete(ctx *core.Context, optFns ...request.OptFn) *CalendarEventDeleteReqCall

func (*CalendarEventService) Get

func (calendarEvents *CalendarEventService) Get(ctx *core.Context, optFns ...request.OptFn) *CalendarEventGetReqCall

func (*CalendarEventService) List

func (calendarEvents *CalendarEventService) List(ctx *core.Context, optFns ...request.OptFn) *CalendarEventListReqCall

func (*CalendarEventService) Patch

func (calendarEvents *CalendarEventService) Patch(ctx *core.Context, body *CalendarEvent, optFns ...request.OptFn) *CalendarEventPatchReqCall

func (*CalendarEventService) Search added in v1.1.9

func (*CalendarEventService) Subscription added in v1.1.21

func (calendarEvents *CalendarEventService) Subscription(ctx *core.Context, optFns ...request.OptFn) *CalendarEventSubscriptionReqCall

type CalendarEventSubscriptionReqCall added in v1.1.21

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

func (*CalendarEventSubscriptionReqCall) Do added in v1.1.21

func (*CalendarEventSubscriptionReqCall) SetCalendarId added in v1.1.21

func (rc *CalendarEventSubscriptionReqCall) SetCalendarId(calendarId string)

type CalendarGetReqCall

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

func (*CalendarGetReqCall) Do

func (rc *CalendarGetReqCall) Do() (*Calendar, error)

func (*CalendarGetReqCall) SetCalendarId

func (rc *CalendarGetReqCall) SetCalendarId(calendarId string)

type CalendarListReqCall

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

func (*CalendarListReqCall) Do

func (*CalendarListReqCall) SetPageSize

func (rc *CalendarListReqCall) SetPageSize(pageSize int)

func (*CalendarListReqCall) SetPageToken

func (rc *CalendarListReqCall) SetPageToken(pageToken string)

func (*CalendarListReqCall) SetSyncToken

func (rc *CalendarListReqCall) SetSyncToken(syncToken string)

type CalendarListResult

type CalendarListResult struct {
	HasMore      bool        `json:"has_more,omitempty"`
	PageToken    string      `json:"page_token,omitempty"`
	SyncToken    string      `json:"sync_token,omitempty"`
	CalendarList []*Calendar `json:"calendar_list,omitempty"`
}

type CalendarPatchReqCall

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

func (*CalendarPatchReqCall) Do

func (*CalendarPatchReqCall) SetCalendarId

func (rc *CalendarPatchReqCall) SetCalendarId(calendarId string)

type CalendarPatchResult

type CalendarPatchResult struct {
	Calendar *Calendar `json:"calendar,omitempty"`
}

type CalendarSearchReqBody

type CalendarSearchReqBody struct {
	Query           string   `json:"query,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*CalendarSearchReqBody) MarshalJSON added in v1.1.21

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

type CalendarSearchReqCall

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

func (*CalendarSearchReqCall) Do

func (*CalendarSearchReqCall) SetPageSize

func (rc *CalendarSearchReqCall) SetPageSize(pageSize int)

func (*CalendarSearchReqCall) SetPageToken

func (rc *CalendarSearchReqCall) SetPageToken(pageToken string)

type CalendarSearchResult

type CalendarSearchResult struct {
	Items     []*Calendar `json:"items,omitempty"`
	PageToken string      `json:"page_token,omitempty"`
}

type CalendarService

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

func (*CalendarService) Create

func (calendars *CalendarService) Create(ctx *core.Context, body *Calendar, optFns ...request.OptFn) *CalendarCreateReqCall

func (*CalendarService) Delete

func (calendars *CalendarService) Delete(ctx *core.Context, optFns ...request.OptFn) *CalendarDeleteReqCall

func (*CalendarService) Get

func (calendars *CalendarService) Get(ctx *core.Context, optFns ...request.OptFn) *CalendarGetReqCall

func (*CalendarService) List

func (calendars *CalendarService) List(ctx *core.Context, optFns ...request.OptFn) *CalendarListReqCall

func (*CalendarService) Patch

func (calendars *CalendarService) Patch(ctx *core.Context, body *Calendar, optFns ...request.OptFn) *CalendarPatchReqCall

func (*CalendarService) Search

func (calendars *CalendarService) Search(ctx *core.Context, body *CalendarSearchReqBody, optFns ...request.OptFn) *CalendarSearchReqCall

func (*CalendarService) Subscribe added in v1.1.9

func (calendars *CalendarService) Subscribe(ctx *core.Context, optFns ...request.OptFn) *CalendarSubscribeReqCall

func (*CalendarService) Subscription added in v1.1.21

func (calendars *CalendarService) Subscription(ctx *core.Context, optFns ...request.OptFn) *CalendarSubscriptionReqCall

func (*CalendarService) Unsubscribe added in v1.1.9

func (calendars *CalendarService) Unsubscribe(ctx *core.Context, optFns ...request.OptFn) *CalendarUnsubscribeReqCall

type CalendarSubscribeReqCall added in v1.1.9

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

func (*CalendarSubscribeReqCall) Do added in v1.1.9

func (*CalendarSubscribeReqCall) SetCalendarId added in v1.1.9

func (rc *CalendarSubscribeReqCall) SetCalendarId(calendarId string)

type CalendarSubscribeResult added in v1.1.9

type CalendarSubscribeResult struct {
	Calendar *Calendar `json:"calendar,omitempty"`
}

type CalendarSubscriptionReqCall added in v1.1.21

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

func (*CalendarSubscriptionReqCall) Do added in v1.1.21

type CalendarUnsubscribeReqCall added in v1.1.9

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

func (*CalendarUnsubscribeReqCall) Do added in v1.1.9

func (*CalendarUnsubscribeReqCall) SetCalendarId added in v1.1.9

func (rc *CalendarUnsubscribeReqCall) SetCalendarId(calendarId string)

type CustomizationOption added in v1.1.41

type CustomizationOption struct {
	OptionKey       string   `json:"option_key,omitempty"`
	OthersContent   string   `json:"others_content,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*CustomizationOption) MarshalJSON added in v1.1.41

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

type EventLocation

type EventLocation struct {
	Name            string   `json:"name,omitempty"`
	Address         string   `json:"address,omitempty"`
	Latitude        float64  `json:"latitude,omitempty"`
	Longitude       float64  `json:"longitude,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*EventLocation) MarshalJSON added in v1.1.21

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

type EventSearchFilter added in v1.1.9

type EventSearchFilter struct {
	StartTime       *TimeInfo `json:"start_time,omitempty"`
	EndTime         *TimeInfo `json:"end_time,omitempty"`
	UserIds         []string  `json:"user_ids,omitempty"`
	RoomIds         []string  `json:"room_ids,omitempty"`
	ChatIds         []string  `json:"chat_ids,omitempty"`
	ForceSendFields []string  `json:"-"`
}

func (*EventSearchFilter) MarshalJSON added in v1.1.21

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

type ExchangeBinding added in v1.1.38

type ExchangeBinding struct {
	AdminAccount      string   `json:"admin_account,omitempty"`
	ExchangeAccount   string   `json:"exchange_account,omitempty"`
	UserId            string   `json:"user_id,omitempty"`
	Status            string   `json:"status,omitempty"`
	ExchangeBindingId string   `json:"exchange_binding_id,omitempty"`
	ForceSendFields   []string `json:"-"`
}

func (*ExchangeBinding) MarshalJSON added in v1.1.38

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

type Freebusy

type Freebusy struct {
	StartTime       string   `json:"start_time,omitempty"`
	EndTime         string   `json:"end_time,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Freebusy) MarshalJSON added in v1.1.21

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

type FreebusyListReqBody

type FreebusyListReqBody struct {
	TimeMin         string   `json:"time_min,omitempty"`
	TimeMax         string   `json:"time_max,omitempty"`
	UserId          string   `json:"user_id,omitempty"`
	RoomId          string   `json:"room_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FreebusyListReqBody) MarshalJSON added in v1.1.21

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

type FreebusyListReqCall

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

func (*FreebusyListReqCall) Do

func (*FreebusyListReqCall) SetUserIdType

func (rc *FreebusyListReqCall) SetUserIdType(userIdType string)

type FreebusyListResult

type FreebusyListResult struct {
	FreebusyList []*Freebusy `json:"freebusy_list,omitempty"`
}

type FreebusyService

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

func (*FreebusyService) List

func (freebusys *FreebusyService) List(ctx *core.Context, body *FreebusyListReqBody, optFns ...request.OptFn) *FreebusyListReqCall

type Reminder

type Reminder struct {
	Minutes         int      `json:"minutes,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Reminder) MarshalJSON added in v1.1.21

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

type Schema

type Schema struct {
	UiName          string   `json:"ui_name,omitempty"`
	UiStatus        string   `json:"ui_status,omitempty"`
	AppLink         string   `json:"app_link,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Schema) MarshalJSON added in v1.1.21

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

type Service

type Service struct {
	Calendars                        *CalendarService
	CalendarAcls                     *CalendarAclService
	CalendarEvents                   *CalendarEventService
	CalendarEventAttendees           *CalendarEventAttendeeService
	CalendarEventAttendeeChatMembers *CalendarEventAttendeeChatMemberService
	Freebusys                        *FreebusyService
	Settings                         *SettingService
	TimeoffEvents                    *TimeoffEventService
	// contains filtered or unexported fields
}

func NewService

func NewService(conf *config.Config) *Service

type SettingGenerateCaldavConfReqBody added in v1.1.21

type SettingGenerateCaldavConfReqBody struct {
	DeviceName      string   `json:"device_name,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*SettingGenerateCaldavConfReqBody) MarshalJSON added in v1.1.21

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

type SettingGenerateCaldavConfReqCall added in v1.1.21

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

func (*SettingGenerateCaldavConfReqCall) Do added in v1.1.21

type SettingGenerateCaldavConfResult added in v1.1.21

type SettingGenerateCaldavConfResult struct {
	Password      string `json:"password,omitempty"`
	UserName      string `json:"user_name,omitempty"`
	ServerAddress string `json:"server_address,omitempty"`
	DeviceName    string `json:"device_name,omitempty"`
}

type SettingService added in v1.1.21

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

func (*SettingService) GenerateCaldavConf added in v1.1.21

func (settings *SettingService) GenerateCaldavConf(ctx *core.Context, body *SettingGenerateCaldavConfReqBody, optFns ...request.OptFn) *SettingGenerateCaldavConfReqCall

type TimeInfo

type TimeInfo struct {
	Date            string   `json:"date,omitempty"`
	Timestamp       string   `json:"timestamp,omitempty"`
	Timezone        string   `json:"timezone,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*TimeInfo) MarshalJSON added in v1.1.21

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

type TimeoffEvent added in v1.1.9

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"`
	ForceSendFields []string `json:"-"`
}

func (*TimeoffEvent) MarshalJSON added in v1.1.21

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

type TimeoffEventCreateReqCall added in v1.1.9

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

func (*TimeoffEventCreateReqCall) Do added in v1.1.9

func (*TimeoffEventCreateReqCall) SetUserIdType added in v1.1.9

func (rc *TimeoffEventCreateReqCall) SetUserIdType(userIdType string)

type TimeoffEventDeleteReqCall added in v1.1.9

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

func (*TimeoffEventDeleteReqCall) Do added in v1.1.9

func (*TimeoffEventDeleteReqCall) SetTimeoffEventId added in v1.1.9

func (rc *TimeoffEventDeleteReqCall) SetTimeoffEventId(timeoffEventId string)

type TimeoffEventService added in v1.1.9

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

func (*TimeoffEventService) Create added in v1.1.9

func (timeoffEvents *TimeoffEventService) Create(ctx *core.Context, body *TimeoffEvent, optFns ...request.OptFn) *TimeoffEventCreateReqCall

func (*TimeoffEventService) Delete added in v1.1.9

func (timeoffEvents *TimeoffEventService) Delete(ctx *core.Context, optFns ...request.OptFn) *TimeoffEventDeleteReqCall

type UserId added in v1.1.21

type UserId struct {
	UserId          string   `json:"user_id,omitempty"`
	OpenId          string   `json:"open_id,omitempty"`
	UnionId         string   `json:"union_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*UserId) MarshalJSON added in v1.1.21

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

type Vchat

type Vchat struct {
	VcType          string   `json:"vc_type,omitempty"`
	IconType        string   `json:"icon_type,omitempty"`
	Description     string   `json:"description,omitempty"`
	MeetingUrl      string   `json:"meeting_url,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Vchat) MarshalJSON added in v1.1.21

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

Jump to

Keyboard shortcuts

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