class Immutable extends Section
The default read-only implementation of Section. You typically should not need to directly reference this class; instead, use the Section.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- Section
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product6
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(id: String, webTitle: String, webUrl: String, apiUrl: String, editions: Seq[Edition] = _root_.scala.collection.immutable.Nil, activeSponsorships: Option[Seq[Sponsorship]] = _root_.scala.None)
- new Immutable(id: String, webTitle: String, webUrl: String, apiUrl: String, editions: Seq[Edition], activeSponsorships: Option[Seq[Sponsorship]], _passthroughFields: Map[Short, TFieldBlob])
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
- Definition Classes
- Section → Product6
- def _2: String
- Definition Classes
- Section → Product6
- def _3: String
- Definition Classes
- Section → Product6
- def _4: String
- Definition Classes
- Section → Product6
- def _5: Seq[Edition]
- Definition Classes
- Section → Product6
- def _6: Option[Seq[Sponsorship]]
- Definition Classes
- Section → Product6
- def _codec: ValidatingThriftStructCodec3[Section]
- Definition Classes
- Section → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- val activeSponsorships: Option[Seq[Sponsorship]]
A list of all the active sponsorships running against this section
- val apiUrl: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- Section → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def copy(id: String = this.id, webTitle: String = this.webTitle, webUrl: String = this.webUrl, apiUrl: String = this.apiUrl, editions: Seq[Edition] = this.editions, activeSponsorships: Option[Seq[Sponsorship]] = this.activeSponsorships, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Section
- Definition Classes
- Section
- val editions: Seq[Edition]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Section → 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.
- Definition Classes
- Section
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- Section
- def hashCode(): Int
- Definition Classes
- Section → AnyRef → Any
- val id: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[Section]
- Definition Classes
- Section
- 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
- Product6 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product6 → 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
- Section → Product
- def setField(_blob: TFieldBlob): Section
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.
- Definition Classes
- Section
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Section → AnyRef → Any
- def toTuple: (String, String, String, String, Seq[Edition], Option[Seq[Sponsorship]])
- Definition Classes
- Section
- def unsetActiveSponsorships: Section
- Definition Classes
- Section
- def unsetApiUrl: Section
- Definition Classes
- Section
- def unsetEditions: Section
- Definition Classes
- Section
- def unsetField(_fieldId: Short): Section
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.
- Definition Classes
- Section
- def unsetId: Section
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.
- Definition Classes
- Section
- def unsetWebTitle: Section
- Definition Classes
- Section
- def unsetWebUrl: Section
- Definition Classes
- Section
- 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])
- val webTitle: String
- val webUrl: String
- def write(_oprot: TProtocol): Unit
- Definition Classes
- Section → ThriftStruct
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)