Class/Object

com.gu.contentapi.client.model.v1.Section

Immutable

Related Docs: object Immutable | package Section

Permalink

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.

Linear Supertypes
Section, Serializable, Product6[String, String, String, String, Seq[Edition], Option[Seq[Sponsorship]]], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. Section
  3. Serializable
  4. Product6
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(id: String, webTitle: String, webUrl: String, apiUrl: String, editions: Seq[Edition] = ..., activeSponsorships: Option[Seq[Sponsorship]] = _root_.scala.None)

    Permalink
  2. new Immutable(id: String, webTitle: String, webUrl: String, apiUrl: String, editions: Seq[Edition], activeSponsorships: Option[Seq[Sponsorship]], _passthroughFields: Map[Short, TFieldBlob])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _1: String

    Permalink
    Definition Classes
    Section → Product6
  5. def _2: String

    Permalink
    Definition Classes
    Section → Product6
  6. def _3: String

    Permalink
    Definition Classes
    Section → Product6
  7. def _4: String

    Permalink
    Definition Classes
    Section → Product6
  8. def _5: Seq[Edition]

    Permalink
    Definition Classes
    Section → Product6
  9. def _6: Option[Seq[Sponsorship]]

    Permalink
    Definition Classes
    Section → Product6
  10. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableSection
  11. val activeSponsorships: Option[Seq[Sponsorship]]

    Permalink
    Definition Classes
    ImmutableSection
  12. val apiUrl: String

    Permalink
    Definition Classes
    ImmutableSection
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def canEqual(other: Any): Boolean

    Permalink
    Definition Classes
    Section → Equals
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. 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

    Permalink
    Definition Classes
    Section
  17. val editions: Seq[Edition]

    Permalink
    Definition Classes
    ImmutableSection
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Section → Equals → AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Permalink

    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
  23. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Permalink

    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
  24. def hashCode(): Int

    Permalink
    Definition Classes
    Section → AnyRef → Any
  25. val id: String

    Permalink
    Definition Classes
    ImmutableSection
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. def productArity: Int

    Permalink
    Definition Classes
    Section → Product6 → Product
  31. def productElement(n: Int): Any

    Permalink
    Definition Classes
    Section → Product6 → Product
  32. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  33. def productPrefix: String

    Permalink
    Definition Classes
    Section → Product
  34. def setField(_blob: TFieldBlob): Section

    Permalink

    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
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    Section → AnyRef → Any
  37. def unsetActiveSponsorships: Section

    Permalink
    Definition Classes
    Section
  38. def unsetApiUrl: Section

    Permalink
    Definition Classes
    Section
  39. def unsetEditions: Section

    Permalink
    Definition Classes
    Section
  40. def unsetField(_fieldId: Short): Section

    Permalink

    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
  41. def unsetId: Section

    Permalink

    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
  42. def unsetWebTitle: Section

    Permalink
    Definition Classes
    Section
  43. def unsetWebUrl: Section

    Permalink
    Definition Classes
    Section
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. val webTitle: String

    Permalink
    Definition Classes
    ImmutableSection
  48. val webUrl: String

    Permalink
    Definition Classes
    ImmutableSection
  49. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    Section → ThriftStruct

Inherited from Section

Inherited from Serializable

Inherited from Product6[String, String, String, String, Seq[Edition], Option[Seq[Sponsorship]]]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped