trait WitnessElementFields extends ThriftStruct with Product with ValidatingThriftStruct[WitnessElementFields] with Serializable
Prefer the companion object's com.gu.contentapi.client.model.v1.WitnessElementFields.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- WitnessElementFields
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def alt: Option[String]
- abstract def apiUrl: Option[String]
- abstract def authorGuardianProfileUrl: Option[String]
- abstract def authorName: Option[String]
- abstract def authorUsername: Option[String]
- abstract def authorWitnessProfileUrl: Option[String]
- abstract def caption: Option[String]
- abstract def dateCreated: Option[CapiDateTime]
- abstract def description: Option[String]
- abstract def height: Option[Int]
- abstract def html: Option[String]
- abstract def mediaId: Option[String]
- abstract def originalUrl: Option[String]
- abstract def photographer: Option[String]
- abstract def role: Option[String]
- abstract def source: Option[String]
- abstract def sourceDomain: Option[String]
- abstract def title: Option[String]
- abstract def url: Option[String]
- abstract def width: Option[Int]
- abstract def witnessEmbedType: Option[String]
- abstract def youtubeAuthorName: Option[String]
- abstract def youtubeDescription: Option[String]
- abstract def youtubeHtml: Option[String]
- abstract def youtubeSource: Option[String]
- abstract def youtubeTitle: Option[String]
- abstract def youtubeUrl: 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]
- def _10: Option[String]
- def _11: Option[String]
- def _12: Option[String]
- def _13: Option[String]
- def _14: Option[Int]
- def _15: Option[Int]
- def _16: Option[String]
- def _17: Option[String]
- def _18: Option[String]
- def _19: Option[CapiDateTime]
- def _2: Option[String]
- def _20: Option[String]
- def _21: Option[String]
- def _22: Option[String]
- def _23: Option[String]
- def _24: Option[String]
- def _25: Option[String]
- def _26: Option[String]
- def _27: Option[String]
- def _3: Option[String]
- def _4: Option[String]
- def _5: Option[String]
- def _6: Option[String]
- def _7: Option[String]
- def _8: Option[String]
- def _9: Option[String]
- def _codec: ValidatingThriftStructCodec3[WitnessElementFields]
- Definition Classes
- WitnessElementFields → ValidatingThriftStruct → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- WitnessElementFields → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(url: Option[String] = this.url, originalUrl: Option[String] = this.originalUrl, witnessEmbedType: Option[String] = this.witnessEmbedType, mediaId: Option[String] = this.mediaId, source: Option[String] = this.source, title: Option[String] = this.title, description: Option[String] = this.description, authorName: Option[String] = this.authorName, authorUsername: Option[String] = this.authorUsername, authorWitnessProfileUrl: Option[String] = this.authorWitnessProfileUrl, authorGuardianProfileUrl: Option[String] = this.authorGuardianProfileUrl, caption: Option[String] = this.caption, alt: Option[String] = this.alt, width: Option[Int] = this.width, height: Option[Int] = this.height, html: Option[String] = this.html, apiUrl: Option[String] = this.apiUrl, photographer: Option[String] = this.photographer, dateCreated: Option[CapiDateTime] = this.dateCreated, youtubeUrl: Option[String] = this.youtubeUrl, youtubeSource: Option[String] = this.youtubeSource, youtubeTitle: Option[String] = this.youtubeTitle, youtubeDescription: Option[String] = this.youtubeDescription, youtubeAuthorName: Option[String] = this.youtubeAuthorName, youtubeHtml: Option[String] = this.youtubeHtml, role: Option[String] = this.role, sourceDomain: Option[String] = this.sourceDomain, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): WitnessElementFields
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- WitnessElementFields → 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
- WitnessElementFields → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[WitnessElementFields]
- 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
- WitnessElementFields → Product
- def productElement(n: Int): Any
- Definition Classes
- WitnessElementFields → Product
- 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
- WitnessElementFields → Product
- def setField(_blob: TFieldBlob): WitnessElementFields
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
- WitnessElementFields → AnyRef → Any
- def unsetAlt: WitnessElementFields
- def unsetApiUrl: WitnessElementFields
- def unsetAuthorGuardianProfileUrl: WitnessElementFields
- def unsetAuthorName: WitnessElementFields
- def unsetAuthorUsername: WitnessElementFields
- def unsetAuthorWitnessProfileUrl: WitnessElementFields
- def unsetCaption: WitnessElementFields
- def unsetDateCreated: WitnessElementFields
- def unsetDescription: WitnessElementFields
- def unsetField(_fieldId: Short): WitnessElementFields
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 unsetHeight: WitnessElementFields
- def unsetHtml: WitnessElementFields
- def unsetMediaId: WitnessElementFields
- def unsetOriginalUrl: WitnessElementFields
- def unsetPhotographer: WitnessElementFields
- def unsetRole: WitnessElementFields
- def unsetSource: WitnessElementFields
- def unsetSourceDomain: WitnessElementFields
- def unsetTitle: WitnessElementFields
- def unsetUrl: WitnessElementFields
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 unsetWidth: WitnessElementFields
- def unsetWitnessEmbedType: WitnessElementFields
- def unsetYoutubeAuthorName: WitnessElementFields
- def unsetYoutubeDescription: WitnessElementFields
- def unsetYoutubeHtml: WitnessElementFields
- def unsetYoutubeSource: WitnessElementFields
- def unsetYoutubeTitle: WitnessElementFields
- def unsetYoutubeUrl: WitnessElementFields
- 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
- WitnessElementFields → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)