Class/Object

com.gu.contentapi.client.model.v1.ItemResponse

Immutable

Related Docs: object Immutable | package ItemResponse

Permalink

class Immutable extends ItemResponse

The default read-only implementation of ItemResponse. You typically should not need to directly reference this class; instead, use the ItemResponse.apply method to construct new instances.

Linear Supertypes
ItemResponse, Serializable, ValidatingThriftStruct[ItemResponse], HasThriftStructCodec3[ItemResponse], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. ItemResponse
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product
  7. Equals
  8. ThriftStruct
  9. ThriftStructIface
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Immutable(status: String, userTier: String, total: Option[Int] = _root_.scala.None, startIndex: Option[Int] = _root_.scala.None, pageSize: Option[Int] = _root_.scala.None, currentPage: Option[Int] = _root_.scala.None, pages: Option[Int] = _root_.scala.None, orderBy: Option[String] = _root_.scala.None, content: Option[Content] = _root_.scala.None, tag: Option[Tag] = _root_.scala.None, edition: Option[Edition] = _root_.scala.None, section: Option[Section] = _root_.scala.None, results: Option[Seq[Content]] = _root_.scala.None, quiz: Option[Atom] = _root_.scala.None, relatedContent: Option[Seq[Content]] = _root_.scala.None, storyPackage: Option[Seq[Content]] = _root_.scala.None, editorsPicks: Option[Seq[Content]] = _root_.scala.None, mostViewed: Option[Seq[Content]] = _root_.scala.None, leadContent: Option[Seq[Content]] = _root_.scala.None, packages: Option[Seq[Package]] = _root_.scala.None, viewpoints: Option[Seq[Atom]] = _root_.scala.None, media: Option[Atom] = _root_.scala.None, explainer: Option[Atom] = _root_.scala.None, cta: Option[Atom] = _root_.scala.None, interactive: Option[Atom] = _root_.scala.None, review: Option[Atom] = _root_.scala.None, recipe: Option[Atom] = _root_.scala.None, qanda: Option[Atom] = _root_.scala.None, guide: Option[Atom] = _root_.scala.None, profile: Option[Atom] = _root_.scala.None, timeline: Option[Atom] = _root_.scala.None, commonsdivision: Option[Atom] = _root_.scala.None, chart: Option[Atom] = _root_.scala.None, audio: Option[Atom] = _root_.scala.None, emailsignup: Option[Atom] = _root_.scala.None)

    Permalink
  2. new Immutable(status: String, userTier: String, total: Option[Int], startIndex: Option[Int], pageSize: Option[Int], currentPage: Option[Int], pages: Option[Int], orderBy: Option[String], content: Option[Content], tag: Option[Tag], edition: Option[Edition], section: Option[Section], results: Option[Seq[Content]], quiz: Option[Atom], relatedContent: Option[Seq[Content]], storyPackage: Option[Seq[Content]], editorsPicks: Option[Seq[Content]], mostViewed: Option[Seq[Content]], leadContent: Option[Seq[Content]], packages: Option[Seq[Package]], viewpoints: Option[Seq[Atom]], media: Option[Atom], explainer: Option[Atom], cta: Option[Atom], interactive: Option[Atom], review: Option[Atom], recipe: Option[Atom], qanda: Option[Atom], guide: Option[Atom], profile: Option[Atom], timeline: Option[Atom], commonsdivision: Option[Atom], chart: Option[Atom], audio: Option[Atom], emailsignup: Option[Atom], _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
    ItemResponse
  5. def _10: Option[Tag]

    Permalink
    Definition Classes
    ItemResponse
  6. def _11: Option[Edition]

    Permalink
    Definition Classes
    ItemResponse
  7. def _12: Option[Section]

    Permalink
    Definition Classes
    ItemResponse
  8. def _13: Option[Seq[Content]]

    Permalink
    Definition Classes
    ItemResponse
  9. def _14: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  10. def _15: Option[Seq[Content]]

    Permalink
    Definition Classes
    ItemResponse
  11. def _16: Option[Seq[Content]]

    Permalink
    Definition Classes
    ItemResponse
  12. def _17: Option[Seq[Content]]

    Permalink
    Definition Classes
    ItemResponse
  13. def _18: Option[Seq[Content]]

    Permalink
    Definition Classes
    ItemResponse
  14. def _19: Option[Seq[Content]]

    Permalink
    Definition Classes
    ItemResponse
  15. def _2: String

    Permalink
    Definition Classes
    ItemResponse
  16. def _20: Option[Seq[Package]]

    Permalink
    Definition Classes
    ItemResponse
  17. def _21: Option[Seq[Atom]]

    Permalink
    Definition Classes
    ItemResponse
  18. def _22: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  19. def _23: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  20. def _24: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  21. def _25: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  22. def _26: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  23. def _27: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  24. def _28: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  25. def _29: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  26. def _3: Option[Int]

    Permalink
    Definition Classes
    ItemResponse
  27. def _30: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  28. def _31: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  29. def _32: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  30. def _33: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  31. def _34: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  32. def _35: Option[Atom]

    Permalink
    Definition Classes
    ItemResponse
  33. def _4: Option[Int]

    Permalink
    Definition Classes
    ItemResponse
  34. def _5: Option[Int]

    Permalink
    Definition Classes
    ItemResponse
  35. def _6: Option[Int]

    Permalink
    Definition Classes
    ItemResponse
  36. def _7: Option[Int]

    Permalink
    Definition Classes
    ItemResponse
  37. def _8: Option[String]

    Permalink
    Definition Classes
    ItemResponse
  38. def _9: Option[Content]

    Permalink
    Definition Classes
    ItemResponse
  39. def _codec: ValidatingThriftStructCodec3[ItemResponse]

    Permalink
    Definition Classes
    ItemResponse → ValidatingThriftStruct → HasThriftStructCodec3
  40. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableItemResponse
  41. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  42. val audio: Option[Atom]

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

    Permalink
    Definition Classes
    ItemResponse → Equals
  44. val chart: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  45. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. val commonsdivision: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  47. val content: Option[Content]

    Permalink
    Definition Classes
    ImmutableItemResponse
  48. def copy(status: String = this.status, userTier: String = this.userTier, total: Option[Int] = this.total, startIndex: Option[Int] = this.startIndex, pageSize: Option[Int] = this.pageSize, currentPage: Option[Int] = this.currentPage, pages: Option[Int] = this.pages, orderBy: Option[String] = this.orderBy, content: Option[Content] = this.content, tag: Option[Tag] = this.tag, edition: Option[Edition] = this.edition, section: Option[Section] = this.section, results: Option[Seq[Content]] = this.results, quiz: Option[Atom] = this.quiz, relatedContent: Option[Seq[Content]] = this.relatedContent, storyPackage: Option[Seq[Content]] = this.storyPackage, editorsPicks: Option[Seq[Content]] = this.editorsPicks, mostViewed: Option[Seq[Content]] = this.mostViewed, leadContent: Option[Seq[Content]] = this.leadContent, packages: Option[Seq[Package]] = this.packages, viewpoints: Option[Seq[Atom]] = this.viewpoints, media: Option[Atom] = this.media, explainer: Option[Atom] = this.explainer, cta: Option[Atom] = this.cta, interactive: Option[Atom] = this.interactive, review: Option[Atom] = this.review, recipe: Option[Atom] = this.recipe, qanda: Option[Atom] = this.qanda, guide: Option[Atom] = this.guide, profile: Option[Atom] = this.profile, timeline: Option[Atom] = this.timeline, commonsdivision: Option[Atom] = this.commonsdivision, chart: Option[Atom] = this.chart, audio: Option[Atom] = this.audio, emailsignup: Option[Atom] = this.emailsignup, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  49. val cta: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  50. val currentPage: Option[Int]

    Permalink
    Definition Classes
    ImmutableItemResponse
  51. val edition: Option[Edition]

    Permalink
    Definition Classes
    ImmutableItemResponse
  52. val editorsPicks: Option[Seq[Content]]

    Permalink
    Definition Classes
    ImmutableItemResponse
  53. val emailsignup: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  54. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    ItemResponse → Equals → AnyRef → Any
  56. val explainer: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  57. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  59. 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
    ItemResponse
  60. 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
    ItemResponse
  61. val guide: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  62. def hashCode(): Int

    Permalink
    Definition Classes
    ItemResponse → AnyRef → Any
  63. val interactive: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  64. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  65. val leadContent: Option[Seq[Content]]

    Permalink
    Definition Classes
    ImmutableItemResponse
  66. val media: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  67. val mostViewed: Option[Seq[Content]]

    Permalink
    Definition Classes
    ImmutableItemResponse
  68. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  69. def newBuilder(): StructBuilder[ItemResponse]

    Permalink
    Definition Classes
    ItemResponse
  70. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  72. val orderBy: Option[String]

    Permalink
    Definition Classes
    ImmutableItemResponse
  73. val packages: Option[Seq[Package]]

    Permalink
    Definition Classes
    ImmutableItemResponse
  74. val pageSize: Option[Int]

    Permalink
    Definition Classes
    ImmutableItemResponse
  75. val pages: Option[Int]

    Permalink
    Definition Classes
    ImmutableItemResponse
  76. def productArity: Int

    Permalink
    Definition Classes
    ItemResponse → Product
  77. def productElement(n: Int): Any

    Permalink
    Definition Classes
    ItemResponse → Product
  78. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  79. def productPrefix: String

    Permalink
    Definition Classes
    ItemResponse → Product
  80. val profile: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  81. val qanda: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  82. val quiz: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  83. val recipe: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  84. val relatedContent: Option[Seq[Content]]

    Permalink
    Definition Classes
    ImmutableItemResponse
  85. val results: Option[Seq[Content]]

    Permalink
    Definition Classes
    ImmutableItemResponse
  86. val review: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  87. val section: Option[Section]

    Permalink
    Definition Classes
    ImmutableItemResponse
  88. def setField(_blob: TFieldBlob): ItemResponse

    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
    ItemResponse
  89. val startIndex: Option[Int]

    Permalink
    Definition Classes
    ImmutableItemResponse
  90. val status: String

    Permalink
    Definition Classes
    ImmutableItemResponse
  91. val storyPackage: Option[Seq[Content]]

    Permalink
    Definition Classes
    ImmutableItemResponse
  92. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  93. val tag: Option[Tag]

    Permalink
    Definition Classes
    ImmutableItemResponse
  94. val timeline: Option[Atom]

    Permalink
    Definition Classes
    ImmutableItemResponse
  95. def toString(): String

    Permalink
    Definition Classes
    ItemResponse → AnyRef → Any
  96. val total: Option[Int]

    Permalink
    Definition Classes
    ImmutableItemResponse
  97. def unsetAudio: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  98. def unsetChart: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  99. def unsetCommonsdivision: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  100. def unsetContent: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  101. def unsetCta: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  102. def unsetCurrentPage: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  103. def unsetEdition: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  104. def unsetEditorsPicks: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  105. def unsetEmailsignup: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  106. def unsetExplainer: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  107. def unsetField(_fieldId: Short): ItemResponse

    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
    ItemResponse
  108. def unsetGuide: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  109. def unsetInteractive: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  110. def unsetLeadContent: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  111. def unsetMedia: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  112. def unsetMostViewed: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  113. def unsetOrderBy: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  114. def unsetPackages: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  115. def unsetPageSize: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  116. def unsetPages: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  117. def unsetProfile: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  118. def unsetQanda: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  119. def unsetQuiz: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  120. def unsetRecipe: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  121. def unsetRelatedContent: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  122. def unsetResults: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  123. def unsetReview: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  124. def unsetSection: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  125. def unsetStartIndex: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  126. def unsetStatus: ItemResponse

    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
    ItemResponse
  127. def unsetStoryPackage: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  128. def unsetTag: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  129. def unsetTimeline: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  130. def unsetTotal: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  131. def unsetUserTier: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  132. def unsetViewpoints: ItemResponse

    Permalink
    Definition Classes
    ItemResponse
  133. val userTier: String

    Permalink
    Definition Classes
    ImmutableItemResponse
  134. val viewpoints: Option[Seq[Atom]]

    Permalink

    Viewpoints are deprecated

    Viewpoints are deprecated

    Definition Classes
    ImmutableItemResponse
  135. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  138. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    ItemResponse → ThriftStruct

Inherited from ItemResponse

Inherited from Serializable

Inherited from ValidatingThriftStruct[ItemResponse]

Inherited from HasThriftStructCodec3[ItemResponse]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped