v4

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

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

This section is empty.

Types

type AclScope

type AclScope struct {
	Type   string `json:"type,omitempty"`
	UserId string `json:"user_id,omitempty"`
}

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"`
}

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 CalendarAcl struct {
	AclId string    `json:"acl_id,omitempty"`
	Role  string    `json:"role,omitempty"`
	Scope *AclScope `json:"scope,omitempty"`
}

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 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 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)

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

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"`
	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"`
}

type CalendarEventAttendeeBatchDeleteReqBody

type CalendarEventAttendeeBatchDeleteReqBody struct {
	AttendeeIds []string `json:"attendee_ids,omitempty"`
}

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 CalendarEventAttendeeCreateReqBody

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

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 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)

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) SetCalendarId

func (rc *CalendarEventListReqCall) SetCalendarId(calendarId string)

func (*CalendarEventListReqCall) SetPageSize

func (rc *CalendarEventListReqCall) SetPageSize(pageSize int)

func (*CalendarEventListReqCall) SetPageToken

func (rc *CalendarEventListReqCall) SetPageToken(pageToken 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 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

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"`
}

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

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"`
}

type Freebusy

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

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"`
}

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"`
}

type Schema

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

type Service

type Service struct {
	Calendars              *CalendarService
	CalendarAcls           *CalendarAclService
	CalendarEvents         *CalendarEventService
	CalendarEventAttendees *CalendarEventAttendeeService
	Freebusys              *FreebusyService
	// contains filtered or unexported fields
}

func NewService

func NewService(conf *config.Config) *Service

type TimeInfo

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

type Vchat

type Vchat struct {
	MeetingUrl string `json:"meeting_url,omitempty"`
}

Jump to

Keyboard shortcuts

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