com.gu.contentapi.client.model

CuratedContent

case class CuratedContent(id: String, sectionId: Option[String], sectionName: Option[String], webPublicationDate: DateTime, webTitle: String, webUrl: String, apiUrl: String, fields: Option[Map[String, String]] = scala.None, tags: List[Tag] = immutable.this.Nil, elements: Option[List[Element]], references: List[Reference] = immutable.this.Nil, isExpired: Option[Boolean] = scala.None, metadata: Option[CuratedMetadata]) extends ContentType with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, ContentType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CuratedContent
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ContentType
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CuratedContent(id: String, sectionId: Option[String], sectionName: Option[String], webPublicationDate: DateTime, webTitle: String, webUrl: String, apiUrl: String, fields: Option[Map[String, String]] = scala.None, tags: List[Tag] = immutable.this.Nil, elements: Option[List[Element]], references: List[Reference] = immutable.this.Nil, isExpired: Option[Boolean] = scala.None, metadata: Option[CuratedMetadata])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val apiUrl: String

    Full url on which full information about this content can be found on the content api.

    Full url on which full information about this content can be found on the content api. You need to access this to find, e.g. related content for the item.

    Definition Classes
    CuratedContentContentType
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val elements: Option[List[Element]]

    New representation to elements (assets lists) only returns if show-elements("all") or show-elements("image") is specified

    New representation to elements (assets lists) only returns if show-elements("all") or show-elements("image") is specified

    Definition Classes
    CuratedContentContentType
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. val fields: Option[Map[String, String]]

    Optional field list containing other variable information about this content.

    Optional field list containing other variable information about this content. (see safeFields for a more usable accessor). Fields are only returned if you specify showFields("xxx") on the request with either a comma separated list of fields or "all".

    Note that the set of fields returned vary per item of content, and may vary over time as the api evolves (although we will make every effort to maintain compatibility, we do not promise it).

    Definition Classes
    CuratedContentContentType
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. val id: String

    The id of this item of content: this should always be the path to the item on www.

    The id of this item of content: this should always be the path to the item on www.theguardian.com

    Definition Classes
    CuratedContentContentType
  15. val isExpired: Option[Boolean]

    Set to true if the rights to this content have expired.

    Set to true if the rights to this content have expired. Expired content is only available to internal users.

    Definition Classes
    CuratedContentContentType
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. val metadata: Option[CuratedMetadata]

  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. val references: List[Reference]

    List of references associated with the content.

    List of references associated with the content. References are strings that identify things beyond the content api. A good example is an isbn number, which associates a piece of content with a book.

    Use showReferences passing in the the type of reference you want to see or 'all' to see all references.

    Definition Classes
    CuratedContentContentType
  22. def safeFields: Map[String, String]

    Definition Classes
    ContentType
  23. val sectionId: Option[String]

    Section is usually provided: some content (such as user help information) does not belong to any section so this will be None

    Section is usually provided: some content (such as user help information) does not belong to any section so this will be None

    Definition Classes
    CuratedContentContentType
  24. val sectionName: Option[String]

    The display name of the section.

    The display name of the section. Will be None iff sectionId is None.

    Definition Classes
    CuratedContentContentType
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. val tags: List[Tag]

    List of tags associated with this content.

    List of tags associated with this content.

    Only returned if you specify showTags("xxx") on the request with either a comma separated list of tag types or "all".

    The order of tags is significant; tags towards the top of the list are considered editorially more important than those towards the end.

    Definition Classes
    CuratedContentContentType
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val webPublicationDate: DateTime

    The date and time when this content was published to the web.

    The date and time when this content was published to the web. Note that editors can set this field manually so does not necessarily exactly match when it actually appeared on the web. Current convention is that when "significant updates" are made to a story the web publication date is updated.

    Definition Classes
    CuratedContentContentType
  31. val webTitle: String

    Short description of this item of content.

    Short description of this item of content.

    Definition Classes
    CuratedContentContentType
  32. val webUrl: String

    Full url on which the content can be found on www.

    Full url on which the content can be found on www.theguardian.com

    Definition Classes
    CuratedContentContentType

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ContentType

Inherited from AnyRef

Inherited from Any

Ungrouped