Documentation ¶
Index ¶
- type API
- type By
- type Comments
- type ContentElementHeading
- type ContentElementImage
- type ContentElementList
- type ContentElementOembed
- type ContentElementText
- type ContentElementType
- type Contents
- type Credits
- type Description
- type Distributor
- type Eyebrows
- type Headlines
- type Image
- type Label
- type Owner
- type Planning
- type PromoCredit
- type PromoItems
- type Publishing
- type RawOembed
- type Revision
- type ScheduledOperations
- type Scheduling
- type SocialLinks
- type Source
- type StoryLength
- type Subheadlines
- type Syndication
- type Taxonomy
- type Workflow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentElementHeading ¶
type ContentElementImage ¶
type ContentElementList ¶
type ContentElementOembed ¶
type ContentElementOembed struct {
RawOembed RawOembed `json:"raw_oembed"`
}
type ContentElementText ¶
type ContentElementText struct {
Content *string `json:"content"`
}
type ContentElementType ¶
type ContentElementType struct {
Type *string `json:"type"`
}
type Contents ¶
type Contents struct { CanonicalURL string `json:"canonical_url"` CanonicalWebsite string `json:"canonical_website"` Comments Comments `json:"comments"` ContentElements []*json.RawMessage `json:"content_elements"` CreatedDate time.Time `json:"created_date"` Credits Credits `json:"credits"` Description Description `json:"description"` DisplayDate time.Time `json:"display_date,omitempty"` Distributor Distributor `json:"distributor"` FirstPublishDate time.Time `json:"first_publish_date,omitempty"` Headlines Headlines `json:"headlines"` ID string `json:"_id"` Label Label `json:"label"` Language string `json:"language"` LastUpdatedDate time.Time `json:"last_updated_date"` Owner Owner `json:"owner"` Planning Planning `json:"planning"` PromoItems PromoItems `json:"promo_items"` PublishDate time.Time `json:"publish_date,omitempty"` Publishing Publishing `json:"publishing"` Slug string `json:"slug"` Source Source `json:"source"` Subheadlines Subheadlines `json:"subheadlines"` Subtype string `json:"subtype"` Syndication Syndication `json:"syndication"` Type string `json:"type"` Version string `json:"version"` Website string `json:"website"` WebsiteURL string `json:"website_url,omitempty"` Workflow Workflow `json:"workflow,omitempty"` }
type Description ¶
type Description struct {
Basic string `json:"basic"`
}
type Distributor ¶
type Planning ¶
type Planning struct { Scheduling Scheduling `json:"scheduling"` InternalNote string `json:"internal_note"` StoryLength StoryLength `json:"story_length"` BudgetLine string `json:"budget_line"` }
type PromoCredit ¶
type PromoItems ¶
type PromoItems struct { Basic struct { ID string `json:"_id"` AdditionalProperties struct { FullSizeResizeURL string `json:"fullSizeResizeUrl"` Galleries []interface{} `json:"galleries"` MimeType string `json:"mime_type"` OriginalName string `json:"originalName"` OriginalURL string `json:"originalUrl"` ProxyURL string `json:"proxyUrl"` Published bool `json:"published"` ResizeURL string `json:"resizeUrl"` Restricted bool `json:"restricted"` TakenOn time.Time `json:"takenOn"` Version int `json:"version"` } `json:"additional_properties"` Caption string `json:"caption"` CreatedDate time.Time `json:"created_date"` Credits PromoCredit `json:"credits"` Distributor struct { AdditionalProperties struct { } `json:"additional_properties"` Category string `json:"category"` Name string `json:"name"` } `json:"distributor"` Height int `json:"height"` LastUpdatedDate time.Time `json:"last_updated_date"` Licensable bool `json:"licensable"` Owner struct { ID string `json:"id"` Name string `json:"name"` } `json:"owner"` Source struct { AdditionalProperties struct { ClickabilityID string `json:"clickability_id"` } `json:"additional_properties"` Name string `json:"name"` SourceID string `json:"source_id"` SourceType string `json:"source_type"` System string `json:"system"` } `json:"source"` Type string `json:"type"` URL string `json:"url"` Version string `json:"version"` Width int `json:"width"` } `json:"basic"` }
type Publishing ¶
type Publishing struct {
ScheduledOperations ScheduledOperations `json:"scheduled_operations"`
}
type RawOembed ¶
type RawOembed struct { ID string `json:"_id"` AuthorName string `json:"author_name"` AuthorURL string `json:"author_url"` CacheAge string `json:"cache_age"` HTML string `json:"html"` ProviderName string `json:"provider_name"` ProviderURL string `json:"provider_url"` Type string `json:"type"` URL string `json:"url"` Version string `json:"version"` Width int `json:"width"` }
type ScheduledOperations ¶
type ScheduledOperations struct { PublishEdition []interface{} `json:"publish_edition"` UnpublishEdition []interface{} `json:"unpublish_edition"` }
type Scheduling ¶
type SocialLinks ¶
type StoryLength ¶
type Subheadlines ¶
type Subheadlines struct {
Basic string `json:"basic"`
}
type Syndication ¶
Click to show internal directories.
Click to hide internal directories.