object CommentElementFields extends ValidatingThriftStructCodec3[CommentElementFields] with StructBuilderFactory[CommentElementFields] with Serializable
- Alphabetic
- By Inheritance
- CommentElementFields
- Serializable
- StructBuilderFactory
- ValidatingThriftStructCodec3
- ThriftStructCodec3
- ThriftStructCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- class Immutable extends CommentElementFields
The default read-only implementation of CommentElementFields.
The default read-only implementation of CommentElementFields. You typically should not need to directly reference this class; instead, use the CommentElementFields.apply method to construct new instances.
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
- val AuthorNameField: TField
- val AuthorNameFieldManifest: Manifest[String]
- val AuthorUrlField: TField
- val AuthorUrlFieldManifest: Manifest[String]
- val CommentIdField: TField
- val CommentIdFieldManifest: Manifest[Int]
- val CommentUrlField: TField
- val CommentUrlFieldManifest: Manifest[String]
- val DiscussionKeyField: TField
- val DiscussionKeyFieldManifest: Manifest[String]
- val DiscussionUrlField: TField
- val DiscussionUrlFieldManifest: Manifest[String]
- val HtmlField: TField
- val HtmlFieldManifest: Manifest[String]
- val IsMandatoryField: TField
- val IsMandatoryFieldManifest: Manifest[Boolean]
- val OriginalUrlField: TField
- val OriginalUrlFieldManifest: Manifest[String]
- val RoleField: TField
- val RoleFieldManifest: Manifest[String]
- val SourceField: TField
- val SourceFieldManifest: Manifest[String]
- val SourceUrlField: TField
- val SourceUrlFieldManifest: Manifest[String]
- val Struct: TStruct
- def apply(source: Option[String] = _root_.scala.None, discussionKey: Option[String] = _root_.scala.None, commentUrl: Option[String] = _root_.scala.None, originalUrl: Option[String] = _root_.scala.None, sourceUrl: Option[String] = _root_.scala.None, discussionUrl: Option[String] = _root_.scala.None, authorUrl: Option[String] = _root_.scala.None, html: Option[String] = _root_.scala.None, authorName: Option[String] = _root_.scala.None, commentId: Option[Int] = _root_.scala.None, role: Option[String] = _root_.scala.None, isMandatory: Option[Boolean] = _root_.scala.None): CommentElementFields
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def decode(_iprot: TProtocol): CommentElementFields
- Definition Classes
- CommentElementFields → ThriftStructCodec
- def encode(_item: CommentElementFields, _oproto: TProtocol): Unit
- Definition Classes
- CommentElementFields → ThriftStructCodec
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- lazy val fieldInfos: List[ThriftStructFieldInfo]
Field information in declaration order.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val metaData: ThriftStructMetaData[CommentElementFields]
- Definition Classes
- CommentElementFields → ThriftStructCodec
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[CommentElementFields]
- Definition Classes
- CommentElementFields → StructBuilderFactory
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val structAnnotations: Map[String, String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def ttypeToString(byte: Byte): String
- Attributes
- protected
- Definition Classes
- ThriftStructCodec3
- def unapply(_item: CommentElementFields): Option[(Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[String], Option[Int], Option[String], Option[Boolean])]
- lazy val unsafeEmpty: CommentElementFields
- def validate(_item: CommentElementFields): Unit
Checks that all required fields are non-null.
- final def validateField[U <: ValidatingThriftStruct[U]](any: Any): Seq[Issue]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- final def validateFieldValue[U <: ValidatingThriftStruct[U]](fieldName: String, fieldValue: Any, fieldAnnotations: Map[String, String], thriftValidatorOpt: Option[ThriftValidator]): Set[ThriftValidationViolation]
- Attributes
- protected
- Definition Classes
- ValidatingThriftStructCodec3
- def validateInstanceValue(item: CommentElementFields): Set[ThriftValidationViolation]
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
Validate that all validation annotations on the struct meet the criteria defined in the corresponding com.twitter.scrooge.validation.ThriftConstraintValidator.
- Definition Classes
- CommentElementFields → ValidatingThriftStructCodec3
- def validateNewInstance(item: CommentElementFields): Seq[Issue]
Checks that the struct is a valid as a new instance.
Checks that the struct is a valid as a new instance. If there are any missing required or construction required fields, return a non-empty list.
- Definition Classes
- CommentElementFields → ValidatingThriftStructCodec3
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withoutPassthroughFields(original: CommentElementFields): CommentElementFields
- object Immutable extends ThriftStructCodec3[CommentElementFields] with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)