Class/Object

com.gu.contentapi.client.model.v1.ContentStats

Immutable

Related Docs: object Immutable | package ContentStats

Permalink

class Immutable extends ContentStats

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

Linear Supertypes
ContentStats, Serializable, Product14[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int], Product, Equals, ThriftStruct, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. ContentStats
  3. Serializable
  4. Product14
  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(videos: Int, images: Int, text: Int, tweets: Int, pullquotes: Int, audio: Int, interactives: Int, witness: Int, richlinks: Int, membership: Int, embeds: Int, comments: Int, instagram: Int, vines: Int)

    Permalink
  2. new Immutable(videos: Int, images: Int, text: Int, tweets: Int, pullquotes: Int, audio: Int, interactives: Int, witness: Int, richlinks: Int, membership: Int, embeds: Int, comments: Int, instagram: Int, vines: Int, _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: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  5. def _10: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  6. def _11: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  7. def _12: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  8. def _13: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  9. def _14: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  10. def _2: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  11. def _3: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  12. def _4: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  13. def _5: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  14. def _6: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  15. def _7: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  16. def _8: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  17. def _9: Int

    Permalink
    Definition Classes
    ContentStats → Product14
  18. val _passthroughFields: Map[Short, TFieldBlob]

    Permalink
    Definition Classes
    ImmutableContentStats
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. val audio: Int

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

    Permalink
    Definition Classes
    ContentStats → Equals
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. val comments: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  24. def copy(videos: Int = this.videos, images: Int = this.images, text: Int = this.text, tweets: Int = this.tweets, pullquotes: Int = this.pullquotes, audio: Int = this.audio, interactives: Int = this.interactives, witness: Int = this.witness, richlinks: Int = this.richlinks, membership: Int = this.membership, embeds: Int = this.embeds, comments: Int = this.comments, instagram: Int = this.instagram, vines: Int = this.vines, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): ContentStats

    Permalink
    Definition Classes
    ContentStats
  25. val embeds: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  26. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    ContentStats → Equals → AnyRef → Any
  28. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. 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
    ContentStats
  31. 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
    ContentStats
  32. def hashCode(): Int

    Permalink
    Definition Classes
    ContentStats → AnyRef → Any
  33. val images: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  34. val instagram: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  35. val interactives: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  36. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  37. val membership: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  38. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  41. def productArity: Int

    Permalink
    Definition Classes
    ContentStats → Product14 → Product
  42. def productElement(n: Int): Any

    Permalink
    Definition Classes
    ContentStats → Product14 → Product
  43. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  44. def productPrefix: String

    Permalink
    Definition Classes
    ContentStats → Product
  45. val pullquotes: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  46. val richlinks: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  47. def setField(_blob: TFieldBlob): ContentStats

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

    Permalink
    Definition Classes
    AnyRef
  49. val text: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  50. def toString(): String

    Permalink
    Definition Classes
    ContentStats → AnyRef → Any
  51. val tweets: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  52. def unsetAudio: ContentStats

    Permalink
    Definition Classes
    ContentStats
  53. def unsetComments: ContentStats

    Permalink
    Definition Classes
    ContentStats
  54. def unsetEmbeds: ContentStats

    Permalink
    Definition Classes
    ContentStats
  55. def unsetField(_fieldId: Short): ContentStats

    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
    ContentStats
  56. def unsetImages: ContentStats

    Permalink
    Definition Classes
    ContentStats
  57. def unsetInstagram: ContentStats

    Permalink
    Definition Classes
    ContentStats
  58. def unsetInteractives: ContentStats

    Permalink
    Definition Classes
    ContentStats
  59. def unsetMembership: ContentStats

    Permalink
    Definition Classes
    ContentStats
  60. def unsetPullquotes: ContentStats

    Permalink
    Definition Classes
    ContentStats
  61. def unsetRichlinks: ContentStats

    Permalink
    Definition Classes
    ContentStats
  62. def unsetText: ContentStats

    Permalink
    Definition Classes
    ContentStats
  63. def unsetTweets: ContentStats

    Permalink
    Definition Classes
    ContentStats
  64. def unsetVideos: ContentStats

    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
    ContentStats
  65. def unsetVines: ContentStats

    Permalink
    Definition Classes
    ContentStats
  66. def unsetWitness: ContentStats

    Permalink
    Definition Classes
    ContentStats
  67. val videos: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  68. val vines: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  69. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  72. val witness: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  73. def write(_oprot: TProtocol): Unit

    Permalink
    Definition Classes
    ContentStats → ThriftStruct

Inherited from ContentStats

Inherited from Serializable

Inherited from Product14[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int]

Inherited from Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped