Packages

trait CommentElementFields extends ThriftStruct with Product12[Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Boolean]] with ValidatingThriftStruct[CommentElementFields] with Serializable

Prefer the companion object's com.gu.contentapi.client.model.v1.CommentElementFields.apply for construction if you don't need to specify passthrough fields.

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

Abstract Value Members

  1. abstract def authorName: Option[String]
  2. abstract def authorUrl: Option[String]
  3. abstract def commentId: Option[Int]
  4. abstract def commentUrl: Option[String]
  5. abstract def discussionKey: Option[String]
  6. abstract def discussionUrl: Option[String]
  7. abstract def html: Option[String]
  8. abstract def isMandatory: Option[Boolean]
  9. abstract def originalUrl: Option[String]
  10. abstract def role: Option[String]
  11. abstract def source: Option[String]
  12. abstract def sourceUrl: Option[String]

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. def _1: Option[String]
    Definition Classes
    CommentElementFields → Product12
  5. def _10: Option[Int]
    Definition Classes
    CommentElementFields → Product12
  6. def _11: Option[String]
    Definition Classes
    CommentElementFields → Product12
  7. def _12: Option[Boolean]
    Definition Classes
    CommentElementFields → Product12
  8. def _2: Option[String]
    Definition Classes
    CommentElementFields → Product12
  9. def _3: Option[String]
    Definition Classes
    CommentElementFields → Product12
  10. def _4: Option[String]
    Definition Classes
    CommentElementFields → Product12
  11. def _5: Option[String]
    Definition Classes
    CommentElementFields → Product12
  12. def _6: Option[String]
    Definition Classes
    CommentElementFields → Product12
  13. def _7: Option[String]
    Definition Classes
    CommentElementFields → Product12
  14. def _8: Option[String]
    Definition Classes
    CommentElementFields → Product12
  15. def _9: Option[String]
    Definition Classes
    CommentElementFields → Product12
  16. def _codec: ValidatingThriftStructCodec3[CommentElementFields]
    Definition Classes
    CommentElementFields → ValidatingThriftStruct → HasThriftStructCodec3
  17. def _passthroughFields: Map[Short, TFieldBlob]
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def canEqual(other: Any): Boolean
    Definition Classes
    CommentElementFields → Equals
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  21. def copy(source: Option[String] = this.source, discussionKey: Option[String] = this.discussionKey, commentUrl: Option[String] = this.commentUrl, originalUrl: Option[String] = this.originalUrl, sourceUrl: Option[String] = this.sourceUrl, discussionUrl: Option[String] = this.discussionUrl, authorUrl: Option[String] = this.authorUrl, html: Option[String] = this.html, authorName: Option[String] = this.authorName, commentId: Option[Int] = this.commentId, role: Option[String] = this.role, isMandatory: Option[Boolean] = this.isMandatory, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): CommentElementFields
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(other: Any): Boolean
    Definition Classes
    CommentElementFields → Equals → AnyRef → Any
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  25. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    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.

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

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

  27. def hashCode(): Int
    Definition Classes
    CommentElementFields → AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def newBuilder(): StructBuilder[CommentElementFields]
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  33. def productArity: Int
    Definition Classes
    Product12 → Product
  34. def productElement(n: Int): Any
    Definition Classes
    Product12 → Product
    Annotations
    @throws(classOf[java.lang.IndexOutOfBoundsException])
  35. def productElementName(n: Int): String
    Definition Classes
    Product
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. def productIterator: Iterator[Any]
    Definition Classes
    Product
  38. def productPrefix: String
    Definition Classes
    CommentElementFields → Product
  39. def setField(_blob: TFieldBlob): CommentElementFields

    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.

  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    CommentElementFields → AnyRef → Any
  42. def toTuple: (Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Boolean])
  43. def unsetAuthorName: CommentElementFields
  44. def unsetAuthorUrl: CommentElementFields
  45. def unsetCommentId: CommentElementFields
  46. def unsetCommentUrl: CommentElementFields
  47. def unsetDiscussionKey: CommentElementFields
  48. def unsetDiscussionUrl: CommentElementFields
  49. def unsetField(_fieldId: Short): CommentElementFields

    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.

  50. def unsetHtml: CommentElementFields
  51. def unsetIsMandatory: CommentElementFields
  52. def unsetOriginalUrl: CommentElementFields
  53. def unsetRole: CommentElementFields
  54. def unsetSource: CommentElementFields

    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.

  55. def unsetSourceUrl: CommentElementFields
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. def write(_oprot: TProtocol): Unit
    Definition Classes
    CommentElementFields → ThriftStruct

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from ValidatingThriftStruct[CommentElementFields]

Inherited from HasThriftStructCodec3[CommentElementFields]

Inherited from Product12[Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Boolean]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped