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.
- Alphabetic
- By Inheritance
- CommentElementFields
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product12
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def authorName: Option[String]
- abstract def authorUrl: Option[String]
- abstract def commentId: Option[Int]
- abstract def commentUrl: Option[String]
- abstract def discussionKey: Option[String]
- abstract def discussionUrl: Option[String]
- abstract def html: Option[String]
- abstract def isMandatory: Option[Boolean]
- abstract def originalUrl: Option[String]
- abstract def role: Option[String]
- abstract def source: Option[String]
- abstract def sourceUrl: Option[String]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _1: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _10: Option[Int]
- Definition Classes
- CommentElementFields → Product12
- def _11: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _12: Option[Boolean]
- Definition Classes
- CommentElementFields → Product12
- def _2: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _3: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _4: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _5: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _6: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _7: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _8: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _9: Option[String]
- Definition Classes
- CommentElementFields → Product12
- def _codec: ValidatingThriftStructCodec3[CommentElementFields]
- Definition Classes
- CommentElementFields → ValidatingThriftStruct → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- CommentElementFields → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- CommentElementFields → Equals → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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.
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map. - def hashCode(): Int
- Definition Classes
- CommentElementFields → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[CommentElementFields]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productArity: Int
- Definition Classes
- Product12 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product12 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- CommentElementFields → Product
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- CommentElementFields → AnyRef → Any
- 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])
- def unsetAuthorName: CommentElementFields
- def unsetAuthorUrl: CommentElementFields
- def unsetCommentId: CommentElementFields
- def unsetCommentUrl: CommentElementFields
- def unsetDiscussionKey: CommentElementFields
- def unsetDiscussionUrl: CommentElementFields
- 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.
- def unsetHtml: CommentElementFields
- def unsetIsMandatory: CommentElementFields
- def unsetOriginalUrl: CommentElementFields
- def unsetRole: CommentElementFields
- 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.
- def unsetSourceUrl: CommentElementFields
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(_oprot: TProtocol): Unit
- Definition Classes
- CommentElementFields → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)