trait Content extends ThriftStruct with Product with ValidatingThriftStruct[Content] with Serializable
Prefer the companion object's com.gu.contentapi.client.model.v1.Content.apply for construction if you don't need to specify passthrough fields.
- Alphabetic
- By Inheritance
- Content
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def aliasPaths: Option[Seq[AliasPath]]
- abstract def apiUrl: String
- abstract def atoms: Option[Atoms]
- abstract def blocks: Option[Blocks]
- abstract def channels: Option[Seq[ContentChannel]]
- abstract def crossword: Option[Crossword]
- abstract def debug: Option[Debug]
- abstract def elements: Option[Seq[Element]]
- abstract def fields: Option[ContentFields]
- abstract def id: String
- abstract def isExpired: Option[Boolean]
- abstract def isGone: Option[Boolean]
- abstract def isHosted: Boolean
- abstract def pillarId: Option[String]
- abstract def pillarName: Option[String]
- abstract def references: Seq[Reference]
- abstract def rights: Option[Rights]
- abstract def schemaOrg: Option[SchemaOrg]
- abstract def section: Option[Section]
- abstract def sectionId: Option[String]
- abstract def sectionName: Option[String]
- abstract def stats: Option[ContentStats]
- abstract def tags: Seq[Tag]
- abstract def type: ContentType
- abstract def webPublicationDate: Option[CapiDateTime]
- abstract def webTitle: String
- abstract def webUrl: 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: String
- def _10: Seq[Tag]
- def _11: Option[Seq[Element]]
- def _12: Seq[Reference]
- def _13: Option[Boolean]
- def _14: Option[Blocks]
- def _15: Option[Rights]
- def _16: Option[Crossword]
- def _17: Option[Atoms]
- def _18: Option[ContentStats]
- def _19: Option[Section]
- def _2: ContentType
- def _20: Option[Debug]
- def _21: Option[Boolean]
- def _22: Boolean
- def _23: Option[String]
- def _24: Option[String]
- def _25: Option[Seq[AliasPath]]
- def _26: Option[Seq[ContentChannel]]
- def _27: Option[SchemaOrg]
- def _3: Option[String]
- def _4: Option[String]
- def _5: Option[CapiDateTime]
- def _6: String
- def _7: String
- def _8: String
- def _9: Option[ContentFields]
- def _codec: ValidatingThriftStructCodec3[Content]
- Definition Classes
- Content → ValidatingThriftStruct → HasThriftStructCodec3
- def _passthroughFields: Map[Short, TFieldBlob]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- Content → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(id: String = this.id, type: ContentType = this.`type`, sectionId: Option[String] = this.sectionId, sectionName: Option[String] = this.sectionName, webPublicationDate: Option[CapiDateTime] = this.webPublicationDate, webTitle: String = this.webTitle, webUrl: String = this.webUrl, apiUrl: String = this.apiUrl, fields: Option[ContentFields] = this.fields, tags: Seq[Tag] = this.tags, elements: Option[Seq[Element]] = this.elements, references: Seq[Reference] = this.references, isExpired: Option[Boolean] = this.isExpired, blocks: Option[Blocks] = this.blocks, rights: Option[Rights] = this.rights, crossword: Option[Crossword] = this.crossword, atoms: Option[Atoms] = this.atoms, stats: Option[ContentStats] = this.stats, section: Option[Section] = this.section, debug: Option[Debug] = this.debug, isGone: Option[Boolean] = this.isGone, isHosted: Boolean = this.isHosted, pillarId: Option[String] = this.pillarId, pillarName: Option[String] = this.pillarName, aliasPaths: Option[Seq[AliasPath]] = this.aliasPaths, channels: Option[Seq[ContentChannel]] = this.channels, schemaOrg: Option[SchemaOrg] = this.schemaOrg, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Content
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Content → 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
- Content → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[Content]
- 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
- Content → Product
- def productElement(n: Int): Any
- Definition Classes
- Content → 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
- Content → Product
- def setField(_blob: TFieldBlob): Content
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
- Content → AnyRef → Any
- def unsetAliasPaths: Content
- def unsetApiUrl: Content
- def unsetAtoms: Content
- def unsetBlocks: Content
- def unsetChannels: Content
- def unsetCrossword: Content
- def unsetDebug: Content
- def unsetElements: Content
- def unsetField(_fieldId: Short): Content
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 unsetFields: Content
- def unsetId: Content
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 unsetIsExpired: Content
- def unsetIsGone: Content
- def unsetIsHosted: Content
- def unsetPillarId: Content
- def unsetPillarName: Content
- def unsetReferences: Content
- def unsetRights: Content
- def unsetSchemaOrg: Content
- def unsetSection: Content
- def unsetSectionId: Content
- def unsetSectionName: Content
- def unsetStats: Content
- def unsetTags: Content
- def unsetType: Content
- def unsetWebPublicationDate: Content
- def unsetWebTitle: Content
- def unsetWebUrl: Content
- 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 write(_oprot: TProtocol): Unit
- Definition Classes
- Content → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)