Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block struct { Object string `json:"object,omitempty"` Id string `json:"id,omitempty"` Properties struct { ID struct { RichText []struct { Text struct { Content string `json:"content,omitempty"` } `json:"text,omitempty"` } `json:"rich_text,omitempty"` } `json:"id,omitempty"` } `json:"properties,omitempty"` }
type NotionDatabaseQueryResp ¶
type NotionDatabaseQueryResp struct { Object string `json:"object,omitempty"` Results []Block `json:"results,omitempty"` NextCursor interface{} `json:"next_cursor,omitempty"` HasMore bool `json:"has_more,omitempty"` }
func (*NotionDatabaseQueryResp) GetArticleIds ¶
func (r *NotionDatabaseQueryResp) GetArticleIds() []string
type NotionYouTubePage ¶
type NotionYouTubePage struct { Parent struct { DatabaseId string `json:"database_id,omitempty"` } `json:"parent,omitempty"` Properties NotionYouTubePageProperties `json:"properties,omitempty"` Children []interface{} `json:"children,omitempty"` }
func BuildCreateEntity ¶
func BuildCreateEntity(databaseId string, item *youtube.PlaylistItem) NotionYouTubePage
Click to show internal directories.
Click to hide internal directories.