com.gu.contentapi.client.model

ContentType

sealed trait ContentType extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContentType
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract 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.

  2. abstract val elements: Option[List[Element]]

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

  3. abstract 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).

  4. abstract val id: String

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

  5. abstract 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.

  6. abstract 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.

  7. abstract 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

  8. abstract val sectionName: Option[String]

    The display name of the section.

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

  9. abstract 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.

  10. abstract 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.

  11. abstract val webTitle: String

    Short description of this item of content.

  12. abstract val webUrl: String

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

Concrete Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  15. def safeFields: Map[String, String]

  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  17. def toString(): String

    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped