Package com.arcxp.content.extendedModels

Types

Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ArcXPContentElement(    val additional_properties: AdditionalProperties? = null,     val created_date: String? = null,     val display_date: String? = null,     val first_publish_date: String? = null,     val last_updated_date: String? = null,     val owner: Owner? = null,     val publish_date: Date? = null,     val publishing: Publishing? = null,     val revision: Revision? = null,     val type: String,     val version: String? = null,     val _id: String,     val website: String? = null,     val address: Address? = null,     val content_elements: List<ArcXPContentElement>? = null,     val caption: String? = null,     val credits: Credits? = null,     val geo: Geo? = null,     val height: Int? = null,     val width: Int? = null,     val licensable: Boolean? = null,     val newKeywords: String? = null,     val referent_properties: ReferentProperties? = null,     val selectedGalleries: List<String>? = null,     val subtitle: String? = null,     val taxonomy: Taxonomy? = null,     val url: String? = null,     val copyright: String? = null,     val description: Description? = null,     val headlines: Headline? = null,     val language: String? = null,     val location: String? = null,     @Json(name = "promo_items") val promoItem: PromoItem? = null,     val video_type: String? = null,     val canonical_url: String? = null,     val subtype: String? = null,     val content: String? = null,     val embed_html: String? = null,     val subheadlines: Subheadlines? = null,     val streams: List<Streams>? = null,     val duration: Long? = null,     val auth: Map<String, String>? = null)
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class ArcXPStory(    val _id: String?,     val type: String,     val version: String?,     val alignment: String?,     val created_date: Date?,     val last_updated_date: Date?,     val publish_date: Date?,     val first_publish_date: Date?,     val display_date: Date?,     val geo: Geo?,     val language: String?,     val location: String?,     val address: Address?,     val content_elements: List<StoryElement>?,     val related_content: Map<String, *>?,     val publishing: ArcXPStory.Publishing?,     val revision: Revision?,     val website: String?,     val websites: Map<String, SiteInfo>?,     val website_url: String?,     val short_url: String?,     val channels: List<String>?,     val owner: Owner?,     val credits: Credits?,     val vanity_credits: Credits?,     val editor_note: String?,     val taxonomy: Taxonomy?,     val copyright: String?,     val description: Description?,     val headlines: Headline?,     val subheadlines: Subheadlines?,     val label: Label?,     @Json(name = "promo_items") val promoItem: PromoItem?,     val content: String?,     val canonical_url: String?,     val canonical_website: String?,     val source: Source?,     val subtype: String?,     val planning: Planning?,     val pitches: Pitches?,     val syndication: Syndication?,     val distributor: Distributor?,     val tracking: Any?,     val comments: Comments?,     val slug: String?,     val content_restrictions: ContentRestrictions?,     val content_aliases: List<String>?,     val corrections: List<Correction>?,     val rendering_guides: List<RenderingGuide>?,     val status: String?,     val workFlow: WorkFlow?,     val additional_properties: Map<String, *>?,     val duration: Long?)

ArcXPStory - article ANS response object

Functions

Link copied to clipboard
fun ArcXPContentElement.author(): String
fun ArcXPStory.author(): String
Link copied to clipboard
fun ArcXPContentElement.date(): String
fun ArcXPStory.date(): String
Link copied to clipboard
fun ArcXPContentElement.description(): String
fun ArcXPStory.description(): String
Link copied to clipboard
fun ArcXPContentElement.fallback(): String
fun ArcXPStory.fallback(): String
Link copied to clipboard
fun ArcXPContentElement.imageUrl(): String
fun ArcXPStory.imageUrl(): String
Link copied to clipboard
fun ArcXPContentElement.isVideo(): Boolean
Link copied to clipboard
fun ArcXPStory.subheadlines(): String
Link copied to clipboard
fun ArcXPContentElement.thumbnail(): String
Link copied to clipboard
fun ArcXPContentElement.title(): String
fun ArcXPStory.title(): String
Link copied to clipboard
fun ArcXPStory.url(): String