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, ValidatingThriftStruct[ContentStats], HasThriftStructCodec3[ContentStats], Product14[Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int], Product, Equals, ThriftStruct, ThriftStructIface, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Immutable
  2. ContentStats
  3. Serializable
  4. ValidatingThriftStruct
  5. HasThriftStructCodec3
  6. Product14
  7. Product
  8. Equals
  9. ThriftStruct
  10. ThriftStructIface
  11. AnyRef
  12. 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: ValidatingThriftStructCodec3[ContentStats]

    Permalink
    Definition Classes
    ContentStats → ValidatingThriftStruct → 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. def newBuilder(): StructBuilder[ContentStats]

    Permalink
    Definition Classes
    ContentStats
  41. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  43. def productArity: Int

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

    Permalink
    Definition Classes
    Product14 → Product
    Annotations
    @throws( ... )
  45. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  46. def productPrefix: String

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

    Permalink
    Definition Classes
    ImmutableContentStats
  48. val richlinks: Int

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

    Permalink
    Definition Classes
    AnyRef
  51. val text: Int

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

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

    Permalink
    Definition Classes
    ContentStats
  54. val tweets: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  55. def unsetAudio: ContentStats

    Permalink
    Definition Classes
    ContentStats
  56. def unsetComments: ContentStats

    Permalink
    Definition Classes
    ContentStats
  57. def unsetEmbeds: ContentStats

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

    Permalink
    Definition Classes
    ContentStats
  60. def unsetInstagram: ContentStats

    Permalink
    Definition Classes
    ContentStats
  61. def unsetInteractives: ContentStats

    Permalink
    Definition Classes
    ContentStats
  62. def unsetMembership: ContentStats

    Permalink
    Definition Classes
    ContentStats
  63. def unsetPullquotes: ContentStats

    Permalink
    Definition Classes
    ContentStats
  64. def unsetRichlinks: ContentStats

    Permalink
    Definition Classes
    ContentStats
  65. def unsetText: ContentStats

    Permalink
    Definition Classes
    ContentStats
  66. def unsetTweets: ContentStats

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

    Permalink
    Definition Classes
    ContentStats
  69. def unsetWitness: ContentStats

    Permalink
    Definition Classes
    ContentStats
  70. val videos: Int

    Permalink
    Definition Classes
    ImmutableContentStats
  71. val vines: Int

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

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

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

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

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

    Permalink
    Definition Classes
    ContentStats → ThriftStruct

Inherited from ContentStats

Inherited from Serializable

Inherited from ValidatingThriftStruct[ContentStats]

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 ThriftStructIface

Inherited from AnyRef

Inherited from Any

Ungrouped