Trait/Object

com.gu.contentatom.thrift.atom.quiz

QuizAtom

Related Docs: object QuizAtom | package quiz

Permalink

trait QuizAtom extends ThriftStruct with Product7[String, String, Boolean, Boolean, String, Option[Short], QuizContent] with ValidatingThriftStruct[QuizAtom] with Serializable

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

Linear Supertypes
Serializable, ValidatingThriftStruct[QuizAtom], HasThriftStructCodec3[QuizAtom], Product7[String, String, Boolean, Boolean, String, Option[Short], QuizContent], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QuizAtom
  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 content: QuizContent

    Permalink
  2. abstract def defaultColumns: Option[Short]

    Permalink
  3. abstract def id: String

    Permalink
  4. abstract def published: Boolean

    Permalink
  5. abstract def quizType: String

    Permalink
  6. abstract def revealAtEnd: Boolean

    Permalink
  7. abstract def title: String

    Permalink

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: String

    Permalink
    Definition Classes
    QuizAtom → Product7
  5. def _2: String

    Permalink
    Definition Classes
    QuizAtom → Product7
  6. def _3: Boolean

    Permalink
    Definition Classes
    QuizAtom → Product7
  7. def _4: Boolean

    Permalink
    Definition Classes
    QuizAtom → Product7
  8. def _5: String

    Permalink
    Definition Classes
    QuizAtom → Product7
  9. def _6: Option[Short]

    Permalink
    Definition Classes
    QuizAtom → Product7
  10. def _7: QuizContent

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

    Permalink
    Definition Classes
    QuizAtom → 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
    QuizAtom → Equals
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def copy(id: String = this.id, title: String = this.title, revealAtEnd: Boolean = this.revealAtEnd, published: Boolean = this.published, quizType: String = this.quizType, defaultColumns: Option[Short] = this.defaultColumns, content: QuizContent = this.content, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): QuizAtom

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

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

    Permalink
    Definition Classes
    QuizAtom → 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
    QuizAtom → 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[QuizAtom]

    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
    QuizAtom → Product
  33. def setField(_blob: TFieldBlob): QuizAtom

    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
    QuizAtom → AnyRef → Any
  36. def toTuple: (String, String, Boolean, Boolean, String, Option[Short], QuizContent)

    Permalink
  37. def unsetContent: QuizAtom

    Permalink
  38. def unsetDefaultColumns: QuizAtom

    Permalink
  39. def unsetField(_fieldId: Short): QuizAtom

    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 unsetId: QuizAtom

    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.

  41. def unsetPublished: QuizAtom

    Permalink
  42. def unsetQuizType: QuizAtom

    Permalink
  43. def unsetRevealAtEnd: QuizAtom

    Permalink
  44. def unsetTitle: QuizAtom

    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
    QuizAtom → ThriftStruct

Inherited from Serializable

Inherited from ValidatingThriftStruct[QuizAtom]

Inherited from HasThriftStructCodec3[QuizAtom]

Inherited from Product7[String, String, Boolean, Boolean, String, Option[Short], QuizContent]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped