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, HasThriftStructCodec3[ContentStats], 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. HasThriftStructCodec3
  5. Product14
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. 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. def _codec: ThriftStructCodec3[ContentStats]

    Permalink
    Definition Classes
    ContentStats → HasThriftStructCodec3
  19. val _passthroughFields: Map[Short, TFieldBlob]

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

    Permalink
    Definition Classes
    Any
  21. val audio: Int

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

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

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

    Permalink
    Definition Classes
    ImmutableContentStats
  25. 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
  26. val embeds: Int

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

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

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

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

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

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

    Permalink
    Definition Classes
    ImmutableContentStats
  35. val instagram: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  36. val interactives: Int

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

    Permalink
    Definition Classes
    Any
  38. val membership: Int

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

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

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

    Permalink
    Definition Classes
    AnyRef
  42. def productArity: Int

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

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

    Permalink
    Definition Classes
    Product
  45. def productPrefix: String

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

    Permalink
    Definition Classes
    ImmutableContentStats
  47. val richlinks: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  48. 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
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  50. val text: Int

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

    Permalink
    Definition Classes
    ContentStats → AnyRef → Any
  52. def toTuple: (Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int)

    Permalink
    Definition Classes
    ContentStats
  53. val tweets: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  54. def unsetAudio: ContentStats

    Permalink
    Definition Classes
    ContentStats
  55. def unsetComments: ContentStats

    Permalink
    Definition Classes
    ContentStats
  56. def unsetEmbeds: ContentStats

    Permalink
    Definition Classes
    ContentStats
  57. 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
  58. def unsetImages: ContentStats

    Permalink
    Definition Classes
    ContentStats
  59. def unsetInstagram: ContentStats

    Permalink
    Definition Classes
    ContentStats
  60. def unsetInteractives: ContentStats

    Permalink
    Definition Classes
    ContentStats
  61. def unsetMembership: ContentStats

    Permalink
    Definition Classes
    ContentStats
  62. def unsetPullquotes: ContentStats

    Permalink
    Definition Classes
    ContentStats
  63. def unsetRichlinks: ContentStats

    Permalink
    Definition Classes
    ContentStats
  64. def unsetText: ContentStats

    Permalink
    Definition Classes
    ContentStats
  65. def unsetTweets: ContentStats

    Permalink
    Definition Classes
    ContentStats
  66. 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
  67. def unsetVines: ContentStats

    Permalink
    Definition Classes
    ContentStats
  68. def unsetWitness: ContentStats

    Permalink
    Definition Classes
    ContentStats
  69. val videos: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  70. val vines: Int

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

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

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

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

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

    Permalink
    Definition Classes
    ContentStats → ThriftStruct

Inherited from ContentStats

Inherited from Serializable

Inherited from HasThriftStructCodec3[ContentStats]

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