Trait/Object

com.gu.contentatom.thrift

Tag

Related Docs: object Tag | package thrift

Permalink

trait Tag extends ThriftStruct with Product7[Long, Option[String], Option[String], Option[String], Option[String], Option[Section], Option[String]] with ValidatingThriftStruct[Tag] with Serializable

Prefer the companion object's com.gu.contentatom.thrift.Tag.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, ValidatingThriftStruct[Tag], HasThriftStructCodec3[Tag], Product7[Long, Option[String], Option[String], Option[String], Option[String], Option[Section], Option[String]], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Tag
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product7
  6. Product
  7. Equals
  8. ThriftStruct
  9. ThriftStructIface
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def externalName: Option[String]

    Permalink

    The external name of the tag

  2. abstract def id: Long

    Permalink

    The id of the tag.

    The id of the tag. This is the R2 id and can be used to look up the tag in the tagApi etc.

  3. abstract def internalName: Option[String]

    Permalink

    The internal name of the tag

  4. abstract def path: Option[String]

    Permalink

    The full path of the tag

  5. abstract def section: Option[Section]

    Permalink

    The section the tag belongs to

  6. abstract def slug: Option[String]

    Permalink

    The path fragment associated with the tag

  7. abstract def type: Option[String]

    Permalink

    The tag's type

Concrete 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: Long

    Permalink
    Definition Classes
    Tag → Product7
  5. def _2: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  6. def _3: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  7. def _4: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  8. def _5: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  9. def _6: Option[Section]

    Permalink
    Definition Classes
    Tag → Product7
  10. def _7: Option[String]

    Permalink
    Definition Classes
    Tag → Product7
  11. def _codec: ValidatingThriftStructCodec3[Tag]

    Permalink
    Definition Classes
    Tag → ValidatingThriftStruct → HasThriftStructCodec3
  12. def _passthroughFields: Map[Short, TFieldBlob]

    Permalink
  13. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def copy(id: Long = this.id, type: Option[String] = this.`type`, internalName: Option[String] = this.internalName, externalName: Option[String] = this.externalName, slug: Option[String] = this.slug, section: Option[Section] = this.section, path: Option[String] = this.path, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Tag

    Permalink
  17. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    Tag → Equals → AnyRef → Any
  19. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. 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.

  22. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

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

  23. def hashCode(): Int

    Permalink
    Definition Classes
    Tag → AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  26. def newBuilder(): StructBuilder[Tag]

    Permalink
  27. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  29. def productArity: Int

    Permalink
    Definition Classes
    Product7 → Product
  30. def productElement(n: Int): Any

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

    Permalink
    Definition Classes
    Product
  32. def productPrefix: String

    Permalink
    Definition Classes
    Tag → Product
  33. def setField(_blob: TFieldBlob): Tag

    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.

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

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    Tag → AnyRef → Any
  36. def toTuple: (Long, Option[String], Option[String], Option[String], Option[String], Option[Section], Option[String])

    Permalink
  37. def unsetExternalName: Tag

    Permalink
  38. def unsetField(_fieldId: Short): Tag

    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.

  39. def unsetId: Tag

    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.

  40. def unsetInternalName: Tag

    Permalink
  41. def unsetPath: Tag

    Permalink
  42. def unsetSection: Tag

    Permalink
  43. def unsetSlug: Tag

    Permalink
  44. def unsetType: Tag

    Permalink
  45. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    Tag → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[Tag]

Inherited from HasThriftStructCodec3[Tag]

Inherited from Product7[Long, Option[String], Option[String], Option[String], Option[String], Option[Section], Option[String]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped