Class/Object

com.gu.contentatom.thrift.atom.timeline.TimelineItem

Immutable

Related Docs: object Immutable | package TimelineItem

Permalink

class Immutable extends TimelineItem

The default read-only implementation of TimelineItem. You typically should not need to directly reference this class; instead, use the TimelineItem.apply method to construct new instances.

Linear Supertypes
TimelineItem, Serializable, ValidatingThriftStruct[TimelineItem], HasThriftStructCodec3[TimelineItem], Product6[String, Long, Option[String], Option[Seq[Entity]], Option[String], Option[Long]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. TimelineItem
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product6
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(title: String, date: Long, body: Option[String] = _root_.scala.None, entities: Option[Seq[Entity]] = _root_.scala.None, dateFormat: Option[String] = _root_.scala.None, toDate: Option[Long] = _root_.scala.None)

    Permalink
  2. new Immutable(title: String, date: Long, body: Option[String], entities: Option[Seq[Entity]], dateFormat: Option[String], toDate: Option[Long], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: String

    Permalink
    Definition Classes
    TimelineItem → Product6
  5. def _2: Long

    Permalink
    Definition Classes
    TimelineItem → Product6
  6. def _3: Option[String]

    Permalink
    Definition Classes
    TimelineItem → Product6
  7. def _4: Option[Seq[Entity]]

    Permalink
    Definition Classes
    TimelineItem → Product6
  8. def _5: Option[String]

    Permalink
    Definition Classes
    TimelineItem → Product6
  9. def _6: Option[Long]

    Permalink
    Definition Classes
    TimelineItem → Product6
  10. def _codec: ValidatingThriftStructCodec3[TimelineItem]

    Permalink
    Definition Classes
    TimelineItem → ValidatingThriftStruct → HasThriftStructCodec3
  11. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableTimelineItem
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. val body: Option[String]

    Permalink
    Definition Classes
    ImmutableTimelineItem
  14. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    TimelineItem → Equals
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def copy(title: String = this.title, date: Long = this.date, body: Option[String] = this.body, entities: Option[Seq[Entity]] = this.entities, dateFormat: Option[String] = this.dateFormat, toDate: Option[Long] = this.toDate, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): TimelineItem

    Permalink
    Definition Classes
    TimelineItem
  17. val date: Long

    Permalink
    Definition Classes
    ImmutableTimelineItem
  18. val dateFormat: Option[String]

    Permalink
    Definition Classes
    ImmutableTimelineItem
  19. val entities: Option[Seq[Entity]]

    Permalink
    Definition Classes
    ImmutableTimelineItem
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    TimelineItem → Equals → AnyRef → Any
  22. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

    Definition Classes
    TimelineItem
  25. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

    Definition Classes
    TimelineItem
  26. def hashCode(): Int

    Permalink
    Definition Classes
    TimelineItem → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  29. def newBuilder(): StructBuilder[TimelineItem]

    Permalink
    Definition Classes
    TimelineItem
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. def productArity: Int

    Permalink
    Definition Classes
    Product6 → Product
  33. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product6 → Product
    Annotations
    @throws( ... )
  34. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  35. def productPrefix: String

    Permalink
    Definition Classes
    TimelineItem → Product
  36. def setField(_blob: TFieldBlob): TimelineItem

    Permalink

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

    Definition Classes
    TimelineItem
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. val title: String

    Permalink
    Definition Classes
    ImmutableTimelineItem
  39. val toDate: Option[Long]

    Permalink
    Definition Classes
    ImmutableTimelineItem
  40. def toString(): String

    Permalink
    Definition Classes
    TimelineItem → AnyRef → Any
  41. def toTuple: (String, Long, Option[String], Option[Seq[Entity]], Option[String], Option[Long])

    Permalink
    Definition Classes
    TimelineItem
  42. def unsetBody: TimelineItem

    Permalink
    Definition Classes
    TimelineItem
  43. def unsetDate: TimelineItem

    Permalink
    Definition Classes
    TimelineItem
  44. def unsetDateFormat: TimelineItem

    Permalink
    Definition Classes
    TimelineItem
  45. def unsetEntities: TimelineItem

    Permalink
    Definition Classes
    TimelineItem
  46. def unsetField(_fieldId: Short): TimelineItem

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    TimelineItem
  47. def unsetTitle: TimelineItem

    Permalink

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

    Definition Classes
    TimelineItem
  48. def unsetToDate: TimelineItem

    Permalink
    Definition Classes
    TimelineItem
  49. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    TimelineItem → ThriftStruct

Inherited from TimelineItem

Inherited from Serializable

Inherited from ValidatingThriftStruct[TimelineItem]

Inherited from HasThriftStructCodec3[TimelineItem]

Inherited from Product6[String, Long, Option[String], Option[Seq[Entity]], Option[String], Option[Long]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped